2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.6.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.6.2'
274 PACKAGE_STRING
='wxWidgets 2.6.2'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.6.2 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.6.2:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Win32 only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images
(GIF
file format
)
1039 --enable-pcx use pcx images
(PCX
file format
)
1040 --enable-iff use iff images
(IFF
file format
)
1041 --enable-pnm use pnm images
(PNM
file format
)
1042 --enable-xpm use xpm images
(XPM
file format
)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1045 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1046 --disable-largefile omit support
for large files
1047 --disable-gtktest do not try to compile and run a
test GTK
+ program
1048 --disable-gtktest Do not try to compile and run a
test GTK program
1049 --disable-sdltest Do not try to compile and run a
test SDL program
1050 --enable-omf use OMF object format
(OS
/2)
1051 --disable-precomp-headers
1052 don
't use precompiled headers even if compiler can
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1058 --with-motif use Motif/Lesstif
1059 --with-mac use Mac OS X
1060 --with-cocoa use Cocoa
1061 --with-wine use Wine
1062 --with-msw use MS-Windows
1063 --with-pm use OS/2 Presentation Manager
1064 --with-mgl use SciTech MGL
1065 --with-microwin use MicroWindows
1067 --with-libpng use libpng (PNG image format)
1068 --with-libjpeg use libjpeg (JPEG file format)
1069 --with-libtiff use libtiff (TIFF file format)
1070 --with-libxpm use libxpm (XPM file format)
1071 --with-libmspack use libmspack (CHM help files loading)
1072 --with-sdl use SDL for audio on Unix
1073 --with-gnomeprint use GNOME print for printing under Unix
1074 --with-opengl use OpenGL (or Mesa)
1075 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1076 --with-regex enable support for wxRegEx class
1077 --with-zlib use zlib for LZW compression
1078 --with-odbc use the IODBC and wxODBC classes
1079 --with-expat enable XML support using expat parser
1080 --with-flavour=NAME specify a name to identify this build
1081 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1082 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1083 --with-x use the X Window System
1084 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1085 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1086 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1087 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1088 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1090 Some influential environment variables:
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1094 nonstandard directory <lib dir>
1095 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096 headers in a nonstandard directory <include dir>
1098 CXX C++ compiler command
1099 CXXFLAGS C++ compiler flags
1100 CXXCPP C++ preprocessor
1102 Use these variables to override the choices made by `configure' or to
help
1103 it to
find libraries and programs with nonstandard names
/locations.
1105 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1112 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1113 test -d $ac_dir || continue
1116 if test "$ac_dir" != .
; then
1117 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 ac_dir_suffix
= ac_top_builddir
=
1125 .
) # No --srcdir option. We are building in place.
1127 if test -z "$ac_top_builddir"; then
1130 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1132 [\\/]* | ?
:[\\/]* ) # Absolute path.
1133 ac_srcdir
=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir
=$srcdir ;;
1136 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1143 .
) ac_abs_builddir
="$ac_dir";;
1146 .
) ac_abs_builddir
=`pwd`;;
1147 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1148 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1151 case $ac_abs_builddir in
1152 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 case ${ac_top_builddir}.
in
1155 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1156 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1157 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1160 case $ac_abs_builddir in
1161 .
) ac_abs_srcdir
=$ac_srcdir;;
1164 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1165 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1166 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1169 case $ac_abs_builddir in
1170 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 case $ac_top_srcdir in
1173 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1174 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu
; then
1183 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1184 elif test -f $ac_srcdir/configure
; then
1186 $SHELL $ac_srcdir/configure
--help=recursive
1187 elif test -f $ac_srcdir/configure.ac
||
1188 test -f $ac_srcdir/configure.
in; then
1190 $ac_configure --help
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1201 wxWidgets configure
2.6.2
1202 generated by GNU Autoconf
2.59
1204 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1205 This configure
script is free software
; the Free Software Foundation
1206 gives unlimited permission to copy
, distribute and modify it.
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1215 It was created by wxWidgets $as_me 2.6.2, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1250 test -z "$as_dir" && as_dir
=.
1251 echo "PATH: $as_dir"
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1275 ac_must_keep_next
=false
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1291 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true
; then
1293 ac_must_keep_next
=false
# Got value, back to normal.
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1304 -* ) ac_must_keep_next
=true
;;
1307 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1314 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1315 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1333 # The following way of writing the cache mishandles newlines in values,
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1356 for ac_var in $ac_subst_vars
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -n "$ac_subst_files"; then
1370 for ac_var in $ac_subst_files
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -s confdefs.h; then
1385 sed "/^$/d" confdefs.h | sort
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1396 for ac_signal
in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest
* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1406 # Predefined preprocessor variables.
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 cat >>confdefs.h
<<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE
; then
1437 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1439 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1442 for ac_site_file
in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1458 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1459 *) . .
/$cache_file;;
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1468 # Check that the precious variables saved in the cache have kept the same
1470 ac_cache_corrupted
=false
1471 for ac_var
in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1474 eval ac_new_set
=\
$ac_env_${ac_var}_set
1475 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val
="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted
=: ;;
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted
=: ;;
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted
=:
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg
=$ac_var=$ac_new_val ;;
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_cpp
='$CPP $CPPFLAGS'
1521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1555 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1556 if test -f $ac_dir/install-sh; then
1558 ac_install_sh
="$ac_aux_dir/install-sh -c"
1560 elif test -f $ac_dir/install.sh
; then
1562 ac_install_sh
="$ac_aux_dir/install.sh -c"
1564 elif test -f $ac_dir/shtool
; then
1566 ac_install_sh
="$ac_aux_dir/shtool install -c"
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1575 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1579 # Make sure we can run config.sub.
1580 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1581 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1582 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1583 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: checking build system type" >&5
1586 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1587 if test "${ac_cv_build+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 ac_cv_build_alias
=$build_alias
1591 test -z "$ac_cv_build_alias" &&
1592 ac_cv_build_alias
=`$ac_config_guess`
1593 test -z "$ac_cv_build_alias" &&
1594 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1595 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1596 { (exit 1); exit 1; }; }
1597 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1604 echo "${ECHO_T}$ac_cv_build" >&6
1606 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611 echo "$as_me:$LINENO: checking host system type" >&5
1612 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1613 if test "${ac_cv_host+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 ac_cv_host_alias
=$host_alias
1617 test -z "$ac_cv_host_alias" &&
1618 ac_cv_host_alias
=$ac_cv_build_alias
1619 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1625 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1626 echo "${ECHO_T}$ac_cv_host" >&6
1628 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633 echo "$as_me:$LINENO: checking target system type" >&5
1634 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1635 if test "${ac_cv_target+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 ac_cv_target_alias
=$target_alias
1639 test "x$ac_cv_target_alias" = "x" &&
1640 ac_cv_target_alias
=$ac_cv_host_alias
1641 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1642 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1643 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1644 { (exit 1); exit 1; }; }
1647 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1648 echo "${ECHO_T}$ac_cv_target" >&6
1649 target
=$ac_cv_target
1650 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1651 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1652 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1655 # The aliases save the names the user supplied, while $host etc.
1656 # will get canonicalized.
1657 test -n "$target_alias" &&
1658 test "$program_prefix$program_suffix$program_transform_name" = \
1660 program_prefix
=${target_alias}-
1664 wx_major_version_number
=2
1665 wx_minor_version_number
=6
1667 wx_subrelease_number
=1
1669 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1670 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1671 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1673 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1686 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1692 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1700 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1702 DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_wxUSE_MICROWIN
=0
1707 DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1713 DEFAULT_DEFAULT_wxUSE_GTK
=0
1714 DEFAULT_DEFAULT_wxUSE_MAC
=0
1715 DEFAULT_DEFAULT_wxUSE_MGL
=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1718 DEFAULT_DEFAULT_wxUSE_MSW
=0
1719 DEFAULT_DEFAULT_wxUSE_PM
=0
1720 DEFAULT_DEFAULT_wxUSE_X11
=0
1725 SAMPLES_RPATH_POSTLINK
=
1727 DEFAULT_STD_FLAG
=yes
1732 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1735 cat >>confdefs.h
<<\_ACEOF
1742 cat >>confdefs.h
<<\_ACEOF
1747 if test "x$TMP" = "xalpha"; then
1749 cat >>confdefs.h
<<\_ACEOF
1754 DEFAULT_DEFAULT_wxUSE_GTK
=1
1756 *-*-gnu* | *-*-k*bsd
*-gnu )
1759 if test "x$TMP" = "xalpha"; then
1761 cat >>confdefs.h
<<\_ACEOF
1766 DEFAULT_DEFAULT_wxUSE_GTK
=1
1768 *-*-irix5* | *-*-irix6* )
1771 cat >>confdefs.h
<<\_ACEOF
1775 cat >>confdefs.h
<<\_ACEOF
1779 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1785 cat >>confdefs.h
<<\_ACEOF
1789 cat >>confdefs.h
<<\_ACEOF
1790 #define __SOLARIS__ 1
1793 cat >>confdefs.h
<<\_ACEOF
1797 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1798 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1804 cat >>confdefs.h
<<\_ACEOF
1808 cat >>confdefs.h
<<\_ACEOF
1812 cat >>confdefs.h
<<\_ACEOF
1816 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1821 cat >>confdefs.h
<<\_ACEOF
1822 #define __FREEBSD__ 1
1825 cat >>confdefs.h
<<\_ACEOF
1829 DEFAULT_DEFAULT_wxUSE_GTK
=1
1834 cat >>confdefs.h
<<\_ACEOF
1835 #define __OPENBSD__ 1
1838 cat >>confdefs.h
<<\_ACEOF
1842 DEFAULT_DEFAULT_wxUSE_GTK
=1
1847 cat >>confdefs.h
<<\_ACEOF
1848 #define __NETBSD__ 1
1851 cat >>confdefs.h
<<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_GTK
=1
1860 cat >>confdefs.h
<<\_ACEOF
1864 cat >>confdefs.h
<<\_ACEOF
1868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1874 cat >>confdefs.h
<<\_ACEOF
1878 cat >>confdefs.h
<<\_ACEOF
1882 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1887 cat >>confdefs.h
<<\_ACEOF
1891 cat >>confdefs.h
<<\_ACEOF
1895 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1902 cat >>confdefs.h
<<\_ACEOF
1906 cat >>confdefs.h
<<\_ACEOF
1910 cat >>confdefs.h
<<\_ACEOF
1914 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1921 cat >>confdefs.h
<<\_ACEOF
1922 #define __UNIXWARE__ 1
1927 *-*-cygwin* | *-*-mingw32* )
1931 DEFAULT_DEFAULT_wxUSE_MSW
=1
1938 cat >>confdefs.h
<<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MGL
=1
1946 *-pc-os2_emx | *-pc-os2-emx )
1947 cat >>confdefs.h
<<\_ACEOF
1952 cat >>confdefs.h
<<\_ACEOF
1957 DEFAULT_DEFAULT_wxUSE_PM
=1
1959 LDFLAGS
="$LDFLAGS -Zcrtdll"
1960 ac_executable_extensions
=".exe"
1961 export ac_executable_extensions
1965 for ac_dir
in $PATH; do
1967 if test -z "$ac_TEMP_PATH"; then
1968 ac_TEMP_PATH
="$ac_dir"
1970 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1973 export PATH
="$ac_TEMP_PATH"
1982 cat >>confdefs.h
<<\_ACEOF
1986 cat >>confdefs.h
<<\_ACEOF
1987 #define __DARWIN__ 1
1990 cat >>confdefs.h
<<\_ACEOF
1991 #define TARGET_CARBON 1
1994 DEFAULT_DEFAULT_wxUSE_MAC
=1
1997 powerpc
-apple-macos* )
1999 ac_cv_c_bigendian
=yes
2001 DEFAULT_DEFAULT_wxUSE_MAC
=1
2007 cat >>confdefs.h
<<\_ACEOF
2014 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2015 echo "$as_me: error: unknown system type ${host}." >&2;}
2016 { (exit 1); exit 1; }; }
2022 wx_arg_cache_file
="configarg.cache"
2023 echo "loading argument cache $wx_arg_cache_file"
2024 rm -f ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}.tmp
2026 touch ${wx_arg_cache_file}
2030 if test $DEBUG_CONFIGURE = 1; then
2031 DEFAULT_wxUSE_UNIVERSAL
=no
2032 DEFAULT_wxUSE_STL
=no
2034 DEFAULT_wxUSE_NANOX
=no
2036 DEFAULT_wxUSE_THREADS
=yes
2038 DEFAULT_wxUSE_SHARED
=yes
2039 DEFAULT_wxUSE_OPTIMISE
=no
2040 DEFAULT_wxUSE_PROFILE
=no
2041 DEFAULT_wxUSE_NO_DEPS
=no
2042 DEFAULT_wxUSE_NO_RTTI
=no
2043 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2044 DEFAULT_wxUSE_RPATH
=yes
2045 DEFAULT_wxUSE_PERMISSIVE
=no
2046 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2047 DEFAULT_wxUSE_DEBUG_INFO
=yes
2048 DEFAULT_wxUSE_DEBUG_GDB
=yes
2049 DEFAULT_wxUSE_MEM_TRACING
=no
2050 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2051 DEFAULT_wxUSE_DMALLOC
=no
2052 DEFAULT_wxUSE_APPLE_IEEE
=no
2054 DEFAULT_wxUSE_EXCEPTIONS
=no
2055 DEFAULT_wxUSE_LOG
=yes
2056 DEFAULT_wxUSE_LOGWINDOW
=no
2057 DEFAULT_wxUSE_LOGGUI
=no
2058 DEFAULT_wxUSE_LOGDIALOG
=no
2060 DEFAULT_wxUSE_GUI
=yes
2061 DEFAULT_wxUSE_CONTROLS
=no
2063 DEFAULT_wxUSE_REGEX
=no
2064 DEFAULT_wxUSE_XML
=no
2065 DEFAULT_wxUSE_EXPAT
=no
2066 DEFAULT_wxUSE_ZLIB
=no
2067 DEFAULT_wxUSE_LIBPNG
=no
2068 DEFAULT_wxUSE_LIBJPEG
=no
2069 DEFAULT_wxUSE_LIBTIFF
=no
2070 DEFAULT_wxUSE_LIBXPM
=no
2071 DEFAULT_wxUSE_LIBMSPACK
=no
2072 DEFAULT_wxUSE_LIBSDL
=no
2073 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2074 DEFAULT_wxUSE_ODBC
=no
2075 DEFAULT_wxUSE_OPENGL
=no
2077 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2078 DEFAULT_wxUSE_STACKWALKER
=no
2079 DEFAULT_wxUSE_DEBUGREPORT
=no
2080 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2081 DEFAULT_wxUSE_STD_IOSTREAM
=no
2082 DEFAULT_wxUSE_STD_STRING
=no
2083 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2084 DEFAULT_wxUSE_DATETIME
=no
2085 DEFAULT_wxUSE_TIMER
=no
2086 DEFAULT_wxUSE_STOPWATCH
=no
2087 DEFAULT_wxUSE_FILE
=no
2088 DEFAULT_wxUSE_FFILE
=no
2089 DEFAULT_wxUSE_STDPATHS
=no
2090 DEFAULT_wxUSE_TEXTBUFFER
=no
2091 DEFAULT_wxUSE_TEXTFILE
=no
2092 DEFAULT_wxUSE_SOUND
=no
2093 DEFAULT_wxUSE_MEDIACTRL
=no
2094 DEFAULT_wxUSE_INTL
=no
2095 DEFAULT_wxUSE_CONFIG
=no
2096 DEFAULT_wxUSE_FONTMAP
=no
2097 DEFAULT_wxUSE_STREAMS
=no
2098 DEFAULT_wxUSE_SOCKETS
=no
2099 DEFAULT_wxUSE_OLE
=no
2100 DEFAULT_wxUSE_DATAOBJ
=no
2101 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2102 DEFAULT_wxUSE_JOYSTICK
=no
2103 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2104 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2105 DEFAULT_wxUSE_LONGLONG
=no
2106 DEFAULT_wxUSE_GEOMETRY
=no
2108 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2109 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2110 DEFAULT_wxUSE_POSTSCRIPT
=no
2112 DEFAULT_wxUSE_CLIPBOARD
=no
2113 DEFAULT_wxUSE_TOOLTIPS
=no
2114 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2115 DEFAULT_wxUSE_DRAGIMAGE
=no
2116 DEFAULT_wxUSE_SPLINES
=no
2117 DEFAULT_wxUSE_MOUSEWHEEL
=no
2119 DEFAULT_wxUSE_MDI
=no
2120 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2121 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2122 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2124 DEFAULT_wxUSE_RESOURCES
=no
2125 DEFAULT_wxUSE_CONSTRAINTS
=no
2126 DEFAULT_wxUSE_IPC
=no
2127 DEFAULT_wxUSE_HELP
=no
2128 DEFAULT_wxUSE_MS_HTML_HELP
=no
2129 DEFAULT_wxUSE_WXHTML_HELP
=no
2130 DEFAULT_wxUSE_TREELAYOUT
=no
2131 DEFAULT_wxUSE_METAFILE
=no
2132 DEFAULT_wxUSE_MIMETYPE
=no
2133 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2134 DEFAULT_wxUSE_PROTOCOL
=no
2135 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2136 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2137 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2138 DEFAULT_wxUSE_URL
=no
2140 DEFAULT_wxUSE_COMMONDLGS
=no
2141 DEFAULT_wxUSE_CHOICEDLG
=no
2142 DEFAULT_wxUSE_COLOURDLG
=no
2143 DEFAULT_wxUSE_DIRDLG
=no
2144 DEFAULT_wxUSE_FILEDLG
=no
2145 DEFAULT_wxUSE_FINDREPLDLG
=no
2146 DEFAULT_wxUSE_FONTDLG
=no
2147 DEFAULT_wxUSE_MSGDLG
=no
2148 DEFAULT_wxUSE_NUMBERDLG
=no
2149 DEFAULT_wxUSE_TEXTDLG
=no
2150 DEFAULT_wxUSE_SPLASH
=no
2151 DEFAULT_wxUSE_STARTUP_TIPS
=no
2152 DEFAULT_wxUSE_PROGRESSDLG
=no
2153 DEFAULT_wxUSE_WIZARDDLG
=no
2155 DEFAULT_wxUSE_MENUS
=no
2156 DEFAULT_wxUSE_MINIFRAME
=no
2157 DEFAULT_wxUSE_HTML
=no
2158 DEFAULT_wxUSE_XRC
=no
2159 DEFAULT_wxUSE_WEBKIT
=no
2160 DEFAULT_wxUSE_FILESYSTEM
=no
2161 DEFAULT_wxUSE_FS_INET
=no
2162 DEFAULT_wxUSE_FS_ZIP
=no
2163 DEFAULT_wxUSE_BUSYINFO
=no
2164 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2165 DEFAULT_wxUSE_ZIPSTREAM
=no
2166 DEFAULT_wxUSE_VALIDATORS
=no
2168 DEFAULT_wxUSE_ACCEL
=no
2169 DEFAULT_wxUSE_BUTTON
=no
2170 DEFAULT_wxUSE_BMPBUTTON
=no
2171 DEFAULT_wxUSE_CALCTRL
=no
2172 DEFAULT_wxUSE_CARET
=no
2173 DEFAULT_wxUSE_CHECKBOX
=no
2174 DEFAULT_wxUSE_CHECKLST
=no
2175 DEFAULT_wxUSE_CHOICE
=no
2176 DEFAULT_wxUSE_CHOICEBOOK
=no
2177 DEFAULT_wxUSE_COMBOBOX
=no
2178 DEFAULT_wxUSE_DATEPICKCTRL
=no
2179 DEFAULT_wxUSE_DISPLAY
=no
2180 DEFAULT_wxUSE_GAUGE
=no
2181 DEFAULT_wxUSE_GRID
=no
2182 DEFAULT_wxUSE_IMAGLIST
=no
2183 DEFAULT_wxUSE_LISTBOOK
=no
2184 DEFAULT_wxUSE_LISTBOX
=no
2185 DEFAULT_wxUSE_LISTCTRL
=no
2186 DEFAULT_wxUSE_NOTEBOOK
=no
2187 DEFAULT_wxUSE_RADIOBOX
=no
2188 DEFAULT_wxUSE_RADIOBTN
=no
2189 DEFAULT_wxUSE_SASH
=no
2190 DEFAULT_wxUSE_SCROLLBAR
=no
2191 DEFAULT_wxUSE_SLIDER
=no
2192 DEFAULT_wxUSE_SPINBTN
=no
2193 DEFAULT_wxUSE_SPINCTRL
=no
2194 DEFAULT_wxUSE_SPLITTER
=no
2195 DEFAULT_wxUSE_STATBMP
=no
2196 DEFAULT_wxUSE_STATBOX
=no
2197 DEFAULT_wxUSE_STATLINE
=no
2198 DEFAULT_wxUSE_STATTEXT
=no
2199 DEFAULT_wxUSE_STATUSBAR
=yes
2200 DEFAULT_wxUSE_TABDIALOG
=no
2201 DEFAULT_wxUSE_TEXTCTRL
=no
2202 DEFAULT_wxUSE_TOGGLEBTN
=no
2203 DEFAULT_wxUSE_TOOLBAR
=no
2204 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2205 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2206 DEFAULT_wxUSE_TREECTRL
=no
2207 DEFAULT_wxUSE_POPUPWIN
=no
2208 DEFAULT_wxUSE_TIPWINDOW
=no
2210 DEFAULT_wxUSE_UNICODE
=no
2211 DEFAULT_wxUSE_UNICODE_MSLU
=no
2212 DEFAULT_wxUSE_WCSRTOMBS
=no
2214 DEFAULT_wxUSE_PALETTE
=no
2215 DEFAULT_wxUSE_IMAGE
=no
2216 DEFAULT_wxUSE_GIF
=no
2217 DEFAULT_wxUSE_PCX
=no
2218 DEFAULT_wxUSE_PNM
=no
2219 DEFAULT_wxUSE_IFF
=no
2220 DEFAULT_wxUSE_XPM
=no
2221 DEFAULT_wxUSE_ICO_CUR
=no
2222 DEFAULT_wxUSE_ACCESSIBILITY
=no
2224 DEFAULT_wxUSE_MONOLITHIC
=no
2225 DEFAULT_wxUSE_PLUGINS
=no
2226 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2228 DEFAULT_wxUSE_UNIVERSAL
=no
2229 DEFAULT_wxUSE_STL
=no
2231 DEFAULT_wxUSE_NANOX
=no
2233 DEFAULT_wxUSE_THREADS
=yes
2235 DEFAULT_wxUSE_SHARED
=yes
2236 DEFAULT_wxUSE_OPTIMISE
=yes
2237 DEFAULT_wxUSE_PROFILE
=no
2238 DEFAULT_wxUSE_NO_DEPS
=no
2239 DEFAULT_wxUSE_NO_RTTI
=no
2240 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2241 DEFAULT_wxUSE_RPATH
=yes
2242 DEFAULT_wxUSE_PERMISSIVE
=no
2243 DEFAULT_wxUSE_DEBUG_FLAG
=no
2244 DEFAULT_wxUSE_DEBUG_INFO
=no
2245 DEFAULT_wxUSE_DEBUG_GDB
=no
2246 DEFAULT_wxUSE_MEM_TRACING
=no
2247 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2248 DEFAULT_wxUSE_DMALLOC
=no
2249 DEFAULT_wxUSE_APPLE_IEEE
=yes
2251 DEFAULT_wxUSE_EXCEPTIONS
=yes
2252 DEFAULT_wxUSE_LOG
=yes
2253 DEFAULT_wxUSE_LOGWINDOW
=yes
2254 DEFAULT_wxUSE_LOGGUI
=yes
2255 DEFAULT_wxUSE_LOGDIALOG
=yes
2257 DEFAULT_wxUSE_GUI
=yes
2259 DEFAULT_wxUSE_REGEX
=yes
2260 DEFAULT_wxUSE_XML
=yes
2261 DEFAULT_wxUSE_EXPAT
=yes
2262 DEFAULT_wxUSE_ZLIB
=yes
2263 DEFAULT_wxUSE_LIBPNG
=yes
2264 DEFAULT_wxUSE_LIBJPEG
=yes
2265 DEFAULT_wxUSE_LIBTIFF
=yes
2266 DEFAULT_wxUSE_LIBXPM
=yes
2267 DEFAULT_wxUSE_LIBMSPACK
=yes
2268 DEFAULT_wxUSE_LIBSDL
=no
2269 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2270 DEFAULT_wxUSE_ODBC
=no
2271 DEFAULT_wxUSE_OPENGL
=no
2273 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2274 DEFAULT_wxUSE_STACKWALKER
=yes
2275 DEFAULT_wxUSE_DEBUGREPORT
=yes
2276 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2277 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2279 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2280 DEFAULT_wxUSE_DATETIME
=yes
2281 DEFAULT_wxUSE_TIMER
=yes
2282 DEFAULT_wxUSE_STOPWATCH
=yes
2283 DEFAULT_wxUSE_FILE
=yes
2284 DEFAULT_wxUSE_FFILE
=yes
2285 DEFAULT_wxUSE_STDPATHS
=yes
2286 DEFAULT_wxUSE_TEXTBUFFER
=yes
2287 DEFAULT_wxUSE_TEXTFILE
=yes
2288 DEFAULT_wxUSE_SOUND
=yes
2289 DEFAULT_wxUSE_MEDIACTRL
=no
2290 DEFAULT_wxUSE_INTL
=yes
2291 DEFAULT_wxUSE_CONFIG
=yes
2292 DEFAULT_wxUSE_FONTMAP
=yes
2293 DEFAULT_wxUSE_STREAMS
=yes
2294 DEFAULT_wxUSE_SOCKETS
=yes
2295 DEFAULT_wxUSE_OLE
=yes
2296 DEFAULT_wxUSE_DATAOBJ
=yes
2297 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2298 DEFAULT_wxUSE_JOYSTICK
=yes
2299 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2300 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2301 DEFAULT_wxUSE_LONGLONG
=yes
2302 DEFAULT_wxUSE_GEOMETRY
=yes
2304 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2305 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2306 DEFAULT_wxUSE_POSTSCRIPT
=yes
2308 DEFAULT_wxUSE_CLIPBOARD
=yes
2309 DEFAULT_wxUSE_TOOLTIPS
=yes
2310 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2311 DEFAULT_wxUSE_DRAGIMAGE
=yes
2312 DEFAULT_wxUSE_SPLINES
=yes
2313 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2315 DEFAULT_wxUSE_MDI
=yes
2316 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2317 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2318 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2320 DEFAULT_wxUSE_RESOURCES
=no
2321 DEFAULT_wxUSE_CONSTRAINTS
=yes
2322 DEFAULT_wxUSE_IPC
=yes
2323 DEFAULT_wxUSE_HELP
=yes
2324 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2325 DEFAULT_wxUSE_WXHTML_HELP
=yes
2326 DEFAULT_wxUSE_TREELAYOUT
=yes
2327 DEFAULT_wxUSE_METAFILE
=yes
2328 DEFAULT_wxUSE_MIMETYPE
=yes
2329 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2330 DEFAULT_wxUSE_PROTOCOL
=yes
2331 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2332 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2333 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2334 DEFAULT_wxUSE_URL
=yes
2336 DEFAULT_wxUSE_COMMONDLGS
=yes
2337 DEFAULT_wxUSE_CHOICEDLG
=yes
2338 DEFAULT_wxUSE_COLOURDLG
=yes
2339 DEFAULT_wxUSE_DIRDLG
=yes
2340 DEFAULT_wxUSE_FILEDLG
=yes
2341 DEFAULT_wxUSE_FINDREPLDLG
=yes
2342 DEFAULT_wxUSE_FONTDLG
=yes
2343 DEFAULT_wxUSE_MSGDLG
=yes
2344 DEFAULT_wxUSE_NUMBERDLG
=yes
2345 DEFAULT_wxUSE_TEXTDLG
=yes
2346 DEFAULT_wxUSE_SPLASH
=yes
2347 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2348 DEFAULT_wxUSE_PROGRESSDLG
=yes
2349 DEFAULT_wxUSE_WIZARDDLG
=yes
2351 DEFAULT_wxUSE_MENUS
=yes
2352 DEFAULT_wxUSE_MINIFRAME
=yes
2353 DEFAULT_wxUSE_HTML
=yes
2354 DEFAULT_wxUSE_XRC
=yes
2355 DEFAULT_wxUSE_WEBKIT
=yes
2356 DEFAULT_wxUSE_FILESYSTEM
=yes
2357 DEFAULT_wxUSE_FS_INET
=yes
2358 DEFAULT_wxUSE_FS_ZIP
=yes
2359 DEFAULT_wxUSE_BUSYINFO
=yes
2360 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2361 DEFAULT_wxUSE_ZIPSTREAM
=yes
2362 DEFAULT_wxUSE_VALIDATORS
=yes
2364 DEFAULT_wxUSE_ACCEL
=yes
2365 DEFAULT_wxUSE_BUTTON
=yes
2366 DEFAULT_wxUSE_BMPBUTTON
=yes
2367 DEFAULT_wxUSE_CALCTRL
=yes
2368 DEFAULT_wxUSE_CARET
=yes
2369 DEFAULT_wxUSE_CHECKBOX
=yes
2370 DEFAULT_wxUSE_CHECKLST
=yes
2371 DEFAULT_wxUSE_CHOICE
=yes
2372 DEFAULT_wxUSE_CHOICEBOOK
=yes
2373 DEFAULT_wxUSE_COMBOBOX
=yes
2374 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2375 DEFAULT_wxUSE_DISPLAY
=yes
2376 DEFAULT_wxUSE_GAUGE
=yes
2377 DEFAULT_wxUSE_GRID
=yes
2378 DEFAULT_wxUSE_IMAGLIST
=yes
2379 DEFAULT_wxUSE_LISTBOOK
=yes
2380 DEFAULT_wxUSE_LISTBOX
=yes
2381 DEFAULT_wxUSE_LISTCTRL
=yes
2382 DEFAULT_wxUSE_NOTEBOOK
=yes
2383 DEFAULT_wxUSE_RADIOBOX
=yes
2384 DEFAULT_wxUSE_RADIOBTN
=yes
2385 DEFAULT_wxUSE_SASH
=yes
2386 DEFAULT_wxUSE_SCROLLBAR
=yes
2387 DEFAULT_wxUSE_SLIDER
=yes
2388 DEFAULT_wxUSE_SPINBTN
=yes
2389 DEFAULT_wxUSE_SPINCTRL
=yes
2390 DEFAULT_wxUSE_SPLITTER
=yes
2391 DEFAULT_wxUSE_STATBMP
=yes
2392 DEFAULT_wxUSE_STATBOX
=yes
2393 DEFAULT_wxUSE_STATLINE
=yes
2394 DEFAULT_wxUSE_STATTEXT
=yes
2395 DEFAULT_wxUSE_STATUSBAR
=yes
2396 DEFAULT_wxUSE_TABDIALOG
=no
2397 DEFAULT_wxUSE_TEXTCTRL
=yes
2398 DEFAULT_wxUSE_TOGGLEBTN
=yes
2399 DEFAULT_wxUSE_TOOLBAR
=yes
2400 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2401 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2402 DEFAULT_wxUSE_TREECTRL
=yes
2403 DEFAULT_wxUSE_POPUPWIN
=yes
2404 DEFAULT_wxUSE_TIPWINDOW
=yes
2406 DEFAULT_wxUSE_UNICODE
=no
2407 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2408 DEFAULT_wxUSE_WCSRTOMBS
=no
2410 DEFAULT_wxUSE_PALETTE
=yes
2411 DEFAULT_wxUSE_IMAGE
=yes
2412 DEFAULT_wxUSE_GIF
=yes
2413 DEFAULT_wxUSE_PCX
=yes
2414 DEFAULT_wxUSE_IFF
=no
2415 DEFAULT_wxUSE_PNM
=yes
2416 DEFAULT_wxUSE_XPM
=yes
2417 DEFAULT_wxUSE_ICO_CUR
=yes
2418 DEFAULT_wxUSE_ACCESSIBILITY
=no
2420 DEFAULT_wxUSE_MONOLITHIC
=no
2421 DEFAULT_wxUSE_PLUGINS
=no
2422 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2424 DEFAULT_wxUSE_GTK2
=yes
2430 for toolkit
in `echo $ALL_TOOLKITS`; do
2431 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2432 if test "x$LINE" != "x" ; then
2433 has_toolkit_in_cache
=1
2434 eval "DEFAULT_$LINE"
2435 eval "CACHE_$toolkit=1"
2437 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2438 if test "x$LINE" != "x" ; then
2439 eval "DEFAULT_$LINE"
2447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2448 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2450 # Check whether --enable-gui or --disable-gui was given.
2451 if test "${enable_gui+set}" = set; then
2452 enableval
="$enable_gui"
2454 if test "$enableval" = yes; then
2455 ac_cv_use_gui
='wxUSE_GUI=yes'
2457 ac_cv_use_gui
='wxUSE_GUI=no'
2462 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x
; then
2464 eval "DEFAULT_$LINE"
2469 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2473 eval "$ac_cv_use_gui"
2474 if test "$no_cache" != 1; then
2475 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2478 if test "$wxUSE_GUI" = yes; then
2479 echo "$as_me:$LINENO: result: yes" >&5
2480 echo "${ECHO_T}yes" >&6
2482 echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6
2488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2489 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2491 # Check whether --enable-monolithic or --disable-monolithic was given.
2492 if test "${enable_monolithic+set}" = set; then
2493 enableval
="$enable_monolithic"
2495 if test "$enableval" = yes; then
2496 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2498 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2503 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x
; then
2505 eval "DEFAULT_$LINE"
2510 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2514 eval "$ac_cv_use_monolithic"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2519 if test "$wxUSE_MONOLITHIC" = yes; then
2520 echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6
2523 echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2532 # Check whether --enable-plugins or --disable-plugins was given.
2533 if test "${enable_plugins+set}" = set; then
2534 enableval
="$enable_plugins"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2539 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2544 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x
; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2555 eval "$ac_cv_use_plugins"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_PLUGINS" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2569 if test "$wxUSE_GUI" = "yes"; then
2573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2574 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2576 # Check whether --enable-universal or --disable-universal was given.
2577 if test "${enable_universal+set}" = set; then
2578 enableval
="$enable_universal"
2580 if test "$enableval" = yes; then
2581 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2583 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2588 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x
; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2599 eval "$ac_cv_use_universal"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2604 if test "$wxUSE_UNIVERSAL" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2613 # Check whether --with-gtk or --without-gtk was given.
2614 if test "${with_gtk+set}" = set; then
2616 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2619 # Check whether --with-motif or --without-motif was given.
2620 if test "${with_motif+set}" = set; then
2621 withval
="$with_motif"
2622 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2625 # Check whether --with-mac or --without-mac was given.
2626 if test "${with_mac+set}" = set; then
2628 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2631 # Check whether --with-cocoa or --without-cocoa was given.
2632 if test "${with_cocoa+set}" = set; then
2633 withval
="$with_cocoa"
2634 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2637 # Check whether --with-wine or --without-wine was given.
2638 if test "${with_wine+set}" = set; then
2639 withval
="$with_wine"
2640 wxUSE_WINE
="$withval" CACHE_WINE
=1
2643 # Check whether --with-msw or --without-msw was given.
2644 if test "${with_msw+set}" = set; then
2646 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2649 # Check whether --with-pm or --without-pm was given.
2650 if test "${with_pm+set}" = set; then
2652 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2655 # Check whether --with-mgl or --without-mgl was given.
2656 if test "${with_mgl+set}" = set; then
2658 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2661 # Check whether --with-microwin or --without-microwin was given.
2662 if test "${with_microwin+set}" = set; then
2663 withval
="$with_microwin"
2664 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2667 # Check whether --with-x11 or --without-x11 was given.
2668 if test "${with_x11+set}" = set; then
2670 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2677 # Check whether --enable-nanox or --disable-nanox was given.
2678 if test "${enable_nanox+set}" = set; then
2679 enableval
="$enable_nanox"
2681 if test "$enableval" = yes; then
2682 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2684 ac_cv_use_nanox
='wxUSE_NANOX=no'
2689 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x
; then
2691 eval "DEFAULT_$LINE"
2696 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2700 eval "$ac_cv_use_nanox"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2705 if test "$wxUSE_NANOX" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2714 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2715 if test "${enable_gtk2+set}" = set; then
2716 enableval
="$enable_gtk2"
2717 wxUSE_GTK2
="$enableval"
2721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2722 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2724 # Check whether --enable-gpe or --disable-gpe was given.
2725 if test "${enable_gpe+set}" = set; then
2726 enableval
="$enable_gpe"
2728 if test "$enableval" = yes; then
2729 ac_cv_use_gpe
='wxUSE_GPE=yes'
2731 ac_cv_use_gpe
='wxUSE_GPE=no'
2736 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x
; then
2738 eval "DEFAULT_$LINE"
2743 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2747 eval "$ac_cv_use_gpe"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2752 if test "$wxUSE_GPE" = yes; then
2753 echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6
2756 echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6
2762 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2763 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2766 # Check whether --with-libpng or --without-libpng was given.
2767 if test "${with_libpng+set}" = set; then
2768 withval
="$with_libpng"
2770 if test "$withval" = yes; then
2771 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2772 elif test "$withval" = no
; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2774 elif test "$withval" = sys
; then
2775 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2776 elif test "$withval" = builtin; then
2777 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2780 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2781 { (exit 1); exit 1; }; }
2786 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x
; then
2788 eval "DEFAULT_$LINE"
2793 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2797 eval "$ac_cv_use_libpng"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_LIBPNG" = yes; then
2803 echo "$as_me:$LINENO: result: yes" >&5
2804 echo "${ECHO_T}yes" >&6
2805 elif test "$wxUSE_LIBPNG" = no
; then
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2808 elif test "$wxUSE_LIBPNG" = sys
; then
2809 echo "$as_me:$LINENO: result: system version" >&5
2810 echo "${ECHO_T}system version" >&6
2811 elif test "$wxUSE_LIBPNG" = builtin; then
2812 echo "$as_me:$LINENO: result: builtin version" >&5
2813 echo "${ECHO_T}builtin version" >&6
2815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2816 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2817 { (exit 1); exit 1; }; }
2821 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2822 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2825 # Check whether --with-libjpeg or --without-libjpeg was given.
2826 if test "${with_libjpeg+set}" = set; then
2827 withval
="$with_libjpeg"
2829 if test "$withval" = yes; then
2830 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2831 elif test "$withval" = no
; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2833 elif test "$withval" = sys
; then
2834 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2835 elif test "$withval" = builtin; then
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2845 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2846 if test "x$LINE" != x
; then
2847 eval "DEFAULT_$LINE"
2852 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2856 eval "$ac_cv_use_libjpeg"
2857 if test "$no_cache" != 1; then
2858 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2861 if test "$wxUSE_LIBJPEG" = yes; then
2862 echo "$as_me:$LINENO: result: yes" >&5
2863 echo "${ECHO_T}yes" >&6
2864 elif test "$wxUSE_LIBJPEG" = no
; then
2865 echo "$as_me:$LINENO: result: no" >&5
2866 echo "${ECHO_T}no" >&6
2867 elif test "$wxUSE_LIBJPEG" = sys
; then
2868 echo "$as_me:$LINENO: result: system version" >&5
2869 echo "${ECHO_T}system version" >&6
2870 elif test "$wxUSE_LIBJPEG" = builtin; then
2871 echo "$as_me:$LINENO: result: builtin version" >&5
2872 echo "${ECHO_T}builtin version" >&6
2874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2875 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2876 { (exit 1); exit 1; }; }
2880 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2881 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2884 # Check whether --with-libtiff or --without-libtiff was given.
2885 if test "${with_libtiff+set}" = set; then
2886 withval
="$with_libtiff"
2888 if test "$withval" = yes; then
2889 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2890 elif test "$withval" = no
; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2892 elif test "$withval" = sys
; then
2893 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2894 elif test "$withval" = builtin; then
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2904 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2905 if test "x$LINE" != x
; then
2906 eval "DEFAULT_$LINE"
2911 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2915 eval "$ac_cv_use_libtiff"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2920 if test "$wxUSE_LIBTIFF" = yes; then
2921 echo "$as_me:$LINENO: result: yes" >&5
2922 echo "${ECHO_T}yes" >&6
2923 elif test "$wxUSE_LIBTIFF" = no
; then
2924 echo "$as_me:$LINENO: result: no" >&5
2925 echo "${ECHO_T}no" >&6
2926 elif test "$wxUSE_LIBTIFF" = sys
; then
2927 echo "$as_me:$LINENO: result: system version" >&5
2928 echo "${ECHO_T}system version" >&6
2929 elif test "$wxUSE_LIBTIFF" = builtin; then
2930 echo "$as_me:$LINENO: result: builtin version" >&5
2931 echo "${ECHO_T}builtin version" >&6
2933 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2934 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2935 { (exit 1); exit 1; }; }
2939 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2940 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2943 # Check whether --with-libxpm or --without-libxpm was given.
2944 if test "${with_libxpm+set}" = set; then
2945 withval
="$with_libxpm"
2947 if test "$withval" = yes; then
2948 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2949 elif test "$withval" = no
; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2951 elif test "$withval" = sys
; then
2952 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2953 elif test "$withval" = builtin; then
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2963 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2964 if test "x$LINE" != x
; then
2965 eval "DEFAULT_$LINE"
2970 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2974 eval "$ac_cv_use_libxpm"
2975 if test "$no_cache" != 1; then
2976 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2979 if test "$wxUSE_LIBXPM" = yes; then
2980 echo "$as_me:$LINENO: result: yes" >&5
2981 echo "${ECHO_T}yes" >&6
2982 elif test "$wxUSE_LIBXPM" = no
; then
2983 echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6
2985 elif test "$wxUSE_LIBXPM" = sys
; then
2986 echo "$as_me:$LINENO: result: system version" >&5
2987 echo "${ECHO_T}system version" >&6
2988 elif test "$wxUSE_LIBXPM" = builtin; then
2989 echo "$as_me:$LINENO: result: builtin version" >&5
2990 echo "${ECHO_T}builtin version" >&6
2992 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2993 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2994 { (exit 1); exit 1; }; }
2998 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2999 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3002 # Check whether --with-libmspack or --without-libmspack was given.
3003 if test "${with_libmspack+set}" = set; then
3004 withval
="$with_libmspack"
3006 if test "$withval" = yes; then
3007 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3009 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3014 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x
; then
3016 eval "DEFAULT_$LINE"
3021 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3025 eval "$ac_cv_use_libmspack"
3026 if test "$no_cache" != 1; then
3027 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3030 if test "$wxUSE_LIBMSPACK" = yes; then
3031 echo "$as_me:$LINENO: result: yes" >&5
3032 echo "${ECHO_T}yes" >&6
3034 echo "$as_me:$LINENO: result: no" >&5
3035 echo "${ECHO_T}no" >&6
3039 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3040 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3043 # Check whether --with-sdl or --without-sdl was given.
3044 if test "${with_sdl+set}" = set; then
3047 if test "$withval" = yes; then
3048 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3050 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3055 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x
; then
3057 eval "DEFAULT_$LINE"
3062 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3066 eval "$ac_cv_use_sdl"
3067 if test "$no_cache" != 1; then
3068 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3071 if test "$wxUSE_LIBSDL" = yes; then
3072 echo "$as_me:$LINENO: result: yes" >&5
3073 echo "${ECHO_T}yes" >&6
3075 echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6
3080 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3081 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3084 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3085 if test "${with_gnomeprint+set}" = set; then
3086 withval
="$with_gnomeprint"
3088 if test "$withval" = yes; then
3089 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3091 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3096 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x
; then
3098 eval "DEFAULT_$LINE"
3103 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3107 eval "$ac_cv_use_gnomeprint"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3112 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3113 echo "$as_me:$LINENO: result: yes" >&5
3114 echo "${ECHO_T}yes" >&6
3116 echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6
3121 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3122 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3125 # Check whether --with-opengl or --without-opengl was given.
3126 if test "${with_opengl+set}" = set; then
3127 withval
="$with_opengl"
3129 if test "$withval" = yes; then
3130 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3132 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3137 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3148 eval "$ac_cv_use_opengl"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_OPENGL" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3165 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3166 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3169 # Check whether --with-dmalloc or --without-dmalloc was given.
3170 if test "${with_dmalloc+set}" = set; then
3171 withval
="$with_dmalloc"
3173 if test "$withval" = yes; then
3174 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3176 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3181 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3192 eval "$ac_cv_use_dmalloc"
3193 if test "$no_cache" != 1; then
3194 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3197 if test "$wxUSE_DMALLOC" = yes; then
3198 echo "$as_me:$LINENO: result: yes" >&5
3199 echo "${ECHO_T}yes" >&6
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3206 echo "$as_me:$LINENO: checking for --with-regex" >&5
3207 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3210 # Check whether --with-regex or --without-regex was given.
3211 if test "${with_regex+set}" = set; then
3212 withval
="$with_regex"
3214 if test "$withval" = yes; then
3215 ac_cv_use_regex
='wxUSE_REGEX=yes'
3216 elif test "$withval" = no
; then
3217 ac_cv_use_regex
='wxUSE_REGEX=no'
3218 elif test "$withval" = sys
; then
3219 ac_cv_use_regex
='wxUSE_REGEX=sys'
3220 elif test "$withval" = builtin; then
3221 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3223 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3224 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3225 { (exit 1); exit 1; }; }
3230 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x
; then
3232 eval "DEFAULT_$LINE"
3237 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3241 eval "$ac_cv_use_regex"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3246 if test "$wxUSE_REGEX" = yes; then
3247 echo "$as_me:$LINENO: result: yes" >&5
3248 echo "${ECHO_T}yes" >&6
3249 elif test "$wxUSE_REGEX" = no
; then
3250 echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6
3252 elif test "$wxUSE_REGEX" = sys
; then
3253 echo "$as_me:$LINENO: result: system version" >&5
3254 echo "${ECHO_T}system version" >&6
3255 elif test "$wxUSE_REGEX" = builtin; then
3256 echo "$as_me:$LINENO: result: builtin version" >&5
3257 echo "${ECHO_T}builtin version" >&6
3259 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3260 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3261 { (exit 1); exit 1; }; }
3265 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3266 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3269 # Check whether --with-zlib or --without-zlib was given.
3270 if test "${with_zlib+set}" = set; then
3271 withval
="$with_zlib"
3273 if test "$withval" = yes; then
3274 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3275 elif test "$withval" = no
; then
3276 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3277 elif test "$withval" = sys
; then
3278 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3279 elif test "$withval" = builtin; then
3280 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3289 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x
; then
3291 eval "DEFAULT_$LINE"
3296 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3300 eval "$ac_cv_use_zlib"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3305 if test "$wxUSE_ZLIB" = yes; then
3306 echo "$as_me:$LINENO: result: yes" >&5
3307 echo "${ECHO_T}yes" >&6
3308 elif test "$wxUSE_ZLIB" = no
; then
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3311 elif test "$wxUSE_ZLIB" = sys
; then
3312 echo "$as_me:$LINENO: result: system version" >&5
3313 echo "${ECHO_T}system version" >&6
3314 elif test "$wxUSE_ZLIB" = builtin; then
3315 echo "$as_me:$LINENO: result: builtin version" >&5
3316 echo "${ECHO_T}builtin version" >&6
3318 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3319 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3320 { (exit 1); exit 1; }; }
3324 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3325 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3328 # Check whether --with-odbc or --without-odbc was given.
3329 if test "${with_odbc+set}" = set; then
3330 withval
="$with_odbc"
3332 if test "$withval" = yes; then
3333 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3334 elif test "$withval" = no
; then
3335 ac_cv_use_odbc
='wxUSE_ODBC=no'
3336 elif test "$withval" = sys
; then
3337 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3338 elif test "$withval" = builtin; then
3339 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3348 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x
; then
3350 eval "DEFAULT_$LINE"
3355 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3359 eval "$ac_cv_use_odbc"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3364 if test "$wxUSE_ODBC" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3367 elif test "$wxUSE_ODBC" = no
; then
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3370 elif test "$wxUSE_ODBC" = sys
; then
3371 echo "$as_me:$LINENO: result: system version" >&5
3372 echo "${ECHO_T}system version" >&6
3373 elif test "$wxUSE_ODBC" = builtin; then
3374 echo "$as_me:$LINENO: result: builtin version" >&5
3375 echo "${ECHO_T}builtin version" >&6
3377 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3378 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3379 { (exit 1); exit 1; }; }
3383 echo "$as_me:$LINENO: checking for --with-expat" >&5
3384 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3387 # Check whether --with-expat or --without-expat was given.
3388 if test "${with_expat+set}" = set; then
3389 withval
="$with_expat"
3391 if test "$withval" = yes; then
3392 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3393 elif test "$withval" = no
; then
3394 ac_cv_use_expat
='wxUSE_EXPAT=no'
3395 elif test "$withval" = sys
; then
3396 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3397 elif test "$withval" = builtin; then
3398 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3407 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3418 eval "$ac_cv_use_expat"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3423 if test "$wxUSE_EXPAT" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3426 elif test "$wxUSE_EXPAT" = no
; then
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3429 elif test "$wxUSE_EXPAT" = sys
; then
3430 echo "$as_me:$LINENO: result: system version" >&5
3431 echo "${ECHO_T}system version" >&6
3432 elif test "$wxUSE_EXPAT" = builtin; then
3433 echo "$as_me:$LINENO: result: builtin version" >&5
3434 echo "${ECHO_T}builtin version" >&6
3436 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3437 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3438 { (exit 1); exit 1; }; }
3445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3448 # Check whether --enable-shared or --disable-shared was given.
3449 if test "${enable_shared+set}" = set; then
3450 enableval
="$enable_shared"
3452 if test "$enableval" = yes; then
3453 ac_cv_use_shared
='wxUSE_SHARED=yes'
3455 ac_cv_use_shared
='wxUSE_SHARED=no'
3460 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x
; then
3462 eval "DEFAULT_$LINE"
3467 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3471 eval "$ac_cv_use_shared"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3476 if test "$wxUSE_SHARED" = yes; then
3477 echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3487 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3489 # Check whether --enable-optimise or --disable-optimise was given.
3490 if test "${enable_optimise+set}" = set; then
3491 enableval
="$enable_optimise"
3493 if test "$enableval" = yes; then
3494 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3496 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3501 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x
; then
3503 eval "DEFAULT_$LINE"
3508 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3512 eval "$ac_cv_use_optimise"
3513 if test "$no_cache" != 1; then
3514 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3517 if test "$wxUSE_OPTIMISE" = yes; then
3518 echo "$as_me:$LINENO: result: yes" >&5
3519 echo "${ECHO_T}yes" >&6
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3528 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3530 # Check whether --enable-debug or --disable-debug was given.
3531 if test "${enable_debug+set}" = set; then
3532 enableval
="$enable_debug"
3534 if test "$enableval" = yes; then
3535 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3537 ac_cv_use_debug
='wxUSE_DEBUG=no'
3542 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x
; then
3544 eval "DEFAULT_$LINE"
3549 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3553 eval "$ac_cv_use_debug"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3558 if test "$wxUSE_DEBUG" = yes; then
3559 echo "$as_me:$LINENO: result: yes" >&5
3560 echo "${ECHO_T}yes" >&6
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3569 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3571 # Check whether --enable-stl or --disable-stl was given.
3572 if test "${enable_stl+set}" = set; then
3573 enableval
="$enable_stl"
3575 if test "$enableval" = yes; then
3576 ac_cv_use_stl
='wxUSE_STL=yes'
3578 ac_cv_use_stl
='wxUSE_STL=no'
3583 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x
; then
3585 eval "DEFAULT_$LINE"
3590 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3594 eval "$ac_cv_use_stl"
3595 if test "$no_cache" != 1; then
3596 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3599 if test "$wxUSE_STL" = yes; then
3600 echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3607 if test "$USE_OS2" = "1"; then
3608 DEFAULT_wxUSE_OMF
=no
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3614 # Check whether --enable-omf or --disable-omf was given.
3615 if test "${enable_omf+set}" = set; then
3616 enableval
="$enable_omf"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_omf
='wxUSE_OMF=yes'
3621 ac_cv_use_omf
='wxUSE_OMF=no'
3626 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x
; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3637 eval "$ac_cv_use_omf"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_OMF" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3652 if test "$wxUSE_DEBUG" = "yes"; then
3653 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3654 DEFAULT_wxUSE_DEBUG_INFO
=yes
3656 elif test "$wxUSE_DEBUG" = "no"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG
=no
3658 DEFAULT_wxUSE_DEBUG_INFO
=no
3664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3665 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3667 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3668 if test "${enable_debug_flag+set}" = set; then
3669 enableval
="$enable_debug_flag"
3671 if test "$enableval" = yes; then
3672 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3674 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3679 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x
; then
3681 eval "DEFAULT_$LINE"
3686 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3690 eval "$ac_cv_use_debug_flag"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3695 if test "$wxUSE_DEBUG_FLAG" = yes; then
3696 echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3706 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3708 # Check whether --enable-debug_info or --disable-debug_info was given.
3709 if test "${enable_debug_info+set}" = set; then
3710 enableval
="$enable_debug_info"
3712 if test "$enableval" = yes; then
3713 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3715 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3720 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x
; then
3722 eval "DEFAULT_$LINE"
3727 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3731 eval "$ac_cv_use_debug_info"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_DEBUG_INFO" = yes; then
3737 echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6
3740 echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3747 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3749 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3750 if test "${enable_debug_gdb+set}" = set; then
3751 enableval
="$enable_debug_gdb"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3756 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3761 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3772 eval "$ac_cv_use_debug_gdb"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_DEBUG_GDB" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3788 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3790 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3791 if test "${enable_debug_cntxt+set}" = set; then
3792 enableval
="$enable_debug_cntxt"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3797 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3802 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3813 eval "$ac_cv_use_debug_cntxt"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3818 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3819 echo "$as_me:$LINENO: result: yes" >&5
3820 echo "${ECHO_T}yes" >&6
3822 echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3829 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3831 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3832 if test "${enable_mem_tracing+set}" = set; then
3833 enableval
="$enable_mem_tracing"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3838 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3843 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3854 eval "$ac_cv_use_mem_tracing"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3859 if test "$wxUSE_MEM_TRACING" = yes; then
3860 echo "$as_me:$LINENO: result: yes" >&5
3861 echo "${ECHO_T}yes" >&6
3863 echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6
3869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3870 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3872 # Check whether --enable-profile or --disable-profile was given.
3873 if test "${enable_profile+set}" = set; then
3874 enableval
="$enable_profile"
3876 if test "$enableval" = yes; then
3877 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3879 ac_cv_use_profile
='wxUSE_PROFILE=no'
3884 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3885 if test "x$LINE" != x
; then
3886 eval "DEFAULT_$LINE"
3891 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3895 eval "$ac_cv_use_profile"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_PROFILE" = yes; then
3901 echo "$as_me:$LINENO: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6
3904 echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3911 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3913 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3914 if test "${enable_no_rtti+set}" = set; then
3915 enableval
="$enable_no_rtti"
3917 if test "$enableval" = yes; then
3918 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3920 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3925 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x
; then
3927 eval "DEFAULT_$LINE"
3932 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3936 eval "$ac_cv_use_no_rtti"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3941 if test "$wxUSE_NO_RTTI" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3952 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3954 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3955 if test "${enable_no_exceptions+set}" = set; then
3956 enableval
="$enable_no_exceptions"
3958 if test "$enableval" = yes; then
3959 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3961 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3966 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x
; then
3968 eval "DEFAULT_$LINE"
3973 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3977 eval "$ac_cv_use_no_exceptions"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3982 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984 echo "${ECHO_T}yes" >&6
3986 echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3993 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3995 # Check whether --enable-permissive or --disable-permissive was given.
3996 if test "${enable_permissive+set}" = set; then
3997 enableval
="$enable_permissive"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4002 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4007 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4018 eval "$ac_cv_use_permissive"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4023 if test "$wxUSE_PERMISSIVE" = yes; then
4024 echo "$as_me:$LINENO: result: yes" >&5
4025 echo "${ECHO_T}yes" >&6
4027 echo "$as_me:$LINENO: result: no" >&5
4028 echo "${ECHO_T}no" >&6
4033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4034 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4036 # Check whether --enable-no_deps or --disable-no_deps was given.
4037 if test "${enable_no_deps+set}" = set; then
4038 enableval
="$enable_no_deps"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4043 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4048 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x
; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4059 eval "$ac_cv_use_no_deps"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_NO_DEPS" = yes; then
4065 echo "$as_me:$LINENO: result: yes" >&5
4066 echo "${ECHO_T}yes" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4076 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4078 # Check whether --enable-compat22 or --disable-compat22 was given.
4079 if test "${enable_compat22+set}" = set; then
4080 enableval
="$enable_compat22"
4082 if test "$enableval" = yes; then
4083 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4085 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4090 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x
; then
4092 eval "DEFAULT_$LINE"
4097 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4101 eval "$ac_cv_use_compat22"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4106 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4107 echo "$as_me:$LINENO: result: yes" >&5
4108 echo "${ECHO_T}yes" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4115 enablestring
=disable
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4117 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4119 # Check whether --enable-compat24 or --disable-compat24 was given.
4120 if test "${enable_compat24+set}" = set; then
4121 enableval
="$enable_compat24"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4126 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4131 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x
; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4142 eval "$ac_cv_use_compat24"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4147 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4151 echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4161 # Check whether --enable-rpath or --disable-rpath was given.
4162 if test "${enable_rpath+set}" = set; then
4163 enableval
="$enable_rpath"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4168 ac_cv_use_rpath
='wxUSE_RPATH=no'
4173 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x
; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4184 eval "$ac_cv_use_rpath"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_RPATH" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4205 # Check whether --enable-intl or --disable-intl was given.
4206 if test "${enable_intl+set}" = set; then
4207 enableval
="$enable_intl"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_intl
='wxUSE_INTL=yes'
4212 ac_cv_use_intl
='wxUSE_INTL=no'
4217 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4228 eval "$ac_cv_use_intl"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_INTL" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4246 # Check whether --enable-config or --disable-config was given.
4247 if test "${enable_config+set}" = set; then
4248 enableval
="$enable_config"
4250 if test "$enableval" = yes; then
4251 ac_cv_use_config
='wxUSE_CONFIG=yes'
4253 ac_cv_use_config
='wxUSE_CONFIG=no'
4258 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x
; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4269 eval "$ac_cv_use_config"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_CONFIG" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4288 # Check whether --enable-protocols or --disable-protocols was given.
4289 if test "${enable_protocols+set}" = set; then
4290 enableval
="$enable_protocols"
4292 if test "$enableval" = yes; then
4293 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4295 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4300 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x
; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4311 eval "$ac_cv_use_protocols"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4316 if test "$wxUSE_PROTOCOL" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4329 # Check whether --enable-ftp or --disable-ftp was given.
4330 if test "${enable_ftp+set}" = set; then
4331 enableval
="$enable_ftp"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4336 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4341 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4352 eval "$ac_cv_use_ftp"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4357 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4370 # Check whether --enable-http or --disable-http was given.
4371 if test "${enable_http+set}" = set; then
4372 enableval
="$enable_http"
4374 if test "$enableval" = yes; then
4375 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4377 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4382 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x
; then
4384 eval "DEFAULT_$LINE"
4389 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4393 eval "$ac_cv_use_http"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4398 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4411 # Check whether --enable-fileproto or --disable-fileproto was given.
4412 if test "${enable_fileproto+set}" = set; then
4413 enableval
="$enable_fileproto"
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4418 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4423 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x
; then
4425 eval "DEFAULT_$LINE"
4430 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4434 eval "$ac_cv_use_fileproto"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4439 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4440 echo "$as_me:$LINENO: result: yes" >&5
4441 echo "${ECHO_T}yes" >&6
4443 echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6
4449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4450 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4452 # Check whether --enable-sockets or --disable-sockets was given.
4453 if test "${enable_sockets+set}" = set; then
4454 enableval
="$enable_sockets"
4456 if test "$enableval" = yes; then
4457 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4459 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4464 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x
; then
4466 eval "DEFAULT_$LINE"
4471 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4475 eval "$ac_cv_use_sockets"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4480 if test "$wxUSE_SOCKETS" = yes; then
4481 echo "$as_me:$LINENO: result: yes" >&5
4482 echo "${ECHO_T}yes" >&6
4484 echo "$as_me:$LINENO: result: no" >&5
4485 echo "${ECHO_T}no" >&6
4490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4493 # Check whether --enable-ole or --disable-ole was given.
4494 if test "${enable_ole+set}" = set; then
4495 enableval
="$enable_ole"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_ole
='wxUSE_OLE=yes'
4500 ac_cv_use_ole
='wxUSE_OLE=no'
4505 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4516 eval "$ac_cv_use_ole"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_OLE" = yes; then
4522 echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4534 # Check whether --enable-dataobj or --disable-dataobj was given.
4535 if test "${enable_dataobj+set}" = set; then
4536 enableval
="$enable_dataobj"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4541 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4546 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4557 eval "$ac_cv_use_dataobj"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4562 if test "$wxUSE_DATAOBJ" = yes; then
4563 echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4576 # Check whether --enable-ipc or --disable-ipc was given.
4577 if test "${enable_ipc+set}" = set; then
4578 enableval
="$enable_ipc"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_ipc
='wxUSE_IPC=yes'
4583 ac_cv_use_ipc
='wxUSE_IPC=no'
4588 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4599 eval "$ac_cv_use_ipc"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_IPC" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6
4608 echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4618 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4619 if test "${enable_apple_ieee+set}" = set; then
4620 enableval
="$enable_apple_ieee"
4622 if test "$enableval" = yes; then
4623 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4625 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4630 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x
; then
4632 eval "DEFAULT_$LINE"
4637 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4641 eval "$ac_cv_use_apple_ieee"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_APPLE_IEEE" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648 echo "${ECHO_T}yes" >&6
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4659 # Check whether --enable-arcstream or --disable-arcstream was given.
4660 if test "${enable_arcstream+set}" = set; then
4661 enableval
="$enable_arcstream"
4663 if test "$enableval" = yes; then
4664 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4666 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4671 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x
; then
4673 eval "DEFAULT_$LINE"
4678 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4682 eval "$ac_cv_use_arcstream"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4688 echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6
4691 echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6
4697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4700 # Check whether --enable-backtrace or --disable-backtrace was given.
4701 if test "${enable_backtrace+set}" = set; then
4702 enableval
="$enable_backtrace"
4704 if test "$enableval" = yes; then
4705 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4707 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4712 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x
; then
4714 eval "DEFAULT_$LINE"
4719 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4723 eval "$ac_cv_use_backtrace"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_STACKWALKER" = yes; then
4729 echo "$as_me:$LINENO: result: yes" >&5
4730 echo "${ECHO_T}yes" >&6
4732 echo "$as_me:$LINENO: result: no" >&5
4733 echo "${ECHO_T}no" >&6
4738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4739 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4741 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4742 if test "${enable_catch_segvs+set}" = set; then
4743 enableval
="$enable_catch_segvs"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4748 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4753 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4764 eval "$ac_cv_use_catch_segvs"
4765 if test "$no_cache" != 1; then
4766 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4769 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4770 echo "$as_me:$LINENO: result: yes" >&5
4771 echo "${ECHO_T}yes" >&6
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6
4779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4780 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4782 # Check whether --enable-cmdline or --disable-cmdline was given.
4783 if test "${enable_cmdline+set}" = set; then
4784 enableval
="$enable_cmdline"
4786 if test "$enableval" = yes; then
4787 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4789 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4794 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x
; then
4796 eval "DEFAULT_$LINE"
4801 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4805 eval "$ac_cv_use_cmdline"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4810 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812 echo "${ECHO_T}yes" >&6
4814 echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6
4820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4821 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4823 # Check whether --enable-datetime or --disable-datetime was given.
4824 if test "${enable_datetime+set}" = set; then
4825 enableval
="$enable_datetime"
4827 if test "$enableval" = yes; then
4828 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4830 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4835 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x
; then
4837 eval "DEFAULT_$LINE"
4842 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4846 eval "$ac_cv_use_datetime"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4851 if test "$wxUSE_DATETIME" = yes; then
4852 echo "$as_me:$LINENO: result: yes" >&5
4853 echo "${ECHO_T}yes" >&6
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4864 # Check whether --enable-debugreport or --disable-debugreport was given.
4865 if test "${enable_debugreport+set}" = set; then
4866 enableval
="$enable_debugreport"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4871 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4876 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4887 eval "$ac_cv_use_debugreport"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4892 if test "$wxUSE_DEBUGREPORT" = yes; then
4893 echo "$as_me:$LINENO: result: yes" >&5
4894 echo "${ECHO_T}yes" >&6
4896 echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6
4902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4903 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4905 # Check whether --enable-dialupman or --disable-dialupman was given.
4906 if test "${enable_dialupman+set}" = set; then
4907 enableval
="$enable_dialupman"
4909 if test "$enableval" = yes; then
4910 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4912 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4917 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x
; then
4919 eval "DEFAULT_$LINE"
4924 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4928 eval "$ac_cv_use_dialupman"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4934 echo "$as_me:$LINENO: result: yes" >&5
4935 echo "${ECHO_T}yes" >&6
4937 echo "$as_me:$LINENO: result: no" >&5
4938 echo "${ECHO_T}no" >&6
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4946 # Check whether --enable-dynlib or --disable-dynlib was given.
4947 if test "${enable_dynlib+set}" = set; then
4948 enableval
="$enable_dynlib"
4950 if test "$enableval" = yes; then
4951 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4953 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4958 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x
; then
4960 eval "DEFAULT_$LINE"
4965 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4969 eval "$ac_cv_use_dynlib"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4987 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4988 if test "${enable_dynamicloader+set}" = set; then
4989 enableval
="$enable_dynamicloader"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4994 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4999 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5010 eval "$ac_cv_use_dynamicloader"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5028 # Check whether --enable-exceptions or --disable-exceptions was given.
5029 if test "${enable_exceptions+set}" = set; then
5030 enableval
="$enable_exceptions"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5035 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5040 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5051 eval "$ac_cv_use_exceptions"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_EXCEPTIONS" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5069 # Check whether --enable-ffile or --disable-ffile was given.
5070 if test "${enable_ffile+set}" = set; then
5071 enableval
="$enable_ffile"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5076 ac_cv_use_ffile
='wxUSE_FFILE=no'
5081 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5092 eval "$ac_cv_use_ffile"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_FFILE" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5110 # Check whether --enable-file or --disable-file was given.
5111 if test "${enable_file+set}" = set; then
5112 enableval
="$enable_file"
5114 if test "$enableval" = yes; then
5115 ac_cv_use_file
='wxUSE_FILE=yes'
5117 ac_cv_use_file
='wxUSE_FILE=no'
5122 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x
; then
5124 eval "DEFAULT_$LINE"
5129 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5133 eval "$ac_cv_use_file"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_FILE" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5151 # Check whether --enable-filesystem or --disable-filesystem was given.
5152 if test "${enable_filesystem+set}" = set; then
5153 enableval
="$enable_filesystem"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5158 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5163 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5174 eval "$ac_cv_use_filesystem"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_FILESYSTEM" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5192 # Check whether --enable-fontmap or --disable-fontmap was given.
5193 if test "${enable_fontmap+set}" = set; then
5194 enableval
="$enable_fontmap"
5196 if test "$enableval" = yes; then
5197 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5199 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5204 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x
; then
5206 eval "DEFAULT_$LINE"
5211 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5215 eval "$ac_cv_use_fontmap"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_FONTMAP" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5233 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5234 if test "${enable_fs_inet+set}" = set; then
5235 enableval
="$enable_fs_inet"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5240 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5245 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5256 eval "$ac_cv_use_fs_inet"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_FS_INET" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5274 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5275 if test "${enable_fs_zip+set}" = set; then
5276 enableval
="$enable_fs_zip"
5278 if test "$enableval" = yes; then
5279 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5281 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5286 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x
; then
5288 eval "DEFAULT_$LINE"
5293 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5297 eval "$ac_cv_use_fs_zip"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_FS_ZIP" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5315 # Check whether --enable-geometry or --disable-geometry was given.
5316 if test "${enable_geometry+set}" = set; then
5317 enableval
="$enable_geometry"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5322 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5327 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5338 eval "$ac_cv_use_geometry"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_GEOMETRY" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5356 # Check whether --enable-log or --disable-log was given.
5357 if test "${enable_log+set}" = set; then
5358 enableval
="$enable_log"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_log
='wxUSE_LOG=yes'
5363 ac_cv_use_log
='wxUSE_LOG=no'
5368 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5379 eval "$ac_cv_use_log"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5384 if test "$wxUSE_LOG" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5397 # Check whether --enable-longlong or --disable-longlong was given.
5398 if test "${enable_longlong+set}" = set; then
5399 enableval
="$enable_longlong"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5404 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5409 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5420 eval "$ac_cv_use_longlong"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_LONGLONG" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5438 # Check whether --enable-mimetype or --disable-mimetype was given.
5439 if test "${enable_mimetype+set}" = set; then
5440 enableval
="$enable_mimetype"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5445 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5450 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5461 eval "$ac_cv_use_mimetype"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_MIMETYPE" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5479 # Check whether --enable-mslu or --disable-mslu was given.
5480 if test "${enable_mslu+set}" = set; then
5481 enableval
="$enable_mslu"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5486 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5491 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5502 eval "$ac_cv_use_mslu"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_UNICODE_MSLU" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5520 # Check whether --enable-snglinst or --disable-snglinst was given.
5521 if test "${enable_snglinst+set}" = set; then
5522 enableval
="$enable_snglinst"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5527 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5532 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5543 eval "$ac_cv_use_snglinst"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5561 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5562 if test "${enable_std_iostreams+set}" = set; then
5563 enableval
="$enable_std_iostreams"
5565 if test "$enableval" = yes; then
5566 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5568 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5573 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x
; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5584 eval "$ac_cv_use_std_iostreams"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_STD_IOSTREAM" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5602 # Check whether --enable-std_string or --disable-std_string was given.
5603 if test "${enable_std_string+set}" = set; then
5604 enableval
="$enable_std_string"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5609 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5614 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5625 eval "$ac_cv_use_std_string"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_STD_STRING" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5643 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5644 if test "${enable_stdpaths+set}" = set; then
5645 enableval
="$enable_stdpaths"
5647 if test "$enableval" = yes; then
5648 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5650 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5655 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x
; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5666 eval "$ac_cv_use_stdpaths"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_STDPATHS" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5684 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5685 if test "${enable_stopwatch+set}" = set; then
5686 enableval
="$enable_stopwatch"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5691 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5696 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5707 eval "$ac_cv_use_stopwatch"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_STOPWATCH" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5725 # Check whether --enable-streams or --disable-streams was given.
5726 if test "${enable_streams+set}" = set; then
5727 enableval
="$enable_streams"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5732 ac_cv_use_streams
='wxUSE_STREAMS=no'
5737 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5748 eval "$ac_cv_use_streams"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_STREAMS" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5766 # Check whether --enable-system_options or --disable-system_options was given.
5767 if test "${enable_system_options+set}" = set; then
5768 enableval
="$enable_system_options"
5770 if test "$enableval" = yes; then
5771 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5773 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5778 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5789 eval "$ac_cv_use_system_options"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5794 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5807 # Check whether --enable-textbuf or --disable-textbuf was given.
5808 if test "${enable_textbuf+set}" = set; then
5809 enableval
="$enable_textbuf"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5814 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5819 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5830 eval "$ac_cv_use_textbuf"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5835 if test "$wxUSE_TEXTBUFFER" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5848 # Check whether --enable-textfile or --disable-textfile was given.
5849 if test "${enable_textfile+set}" = set; then
5850 enableval
="$enable_textfile"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5855 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5860 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5871 eval "$ac_cv_use_textfile"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_TEXTFILE" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5889 # Check whether --enable-timer or --disable-timer was given.
5890 if test "${enable_timer+set}" = set; then
5891 enableval
="$enable_timer"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_timer
='wxUSE_TIMER=yes'
5896 ac_cv_use_timer
='wxUSE_TIMER=no'
5901 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5912 eval "$ac_cv_use_timer"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5917 if test "$wxUSE_TIMER" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5930 # Check whether --enable-unicode or --disable-unicode was given.
5931 if test "${enable_unicode+set}" = set; then
5932 enableval
="$enable_unicode"
5934 if test "$enableval" = yes; then
5935 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5937 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5942 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x
; then
5944 eval "DEFAULT_$LINE"
5949 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5953 eval "$ac_cv_use_unicode"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5958 if test "$wxUSE_UNICODE" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5971 # Check whether --enable-sound or --disable-sound was given.
5972 if test "${enable_sound+set}" = set; then
5973 enableval
="$enable_sound"
5975 if test "$enableval" = yes; then
5976 ac_cv_use_sound
='wxUSE_SOUND=yes'
5978 ac_cv_use_sound
='wxUSE_SOUND=no'
5983 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x
; then
5985 eval "DEFAULT_$LINE"
5990 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5994 eval "$ac_cv_use_sound"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_SOUND" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6012 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6013 if test "${enable_mediactrl+set}" = set; then
6014 enableval
="$enable_mediactrl"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6019 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6024 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6035 eval "$ac_cv_use_mediactrl"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6040 if test "$wxUSE_MEDIACTRL" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6053 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6054 if test "${enable_wxprintfv+set}" = set; then
6055 enableval
="$enable_wxprintfv"
6057 if test "$enableval" = yes; then
6058 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6060 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6065 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x
; then
6067 eval "DEFAULT_$LINE"
6072 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6076 eval "$ac_cv_use_wxprintfv"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6094 # Check whether --enable-zipstream or --disable-zipstream was given.
6095 if test "${enable_zipstream+set}" = set; then
6096 enableval
="$enable_zipstream"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6101 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6106 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6117 eval "$ac_cv_use_zipstream"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6122 if test "$wxUSE_ZIPSTREAM" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6134 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6136 # Check whether --enable-url or --disable-url was given.
6137 if test "${enable_url+set}" = set; then
6138 enableval
="$enable_url"
6140 if test "$enableval" = yes; then
6141 ac_cv_use_url
='wxUSE_URL=yes'
6143 ac_cv_use_url
='wxUSE_URL=no'
6148 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x
; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6159 eval "$ac_cv_use_url"
6160 if test "$no_cache" != 1; then
6161 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6164 if test "$wxUSE_URL" = yes; then
6165 echo "$as_me:$LINENO: result: yes" >&5
6166 echo "${ECHO_T}yes" >&6
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6175 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6177 # Check whether --enable-protocol or --disable-protocol was given.
6178 if test "${enable_protocol+set}" = set; then
6179 enableval
="$enable_protocol"
6181 if test "$enableval" = yes; then
6182 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6184 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6189 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x
; then
6191 eval "DEFAULT_$LINE"
6196 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6200 eval "$ac_cv_use_protocol"
6201 if test "$no_cache" != 1; then
6202 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6205 if test "$wxUSE_PROTOCOL" = yes; then
6206 echo "$as_me:$LINENO: result: yes" >&5
6207 echo "${ECHO_T}yes" >&6
6209 echo "$as_me:$LINENO: result: no" >&5
6210 echo "${ECHO_T}no" >&6
6215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6216 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6218 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6219 if test "${enable_protocol_http+set}" = set; then
6220 enableval
="$enable_protocol_http"
6222 if test "$enableval" = yes; then
6223 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6225 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6230 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6231 if test "x$LINE" != x
; then
6232 eval "DEFAULT_$LINE"
6237 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6241 eval "$ac_cv_use_protocol_http"
6242 if test "$no_cache" != 1; then
6243 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6246 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6247 echo "$as_me:$LINENO: result: yes" >&5
6248 echo "${ECHO_T}yes" >&6
6250 echo "$as_me:$LINENO: result: no" >&5
6251 echo "${ECHO_T}no" >&6
6256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6259 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6260 if test "${enable_protocol_ftp+set}" = set; then
6261 enableval
="$enable_protocol_ftp"
6263 if test "$enableval" = yes; then
6264 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6266 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6271 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x
; then
6273 eval "DEFAULT_$LINE"
6278 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6282 eval "$ac_cv_use_protocol_ftp"
6283 if test "$no_cache" != 1; then
6284 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6287 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6288 echo "$as_me:$LINENO: result: yes" >&5
6289 echo "${ECHO_T}yes" >&6
6291 echo "$as_me:$LINENO: result: no" >&5
6292 echo "${ECHO_T}no" >&6
6297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6300 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6301 if test "${enable_protocol_file+set}" = set; then
6302 enableval
="$enable_protocol_file"
6304 if test "$enableval" = yes; then
6305 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6307 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6312 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x
; then
6314 eval "DEFAULT_$LINE"
6319 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6323 eval "$ac_cv_use_protocol_file"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6328 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6329 echo "$as_me:$LINENO: result: yes" >&5
6330 echo "${ECHO_T}yes" >&6
6332 echo "$as_me:$LINENO: result: no" >&5
6333 echo "${ECHO_T}no" >&6
6341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6344 # Check whether --enable-threads or --disable-threads was given.
6345 if test "${enable_threads+set}" = set; then
6346 enableval
="$enable_threads"
6348 if test "$enableval" = yes; then
6349 ac_cv_use_threads
='wxUSE_THREADS=yes'
6351 ac_cv_use_threads
='wxUSE_THREADS=no'
6356 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x
; then
6358 eval "DEFAULT_$LINE"
6363 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6367 eval "$ac_cv_use_threads"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6372 if test "$wxUSE_THREADS" = yes; then
6373 echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6381 if test "$wxUSE_GUI" = "yes"; then
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6389 # Check whether --enable-docview or --disable-docview was given.
6390 if test "${enable_docview+set}" = set; then
6391 enableval
="$enable_docview"
6393 if test "$enableval" = yes; then
6394 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6396 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6401 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x
; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6412 eval "$ac_cv_use_docview"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6430 # Check whether --enable-help or --disable-help was given.
6431 if test "${enable_help+set}" = set; then
6432 enableval
="$enable_help"
6434 if test "$enableval" = yes; then
6435 ac_cv_use_help
='wxUSE_HELP=yes'
6437 ac_cv_use_help
='wxUSE_HELP=no'
6442 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x
; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6453 eval "$ac_cv_use_help"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_HELP" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6471 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6472 if test "${enable_mshtmlhelp+set}" = set; then
6473 enableval
="$enable_mshtmlhelp"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6478 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6483 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6494 eval "$ac_cv_use_mshtmlhelp"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_MS_HTML_HELP" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6512 # Check whether --enable-html or --disable-html was given.
6513 if test "${enable_html+set}" = set; then
6514 enableval
="$enable_html"
6516 if test "$enableval" = yes; then
6517 ac_cv_use_html
='wxUSE_HTML=yes'
6519 ac_cv_use_html
='wxUSE_HTML=no'
6524 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x
; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6535 eval "$ac_cv_use_html"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6540 if test "$wxUSE_HTML" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6553 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6554 if test "${enable_htmlhelp+set}" = set; then
6555 enableval
="$enable_htmlhelp"
6557 if test "$enableval" = yes; then
6558 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6560 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6565 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x
; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6576 eval "$ac_cv_use_htmlhelp"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_WXHTML_HELP" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6594 # Check whether --enable-xrc or --disable-xrc was given.
6595 if test "${enable_xrc+set}" = set; then
6596 enableval
="$enable_xrc"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_xrc
='wxUSE_XRC=yes'
6601 ac_cv_use_xrc
='wxUSE_XRC=no'
6606 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6617 eval "$ac_cv_use_xrc"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_XRC" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6635 # Check whether --enable-constraints or --disable-constraints was given.
6636 if test "${enable_constraints+set}" = set; then
6637 enableval
="$enable_constraints"
6639 if test "$enableval" = yes; then
6640 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6642 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6647 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x
; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6658 eval "$ac_cv_use_constraints"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6663 if test "$wxUSE_CONSTRAINTS" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6676 # Check whether --enable-printarch or --disable-printarch was given.
6677 if test "${enable_printarch+set}" = set; then
6678 enableval
="$enable_printarch"
6680 if test "$enableval" = yes; then
6681 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6683 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6688 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x
; then
6690 eval "DEFAULT_$LINE"
6695 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6699 eval "$ac_cv_use_printarch"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6704 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6705 echo "$as_me:$LINENO: result: yes" >&5
6706 echo "${ECHO_T}yes" >&6
6708 echo "$as_me:$LINENO: result: no" >&5
6709 echo "${ECHO_T}no" >&6
6714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6715 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6717 # Check whether --enable-mdi or --disable-mdi was given.
6718 if test "${enable_mdi+set}" = set; then
6719 enableval
="$enable_mdi"
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mdi
='wxUSE_MDI=yes'
6724 ac_cv_use_mdi
='wxUSE_MDI=no'
6729 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x
; then
6731 eval "DEFAULT_$LINE"
6736 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6740 eval "$ac_cv_use_mdi"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6745 if test "$wxUSE_MDI" = yes; then
6746 echo "$as_me:$LINENO: result: yes" >&5
6747 echo "${ECHO_T}yes" >&6
6749 echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6758 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6759 if test "${enable_mdidoc+set}" = set; then
6760 enableval
="$enable_mdidoc"
6762 if test "$enableval" = yes; then
6763 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6765 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6770 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x
; then
6772 eval "DEFAULT_$LINE"
6777 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6781 eval "$ac_cv_use_mdidoc"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6786 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6799 # Check whether --enable-loggui or --disable-loggui was given.
6800 if test "${enable_loggui+set}" = set; then
6801 enableval
="$enable_loggui"
6803 if test "$enableval" = yes; then
6804 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6806 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6811 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x
; then
6813 eval "DEFAULT_$LINE"
6818 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6822 eval "$ac_cv_use_loggui"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6827 if test "$wxUSE_LOGGUI" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6840 # Check whether --enable-logwin or --disable-logwin was given.
6841 if test "${enable_logwin+set}" = set; then
6842 enableval
="$enable_logwin"
6844 if test "$enableval" = yes; then
6845 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6847 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6852 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x
; then
6854 eval "DEFAULT_$LINE"
6859 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6863 eval "$ac_cv_use_logwin"
6864 if test "$no_cache" != 1; then
6865 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6868 if test "$wxUSE_LOGWINDOW" = yes; then
6869 echo "$as_me:$LINENO: result: yes" >&5
6870 echo "${ECHO_T}yes" >&6
6872 echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6881 # Check whether --enable-logdialog or --disable-logdialog was given.
6882 if test "${enable_logdialog+set}" = set; then
6883 enableval
="$enable_logdialog"
6885 if test "$enableval" = yes; then
6886 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6888 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6893 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x
; then
6895 eval "DEFAULT_$LINE"
6900 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6904 eval "$ac_cv_use_logdialog"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6909 if test "$wxUSE_LOGDIALOG" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6922 # Check whether --enable-webkit or --disable-webkit was given.
6923 if test "${enable_webkit+set}" = set; then
6924 enableval
="$enable_webkit"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6929 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6934 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6945 eval "$ac_cv_use_webkit"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6950 if test "$wxUSE_WEBKIT" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6964 # Check whether --enable-postscript or --disable-postscript was given.
6965 if test "${enable_postscript+set}" = set; then
6966 enableval
="$enable_postscript"
6968 if test "$enableval" = yes; then
6969 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6971 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6976 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x
; then
6978 eval "DEFAULT_$LINE"
6983 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6987 eval "$ac_cv_use_postscript"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6992 if test "$wxUSE_POSTSCRIPT" = yes; then
6993 echo "$as_me:$LINENO: result: yes" >&5
6994 echo "${ECHO_T}yes" >&6
6996 echo "$as_me:$LINENO: result: no" >&5
6997 echo "${ECHO_T}no" >&6
7005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7008 # Check whether --enable-prologio or --disable-prologio was given.
7009 if test "${enable_prologio+set}" = set; then
7010 enableval
="$enable_prologio"
7012 if test "$enableval" = yes; then
7013 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7015 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7020 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x
; then
7022 eval "DEFAULT_$LINE"
7027 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7031 eval "$ac_cv_use_prologio"
7032 if test "$no_cache" != 1; then
7033 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7036 if test "$wxUSE_PROLOGIO" = yes; then
7037 echo "$as_me:$LINENO: result: yes" >&5
7038 echo "${ECHO_T}yes" >&6
7040 echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6
7046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7049 # Check whether --enable-resources or --disable-resources was given.
7050 if test "${enable_resources+set}" = set; then
7051 enableval
="$enable_resources"
7053 if test "$enableval" = yes; then
7054 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7056 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7061 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x
; then
7063 eval "DEFAULT_$LINE"
7068 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7072 eval "$ac_cv_use_resources"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7077 if test "$wxUSE_RESOURCES" = yes; then
7078 echo "$as_me:$LINENO: result: yes" >&5
7079 echo "${ECHO_T}yes" >&6
7081 echo "$as_me:$LINENO: result: no" >&5
7082 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7092 # Check whether --enable-clipboard or --disable-clipboard was given.
7093 if test "${enable_clipboard+set}" = set; then
7094 enableval
="$enable_clipboard"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7099 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7104 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7115 eval "$ac_cv_use_clipboard"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_CLIPBOARD" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7133 # Check whether --enable-dnd or --disable-dnd was given.
7134 if test "${enable_dnd+set}" = set; then
7135 enableval
="$enable_dnd"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7140 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7145 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7156 eval "$ac_cv_use_dnd"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7174 # Check whether --enable-metafile or --disable-metafile was given.
7175 if test "${enable_metafile+set}" = set; then
7176 enableval
="$enable_metafile"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7181 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7186 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7197 eval "$ac_cv_use_metafile"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_METAFILE" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7218 # Check whether --enable-controls or --disable-controls was given.
7219 if test "${enable_controls+set}" = set; then
7220 enableval
="$enable_controls"
7222 if test "$enableval" = yes; then
7223 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7225 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7230 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x
; then
7232 eval "DEFAULT_$LINE"
7237 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7241 eval "$ac_cv_use_controls"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_CONTROLS" = yes; then
7247 echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6
7250 echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6
7255 if test "$wxUSE_CONTROLS" = "yes"; then
7256 DEFAULT_wxUSE_ACCEL
=yes
7257 DEFAULT_wxUSE_BMPBUTTON
=yes
7258 DEFAULT_wxUSE_BUTTON
=yes
7259 DEFAULT_wxUSE_CALCTRL
=yes
7260 DEFAULT_wxUSE_CARET
=yes
7261 DEFAULT_wxUSE_COMBOBOX
=yes
7262 DEFAULT_wxUSE_CHECKBOX
=yes
7263 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7264 DEFAULT_wxUSE_CHOICE
=yes
7265 DEFAULT_wxUSE_CHOICEBOOK
=yes
7266 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7267 DEFAULT_wxUSE_GAUGE
=yes
7268 DEFAULT_wxUSE_GRID
=yes
7269 DEFAULT_wxUSE_IMAGLIST
=yes
7270 DEFAULT_wxUSE_LISTBOOK
=yes
7271 DEFAULT_wxUSE_LISTBOX
=yes
7272 DEFAULT_wxUSE_LISTCTRL
=yes
7273 DEFAULT_wxUSE_NOTEBOOK
=yes
7274 DEFAULT_wxUSE_RADIOBOX
=yes
7275 DEFAULT_wxUSE_RADIOBTN
=yes
7276 DEFAULT_wxUSE_SASH
=yes
7277 DEFAULT_wxUSE_SCROLLBAR
=yes
7278 DEFAULT_wxUSE_SLIDER
=yes
7279 DEFAULT_wxUSE_SPINBTN
=yes
7280 DEFAULT_wxUSE_SPINCTRL
=yes
7281 DEFAULT_wxUSE_SPLITTER
=yes
7282 DEFAULT_wxUSE_STATBMP
=yes
7283 DEFAULT_wxUSE_STATBOX
=yes
7284 DEFAULT_wxUSE_STATLINE
=yes
7285 DEFAULT_wxUSE_STATUSBAR
=yes
7286 DEFAULT_wxUSE_TAB_DIALOG
=yes
7287 DEFAULT_wxUSE_TOGGLEBTN
=yes
7288 DEFAULT_wxUSE_TOOLBAR
=yes
7289 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7290 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7291 DEFAULT_wxUSE_TOOLTIPS
=yes
7292 DEFAULT_wxUSE_TREECTRL
=yes
7293 DEFAULT_wxUSE_POPUPWIN
=yes
7294 DEFAULT_wxUSE_TIPWINDOW
=yes
7295 elif test "$wxUSE_CONTROLS" = "no"; then
7296 DEFAULT_wxUSE_ACCEL
=no
7297 DEFAULT_wxUSE_BMPBUTTON
=no
7298 DEFAULT_wxUSE_BUTTON
=no
7299 DEFAULT_wxUSE_CALCTRL
=no
7300 DEFAULT_wxUSE_CARET
=no
7301 DEFAULT_wxUSE_COMBOBOX
=no
7302 DEFAULT_wxUSE_CHECKBOX
=no
7303 DEFAULT_wxUSE_CHECKLISTBOX
=no
7304 DEFAULT_wxUSE_CHOICE
=no
7305 DEFAULT_wxUSE_CHOICEBOOK
=no
7306 DEFAULT_wxUSE_DATEPICKCTRL
=no
7307 DEFAULT_wxUSE_GAUGE
=no
7308 DEFAULT_wxUSE_GRID
=no
7309 DEFAULT_wxUSE_IMAGLIST
=no
7310 DEFAULT_wxUSE_LISTBOOK
=no
7311 DEFAULT_wxUSE_LISTBOX
=no
7312 DEFAULT_wxUSE_LISTCTRL
=no
7313 DEFAULT_wxUSE_NOTEBOOK
=no
7314 DEFAULT_wxUSE_RADIOBOX
=no
7315 DEFAULT_wxUSE_RADIOBTN
=no
7316 DEFAULT_wxUSE_SASH
=no
7317 DEFAULT_wxUSE_SCROLLBAR
=no
7318 DEFAULT_wxUSE_SLIDER
=no
7319 DEFAULT_wxUSE_SPINBTN
=no
7320 DEFAULT_wxUSE_SPINCTRL
=no
7321 DEFAULT_wxUSE_SPLITTER
=no
7322 DEFAULT_wxUSE_STATBMP
=no
7323 DEFAULT_wxUSE_STATBOX
=no
7324 DEFAULT_wxUSE_STATLINE
=no
7325 DEFAULT_wxUSE_STATUSBAR
=no
7326 DEFAULT_wxUSE_TAB_DIALOG
=no
7327 DEFAULT_wxUSE_TOGGLEBTN
=no
7328 DEFAULT_wxUSE_TOOLBAR
=no
7329 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7330 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7331 DEFAULT_wxUSE_TOOLTIPS
=no
7332 DEFAULT_wxUSE_TREECTRL
=no
7333 DEFAULT_wxUSE_POPUPWIN
=no
7334 DEFAULT_wxUSE_TIPWINDOW
=no
7339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7340 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7342 # Check whether --enable-accel or --disable-accel was given.
7343 if test "${enable_accel+set}" = set; then
7344 enableval
="$enable_accel"
7346 if test "$enableval" = yes; then
7347 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7349 ac_cv_use_accel
='wxUSE_ACCEL=no'
7354 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7355 if test "x$LINE" != x
; then
7356 eval "DEFAULT_$LINE"
7361 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7365 eval "$ac_cv_use_accel"
7366 if test "$no_cache" != 1; then
7367 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7370 if test "$wxUSE_ACCEL" = yes; then
7371 echo "$as_me:$LINENO: result: yes" >&5
7372 echo "${ECHO_T}yes" >&6
7374 echo "$as_me:$LINENO: result: no" >&5
7375 echo "${ECHO_T}no" >&6
7380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7383 # Check whether --enable-button or --disable-button was given.
7384 if test "${enable_button+set}" = set; then
7385 enableval
="$enable_button"
7387 if test "$enableval" = yes; then
7388 ac_cv_use_button
='wxUSE_BUTTON=yes'
7390 ac_cv_use_button
='wxUSE_BUTTON=no'
7395 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x
; then
7397 eval "DEFAULT_$LINE"
7402 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7406 eval "$ac_cv_use_button"
7407 if test "$no_cache" != 1; then
7408 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7411 if test "$wxUSE_BUTTON" = yes; then
7412 echo "$as_me:$LINENO: result: yes" >&5
7413 echo "${ECHO_T}yes" >&6
7415 echo "$as_me:$LINENO: result: no" >&5
7416 echo "${ECHO_T}no" >&6
7421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7424 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7425 if test "${enable_bmpbutton+set}" = set; then
7426 enableval
="$enable_bmpbutton"
7428 if test "$enableval" = yes; then
7429 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7431 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7436 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x
; then
7438 eval "DEFAULT_$LINE"
7443 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7447 eval "$ac_cv_use_bmpbutton"
7448 if test "$no_cache" != 1; then
7449 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7452 if test "$wxUSE_BMPBUTTON" = yes; then
7453 echo "$as_me:$LINENO: result: yes" >&5
7454 echo "${ECHO_T}yes" >&6
7456 echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6
7462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7465 # Check whether --enable-calendar or --disable-calendar was given.
7466 if test "${enable_calendar+set}" = set; then
7467 enableval
="$enable_calendar"
7469 if test "$enableval" = yes; then
7470 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7472 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7477 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7478 if test "x$LINE" != x
; then
7479 eval "DEFAULT_$LINE"
7484 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7488 eval "$ac_cv_use_calendar"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7493 if test "$wxUSE_CALCTRL" = yes; then
7494 echo "$as_me:$LINENO: result: yes" >&5
7495 echo "${ECHO_T}yes" >&6
7497 echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6
7503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7506 # Check whether --enable-caret or --disable-caret was given.
7507 if test "${enable_caret+set}" = set; then
7508 enableval
="$enable_caret"
7510 if test "$enableval" = yes; then
7511 ac_cv_use_caret
='wxUSE_CARET=yes'
7513 ac_cv_use_caret
='wxUSE_CARET=no'
7518 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7519 if test "x$LINE" != x
; then
7520 eval "DEFAULT_$LINE"
7525 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7529 eval "$ac_cv_use_caret"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7534 if test "$wxUSE_CARET" = yes; then
7535 echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6
7538 echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6
7544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7547 # Check whether --enable-checkbox or --disable-checkbox was given.
7548 if test "${enable_checkbox+set}" = set; then
7549 enableval
="$enable_checkbox"
7551 if test "$enableval" = yes; then
7552 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7554 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7559 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x
; then
7561 eval "DEFAULT_$LINE"
7566 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7570 eval "$ac_cv_use_checkbox"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7575 if test "$wxUSE_CHECKBOX" = yes; then
7576 echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6
7579 echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6
7585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7588 # Check whether --enable-checklst or --disable-checklst was given.
7589 if test "${enable_checklst+set}" = set; then
7590 enableval
="$enable_checklst"
7592 if test "$enableval" = yes; then
7593 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7595 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7600 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7601 if test "x$LINE" != x
; then
7602 eval "DEFAULT_$LINE"
7607 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7611 eval "$ac_cv_use_checklst"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7616 if test "$wxUSE_CHECKLST" = yes; then
7617 echo "$as_me:$LINENO: result: yes" >&5
7618 echo "${ECHO_T}yes" >&6
7620 echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6
7626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7627 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7629 # Check whether --enable-choice or --disable-choice was given.
7630 if test "${enable_choice+set}" = set; then
7631 enableval
="$enable_choice"
7633 if test "$enableval" = yes; then
7634 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7636 ac_cv_use_choice
='wxUSE_CHOICE=no'
7641 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x
; then
7643 eval "DEFAULT_$LINE"
7648 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7652 eval "$ac_cv_use_choice"
7653 if test "$no_cache" != 1; then
7654 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7657 if test "$wxUSE_CHOICE" = yes; then
7658 echo "$as_me:$LINENO: result: yes" >&5
7659 echo "${ECHO_T}yes" >&6
7661 echo "$as_me:$LINENO: result: no" >&5
7662 echo "${ECHO_T}no" >&6
7667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7668 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7670 # Check whether --enable-choicebook or --disable-choicebook was given.
7671 if test "${enable_choicebook+set}" = set; then
7672 enableval
="$enable_choicebook"
7674 if test "$enableval" = yes; then
7675 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7677 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7682 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x
; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7693 eval "$ac_cv_use_choicebook"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7698 if test "$wxUSE_CHOICEBOOK" = yes; then
7699 echo "$as_me:$LINENO: result: yes" >&5
7700 echo "${ECHO_T}yes" >&6
7702 echo "$as_me:$LINENO: result: no" >&5
7703 echo "${ECHO_T}no" >&6
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7711 # Check whether --enable-combobox or --disable-combobox was given.
7712 if test "${enable_combobox+set}" = set; then
7713 enableval
="$enable_combobox"
7715 if test "$enableval" = yes; then
7716 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7718 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7723 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x
; then
7725 eval "DEFAULT_$LINE"
7730 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7734 eval "$ac_cv_use_combobox"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7739 if test "$wxUSE_COMBOBOX" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7752 # Check whether --enable-datepick or --disable-datepick was given.
7753 if test "${enable_datepick+set}" = set; then
7754 enableval
="$enable_datepick"
7756 if test "$enableval" = yes; then
7757 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7759 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7764 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x
; then
7766 eval "DEFAULT_$LINE"
7771 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7775 eval "$ac_cv_use_datepick"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_DATEPICKCTRL" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7791 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7793 # Check whether --enable-display or --disable-display was given.
7794 if test "${enable_display+set}" = set; then
7795 enableval
="$enable_display"
7797 if test "$enableval" = yes; then
7798 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7800 ac_cv_use_display
='wxUSE_DISPLAY=no'
7805 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x
; then
7807 eval "DEFAULT_$LINE"
7812 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7816 eval "$ac_cv_use_display"
7817 if test "$no_cache" != 1; then
7818 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7821 if test "$wxUSE_DISPLAY" = yes; then
7822 echo "$as_me:$LINENO: result: yes" >&5
7823 echo "${ECHO_T}yes" >&6
7825 echo "$as_me:$LINENO: result: no" >&5
7826 echo "${ECHO_T}no" >&6
7831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7832 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7834 # Check whether --enable-gauge or --disable-gauge was given.
7835 if test "${enable_gauge+set}" = set; then
7836 enableval
="$enable_gauge"
7838 if test "$enableval" = yes; then
7839 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7841 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7846 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x
; then
7848 eval "DEFAULT_$LINE"
7853 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7857 eval "$ac_cv_use_gauge"
7858 if test "$no_cache" != 1; then
7859 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7862 if test "$wxUSE_GAUGE" = yes; then
7863 echo "$as_me:$LINENO: result: yes" >&5
7864 echo "${ECHO_T}yes" >&6
7866 echo "$as_me:$LINENO: result: no" >&5
7867 echo "${ECHO_T}no" >&6
7872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7875 # Check whether --enable-grid or --disable-grid was given.
7876 if test "${enable_grid+set}" = set; then
7877 enableval
="$enable_grid"
7879 if test "$enableval" = yes; then
7880 ac_cv_use_grid
='wxUSE_GRID=yes'
7882 ac_cv_use_grid
='wxUSE_GRID=no'
7887 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x
; then
7889 eval "DEFAULT_$LINE"
7894 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7898 eval "$ac_cv_use_grid"
7899 if test "$no_cache" != 1; then
7900 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7903 if test "$wxUSE_GRID" = yes; then
7904 echo "$as_me:$LINENO: result: yes" >&5
7905 echo "${ECHO_T}yes" >&6
7907 echo "$as_me:$LINENO: result: no" >&5
7908 echo "${ECHO_T}no" >&6
7913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7916 # Check whether --enable-imaglist or --disable-imaglist was given.
7917 if test "${enable_imaglist+set}" = set; then
7918 enableval
="$enable_imaglist"
7920 if test "$enableval" = yes; then
7921 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7923 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7928 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7929 if test "x$LINE" != x
; then
7930 eval "DEFAULT_$LINE"
7935 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7939 eval "$ac_cv_use_imaglist"
7940 if test "$no_cache" != 1; then
7941 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7944 if test "$wxUSE_IMAGLIST" = yes; then
7945 echo "$as_me:$LINENO: result: yes" >&5
7946 echo "${ECHO_T}yes" >&6
7948 echo "$as_me:$LINENO: result: no" >&5
7949 echo "${ECHO_T}no" >&6
7954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7955 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7957 # Check whether --enable-listbook or --disable-listbook was given.
7958 if test "${enable_listbook+set}" = set; then
7959 enableval
="$enable_listbook"
7961 if test "$enableval" = yes; then
7962 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7964 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7969 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x
; then
7971 eval "DEFAULT_$LINE"
7976 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7980 eval "$ac_cv_use_listbook"
7981 if test "$no_cache" != 1; then
7982 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7985 if test "$wxUSE_LISTBOOK" = yes; then
7986 echo "$as_me:$LINENO: result: yes" >&5
7987 echo "${ECHO_T}yes" >&6
7989 echo "$as_me:$LINENO: result: no" >&5
7990 echo "${ECHO_T}no" >&6
7995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7998 # Check whether --enable-listbox or --disable-listbox was given.
7999 if test "${enable_listbox+set}" = set; then
8000 enableval
="$enable_listbox"
8002 if test "$enableval" = yes; then
8003 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8005 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8010 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x
; then
8012 eval "DEFAULT_$LINE"
8017 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8021 eval "$ac_cv_use_listbox"
8022 if test "$no_cache" != 1; then
8023 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8026 if test "$wxUSE_LISTBOX" = yes; then
8027 echo "$as_me:$LINENO: result: yes" >&5
8028 echo "${ECHO_T}yes" >&6
8030 echo "$as_me:$LINENO: result: no" >&5
8031 echo "${ECHO_T}no" >&6
8036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8037 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8039 # Check whether --enable-listctrl or --disable-listctrl was given.
8040 if test "${enable_listctrl+set}" = set; then
8041 enableval
="$enable_listctrl"
8043 if test "$enableval" = yes; then
8044 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8046 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8051 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x
; then
8053 eval "DEFAULT_$LINE"
8058 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8062 eval "$ac_cv_use_listctrl"
8063 if test "$no_cache" != 1; then
8064 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8067 if test "$wxUSE_LISTCTRL" = yes; then
8068 echo "$as_me:$LINENO: result: yes" >&5
8069 echo "${ECHO_T}yes" >&6
8071 echo "$as_me:$LINENO: result: no" >&5
8072 echo "${ECHO_T}no" >&6
8077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8080 # Check whether --enable-notebook or --disable-notebook was given.
8081 if test "${enable_notebook+set}" = set; then
8082 enableval
="$enable_notebook"
8084 if test "$enableval" = yes; then
8085 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8087 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8092 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x
; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8103 eval "$ac_cv_use_notebook"
8104 if test "$no_cache" != 1; then
8105 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8108 if test "$wxUSE_NOTEBOOK" = yes; then
8109 echo "$as_me:$LINENO: result: yes" >&5
8110 echo "${ECHO_T}yes" >&6
8112 echo "$as_me:$LINENO: result: no" >&5
8113 echo "${ECHO_T}no" >&6
8118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8121 # Check whether --enable-radiobox or --disable-radiobox was given.
8122 if test "${enable_radiobox+set}" = set; then
8123 enableval
="$enable_radiobox"
8125 if test "$enableval" = yes; then
8126 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8128 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8133 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x
; then
8135 eval "DEFAULT_$LINE"
8140 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8144 eval "$ac_cv_use_radiobox"
8145 if test "$no_cache" != 1; then
8146 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8149 if test "$wxUSE_RADIOBOX" = yes; then
8150 echo "$as_me:$LINENO: result: yes" >&5
8151 echo "${ECHO_T}yes" >&6
8153 echo "$as_me:$LINENO: result: no" >&5
8154 echo "${ECHO_T}no" >&6
8159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8160 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8162 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8163 if test "${enable_radiobtn+set}" = set; then
8164 enableval
="$enable_radiobtn"
8166 if test "$enableval" = yes; then
8167 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8169 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8174 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x
; then
8176 eval "DEFAULT_$LINE"
8181 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8185 eval "$ac_cv_use_radiobtn"
8186 if test "$no_cache" != 1; then
8187 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8190 if test "$wxUSE_RADIOBTN" = yes; then
8191 echo "$as_me:$LINENO: result: yes" >&5
8192 echo "${ECHO_T}yes" >&6
8194 echo "$as_me:$LINENO: result: no" >&5
8195 echo "${ECHO_T}no" >&6
8200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8201 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8203 # Check whether --enable-sash or --disable-sash was given.
8204 if test "${enable_sash+set}" = set; then
8205 enableval
="$enable_sash"
8207 if test "$enableval" = yes; then
8208 ac_cv_use_sash
='wxUSE_SASH=yes'
8210 ac_cv_use_sash
='wxUSE_SASH=no'
8215 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x
; then
8217 eval "DEFAULT_$LINE"
8222 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8226 eval "$ac_cv_use_sash"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8231 if test "$wxUSE_SASH" = yes; then
8232 echo "$as_me:$LINENO: result: yes" >&5
8233 echo "${ECHO_T}yes" >&6
8235 echo "$as_me:$LINENO: result: no" >&5
8236 echo "${ECHO_T}no" >&6
8241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8244 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8245 if test "${enable_scrollbar+set}" = set; then
8246 enableval
="$enable_scrollbar"
8248 if test "$enableval" = yes; then
8249 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8251 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8256 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x
; then
8258 eval "DEFAULT_$LINE"
8263 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8267 eval "$ac_cv_use_scrollbar"
8268 if test "$no_cache" != 1; then
8269 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8272 if test "$wxUSE_SCROLLBAR" = yes; then
8273 echo "$as_me:$LINENO: result: yes" >&5
8274 echo "${ECHO_T}yes" >&6
8276 echo "$as_me:$LINENO: result: no" >&5
8277 echo "${ECHO_T}no" >&6
8282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8285 # Check whether --enable-slider or --disable-slider was given.
8286 if test "${enable_slider+set}" = set; then
8287 enableval
="$enable_slider"
8289 if test "$enableval" = yes; then
8290 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8292 ac_cv_use_slider
='wxUSE_SLIDER=no'
8297 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x
; then
8299 eval "DEFAULT_$LINE"
8304 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8308 eval "$ac_cv_use_slider"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8313 if test "$wxUSE_SLIDER" = yes; then
8314 echo "$as_me:$LINENO: result: yes" >&5
8315 echo "${ECHO_T}yes" >&6
8317 echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6
8323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8326 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8327 if test "${enable_spinbtn+set}" = set; then
8328 enableval
="$enable_spinbtn"
8330 if test "$enableval" = yes; then
8331 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8333 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8338 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x
; then
8340 eval "DEFAULT_$LINE"
8345 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8349 eval "$ac_cv_use_spinbtn"
8350 if test "$no_cache" != 1; then
8351 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8354 if test "$wxUSE_SPINBTN" = yes; then
8355 echo "$as_me:$LINENO: result: yes" >&5
8356 echo "${ECHO_T}yes" >&6
8358 echo "$as_me:$LINENO: result: no" >&5
8359 echo "${ECHO_T}no" >&6
8364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8367 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8368 if test "${enable_spinctrl+set}" = set; then
8369 enableval
="$enable_spinctrl"
8371 if test "$enableval" = yes; then
8372 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8374 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8379 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8380 if test "x$LINE" != x
; then
8381 eval "DEFAULT_$LINE"
8386 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8390 eval "$ac_cv_use_spinctrl"
8391 if test "$no_cache" != 1; then
8392 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8395 if test "$wxUSE_SPINCTRL" = yes; then
8396 echo "$as_me:$LINENO: result: yes" >&5
8397 echo "${ECHO_T}yes" >&6
8399 echo "$as_me:$LINENO: result: no" >&5
8400 echo "${ECHO_T}no" >&6
8405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8408 # Check whether --enable-splitter or --disable-splitter was given.
8409 if test "${enable_splitter+set}" = set; then
8410 enableval
="$enable_splitter"
8412 if test "$enableval" = yes; then
8413 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8415 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8420 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x
; then
8422 eval "DEFAULT_$LINE"
8427 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8431 eval "$ac_cv_use_splitter"
8432 if test "$no_cache" != 1; then
8433 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8436 if test "$wxUSE_SPLITTER" = yes; then
8437 echo "$as_me:$LINENO: result: yes" >&5
8438 echo "${ECHO_T}yes" >&6
8440 echo "$as_me:$LINENO: result: no" >&5
8441 echo "${ECHO_T}no" >&6
8446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8449 # Check whether --enable-statbmp or --disable-statbmp was given.
8450 if test "${enable_statbmp+set}" = set; then
8451 enableval
="$enable_statbmp"
8453 if test "$enableval" = yes; then
8454 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8456 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8461 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x
; then
8463 eval "DEFAULT_$LINE"
8468 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8472 eval "$ac_cv_use_statbmp"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8477 if test "$wxUSE_STATBMP" = yes; then
8478 echo "$as_me:$LINENO: result: yes" >&5
8479 echo "${ECHO_T}yes" >&6
8481 echo "$as_me:$LINENO: result: no" >&5
8482 echo "${ECHO_T}no" >&6
8487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8490 # Check whether --enable-statbox or --disable-statbox was given.
8491 if test "${enable_statbox+set}" = set; then
8492 enableval
="$enable_statbox"
8494 if test "$enableval" = yes; then
8495 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8497 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8502 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8503 if test "x$LINE" != x
; then
8504 eval "DEFAULT_$LINE"
8509 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8513 eval "$ac_cv_use_statbox"
8514 if test "$no_cache" != 1; then
8515 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8518 if test "$wxUSE_STATBOX" = yes; then
8519 echo "$as_me:$LINENO: result: yes" >&5
8520 echo "${ECHO_T}yes" >&6
8522 echo "$as_me:$LINENO: result: no" >&5
8523 echo "${ECHO_T}no" >&6
8528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8531 # Check whether --enable-statline or --disable-statline was given.
8532 if test "${enable_statline+set}" = set; then
8533 enableval
="$enable_statline"
8535 if test "$enableval" = yes; then
8536 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8538 ac_cv_use_statline
='wxUSE_STATLINE=no'
8543 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8544 if test "x$LINE" != x
; then
8545 eval "DEFAULT_$LINE"
8550 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8554 eval "$ac_cv_use_statline"
8555 if test "$no_cache" != 1; then
8556 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8559 if test "$wxUSE_STATLINE" = yes; then
8560 echo "$as_me:$LINENO: result: yes" >&5
8561 echo "${ECHO_T}yes" >&6
8563 echo "$as_me:$LINENO: result: no" >&5
8564 echo "${ECHO_T}no" >&6
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8572 # Check whether --enable-stattext or --disable-stattext was given.
8573 if test "${enable_stattext+set}" = set; then
8574 enableval
="$enable_stattext"
8576 if test "$enableval" = yes; then
8577 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8579 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8584 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x
; then
8586 eval "DEFAULT_$LINE"
8591 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8595 eval "$ac_cv_use_stattext"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8600 if test "$wxUSE_STATTEXT" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8604 echo "$as_me:$LINENO: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8613 # Check whether --enable-statusbar or --disable-statusbar was given.
8614 if test "${enable_statusbar+set}" = set; then
8615 enableval
="$enable_statusbar"
8617 if test "$enableval" = yes; then
8618 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8620 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8625 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x
; then
8627 eval "DEFAULT_$LINE"
8632 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8636 eval "$ac_cv_use_statusbar"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8641 if test "$wxUSE_STATUSBAR" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643 echo "${ECHO_T}yes" >&6
8645 echo "$as_me:$LINENO: result: no" >&5
8646 echo "${ECHO_T}no" >&6
8651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8652 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8654 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8655 if test "${enable_tabdialog+set}" = set; then
8656 enableval
="$enable_tabdialog"
8658 if test "$enableval" = yes; then
8659 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8661 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8666 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8667 if test "x$LINE" != x
; then
8668 eval "DEFAULT_$LINE"
8673 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8677 eval "$ac_cv_use_tabdialog"
8678 if test "$no_cache" != 1; then
8679 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8682 if test "$wxUSE_TABDIALOG" = yes; then
8683 echo "$as_me:$LINENO: result: yes" >&5
8684 echo "${ECHO_T}yes" >&6
8686 echo "$as_me:$LINENO: result: no" >&5
8687 echo "${ECHO_T}no" >&6
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8695 # Check whether --enable-textctrl or --disable-textctrl was given.
8696 if test "${enable_textctrl+set}" = set; then
8697 enableval
="$enable_textctrl"
8699 if test "$enableval" = yes; then
8700 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8702 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8707 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x
; then
8709 eval "DEFAULT_$LINE"
8714 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8718 eval "$ac_cv_use_textctrl"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8723 if test "$wxUSE_TEXTCTRL" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8736 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8737 if test "${enable_togglebtn+set}" = set; then
8738 enableval
="$enable_togglebtn"
8740 if test "$enableval" = yes; then
8741 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8743 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8748 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x
; then
8750 eval "DEFAULT_$LINE"
8755 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8759 eval "$ac_cv_use_togglebtn"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8764 if test "$wxUSE_TOGGLEBTN" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8777 # Check whether --enable-toolbar or --disable-toolbar was given.
8778 if test "${enable_toolbar+set}" = set; then
8779 enableval
="$enable_toolbar"
8781 if test "$enableval" = yes; then
8782 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8784 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8789 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x
; then
8791 eval "DEFAULT_$LINE"
8796 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8800 eval "$ac_cv_use_toolbar"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_TOOLBAR" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8818 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8819 if test "${enable_tbarnative+set}" = set; then
8820 enableval
="$enable_tbarnative"
8822 if test "$enableval" = yes; then
8823 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8825 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8830 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x
; then
8832 eval "DEFAULT_$LINE"
8837 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8841 eval "$ac_cv_use_tbarnative"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8846 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8859 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8860 if test "${enable_tbarsmpl+set}" = set; then
8861 enableval
="$enable_tbarsmpl"
8863 if test "$enableval" = yes; then
8864 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8866 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8871 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x
; then
8873 eval "DEFAULT_$LINE"
8878 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8882 eval "$ac_cv_use_tbarsmpl"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8887 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8900 # Check whether --enable-treectrl or --disable-treectrl was given.
8901 if test "${enable_treectrl+set}" = set; then
8902 enableval
="$enable_treectrl"
8904 if test "$enableval" = yes; then
8905 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8907 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8912 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x
; then
8914 eval "DEFAULT_$LINE"
8919 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8923 eval "$ac_cv_use_treectrl"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8928 if test "$wxUSE_TREECTRL" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8941 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8942 if test "${enable_tipwindow+set}" = set; then
8943 enableval
="$enable_tipwindow"
8945 if test "$enableval" = yes; then
8946 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8948 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8953 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x
; then
8955 eval "DEFAULT_$LINE"
8960 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8964 eval "$ac_cv_use_tipwindow"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8969 if test "$wxUSE_TIPWINDOW" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8982 # Check whether --enable-popupwin or --disable-popupwin was given.
8983 if test "${enable_popupwin+set}" = set; then
8984 enableval
="$enable_popupwin"
8986 if test "$enableval" = yes; then
8987 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8989 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8994 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x
; then
8996 eval "DEFAULT_$LINE"
9001 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9005 eval "$ac_cv_use_popupwin"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9010 if test "$wxUSE_POPUPWIN" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9025 # Check whether --enable-commondlg or --disable-commondlg was given.
9026 if test "${enable_commondlg+set}" = set; then
9027 enableval
="$enable_commondlg"
9029 if test "$enableval" = yes; then
9030 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9032 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9037 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x
; then
9039 eval "DEFAULT_$LINE"
9044 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9048 eval "$ac_cv_use_commondlg"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9053 if test "$wxUSE_COMMONDLGS" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9066 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9067 if test "${enable_choicedlg+set}" = set; then
9068 enableval
="$enable_choicedlg"
9070 if test "$enableval" = yes; then
9071 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9073 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9078 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x
; then
9080 eval "DEFAULT_$LINE"
9085 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9089 eval "$ac_cv_use_choicedlg"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9094 if test "$wxUSE_CHOICEDLG" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9107 # Check whether --enable-coldlg or --disable-coldlg was given.
9108 if test "${enable_coldlg+set}" = set; then
9109 enableval
="$enable_coldlg"
9111 if test "$enableval" = yes; then
9112 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9114 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9119 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x
; then
9121 eval "DEFAULT_$LINE"
9126 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9130 eval "$ac_cv_use_coldlg"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9135 if test "$wxUSE_COLOURDLG" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9148 # Check whether --enable-filedlg or --disable-filedlg was given.
9149 if test "${enable_filedlg+set}" = set; then
9150 enableval
="$enable_filedlg"
9152 if test "$enableval" = yes; then
9153 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9155 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9160 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x
; then
9162 eval "DEFAULT_$LINE"
9167 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9171 eval "$ac_cv_use_filedlg"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9176 if test "$wxUSE_FILEDLG" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9189 # Check whether --enable-finddlg or --disable-finddlg was given.
9190 if test "${enable_finddlg+set}" = set; then
9191 enableval
="$enable_finddlg"
9193 if test "$enableval" = yes; then
9194 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9196 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9201 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x
; then
9203 eval "DEFAULT_$LINE"
9208 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9212 eval "$ac_cv_use_finddlg"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9217 if test "$wxUSE_FINDREPLDLG" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9230 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9231 if test "${enable_fontdlg+set}" = set; then
9232 enableval
="$enable_fontdlg"
9234 if test "$enableval" = yes; then
9235 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9237 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9242 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x
; then
9244 eval "DEFAULT_$LINE"
9249 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9253 eval "$ac_cv_use_fontdlg"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9258 if test "$wxUSE_FONTDLG" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9271 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9272 if test "${enable_dirdlg+set}" = set; then
9273 enableval
="$enable_dirdlg"
9275 if test "$enableval" = yes; then
9276 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9278 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9283 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x
; then
9285 eval "DEFAULT_$LINE"
9290 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9294 eval "$ac_cv_use_dirdlg"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9299 if test "$wxUSE_DIRDLG" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9312 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9313 if test "${enable_msgdlg+set}" = set; then
9314 enableval
="$enable_msgdlg"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9319 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9324 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x
; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9335 eval "$ac_cv_use_msgdlg"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_MSGDLG" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9353 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9354 if test "${enable_numberdlg+set}" = set; then
9355 enableval
="$enable_numberdlg"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9360 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9365 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x
; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9376 eval "$ac_cv_use_numberdlg"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_NUMBERDLG" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9394 # Check whether --enable-splash or --disable-splash was given.
9395 if test "${enable_splash+set}" = set; then
9396 enableval
="$enable_splash"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9401 ac_cv_use_splash
='wxUSE_SPLASH=no'
9406 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x
; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9417 eval "$ac_cv_use_splash"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_SPLASH" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9435 # Check whether --enable-textdlg or --disable-textdlg was given.
9436 if test "${enable_textdlg+set}" = set; then
9437 enableval
="$enable_textdlg"
9439 if test "$enableval" = yes; then
9440 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9442 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9447 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x
; then
9449 eval "DEFAULT_$LINE"
9454 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9458 eval "$ac_cv_use_textdlg"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9463 if test "$wxUSE_TEXTDLG" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9476 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9477 if test "${enable_tipdlg+set}" = set; then
9478 enableval
="$enable_tipdlg"
9480 if test "$enableval" = yes; then
9481 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9483 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9488 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x
; then
9490 eval "DEFAULT_$LINE"
9495 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9499 eval "$ac_cv_use_tipdlg"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9504 if test "$wxUSE_STARTUP_TIPS" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9517 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9518 if test "${enable_progressdlg+set}" = set; then
9519 enableval
="$enable_progressdlg"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9524 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9529 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9540 eval "$ac_cv_use_progressdlg"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_PROGRESSDLG" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9558 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9559 if test "${enable_wizarddlg+set}" = set; then
9560 enableval
="$enable_wizarddlg"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9565 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9570 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9581 eval "$ac_cv_use_wizarddlg"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_WIZARDDLG" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9601 # Check whether --enable-menus or --disable-menus was given.
9602 if test "${enable_menus+set}" = set; then
9603 enableval
="$enable_menus"
9605 if test "$enableval" = yes; then
9606 ac_cv_use_menus
='wxUSE_MENUS=yes'
9608 ac_cv_use_menus
='wxUSE_MENUS=no'
9613 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x
; then
9615 eval "DEFAULT_$LINE"
9620 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9624 eval "$ac_cv_use_menus"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9629 if test "$wxUSE_MENUS" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9642 # Check whether --enable-miniframe or --disable-miniframe was given.
9643 if test "${enable_miniframe+set}" = set; then
9644 enableval
="$enable_miniframe"
9646 if test "$enableval" = yes; then
9647 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9649 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9654 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x
; then
9656 eval "DEFAULT_$LINE"
9661 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9665 eval "$ac_cv_use_miniframe"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9670 if test "$wxUSE_MINIFRAME" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9683 # Check whether --enable-tooltips or --disable-tooltips was given.
9684 if test "${enable_tooltips+set}" = set; then
9685 enableval
="$enable_tooltips"
9687 if test "$enableval" = yes; then
9688 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9690 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9695 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x
; then
9697 eval "DEFAULT_$LINE"
9702 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9706 eval "$ac_cv_use_tooltips"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9711 if test "$wxUSE_TOOLTIPS" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9724 # Check whether --enable-splines or --disable-splines was given.
9725 if test "${enable_splines+set}" = set; then
9726 enableval
="$enable_splines"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9731 ac_cv_use_splines
='wxUSE_SPLINES=no'
9736 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9747 eval "$ac_cv_use_splines"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_SPLINES" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9765 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9766 if test "${enable_mousewheel+set}" = set; then
9767 enableval
="$enable_mousewheel"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9772 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9777 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9788 eval "$ac_cv_use_mousewheel"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_MOUSEWHEEL" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9806 # Check whether --enable-validators or --disable-validators was given.
9807 if test "${enable_validators+set}" = set; then
9808 enableval
="$enable_validators"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9813 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9818 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9829 eval "$ac_cv_use_validators"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_VALIDATORS" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9847 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9848 if test "${enable_busyinfo+set}" = set; then
9849 enableval
="$enable_busyinfo"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9854 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9859 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9870 eval "$ac_cv_use_busyinfo"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_BUSYINFO" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9888 # Check whether --enable-joystick or --disable-joystick was given.
9889 if test "${enable_joystick+set}" = set; then
9890 enableval
="$enable_joystick"
9892 if test "$enableval" = yes; then
9893 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9895 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9900 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x
; then
9902 eval "DEFAULT_$LINE"
9907 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9911 eval "$ac_cv_use_joystick"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9916 if test "$wxUSE_JOYSTICK" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9929 # Check whether --enable-metafile or --disable-metafile was given.
9930 if test "${enable_metafile+set}" = set; then
9931 enableval
="$enable_metafile"
9933 if test "$enableval" = yes; then
9934 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9936 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9941 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x
; then
9943 eval "DEFAULT_$LINE"
9948 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9952 eval "$ac_cv_use_metafile"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9957 if test "$wxUSE_METAFILE" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9970 # Check whether --enable-dragimage or --disable-dragimage was given.
9971 if test "${enable_dragimage+set}" = set; then
9972 enableval
="$enable_dragimage"
9974 if test "$enableval" = yes; then
9975 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9977 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9982 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x
; then
9984 eval "DEFAULT_$LINE"
9989 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9993 eval "$ac_cv_use_dragimage"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9998 if test "$wxUSE_DRAGIMAGE" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10011 # Check whether --enable-accessibility or --disable-accessibility was given.
10012 if test "${enable_accessibility+set}" = set; then
10013 enableval
="$enable_accessibility"
10015 if test "$enableval" = yes; then
10016 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10018 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10023 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x
; then
10025 eval "DEFAULT_$LINE"
10030 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10034 eval "$ac_cv_use_accessibility"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10039 if test "$wxUSE_ACCESSIBILITY" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10048 if test "$wxUSE_MSW" = "1"; then
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10054 # Check whether --enable-dccache or --disable-dccache was given.
10055 if test "${enable_dccache+set}" = set; then
10056 enableval
="$enable_dccache"
10058 if test "$enableval" = yes; then
10059 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10061 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10066 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x
; then
10068 eval "DEFAULT_$LINE"
10073 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10077 eval "$ac_cv_use_dccache"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10082 if test "$wxUSE_DC_CACHEING" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10098 # Check whether --enable-palette or --disable-palette was given.
10099 if test "${enable_palette+set}" = set; then
10100 enableval
="$enable_palette"
10102 if test "$enableval" = yes; then
10103 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10105 ac_cv_use_palette
='wxUSE_PALETTE=no'
10110 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x
; then
10112 eval "DEFAULT_$LINE"
10117 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10121 eval "$ac_cv_use_palette"
10122 if test "$no_cache" != 1; then
10123 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10126 if test "$wxUSE_PALETTE" = yes; then
10127 echo "$as_me:$LINENO: result: yes" >&5
10128 echo "${ECHO_T}yes" >&6
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10139 # Check whether --enable-image or --disable-image was given.
10140 if test "${enable_image+set}" = set; then
10141 enableval
="$enable_image"
10143 if test "$enableval" = yes; then
10144 ac_cv_use_image
='wxUSE_IMAGE=yes'
10146 ac_cv_use_image
='wxUSE_IMAGE=no'
10151 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x
; then
10153 eval "DEFAULT_$LINE"
10158 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10162 eval "$ac_cv_use_image"
10163 if test "$no_cache" != 1; then
10164 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10167 if test "$wxUSE_IMAGE" = yes; then
10168 echo "$as_me:$LINENO: result: yes" >&5
10169 echo "${ECHO_T}yes" >&6
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10180 # Check whether --enable-gif or --disable-gif was given.
10181 if test "${enable_gif+set}" = set; then
10182 enableval
="$enable_gif"
10184 if test "$enableval" = yes; then
10185 ac_cv_use_gif
='wxUSE_GIF=yes'
10187 ac_cv_use_gif
='wxUSE_GIF=no'
10192 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x
; then
10194 eval "DEFAULT_$LINE"
10199 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10203 eval "$ac_cv_use_gif"
10204 if test "$no_cache" != 1; then
10205 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10208 if test "$wxUSE_GIF" = yes; then
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10221 # Check whether --enable-pcx or --disable-pcx was given.
10222 if test "${enable_pcx+set}" = set; then
10223 enableval
="$enable_pcx"
10225 if test "$enableval" = yes; then
10226 ac_cv_use_pcx
='wxUSE_PCX=yes'
10228 ac_cv_use_pcx
='wxUSE_PCX=no'
10233 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x
; then
10235 eval "DEFAULT_$LINE"
10240 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10244 eval "$ac_cv_use_pcx"
10245 if test "$no_cache" != 1; then
10246 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10249 if test "$wxUSE_PCX" = yes; then
10250 echo "$as_me:$LINENO: result: yes" >&5
10251 echo "${ECHO_T}yes" >&6
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10260 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10262 # Check whether --enable-iff or --disable-iff was given.
10263 if test "${enable_iff+set}" = set; then
10264 enableval
="$enable_iff"
10266 if test "$enableval" = yes; then
10267 ac_cv_use_iff
='wxUSE_IFF=yes'
10269 ac_cv_use_iff
='wxUSE_IFF=no'
10274 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x
; then
10276 eval "DEFAULT_$LINE"
10281 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10285 eval "$ac_cv_use_iff"
10286 if test "$no_cache" != 1; then
10287 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10290 if test "$wxUSE_IFF" = yes; then
10291 echo "$as_me:$LINENO: result: yes" >&5
10292 echo "${ECHO_T}yes" >&6
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10301 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10303 # Check whether --enable-pnm or --disable-pnm was given.
10304 if test "${enable_pnm+set}" = set; then
10305 enableval
="$enable_pnm"
10307 if test "$enableval" = yes; then
10308 ac_cv_use_pnm
='wxUSE_PNM=yes'
10310 ac_cv_use_pnm
='wxUSE_PNM=no'
10315 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x
; then
10317 eval "DEFAULT_$LINE"
10322 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10326 eval "$ac_cv_use_pnm"
10327 if test "$no_cache" != 1; then
10328 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10331 if test "$wxUSE_PNM" = yes; then
10332 echo "$as_me:$LINENO: result: yes" >&5
10333 echo "${ECHO_T}yes" >&6
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10344 # Check whether --enable-xpm or --disable-xpm was given.
10345 if test "${enable_xpm+set}" = set; then
10346 enableval
="$enable_xpm"
10348 if test "$enableval" = yes; then
10349 ac_cv_use_xpm
='wxUSE_XPM=yes'
10351 ac_cv_use_xpm
='wxUSE_XPM=no'
10356 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x
; then
10358 eval "DEFAULT_$LINE"
10363 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10367 eval "$ac_cv_use_xpm"
10368 if test "$no_cache" != 1; then
10369 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10372 if test "$wxUSE_XPM" = yes; then
10373 echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10385 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10386 if test "${enable_ico_cur+set}" = set; then
10387 enableval
="$enable_ico_cur"
10389 if test "$enableval" = yes; then
10390 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10392 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10397 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x
; then
10399 eval "DEFAULT_$LINE"
10404 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10408 eval "$ac_cv_use_ico_cur"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10413 if test "$wxUSE_ICO_CUR" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10426 # Check whether --with-flavour or --without-flavour was given.
10427 if test "${with_flavour+set}" = set; then
10428 withval
="$with_flavour"
10429 WX_FLAVOUR
="$withval"
10435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10436 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10438 # Check whether --enable-official_build or --disable-official_build was given.
10439 if test "${enable_official_build+set}" = set; then
10440 enableval
="$enable_official_build"
10442 if test "$enableval" = yes; then
10443 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10445 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10450 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10451 if test "x$LINE" != x
; then
10452 eval "DEFAULT_$LINE"
10457 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10461 eval "$ac_cv_use_official_build"
10462 if test "$no_cache" != 1; then
10463 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10466 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10467 echo "$as_me:$LINENO: result: yes" >&5
10468 echo "${ECHO_T}yes" >&6
10470 echo "$as_me:$LINENO: result: no" >&5
10471 echo "${ECHO_T}no" >&6
10474 # Check whether --enable-vendor or --disable-vendor was given.
10475 if test "${enable_vendor+set}" = set; then
10476 enableval
="$enable_vendor"
10477 VENDOR
="$enableval"
10479 if test "x$VENDOR" = "x"; then
10486 echo "saving argument cache $wx_arg_cache_file"
10487 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10491 echo "$as_me:$LINENO: checking for toolkit" >&5
10492 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10494 # In Wine, we need to default to MSW, not GTK or MOTIF
10495 if test "$wxUSE_WINE" = "yes"; then
10496 DEFAULT_DEFAULT_wxUSE_GTK
=0
10497 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10498 DEFAULT_DEFAULT_wxUSE_MSW
=1
10503 if test "$wxUSE_GUI" = "yes"; then
10505 if test "$USE_BEOS" = 1; then
10506 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10507 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10508 { (exit 1); exit 1; }; }
10511 if test "$TOOLKIT_GIVEN" = 1; then
10512 for toolkit
in `echo $ALL_TOOLKITS`; do
10514 eval "value=\$${var}"
10515 if test "x$value" = "xno"; then
10517 elif test "x$value" != "x"; then
10521 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10522 eval "wx${toolkit}_VERSION=$value"
10526 for toolkit
in `echo $ALL_TOOLKITS`; do
10527 if test "$has_toolkit_in_cache" != 1; then
10528 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10530 var
=DEFAULT_wxUSE_
$toolkit
10532 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10533 if test "x$version" != "x"; then
10534 eval "wx${toolkit}_VERSION=$version"
10537 eval "wxUSE_$toolkit=\$${var}"
10541 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10542 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10543 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10546 *-pc-os2_emx | *-pc-os2-emx )
10547 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10550 case "$NUM_TOOLKITS" in
10554 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10555 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10556 { (exit 1); exit 1; }; }
10559 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10560 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10561 { (exit 1); exit 1; }; }
10564 # to be removed when --disable-gtk2 isn't needed
10565 if test "x$wxUSE_GTK2" = "xyes"; then
10567 elif test "x$wxUSE_GTK2" = "xno"; then
10571 for toolkit
in `echo $ALL_TOOLKITS`; do
10573 eval "value=\$${var}"
10574 if test "x$value" != x
; then
10575 cache_var
=CACHE_
$toolkit
10576 eval "cache=\$${cache_var}"
10577 if test "$cache" = 1; then
10578 echo "$var=$value" >> ${wx_arg_cache_file}
10579 eval "version=\$wx${toolkit}_VERSION"
10580 if test "x$version" != "x"; then
10581 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10584 if test "$value" = 1; then
10585 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10586 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10587 echo "${ECHO_T}$toolkit_echo" >&6
10592 if test "x$host_alias" != "x"; then
10593 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10594 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10596 echo "$as_me:$LINENO: result: base only" >&5
10597 echo "${ECHO_T}base only" >&6
10602 doesnt_want_win32
=0
10605 if test "$wxUSE_MSW" = 1 ; then
10607 BAKEFILE_FORCE_PLATFORM
=win32
10609 doesnt_want_win32
=1
10617 if test "$wxUSE_WINE" = "yes"; then
10622 LDFLAGS_GUI
="-mwindows"
10625 if test "$wants_win32" = 1 ; then
10628 cat >>confdefs.h
<<\_ACEOF
10629 #define __WIN32__ 1
10632 cat >>confdefs.h
<<\_ACEOF
10633 #define __WIN95__ 1
10636 cat >>confdefs.h
<<\_ACEOF
10637 #define __WINDOWS__ 1
10640 cat >>confdefs.h
<<\_ACEOF
10641 #define __GNUWIN32__ 1
10644 cat >>confdefs.h
<<\_ACEOF
10648 cat >>confdefs.h
<<\_ACEOF
10649 #define WINVER 0x0400
10653 if test "$doesnt_want_win32" = 1 ; then
10658 if test "$USE_UNIX" = 1 ; then
10660 cat >>confdefs.h
<<\_ACEOF
10667 cat >confcache
<<\_ACEOF
10668 # This file is a shell script that caches the results of configure
10669 # tests run on this system so they can be shared between configure
10670 # scripts and configure runs, see configure's option --config-cache.
10671 # It is not useful on other systems. If it contains results you don't
10672 # want to keep, you may remove or edit it.
10674 # config.status only pays attention to the cache file if you give it
10675 # the --recheck option to rerun configure.
10677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10679 # following values.
10683 # The following way of writing the cache mishandles newlines in values,
10684 # but we know of no workaround that is simple, portable, and efficient.
10685 # So, don't put newlines in cache variables' values.
10686 # Ultrix sh set writes to stderr and can't be redirected directly,
10687 # and sets the high bit in the cache file unless we assign to the vars.
10690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10692 # `set' does not quote correctly, so add quotes (double-quote
10693 # substitution turns \\\\ into \\, and sed turns \\ into \).
10696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10699 # `set' quotes correctly as required by POSIX, so do not add quotes.
10701 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10710 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10712 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10713 if test -w $cache_file; then
10714 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10715 cat confcache
>$cache_file
10717 echo "not updating unwritable cache $cache_file"
10722 if test "$build" != "$host" ; then
10723 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10725 CXX
=$host_alias-c++
10727 RANLIB
=$host_alias-ranlib
10728 DLLTOOL
=$host_alias-dlltool
10729 RESCOMP
=$host_alias-windres
10730 STRIP
=$host_alias-strip
10731 elif test "x$CC" '!=' "x"; then
10732 echo "You set CC, I assume you know what you are doing."
10734 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10735 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10736 { (exit 1); exit 1; }; }
10744 ac_cpp
='$CPP $CPPFLAGS'
10745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10748 if test -n "$ac_tool_prefix"; then
10749 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10750 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10751 echo "$as_me:$LINENO: checking for $ac_word" >&5
10752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10753 if test "${ac_cv_prog_CC+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 if test -n "$CC"; then
10757 ac_cv_prog_CC
="$CC" # Let the user override the test.
10759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10760 for as_dir
in $PATH
10763 test -z "$as_dir" && as_dir
=.
10764 for ac_exec_ext
in '' $ac_executable_extensions; do
10765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10766 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10776 if test -n "$CC"; then
10777 echo "$as_me:$LINENO: result: $CC" >&5
10778 echo "${ECHO_T}$CC" >&6
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10785 if test -z "$ac_cv_prog_CC"; then
10787 # Extract the first word of "gcc", so it can be a program name with args.
10788 set dummy gcc
; ac_word
=$2
10789 echo "$as_me:$LINENO: checking for $ac_word" >&5
10790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10794 if test -n "$ac_ct_CC"; then
10795 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10798 for as_dir
in $PATH
10801 test -z "$as_dir" && as_dir
=.
10802 for ac_exec_ext
in '' $ac_executable_extensions; do
10803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10804 ac_cv_prog_ac_ct_CC
="gcc"
10805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10813 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10814 if test -n "$ac_ct_CC"; then
10815 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10816 echo "${ECHO_T}$ac_ct_CC" >&6
10818 echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10824 CC
="$ac_cv_prog_CC"
10827 if test -z "$CC"; then
10828 if test -n "$ac_tool_prefix"; then
10829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10830 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10831 echo "$as_me:$LINENO: checking for $ac_word" >&5
10832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10833 if test "${ac_cv_prog_CC+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 if test -n "$CC"; then
10837 ac_cv_prog_CC
="$CC" # Let the user override the test.
10839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10840 for as_dir
in $PATH
10843 test -z "$as_dir" && as_dir
=.
10844 for ac_exec_ext
in '' $ac_executable_extensions; do
10845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10846 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10856 if test -n "$CC"; then
10857 echo "$as_me:$LINENO: result: $CC" >&5
10858 echo "${ECHO_T}$CC" >&6
10860 echo "$as_me:$LINENO: result: no" >&5
10861 echo "${ECHO_T}no" >&6
10865 if test -z "$ac_cv_prog_CC"; then
10867 # Extract the first word of "cc", so it can be a program name with args.
10868 set dummy cc
; ac_word
=$2
10869 echo "$as_me:$LINENO: checking for $ac_word" >&5
10870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 if test -n "$ac_ct_CC"; then
10875 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10878 for as_dir
in $PATH
10881 test -z "$as_dir" && as_dir
=.
10882 for ac_exec_ext
in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_prog_ac_ct_CC
="cc"
10885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10893 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10894 if test -n "$ac_ct_CC"; then
10895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10896 echo "${ECHO_T}$ac_ct_CC" >&6
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10904 CC
="$ac_cv_prog_CC"
10908 if test -z "$CC"; then
10909 # Extract the first word of "cc", so it can be a program name with args.
10910 set dummy cc
; ac_word
=$2
10911 echo "$as_me:$LINENO: checking for $ac_word" >&5
10912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10913 if test "${ac_cv_prog_CC+set}" = set; then
10914 echo $ECHO_N "(cached) $ECHO_C" >&6
10916 if test -n "$CC"; then
10917 ac_cv_prog_CC
="$CC" # Let the user override the test.
10919 ac_prog_rejected
=no
10920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10921 for as_dir
in $PATH
10924 test -z "$as_dir" && as_dir
=.
10925 for ac_exec_ext
in '' $ac_executable_extensions; do
10926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10928 ac_prog_rejected
=yes
10932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10938 if test $ac_prog_rejected = yes; then
10939 # We found a bogon in the path, so make sure we never use it.
10940 set dummy
$ac_cv_prog_CC
10942 if test $# != 0; then
10943 # We chose a different compiler from the bogus one.
10944 # However, it has the same basename, so the bogon will be chosen
10945 # first if we set CC to just the basename; use the full file name.
10947 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10953 if test -n "$CC"; then
10954 echo "$as_me:$LINENO: result: $CC" >&5
10955 echo "${ECHO_T}$CC" >&6
10957 echo "$as_me:$LINENO: result: no" >&5
10958 echo "${ECHO_T}no" >&6
10962 if test -z "$CC"; then
10963 if test -n "$ac_tool_prefix"; then
10966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10967 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10968 echo "$as_me:$LINENO: checking for $ac_word" >&5
10969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10970 if test "${ac_cv_prog_CC+set}" = set; then
10971 echo $ECHO_N "(cached) $ECHO_C" >&6
10973 if test -n "$CC"; then
10974 ac_cv_prog_CC
="$CC" # Let the user override the test.
10976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10977 for as_dir
in $PATH
10980 test -z "$as_dir" && as_dir
=.
10981 for ac_exec_ext
in '' $ac_executable_extensions; do
10982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10983 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10993 if test -n "$CC"; then
10994 echo "$as_me:$LINENO: result: $CC" >&5
10995 echo "${ECHO_T}$CC" >&6
10997 echo "$as_me:$LINENO: result: no" >&5
10998 echo "${ECHO_T}no" >&6
11001 test -n "$CC" && break
11004 if test -z "$CC"; then
11008 # Extract the first word of "$ac_prog", so it can be a program name with args.
11009 set dummy
$ac_prog; ac_word
=$2
11010 echo "$as_me:$LINENO: checking for $ac_word" >&5
11011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 if test -n "$ac_ct_CC"; then
11016 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11019 for as_dir
in $PATH
11022 test -z "$as_dir" && as_dir
=.
11023 for ac_exec_ext
in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_ac_ct_CC
="$ac_prog"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11034 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11035 if test -n "$ac_ct_CC"; then
11036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11037 echo "${ECHO_T}$ac_ct_CC" >&6
11039 echo "$as_me:$LINENO: result: no" >&5
11040 echo "${ECHO_T}no" >&6
11043 test -n "$ac_ct_CC" && break
11052 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11053 See \`config.log' for more details." >&5
11054 echo "$as_me: error: no acceptable C compiler found in \$PATH
11055 See \`config.log' for more details." >&2;}
11056 { (exit 1); exit 1; }; }
11058 # Provide some information about the compiler.
11059 echo "$as_me:$LINENO:" \
11060 "checking for C compiler version" >&5
11061 ac_compiler
=`set X $ac_compile; echo $2`
11062 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11063 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }
11067 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11068 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }
11072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11073 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }
11078 cat >conftest.
$ac_ext <<_ACEOF
11081 cat confdefs.h
>>conftest.
$ac_ext
11082 cat >>conftest.
$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11093 ac_clean_files_save
=$ac_clean_files
11094 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11095 # Try to create an executable without -o first, disregard a.out.
11096 # It will help us diagnose broken compilers, and finding out an intuition
11098 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11099 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11100 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11101 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11102 (eval $ac_link_default) 2>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; then
11106 # Find the output, starting from the most likely. This scheme is
11107 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11110 # Be careful to initialize this variable, since it used to be cached.
11111 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11113 # b.out is created by i960 compilers.
11114 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11116 test -f "$ac_file" || continue
11118 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11121 # This is the source file.
11124 # We found the default executable, but exeext='' is most
11128 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11129 # FIXME: I believe we export ac_cv_exeext for Libtool,
11130 # but it would be cool to find out if it's true. Does anybody
11131 # maintain Libtool? --akim.
11132 export ac_cv_exeext
11139 echo "$as_me: failed program was:" >&5
11140 sed 's/^/| /' conftest.
$ac_ext >&5
11142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11143 See \`config.log' for more details." >&5
11144 echo "$as_me: error: C compiler cannot create executables
11145 See \`config.log' for more details." >&2;}
11146 { (exit 77); exit 77; }; }
11149 ac_exeext
=$ac_cv_exeext
11150 echo "$as_me:$LINENO: result: $ac_file" >&5
11151 echo "${ECHO_T}$ac_file" >&6
11153 # Check the compiler produces executables we can run. If not, either
11154 # the compiler is broken, or we cross compile.
11155 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11156 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11157 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11158 # If not cross compiling, check that we can run a simple program.
11159 if test "$cross_compiling" != yes; then
11160 if { ac_try
='./$ac_file'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11168 if test "$cross_compiling" = maybe
; then
11169 cross_compiling
=yes
11171 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11172 If you meant to cross compile, use \`--host'.
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot run C compiled programs.
11175 If you meant to cross compile, use \`--host'.
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11181 echo "$as_me:$LINENO: result: yes" >&5
11182 echo "${ECHO_T}yes" >&6
11184 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11185 ac_clean_files
=$ac_clean_files_save
11186 # Check the compiler produces executables we can run. If not, either
11187 # the compiler is broken, or we cross compile.
11188 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11189 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11190 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11191 echo "${ECHO_T}$cross_compiling" >&6
11193 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11194 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11196 (eval $ac_link) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; then
11200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11202 # work properly (i.e., refer to `conftest.exe'), while it won't with
11204 for ac_file
in conftest.exe conftest conftest.
*; do
11205 test -f "$ac_file" || continue
11207 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11208 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11209 export ac_cv_exeext
11215 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11216 See \`config.log' for more details." >&5
11217 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11218 See \`config.log' for more details." >&2;}
11219 { (exit 1); exit 1; }; }
11222 rm -f conftest
$ac_cv_exeext
11223 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11224 echo "${ECHO_T}$ac_cv_exeext" >&6
11226 rm -f conftest.
$ac_ext
11227 EXEEXT
=$ac_cv_exeext
11229 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11230 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11231 if test "${ac_cv_objext+set}" = set; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11234 cat >conftest.
$ac_ext <<_ACEOF
11237 cat confdefs.h
>>conftest.
$ac_ext
11238 cat >>conftest.
$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11249 rm -f conftest.o conftest.obj
11250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11251 (eval $ac_compile) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; then
11255 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11257 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11258 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.
$ac_ext >&5
11266 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11267 See \`config.log' for more details." >&5
11268 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11269 See \`config.log' for more details." >&2;}
11270 { (exit 1); exit 1; }; }
11273 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11275 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11276 echo "${ECHO_T}$ac_cv_objext" >&6
11277 OBJEXT
=$ac_cv_objext
11279 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11280 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11281 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11284 cat >conftest.
$ac_ext <<_ACEOF
11287 cat confdefs.h
>>conftest.
$ac_ext
11288 cat >>conftest.
$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11302 rm -f conftest.
$ac_objext
11303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11304 (eval $ac_compile) 2>conftest.er1
11306 grep -v '^ *+' conftest.er1
>conftest.err
11308 cat conftest.err
>&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); } &&
11311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } &&
11317 { ac_try
='test -s conftest.$ac_objext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 ac_compiler_gnu
=yes
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.
$ac_ext >&5
11330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11331 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11336 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11337 ac_test_CFLAGS
=${CFLAGS+set}
11338 ac_save_CFLAGS
=$CFLAGS
11340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11342 if test "${ac_cv_prog_cc_g+set}" = set; then
11343 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 cat >conftest.
$ac_ext <<_ACEOF
11348 cat confdefs.h
>>conftest.
$ac_ext
11349 cat >>conftest.
$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11360 rm -f conftest.
$ac_objext
11361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11362 (eval $ac_compile) 2>conftest.er1
11364 grep -v '^ *+' conftest.er1
>conftest.err
11366 cat conftest.err
>&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } &&
11369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try
='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11381 ac_cv_prog_cc_g
=yes
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.
$ac_ext >&5
11388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11390 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11391 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11392 if test "$ac_test_CFLAGS" = set; then
11393 CFLAGS
=$ac_save_CFLAGS
11394 elif test $ac_cv_prog_cc_g = yes; then
11395 if test "$GCC" = yes; then
11401 if test "$GCC" = yes; then
11407 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11408 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11409 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 ac_cv_prog_cc_stdc
=no
11414 cat >conftest.
$ac_ext <<_ACEOF
11417 cat confdefs.h
>>conftest.
$ac_ext
11418 cat >>conftest.
$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 #include <stdarg.h>
11422 #include <sys/types.h>
11423 #include <sys/stat.h>
11424 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11425 struct buf { int x; };
11426 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11427 static char *e (p, i)
11433 static char *f (char * (*g) (char **, int), char **p, ...)
11438 s = g (p, va_arg (v,int));
11443 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11444 function prototypes and stuff, but not '\xHH' hex character constants.
11445 These don't provoke an error unfortunately, instead are silently treated
11446 as 'x'. The following induces an error, until -std1 is added to get
11447 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11448 array size at least. It's necessary to write '\x00'==0 to get something
11449 that's true only with -std1. */
11450 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11452 int test (int i, double x);
11453 struct s1 {int (*f) (int a);};
11454 struct s2 {int (*f) (double a);};
11455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11466 # Don't try gcc -ansi; that turns off useful extensions and
11467 # breaks some systems' header files.
11468 # AIX -qlanglvl=ansi
11469 # Ultrix and OSF/1 -std1
11470 # HP-UX 10.20 and later -Ae
11471 # HP-UX older versions -Aa -D_HPUX_SOURCE
11472 # SVR4 -Xc -D__EXTENSIONS__
11473 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11475 CC
="$ac_save_CC $ac_arg"
11476 rm -f conftest.
$ac_objext
11477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11478 (eval $ac_compile) 2>conftest.er1
11480 grep -v '^ *+' conftest.er1
>conftest.err
11482 cat conftest.err
>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } &&
11485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; } &&
11491 { ac_try
='test -s conftest.$ac_objext'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11497 ac_cv_prog_cc_stdc
=$ac_arg
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.
$ac_ext >&5
11504 rm -f conftest.err conftest.
$ac_objext
11506 rm -f conftest.
$ac_ext conftest.
$ac_objext
11511 case "x$ac_cv_prog_cc_stdc" in
11513 echo "$as_me:$LINENO: result: none needed" >&5
11514 echo "${ECHO_T}none needed" >&6 ;;
11516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11517 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11518 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11521 # Some people use a C++ compiler to compile C. Since we use `exit',
11522 # in C++ we need to declare it. In case someone uses the same compiler
11523 # for both compiling C and C++ we need to have the C++ compiler decide
11524 # the declaration of exit, since it's the most demanding environment.
11525 cat >conftest.
$ac_ext <<_ACEOF
11526 #ifndef __cplusplus
11530 rm -f conftest.
$ac_objext
11531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11532 (eval $ac_compile) 2>conftest.er1
11534 grep -v '^ *+' conftest.er1
>conftest.err
11536 cat conftest.err
>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try
='test -s conftest.$ac_objext'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; }; then
11551 for ac_declaration
in \
11553 'extern "C" void std::exit (int) throw (); using std::exit;' \
11554 'extern "C" void std::exit (int); using std::exit;' \
11555 'extern "C" void exit (int) throw ();' \
11556 'extern "C" void exit (int);' \
11559 cat >conftest.
$ac_ext <<_ACEOF
11562 cat confdefs.h
>>conftest.
$ac_ext
11563 cat >>conftest.
$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11566 #include <stdlib.h>
11575 rm -f conftest.
$ac_objext
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577 (eval $ac_compile) 2>conftest.er1
11579 grep -v '^ *+' conftest.er1
>conftest.err
11581 cat conftest.err
>&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } &&
11584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11586 (eval $ac_try) 2>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; } &&
11590 { ac_try
='test -s conftest.$ac_objext'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; }; then
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.
$ac_ext >&5
11603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11604 cat >conftest.
$ac_ext <<_ACEOF
11607 cat confdefs.h
>>conftest.
$ac_ext
11608 cat >>conftest.
$ac_ext <<_ACEOF
11609 /* end confdefs.h. */
11619 rm -f conftest.
$ac_objext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11621 (eval $ac_compile) 2>conftest.er1
11623 grep -v '^ *+' conftest.er1
>conftest.err
11625 cat conftest.err
>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try
='test -s conftest.$ac_objext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.
$ac_ext >&5
11646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11649 if test -n "$ac_declaration"; then
11650 echo '#ifdef __cplusplus' >>confdefs.h
11651 echo $ac_declaration >>confdefs.h
11652 echo '#endif' >>confdefs.h
11656 echo "$as_me: failed program was:" >&5
11657 sed 's/^/| /' conftest.
$ac_ext >&5
11660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11662 ac_cpp
='$CPP $CPPFLAGS'
11663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11667 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11668 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11669 if test "${wx_cv_c_exto+set}" = set; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 cat >conftest.
$ac_ext <<_ACEOF
11675 cat confdefs.h
>>conftest.
$ac_ext
11676 cat >>conftest.
$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11687 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>&5
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; then
11693 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11695 conftest.
$ac_ext.o
)
11696 wx_cv_c_exto
="-ext o"
11703 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11704 See \`config.log' for more details." >&5
11705 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11706 See \`config.log' for more details." >&2;}
11707 { (exit 1); exit 1; }; }
11711 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11714 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11715 echo "${ECHO_T}$wx_cv_c_exto" >&6
11716 if test "x$wx_cv_c_exto" '!=' "x"; then
11717 if test "c" = "c"; then
11718 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11720 if test "c" = "cxx"; then
11721 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11725 if test "x$wx_cv_c_exto" '!=' "x"; then
11726 unset ac_cv_prog_cc_g
11727 ac_test_CFLAGS
=${CFLAGS+set}
11728 ac_save_CFLAGS
=$CFLAGS
11730 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11731 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11732 if test "${ac_cv_prog_cc_g+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 cat >conftest.
$ac_ext <<_ACEOF
11738 cat confdefs.h
>>conftest.
$ac_ext
11739 cat >>conftest.
$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11750 rm -f conftest.
$ac_objext
11751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11752 (eval $ac_compile) 2>conftest.er1
11754 grep -v '^ *+' conftest.er1
>conftest.err
11756 cat conftest.err
>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try
='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 ac_cv_prog_cc_g
=yes
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.
$ac_ext >&5
11778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11780 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11781 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11782 if test "$ac_test_CFLAGS" = set; then
11783 CFLAGS
=$ac_save_CFLAGS
11784 elif test $ac_cv_prog_cc_g = yes; then
11785 if test "$GCC" = yes; then
11791 if test "$GCC" = yes; then
11799 ac_cpp
='$CPP $CPPFLAGS'
11800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11804 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11805 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11806 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 cat >conftest.
$ac_ext <<_ACEOF
11812 cat confdefs.h
>>conftest.
$ac_ext
11813 cat >>conftest.
$ac_ext <<_ACEOF
11814 /* end confdefs.h. */
11827 rm -f conftest.
$ac_objext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11829 (eval $ac_compile) 2>conftest.er1
11831 grep -v '^ *+' conftest.er1
>conftest.err
11833 cat conftest.err
>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } &&
11836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try
='test -s conftest.$ac_objext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 bakefile_compiler_mwerks
=yes
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.
$ac_ext >&5
11853 bakefile_compiler_mwerks
=no
11855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11856 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11859 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11860 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11862 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11864 ac_cpp
='$CPP $CPPFLAGS'
11865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11871 ac_cpp
='$CPP $CPPFLAGS'
11872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11876 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11877 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11878 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 cat >conftest.
$ac_ext <<_ACEOF
11884 cat confdefs.h
>>conftest.
$ac_ext
11885 cat >>conftest.
$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11899 rm -f conftest.
$ac_objext
11900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11901 (eval $ac_compile) 2>conftest.er1
11903 grep -v '^ *+' conftest.er1
>conftest.err
11905 cat conftest.err
>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } &&
11908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; } &&
11914 { ac_try
='test -s conftest.$ac_objext'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; }; then
11920 wx_compiler_xlc
=yes
11922 echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.
$ac_ext >&5
11927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11928 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11931 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11932 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11934 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11936 ac_cpp
='$CPP $CPPFLAGS'
11937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11945 ac_cpp
='$CPP $CPPFLAGS'
11946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11950 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11951 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11952 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11955 cat >conftest.
$ac_ext <<_ACEOF
11958 cat confdefs.h
>>conftest.
$ac_ext
11959 cat >>conftest.
$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11974 rm -f conftest.
$ac_objext
11975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11976 (eval $ac_compile) 2>conftest.er1
11978 grep -v '^ *+' conftest.er1
>conftest.err
11980 cat conftest.err
>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } &&
11983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; } &&
11989 { ac_try
='test -s conftest.$ac_objext'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 bakefile_cv_c_compiler___SUNPRO_C
=yes
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.
$ac_ext >&5
12000 bakefile_cv_c_compiler___SUNPRO_C
=no
12003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12007 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12008 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12010 ac_cpp
='$CPP $CPPFLAGS'
12011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12015 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12025 ac_cpp
='$CPP $CPPFLAGS'
12026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12029 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12030 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12031 # On Suns, sometimes $CPP names a directory.
12032 if test -n "$CPP" && test -d "$CPP"; then
12035 if test -z "$CPP"; then
12036 if test "${ac_cv_prog_CPP+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 # Double quotes because CPP needs to be expanded
12040 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12042 ac_preproc_ok
=false
12043 for ac_c_preproc_warn_flag
in '' yes
12045 # Use a header file that comes with gcc, so configuring glibc
12046 # with a fresh cross-compiler works.
12047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12048 # <limits.h> exists even on freestanding compilers.
12049 # On the NeXT, cc -E runs the code through the compiler's parser,
12050 # not just through cpp. "Syntax error" is here to catch this case.
12051 cat >conftest.
$ac_ext <<_ACEOF
12054 cat confdefs.h
>>conftest.
$ac_ext
12055 cat >>conftest.
$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12058 # include <limits.h>
12060 # include <assert.h>
12064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12065 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12067 grep -v '^ *+' conftest.er1
>conftest.err
12069 cat conftest.err
>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); } >/dev
/null
; then
12072 if test -s conftest.err
; then
12073 ac_cpp_err
=$ac_c_preproc_warn_flag
12074 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12081 if test -z "$ac_cpp_err"; then
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 # Broken: fails on valid input.
12090 rm -f conftest.err conftest.
$ac_ext
12092 # OK, works on sane cases. Now check whether non-existent headers
12093 # can be detected and how.
12094 cat >conftest.
$ac_ext <<_ACEOF
12097 cat confdefs.h
>>conftest.
$ac_ext
12098 cat >>conftest.
$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12100 #include <ac_nonexistent.h>
12102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12105 grep -v '^ *+' conftest.er1
>conftest.err
12107 cat conftest.err
>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } >/dev
/null
; then
12110 if test -s conftest.err
; then
12111 ac_cpp_err
=$ac_c_preproc_warn_flag
12112 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12119 if test -z "$ac_cpp_err"; then
12120 # Broken: success on invalid input.
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.
$ac_ext >&5
12126 # Passes both tests.
12130 rm -f conftest.err conftest.
$ac_ext
12133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12134 rm -f conftest.err conftest.
$ac_ext
12135 if $ac_preproc_ok; then
12140 ac_cv_prog_CPP
=$CPP
12143 CPP
=$ac_cv_prog_CPP
12145 ac_cv_prog_CPP
=$CPP
12147 echo "$as_me:$LINENO: result: $CPP" >&5
12148 echo "${ECHO_T}$CPP" >&6
12149 ac_preproc_ok
=false
12150 for ac_c_preproc_warn_flag
in '' yes
12152 # Use a header file that comes with gcc, so configuring glibc
12153 # with a fresh cross-compiler works.
12154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12155 # <limits.h> exists even on freestanding compilers.
12156 # On the NeXT, cc -E runs the code through the compiler's parser,
12157 # not just through cpp. "Syntax error" is here to catch this case.
12158 cat >conftest.
$ac_ext <<_ACEOF
12161 cat confdefs.h
>>conftest.
$ac_ext
12162 cat >>conftest.
$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12165 # include <limits.h>
12167 # include <assert.h>
12171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12174 grep -v '^ *+' conftest.er1
>conftest.err
12176 cat conftest.err
>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } >/dev
/null
; then
12179 if test -s conftest.err
; then
12180 ac_cpp_err
=$ac_c_preproc_warn_flag
12181 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12188 if test -z "$ac_cpp_err"; then
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.
$ac_ext >&5
12194 # Broken: fails on valid input.
12197 rm -f conftest.err conftest.
$ac_ext
12199 # OK, works on sane cases. Now check whether non-existent headers
12200 # can be detected and how.
12201 cat >conftest.
$ac_ext <<_ACEOF
12204 cat confdefs.h
>>conftest.
$ac_ext
12205 cat >>conftest.
$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
12207 #include <ac_nonexistent.h>
12209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12212 grep -v '^ *+' conftest.er1
>conftest.err
12214 cat conftest.err
>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } >/dev
/null
; then
12217 if test -s conftest.err
; then
12218 ac_cpp_err
=$ac_c_preproc_warn_flag
12219 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12226 if test -z "$ac_cpp_err"; then
12227 # Broken: success on invalid input.
12230 echo "$as_me: failed program was:" >&5
12231 sed 's/^/| /' conftest.
$ac_ext >&5
12233 # Passes both tests.
12237 rm -f conftest.err conftest.
$ac_ext
12240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12241 rm -f conftest.err conftest.
$ac_ext
12242 if $ac_preproc_ok; then
12245 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12246 See \`config.log' for more details." >&5
12247 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12248 See \`config.log' for more details." >&2;}
12249 { (exit 1); exit 1; }; }
12253 ac_cpp
='$CPP $CPPFLAGS'
12254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12259 echo "$as_me:$LINENO: checking for egrep" >&5
12260 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12261 if test "${ac_cv_prog_egrep+set}" = set; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12265 then ac_cv_prog_egrep
='grep -E'
12266 else ac_cv_prog_egrep
='egrep'
12269 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12270 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12271 EGREP
=$ac_cv_prog_egrep
12274 if test $ac_cv_c_compiler_gnu = yes; then
12275 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12276 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12277 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12278 echo $ECHO_N "(cached) $ECHO_C" >&6
12280 ac_pattern
="Autoconf.*'x'"
12281 cat >conftest.
$ac_ext <<_ACEOF
12284 cat confdefs.h
>>conftest.
$ac_ext
12285 cat >>conftest.
$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12291 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12292 ac_cv_prog_gcc_traditional
=yes
12294 ac_cv_prog_gcc_traditional
=no
12299 if test $ac_cv_prog_gcc_traditional = no
; then
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <termio.h>
12309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12310 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12311 ac_cv_prog_gcc_traditional
=yes
12317 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12318 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12319 if test $ac_cv_prog_gcc_traditional = yes; then
12320 CC
="$CC -traditional"
12328 ac_cpp
='$CXXCPP $CPPFLAGS'
12329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12334 CXXFLAGS
=${CXXFLAGS:=}
12338 ac_cpp
='$CXXCPP $CPPFLAGS'
12339 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12340 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12341 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12342 if test -n "$ac_tool_prefix"; then
12343 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12346 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12347 echo "$as_me:$LINENO: checking for $ac_word" >&5
12348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12349 if test "${ac_cv_prog_CXX+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 if test -n "$CXX"; then
12353 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12356 for as_dir
in $PATH
12359 test -z "$as_dir" && as_dir
=.
12360 for ac_exec_ext
in '' $ac_executable_extensions; do
12361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12362 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 CXX
=$ac_cv_prog_CXX
12372 if test -n "$CXX"; then
12373 echo "$as_me:$LINENO: result: $CXX" >&5
12374 echo "${ECHO_T}$CXX" >&6
12376 echo "$as_me:$LINENO: result: no" >&5
12377 echo "${ECHO_T}no" >&6
12380 test -n "$CXX" && break
12383 if test -z "$CXX"; then
12385 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12387 # Extract the first word of "$ac_prog", so it can be a program name with args.
12388 set dummy
$ac_prog; ac_word
=$2
12389 echo "$as_me:$LINENO: checking for $ac_word" >&5
12390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 if test -n "$ac_ct_CXX"; then
12395 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12398 for as_dir
in $PATH
12401 test -z "$as_dir" && as_dir
=.
12402 for ac_exec_ext
in '' $ac_executable_extensions; do
12403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12404 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12413 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12414 if test -n "$ac_ct_CXX"; then
12415 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12416 echo "${ECHO_T}$ac_ct_CXX" >&6
12418 echo "$as_me:$LINENO: result: no" >&5
12419 echo "${ECHO_T}no" >&6
12422 test -n "$ac_ct_CXX" && break
12424 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12430 # Provide some information about the compiler.
12431 echo "$as_me:$LINENO:" \
12432 "checking for C++ compiler version" >&5
12433 ac_compiler
=`set X $ac_compile; echo $2`
12434 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12435 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }
12439 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12440 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }
12444 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12445 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }
12450 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12451 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12452 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 cat >conftest.
$ac_ext <<_ACEOF
12458 cat confdefs.h
>>conftest.
$ac_ext
12459 cat >>conftest.
$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12473 rm -f conftest.
$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>conftest.er1
12477 grep -v '^ *+' conftest.er1
>conftest.err
12479 cat conftest.err
>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try
='test -s conftest.$ac_objext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 ac_compiler_gnu
=yes
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.
$ac_ext >&5
12501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12502 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12505 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12506 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12507 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12508 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12509 ac_save_CXXFLAGS
=$CXXFLAGS
12511 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12512 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12513 if test "${ac_cv_prog_cxx_g+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 cat >conftest.
$ac_ext <<_ACEOF
12519 cat confdefs.h
>>conftest.
$ac_ext
12520 cat >>conftest.
$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12531 rm -f conftest.
$ac_objext
12532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533 (eval $ac_compile) 2>conftest.er1
12535 grep -v '^ *+' conftest.er1
>conftest.err
12537 cat conftest.err
>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try
='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_prog_cxx_g
=yes
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 ac_cv_prog_cxx_g
=no
12559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12561 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12562 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12563 if test "$ac_test_CXXFLAGS" = set; then
12564 CXXFLAGS
=$ac_save_CXXFLAGS
12565 elif test $ac_cv_prog_cxx_g = yes; then
12566 if test "$GXX" = yes; then
12572 if test "$GXX" = yes; then
12578 for ac_declaration
in \
12580 'extern "C" void std::exit (int) throw (); using std::exit;' \
12581 'extern "C" void std::exit (int); using std::exit;' \
12582 'extern "C" void exit (int) throw ();' \
12583 'extern "C" void exit (int);' \
12586 cat >conftest.
$ac_ext <<_ACEOF
12589 cat confdefs.h
>>conftest.
$ac_ext
12590 cat >>conftest.
$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12593 #include <stdlib.h>
12602 rm -f conftest.
$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 (eval $ac_compile) 2>conftest.er1
12606 grep -v '^ *+' conftest.er1
>conftest.err
12608 cat conftest.err
>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } &&
12611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; } &&
12617 { ac_try
='test -s conftest.$ac_objext'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; }; then
12625 echo "$as_me: failed program was:" >&5
12626 sed 's/^/| /' conftest.
$ac_ext >&5
12630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12631 cat >conftest.
$ac_ext <<_ACEOF
12634 cat confdefs.h
>>conftest.
$ac_ext
12635 cat >>conftest.
$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12646 rm -f conftest.
$ac_objext
12647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12648 (eval $ac_compile) 2>conftest.er1
12650 grep -v '^ *+' conftest.er1
>conftest.err
12652 cat conftest.err
>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } &&
12655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } &&
12661 { ac_try
='test -s conftest.$ac_objext'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; }; then
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.
$ac_ext >&5
12673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12676 if test -n "$ac_declaration"; then
12677 echo '#ifdef __cplusplus' >>confdefs.h
12678 echo $ac_declaration >>confdefs.h
12679 echo '#endif' >>confdefs.h
12683 ac_cpp
='$CXXCPP $CPPFLAGS'
12684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12688 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12689 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12690 if test "${wx_cv_cxx_exto+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12693 cat >conftest.
$ac_ext <<_ACEOF
12696 cat confdefs.h
>>conftest.
$ac_ext
12697 cat >>conftest.
$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12708 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12710 (eval $ac_compile) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; then
12714 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12716 conftest.
$ac_ext.o
)
12717 wx_cv_cxx_exto
="-ext o"
12724 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12725 See \`config.log' for more details." >&5
12726 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12727 See \`config.log' for more details." >&2;}
12728 { (exit 1); exit 1; }; }
12732 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12735 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12736 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12737 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12738 if test "cxx" = "c"; then
12739 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12741 if test "cxx" = "cxx"; then
12742 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12746 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12747 unset ac_cv_prog_cxx_g
12748 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12749 ac_save_CXXFLAGS
=$CXXFLAGS
12751 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12752 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12753 if test "${ac_cv_prog_cxx_g+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6
12756 cat >conftest.
$ac_ext <<_ACEOF
12759 cat confdefs.h
>>conftest.
$ac_ext
12760 cat >>conftest.
$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12771 rm -f conftest.
$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try
='test -s conftest.$ac_objext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_prog_cxx_g
=yes
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.
$ac_ext >&5
12797 ac_cv_prog_cxx_g
=no
12799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12801 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12802 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12803 if test "$ac_test_CXXFLAGS" = set; then
12804 CXXFLAGS
=$ac_save_CXXFLAGS
12805 elif test $ac_cv_prog_cxx_g = yes; then
12806 if test "$GXX" = yes; then
12812 if test "$GXX" = yes; then
12820 ac_cpp
='$CXXCPP $CPPFLAGS'
12821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12825 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12826 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12827 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 cat >conftest.
$ac_ext <<_ACEOF
12833 cat confdefs.h
>>conftest.
$ac_ext
12834 cat >>conftest.
$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12848 rm -f conftest.
$ac_objext
12849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12850 (eval $ac_compile) 2>conftest.er1
12852 grep -v '^ *+' conftest.er1
>conftest.err
12854 cat conftest.err
>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } &&
12857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12859 (eval $ac_try) 2>&5
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); }; } &&
12863 { ac_try
='test -s conftest.$ac_objext'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; }; then
12869 bakefile_compiler_mwerks
=yes
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.
$ac_ext >&5
12874 bakefile_compiler_mwerks
=no
12876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12877 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12880 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12881 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12883 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12885 ac_cpp
='$CXXCPP $CPPFLAGS'
12886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12892 ac_cpp
='$CXXCPP $CPPFLAGS'
12893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12897 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12898 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12899 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 cat >conftest.
$ac_ext <<_ACEOF
12905 cat confdefs.h
>>conftest.
$ac_ext
12906 cat >>conftest.
$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12920 rm -f conftest.
$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>conftest.er1
12924 grep -v '^ *+' conftest.er1
>conftest.err
12926 cat conftest.err
>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try
='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 wx_compiler_xlc
=yes
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.
$ac_ext >&5
12948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12949 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12952 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12953 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12955 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12957 ac_cpp
='$CXXCPP $CPPFLAGS'
12958 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12959 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12960 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12966 ac_cpp
='$CXXCPP $CPPFLAGS'
12967 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12968 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12969 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12971 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12972 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12973 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 cat >conftest.
$ac_ext <<_ACEOF
12979 cat confdefs.h
>>conftest.
$ac_ext
12980 cat >>conftest.
$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12987 #ifndef __SUNPRO_CC
12995 rm -f conftest.
$ac_objext
12996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12997 (eval $ac_compile) 2>conftest.er1
12999 grep -v '^ *+' conftest.er1
>conftest.err
13001 cat conftest.err
>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } &&
13004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; } &&
13010 { ac_try
='test -s conftest.$ac_objext'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; }; then
13016 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13018 echo "$as_me: failed program was:" >&5
13019 sed 's/^/| /' conftest.
$ac_ext >&5
13021 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13028 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13029 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13031 ac_cpp
='$CXXCPP $CPPFLAGS'
13032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13036 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13046 ac_cpp
='$CPP $CPPFLAGS'
13047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13052 if test -n "$ac_tool_prefix"; then
13053 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13054 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13055 echo "$as_me:$LINENO: checking for $ac_word" >&5
13056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13057 if test "${ac_cv_prog_RANLIB+set}" = set; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13060 if test -n "$RANLIB"; then
13061 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13064 for as_dir
in $PATH
13067 test -z "$as_dir" && as_dir
=.
13068 for ac_exec_ext
in '' $ac_executable_extensions; do
13069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13070 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13079 RANLIB
=$ac_cv_prog_RANLIB
13080 if test -n "$RANLIB"; then
13081 echo "$as_me:$LINENO: result: $RANLIB" >&5
13082 echo "${ECHO_T}$RANLIB" >&6
13084 echo "$as_me:$LINENO: result: no" >&5
13085 echo "${ECHO_T}no" >&6
13089 if test -z "$ac_cv_prog_RANLIB"; then
13090 ac_ct_RANLIB
=$RANLIB
13091 # Extract the first word of "ranlib", so it can be a program name with args.
13092 set dummy ranlib
; ac_word
=$2
13093 echo "$as_me:$LINENO: checking for $ac_word" >&5
13094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13095 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 if test -n "$ac_ct_RANLIB"; then
13099 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13102 for as_dir
in $PATH
13105 test -z "$as_dir" && as_dir
=.
13106 for ac_exec_ext
in '' $ac_executable_extensions; do
13107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13108 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13115 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13118 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13119 if test -n "$ac_ct_RANLIB"; then
13120 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13121 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13123 echo "$as_me:$LINENO: result: no" >&5
13124 echo "${ECHO_T}no" >&6
13127 RANLIB
=$ac_ct_RANLIB
13129 RANLIB
="$ac_cv_prog_RANLIB"
13133 # Extract the first word of "ar", so it can be a program name with args.
13134 set dummy
ar; ac_word
=$2
13135 echo "$as_me:$LINENO: checking for $ac_word" >&5
13136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13137 if test "${ac_cv_prog_AR+set}" = set; then
13138 echo $ECHO_N "(cached) $ECHO_C" >&6
13140 if test -n "$AR"; then
13141 ac_cv_prog_AR
="$AR" # Let the user override the test.
13143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13144 for as_dir
in $PATH
13147 test -z "$as_dir" && as_dir
=.
13148 for ac_exec_ext
in '' $ac_executable_extensions; do
13149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13160 if test -n "$AR"; then
13161 echo "$as_me:$LINENO: result: $AR" >&5
13162 echo "${ECHO_T}$AR" >&6
13164 echo "$as_me:$LINENO: result: no" >&5
13165 echo "${ECHO_T}no" >&6
13168 if test "x$AR" = "x" ; then
13169 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13170 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13171 { (exit 1); exit 1; }; }
13174 # Find a good install program. We prefer a C program (faster),
13175 # so one script is as good as another. But avoid the broken or
13176 # incompatible versions:
13177 # SysV /etc/install, /usr/sbin/install
13178 # SunOS /usr/etc/install
13179 # IRIX /sbin/install
13181 # AmigaOS /C/install, which installs bootblocks on floppy discs
13182 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13183 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13184 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13185 # OS/2's system install, which has a completely different semantic
13186 # ./install, which can be erroneously created by make from ./install.sh.
13187 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13188 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13189 if test -z "$INSTALL"; then
13190 if test "${ac_cv_path_install+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13194 for as_dir
in $PATH
13197 test -z "$as_dir" && as_dir
=.
13198 # Account for people who put trailing slashes in PATH elements.
13200 .
/ | .
// | /cC
/* | \
13201 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13202 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13205 # OSF1 and SCO ODT 3.0 have their own names for install.
13206 # Don't use installbsd from OSF since it installs stuff as root
13208 for ac_prog
in ginstall scoinst
install; do
13209 for ac_exec_ext
in '' $ac_executable_extensions; do
13210 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13211 if test $ac_prog = install &&
13212 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13213 # AIX install. It has an incompatible calling convention.
13215 elif test $ac_prog = install &&
13216 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13217 # program-specific install script used by HP pwplus--don't use.
13220 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13232 if test "${ac_cv_path_install+set}" = set; then
13233 INSTALL
=$ac_cv_path_install
13235 # As a last resort, use the slow shell script. We don't cache a
13236 # path for INSTALL within a source directory, because that will
13237 # break other packages using the cache if that directory is
13238 # removed, or if the path is relative.
13239 INSTALL
=$ac_install_sh
13242 echo "$as_me:$LINENO: result: $INSTALL" >&5
13243 echo "${ECHO_T}$INSTALL" >&6
13245 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13246 # It thinks the first close brace ends the variable substitution.
13247 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13249 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13251 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13257 ?
:* ) # Drive letter, considered as absolute.
13260 INSTALL
=`pwd`/${INSTALL} ;;
13267 INSTALL_PROGRAM
="cp -fp"
13268 INSTALL_DATA
="cp -fp"
13274 # Extract the first word of "strip", so it can be a program name with args.
13275 set dummy strip
; ac_word
=$2
13276 echo "$as_me:$LINENO: checking for $ac_word" >&5
13277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13278 if test "${ac_cv_prog_STRIP+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 if test -n "$STRIP"; then
13282 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13285 for as_dir
in $PATH
13288 test -z "$as_dir" && as_dir
=.
13289 for ac_exec_ext
in '' $ac_executable_extensions; do
13290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13291 ac_cv_prog_STRIP
="strip"
13292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13298 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13301 STRIP
=$ac_cv_prog_STRIP
13302 if test -n "$STRIP"; then
13303 echo "$as_me:$LINENO: result: $STRIP" >&5
13304 echo "${ECHO_T}$STRIP" >&6
13306 echo "$as_me:$LINENO: result: no" >&5
13307 echo "${ECHO_T}no" >&6
13311 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13312 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13313 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13314 echo $ECHO_N "(cached) $ECHO_C" >&6
13317 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13318 egrep -s GNU
> /dev
/null
); then
13319 wx_cv_prog_makeisgnu
="yes"
13321 wx_cv_prog_makeisgnu
="no"
13325 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13326 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13328 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13336 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13337 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13338 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13339 if test "${wx_cv_prog_makevpath+set}" = set; then
13340 echo $ECHO_N "(cached) $ECHO_C" >&6
13343 cat - << EOF > confMake
13349 if test ! -d sub
; then
13352 echo dummy
> sub
/file
13353 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13355 rm -f sub
/file check final_file confMake
13357 if test "$RESULT" = 0; then
13358 wx_cv_prog_makevpath
="yes"
13360 wx_cv_prog_makevpath
="no"
13364 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13365 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13367 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13368 { { echo "$as_me:$LINENO: error:
13369 You need a make-utility that is able to use the variable
13371 If your version of make does not support VPATH correctly,
13372 please install GNU-make (possibly as gmake), and start
13373 configure with the following command:
13374 export MAKE=gmake; ./configure for sh-type shells
13375 setenv MAKE gmake; ./configure for csh-type shells
13376 Also please do remember to use gmake in this case every time
13377 you are trying to compile.
13379 echo "$as_me: error:
13380 You need a make-utility that is able to use the variable
13382 If your version of make does not support VPATH correctly,
13383 please install GNU-make (possibly as gmake), and start
13384 configure with the following command:
13385 export MAKE=gmake; ./configure for sh-type shells
13386 setenv MAKE gmake; ./configure for csh-type shells
13387 Also please do remember to use gmake in this case every time
13388 you are trying to compile.
13390 { (exit 1); exit 1; }; }
13392 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13393 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13395 if test "$LN_S" = "ln -s"; then
13396 echo "$as_me:$LINENO: result: yes" >&5
13397 echo "${ECHO_T}yes" >&6
13399 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13400 echo "${ECHO_T}no, using $LN_S" >&6
13405 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
13406 CXXFLAGS
="$CXXFLAGS -qunique"
13411 powerpc
-*-darwin* )
13412 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13413 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13414 cat >conftest.
$ac_ext <<_ACEOF
13417 cat confdefs.h
>>conftest.
$ac_ext
13418 cat >>conftest.
$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13424 #ifndef __POWERPC__
13425 choke me for lack of PowerPC
13432 rm -f conftest.
$ac_objext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13434 (eval $ac_compile) 2>conftest.er1
13436 grep -v '^ *+' conftest.er1
>conftest.err
13438 cat conftest.err
>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try
='test -s conftest.$ac_objext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 echo "$as_me:$LINENO: result: yes" >&5
13454 echo "${ECHO_T}yes" >&6
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.
$ac_ext >&5
13459 echo "$as_me:$LINENO: result: no" >&5
13460 echo "${ECHO_T}no" >&6
13461 cat >>confdefs.h
<<\_ACEOF
13462 #define __POWERPC__ 1
13467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13473 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13474 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13475 cat >conftest.
$ac_ext <<_ACEOF
13478 cat confdefs.h
>>conftest.
$ac_ext
13479 cat >>conftest.
$ac_ext <<_ACEOF
13480 /* end confdefs.h. */
13481 #include <CoreFoundation/CFBase.h>
13491 rm -f conftest.
$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13495 grep -v '^ *+' conftest.er1
>conftest.err
13497 cat conftest.err
>&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try
='test -s conftest.$ac_objext'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; }; then
13512 echo "$as_me:$LINENO: result: yes" >&5
13513 echo "${ECHO_T}yes" >&6
13515 echo "$as_me: failed program was:" >&5
13516 sed 's/^/| /' conftest.
$ac_ext >&5
13518 echo "$as_me:$LINENO: result: no" >&5
13519 echo "${ECHO_T}no" >&6
13520 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13521 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13522 cat >conftest.
$ac_ext <<_ACEOF
13525 cat confdefs.h
>>conftest.
$ac_ext
13526 cat >>conftest.
$ac_ext <<_ACEOF
13527 /* end confdefs.h. */
13528 #define __CF_USE_FRAMEWORK_INCLUDES__
13529 #include <CoreFoundation/CFBase.h>
13539 rm -f conftest.
$ac_objext
13540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13541 (eval $ac_compile) 2>conftest.er1
13543 grep -v '^ *+' conftest.er1
>conftest.err
13545 cat conftest.err
>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } &&
13548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; } &&
13554 { ac_try
='test -s conftest.$ac_objext'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 echo "$as_me:$LINENO: result: yes" >&5
13561 echo "${ECHO_T}yes" >&6
13562 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.
$ac_ext >&5
13567 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13568 See \`config.log' for more details." >&5
13569 echo "$as_me: error: no. CoreFoundation not available.
13570 See \`config.log' for more details." >&2;}
13571 { (exit 1); exit 1; }; }
13574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13583 *-pc-os2_emx | *-pc-os2-emx )
13584 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13585 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13586 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13587 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 ac_check_lib_save_LIBS
=$LIBS
13591 LIBS
="-lcExt $LIBS"
13592 cat >conftest.
$ac_ext <<_ACEOF
13595 cat confdefs.h
>>conftest.
$ac_ext
13596 cat >>conftest.
$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13599 /* Override any gcc2 internal prototype to avoid an error. */
13603 /* We use char because int might match the return type of a gcc2
13604 builtin and then its argument prototype would still apply. */
13614 rm -f conftest.
$ac_objext conftest
$ac_exeext
13615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13616 (eval $ac_link) 2>conftest.er1
13618 grep -v '^ *+' conftest.er1
>conftest.err
13620 cat conftest.err
>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } &&
13623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; } &&
13629 { ac_try
='test -s conftest$ac_exeext'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; }; then
13635 ac_cv_lib_cExt_drand48
=yes
13637 echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.
$ac_ext >&5
13640 ac_cv_lib_cExt_drand48
=no
13642 rm -f conftest.err conftest.
$ac_objext \
13643 conftest
$ac_exeext conftest.
$ac_ext
13644 LIBS
=$ac_check_lib_save_LIBS
13646 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13647 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13648 if test $ac_cv_lib_cExt_drand48 = yes; then
13649 LIBS
="$LIBS -lcExt"
13653 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13655 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13656 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13657 if test "${wx_cv_gccversion+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 if test "$cross_compiling" = yes; then
13662 wx_cv_gccversion
="EMX2"
13665 cat >conftest.
$ac_ext <<_ACEOF
13668 cat confdefs.h
>>conftest.
$ac_ext
13669 cat >>conftest.
$ac_ext <<_ACEOF
13670 /* end confdefs.h. */
13676 FILE *f=fopen("conftestval", "w");
13681 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13683 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13693 rm -f conftest
$ac_exeext
13694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13695 (eval $ac_link) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; }; then
13704 wx_cv_gccversion
=`cat conftestval`
13706 echo "$as_me: program exited with status $ac_status" >&5
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.
$ac_ext >&5
13710 ( exit $ac_status )
13711 wx_cv_gccversion
="EMX2"
13713 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13717 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13718 echo "${ECHO_T}$wx_cv_gccversion" >&6
13719 if test "$wx_cv_gccversion" = "EMX2"; then
13720 LIBS
="$LIBS -lstdcpp"
13721 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13723 if test "$wx_cv_gccversion" = "EMX3"; then
13724 LIBS
="$LIBS -lstdcxx -lgcc"
13725 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13727 LIBS
="$LIBS -lstdc++"
13730 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13731 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13732 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13742 ac_cpp
='$CXXCPP $CPPFLAGS'
13743 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13744 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13745 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13748 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13749 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13750 if test "${ac_cv_string_strcasecmp+set}" = set; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 cat >conftest.
$ac_ext <<_ACEOF
13757 cat confdefs.h
>>conftest.
$ac_ext
13758 cat >>conftest.
$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13761 #include <string.h>
13767 strcasecmp("foo", "bar");
13773 rm -f conftest.
$ac_objext conftest
$ac_exeext
13774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13775 (eval $ac_link) 2>conftest.er1
13777 grep -v '^ *+' conftest.er1
>conftest.err
13779 cat conftest.err
>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); } &&
13782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; } &&
13788 { ac_try
='test -s conftest$ac_exeext'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; }; then
13794 ac_cv_string_strcasecmp
=yes
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.
$ac_ext >&5
13799 ac_cv_string_strcasecmp
=no
13802 rm -f conftest.err conftest.
$ac_objext \
13803 conftest
$ac_exeext conftest.
$ac_ext
13806 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13807 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13809 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13810 cat >>confdefs.h
<<\_ACEOF
13811 #define HAVE_STRCASECMP_IN_STRING_H 1
13815 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13816 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13817 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13818 echo $ECHO_N "(cached) $ECHO_C" >&6
13821 cat >conftest.
$ac_ext <<_ACEOF
13824 cat confdefs.h
>>conftest.
$ac_ext
13825 cat >>conftest.
$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13828 #include <strings.h>
13834 strcasecmp("foo", "bar");
13840 rm -f conftest.
$ac_objext conftest
$ac_exeext
13841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13842 (eval $ac_link) 2>conftest.er1
13844 grep -v '^ *+' conftest.er1
>conftest.err
13846 cat conftest.err
>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); } &&
13849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; } &&
13855 { ac_try
='test -s conftest$ac_exeext'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; }; then
13861 ac_cv_strings_strcasecmp
=yes
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.
$ac_ext >&5
13866 ac_cv_strings_strcasecmp
=no
13869 rm -f conftest.err conftest.
$ac_objext \
13870 conftest
$ac_exeext conftest.
$ac_ext
13873 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13874 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13876 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13877 cat >>confdefs.h
<<\_ACEOF
13878 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13882 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13883 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13884 { (exit 1); exit 1; }; }
13889 ac_cpp
='$CPP $CPPFLAGS'
13890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13898 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13899 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13900 if test "${ac_cv_header_stdc+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13903 cat >conftest.
$ac_ext <<_ACEOF
13906 cat confdefs.h
>>conftest.
$ac_ext
13907 cat >>conftest.
$ac_ext <<_ACEOF
13908 /* end confdefs.h. */
13909 #include <stdlib.h>
13910 #include <stdarg.h>
13911 #include <string.h>
13922 rm -f conftest.
$ac_objext
13923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13924 (eval $ac_compile) 2>conftest.er1
13926 grep -v '^ *+' conftest.er1
>conftest.err
13928 cat conftest.err
>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); } &&
13931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13933 (eval $ac_try) 2>&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); }; } &&
13937 { ac_try
='test -s conftest.$ac_objext'
13938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 (eval $ac_try) 2>&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; }; then
13943 ac_cv_header_stdc
=yes
13945 echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.
$ac_ext >&5
13948 ac_cv_header_stdc
=no
13950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13952 if test $ac_cv_header_stdc = yes; then
13953 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13954 cat >conftest.
$ac_ext <<_ACEOF
13957 cat confdefs.h
>>conftest.
$ac_ext
13958 cat >>conftest.
$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 #include <string.h>
13963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13964 $EGREP "memchr" >/dev
/null
2>&1; then
13967 ac_cv_header_stdc
=no
13973 if test $ac_cv_header_stdc = yes; then
13974 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13975 cat >conftest.
$ac_ext <<_ACEOF
13978 cat confdefs.h
>>conftest.
$ac_ext
13979 cat >>conftest.
$ac_ext <<_ACEOF
13980 /* end confdefs.h. */
13981 #include <stdlib.h>
13984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13985 $EGREP "free" >/dev
/null
2>&1; then
13988 ac_cv_header_stdc
=no
13994 if test $ac_cv_header_stdc = yes; then
13995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13996 if test "$cross_compiling" = yes; then
13999 cat >conftest.
$ac_ext <<_ACEOF
14002 cat confdefs.h
>>conftest.
$ac_ext
14003 cat >>conftest.
$ac_ext <<_ACEOF
14004 /* end confdefs.h. */
14006 #if ((' ' & 0x0FF) == 0x020)
14007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14010 # define ISLOWER(c) \
14011 (('a' <= (c) && (c) <= 'i') \
14012 || ('j' <= (c) && (c) <= 'r') \
14013 || ('s' <= (c) && (c) <= 'z'))
14014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14022 for (i = 0; i < 256; i++)
14023 if (XOR (islower (i), ISLOWER (i))
14024 || toupper (i) != TOUPPER (i))
14029 rm -f conftest
$ac_exeext
14030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14031 (eval $ac_link) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036 (eval $ac_try) 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14042 echo "$as_me: program exited with status $ac_status" >&5
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.
$ac_ext >&5
14046 ( exit $ac_status )
14047 ac_cv_header_stdc
=no
14049 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14053 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14054 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14055 if test $ac_cv_header_stdc = yes; then
14057 cat >>confdefs.h
<<\_ACEOF
14058 #define STDC_HEADERS 1
14063 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14073 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14074 inttypes.h stdint.h unistd.h
14076 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14077 echo "$as_me:$LINENO: checking for $ac_header" >&5
14078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 cat >conftest.
$ac_ext <<_ACEOF
14085 cat confdefs.h
>>conftest.
$ac_ext
14086 cat >>conftest.
$ac_ext <<_ACEOF
14087 /* end confdefs.h. */
14088 $ac_includes_default
14090 #include <$ac_header>
14092 rm -f conftest.
$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094 (eval $ac_compile) 2>conftest.er1
14096 grep -v '^ *+' conftest.er1
>conftest.err
14098 cat conftest.err
>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; } &&
14107 { ac_try
='test -s conftest.$ac_objext'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; }; then
14113 eval "$as_ac_Header=yes"
14115 echo "$as_me: failed program was:" >&5
14116 sed 's/^/| /' conftest.
$ac_ext >&5
14118 eval "$as_ac_Header=no"
14120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14125 cat >>confdefs.h
<<_ACEOF
14126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14135 for ac_header
in stdlib.h
14137 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo "$as_me:$LINENO: checking for $ac_header" >&5
14140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14147 # Is the header compilable?
14148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14150 cat >conftest.
$ac_ext <<_ACEOF
14153 cat confdefs.h
>>conftest.
$ac_ext
14154 cat >>conftest.
$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 $ac_includes_default
14157 #include <$ac_header>
14159 rm -f conftest.
$ac_objext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 2>conftest.er1
14163 grep -v '^ *+' conftest.er1
>conftest.err
14165 cat conftest.err
>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } &&
14168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try
='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_header_compiler
=yes
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14185 ac_header_compiler
=no
14187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14189 echo "${ECHO_T}$ac_header_compiler" >&6
14191 # Is the header present?
14192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14194 cat >conftest.
$ac_ext <<_ACEOF
14197 cat confdefs.h
>>conftest.
$ac_ext
14198 cat >>conftest.
$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 #include <$ac_header>
14202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14205 grep -v '^ *+' conftest.er1
>conftest.err
14207 cat conftest.err
>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } >/dev
/null
; then
14210 if test -s conftest.err
; then
14211 ac_cpp_err
=$ac_c_preproc_warn_flag
14212 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14219 if test -z "$ac_cpp_err"; then
14220 ac_header_preproc
=yes
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.
$ac_ext >&5
14225 ac_header_preproc
=no
14227 rm -f conftest.err conftest.
$ac_ext
14228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14229 echo "${ECHO_T}$ac_header_preproc" >&6
14231 # So? What about this header?
14232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14238 ac_header_preproc
=yes
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14255 ## ----------------------------------------- ##
14256 ## Report this to wx-dev@lists.wxwidgets.org ##
14257 ## ----------------------------------------- ##
14260 sed "s/^/$as_me: WARNING: /" >&2
14263 echo "$as_me:$LINENO: checking for $ac_header" >&5
14264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 eval "$as_ac_Header=\$ac_header_preproc"
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14275 cat >>confdefs.h
<<_ACEOF
14276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14284 for ac_header
in malloc.h
14286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14288 echo "$as_me:$LINENO: checking for $ac_header" >&5
14289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14291 echo $ECHO_N "(cached) $ECHO_C" >&6
14293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14296 # Is the header compilable?
14297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14299 cat >conftest.
$ac_ext <<_ACEOF
14302 cat confdefs.h
>>conftest.
$ac_ext
14303 cat >>conftest.
$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14305 $ac_includes_default
14306 #include <$ac_header>
14308 rm -f conftest.
$ac_objext
14309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14310 (eval $ac_compile) 2>conftest.er1
14312 grep -v '^ *+' conftest.er1
>conftest.err
14314 cat conftest.err
>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); } &&
14317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; } &&
14323 { ac_try
='test -s conftest.$ac_objext'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; }; then
14329 ac_header_compiler
=yes
14331 echo "$as_me: failed program was:" >&5
14332 sed 's/^/| /' conftest.
$ac_ext >&5
14334 ac_header_compiler
=no
14336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14338 echo "${ECHO_T}$ac_header_compiler" >&6
14340 # Is the header present?
14341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14343 cat >conftest.
$ac_ext <<_ACEOF
14346 cat confdefs.h
>>conftest.
$ac_ext
14347 cat >>conftest.
$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 #include <$ac_header>
14351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14354 grep -v '^ *+' conftest.er1
>conftest.err
14356 cat conftest.err
>&5
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); } >/dev
/null
; then
14359 if test -s conftest.err
; then
14360 ac_cpp_err
=$ac_c_preproc_warn_flag
14361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14368 if test -z "$ac_cpp_err"; then
14369 ac_header_preproc
=yes
14371 echo "$as_me: failed program was:" >&5
14372 sed 's/^/| /' conftest.
$ac_ext >&5
14374 ac_header_preproc
=no
14376 rm -f conftest.err conftest.
$ac_ext
14377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14378 echo "${ECHO_T}$ac_header_preproc" >&6
14380 # So? What about this header?
14381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14387 ac_header_preproc
=yes
14390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14404 ## ----------------------------------------- ##
14405 ## Report this to wx-dev@lists.wxwidgets.org ##
14406 ## ----------------------------------------- ##
14409 sed "s/^/$as_me: WARNING: /" >&2
14412 echo "$as_me:$LINENO: checking for $ac_header" >&5
14413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 eval "$as_ac_Header=\$ac_header_preproc"
14419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14424 cat >>confdefs.h
<<_ACEOF
14425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14433 for ac_header
in unistd.h
14435 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo "$as_me:$LINENO: checking for $ac_header" >&5
14438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14445 # Is the header compilable?
14446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14448 cat >conftest.
$ac_ext <<_ACEOF
14451 cat confdefs.h
>>conftest.
$ac_ext
14452 cat >>conftest.
$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 $ac_includes_default
14455 #include <$ac_header>
14457 rm -f conftest.
$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14461 grep -v '^ *+' conftest.er1
>conftest.err
14463 cat conftest.err
>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; } &&
14472 { ac_try
='test -s conftest.$ac_objext'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; }; then
14478 ac_header_compiler
=yes
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.
$ac_ext >&5
14483 ac_header_compiler
=no
14485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14487 echo "${ECHO_T}$ac_header_compiler" >&6
14489 # Is the header present?
14490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14492 cat >conftest.
$ac_ext <<_ACEOF
14495 cat confdefs.h
>>conftest.
$ac_ext
14496 cat >>conftest.
$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14498 #include <$ac_header>
14500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14503 grep -v '^ *+' conftest.er1
>conftest.err
14505 cat conftest.err
>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } >/dev
/null
; then
14508 if test -s conftest.err
; then
14509 ac_cpp_err
=$ac_c_preproc_warn_flag
14510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14517 if test -z "$ac_cpp_err"; then
14518 ac_header_preproc
=yes
14520 echo "$as_me: failed program was:" >&5
14521 sed 's/^/| /' conftest.
$ac_ext >&5
14523 ac_header_preproc
=no
14525 rm -f conftest.err conftest.
$ac_ext
14526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14527 echo "${ECHO_T}$ac_header_preproc" >&6
14529 # So? What about this header?
14530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14536 ac_header_preproc
=yes
14539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14546 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14553 ## ----------------------------------------- ##
14554 ## Report this to wx-dev@lists.wxwidgets.org ##
14555 ## ----------------------------------------- ##
14558 sed "s/^/$as_me: WARNING: /" >&2
14561 echo "$as_me:$LINENO: checking for $ac_header" >&5
14562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14564 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 eval "$as_ac_Header=\$ac_header_preproc"
14568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14573 cat >>confdefs.h
<<_ACEOF
14574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14582 for ac_header
in wchar.h
14584 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14586 echo "$as_me:$LINENO: checking for $ac_header" >&5
14587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14594 # Is the header compilable?
14595 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14596 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14597 cat >conftest.
$ac_ext <<_ACEOF
14600 cat confdefs.h
>>conftest.
$ac_ext
14601 cat >>conftest.
$ac_ext <<_ACEOF
14602 /* end confdefs.h. */
14603 $ac_includes_default
14604 #include <$ac_header>
14606 rm -f conftest.
$ac_objext
14607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608 (eval $ac_compile) 2>conftest.er1
14610 grep -v '^ *+' conftest.er1
>conftest.err
14612 cat conftest.err
>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } &&
14615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try
='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14627 ac_header_compiler
=yes
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.
$ac_ext >&5
14632 ac_header_compiler
=no
14634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14636 echo "${ECHO_T}$ac_header_compiler" >&6
14638 # Is the header present?
14639 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14641 cat >conftest.
$ac_ext <<_ACEOF
14644 cat confdefs.h
>>conftest.
$ac_ext
14645 cat >>conftest.
$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14647 #include <$ac_header>
14649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14650 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14652 grep -v '^ *+' conftest.er1
>conftest.err
14654 cat conftest.err
>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } >/dev
/null
; then
14657 if test -s conftest.err
; then
14658 ac_cpp_err
=$ac_c_preproc_warn_flag
14659 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14666 if test -z "$ac_cpp_err"; then
14667 ac_header_preproc
=yes
14669 echo "$as_me: failed program was:" >&5
14670 sed 's/^/| /' conftest.
$ac_ext >&5
14672 ac_header_preproc
=no
14674 rm -f conftest.err conftest.
$ac_ext
14675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14676 echo "${ECHO_T}$ac_header_preproc" >&6
14678 # So? What about this header?
14679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14684 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14685 ac_header_preproc
=yes
14688 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14689 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14690 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14691 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14692 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14693 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14694 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14695 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14699 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14702 ## ----------------------------------------- ##
14703 ## Report this to wx-dev@lists.wxwidgets.org ##
14704 ## ----------------------------------------- ##
14707 sed "s/^/$as_me: WARNING: /" >&2
14710 echo "$as_me:$LINENO: checking for $ac_header" >&5
14711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 eval "$as_ac_Header=\$ac_header_preproc"
14717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14722 cat >>confdefs.h
<<_ACEOF
14723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14731 if test "$ac_cv_header_wchar_h" != "yes"; then
14733 for ac_header
in wcstr.h
14735 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14737 echo "$as_me:$LINENO: checking for $ac_header" >&5
14738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14745 # Is the header compilable?
14746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14748 cat >conftest.
$ac_ext <<_ACEOF
14751 cat confdefs.h
>>conftest.
$ac_ext
14752 cat >>conftest.
$ac_ext <<_ACEOF
14753 /* end confdefs.h. */
14754 $ac_includes_default
14755 #include <$ac_header>
14757 rm -f conftest.
$ac_objext
14758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759 (eval $ac_compile) 2>conftest.er1
14761 grep -v '^ *+' conftest.er1
>conftest.err
14763 cat conftest.err
>&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); } &&
14766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14768 (eval $ac_try) 2>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); }; } &&
14772 { ac_try
='test -s conftest.$ac_objext'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; }; then
14778 ac_header_compiler
=yes
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.
$ac_ext >&5
14783 ac_header_compiler
=no
14785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14787 echo "${ECHO_T}$ac_header_compiler" >&6
14789 # Is the header present?
14790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14792 cat >conftest.
$ac_ext <<_ACEOF
14795 cat confdefs.h
>>conftest.
$ac_ext
14796 cat >>conftest.
$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798 #include <$ac_header>
14800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14803 grep -v '^ *+' conftest.er1
>conftest.err
14805 cat conftest.err
>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } >/dev
/null
; then
14808 if test -s conftest.err
; then
14809 ac_cpp_err
=$ac_c_preproc_warn_flag
14810 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14817 if test -z "$ac_cpp_err"; then
14818 ac_header_preproc
=yes
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.
$ac_ext >&5
14823 ac_header_preproc
=no
14825 rm -f conftest.err conftest.
$ac_ext
14826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14827 echo "${ECHO_T}$ac_header_preproc" >&6
14829 # So? What about this header?
14830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14836 ac_header_preproc
=yes
14839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14853 ## ----------------------------------------- ##
14854 ## Report this to wx-dev@lists.wxwidgets.org ##
14855 ## ----------------------------------------- ##
14858 sed "s/^/$as_me: WARNING: /" >&2
14861 echo "$as_me:$LINENO: checking for $ac_header" >&5
14862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14864 echo $ECHO_N "(cached) $ECHO_C" >&6
14866 eval "$as_ac_Header=\$ac_header_preproc"
14868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14873 cat >>confdefs.h
<<_ACEOF
14874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14884 for ac_header
in fnmatch.h
14886 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14888 echo "$as_me:$LINENO: checking for $ac_header" >&5
14889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14896 # Is the header compilable?
14897 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14899 cat >conftest.
$ac_ext <<_ACEOF
14902 cat confdefs.h
>>conftest.
$ac_ext
14903 cat >>conftest.
$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14905 $ac_includes_default
14906 #include <$ac_header>
14908 rm -f conftest.
$ac_objext
14909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14910 (eval $ac_compile) 2>conftest.er1
14912 grep -v '^ *+' conftest.er1
>conftest.err
14914 cat conftest.err
>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } &&
14917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14919 (eval $ac_try) 2>&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); }; } &&
14923 { ac_try
='test -s conftest.$ac_objext'
14924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14925 (eval $ac_try) 2>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; }; then
14929 ac_header_compiler
=yes
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.
$ac_ext >&5
14934 ac_header_compiler
=no
14936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14938 echo "${ECHO_T}$ac_header_compiler" >&6
14940 # Is the header present?
14941 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14943 cat >conftest.
$ac_ext <<_ACEOF
14946 cat confdefs.h
>>conftest.
$ac_ext
14947 cat >>conftest.
$ac_ext <<_ACEOF
14948 /* end confdefs.h. */
14949 #include <$ac_header>
14951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14952 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14954 grep -v '^ *+' conftest.er1
>conftest.err
14956 cat conftest.err
>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } >/dev
/null
; then
14959 if test -s conftest.err
; then
14960 ac_cpp_err
=$ac_c_preproc_warn_flag
14961 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14968 if test -z "$ac_cpp_err"; then
14969 ac_header_preproc
=yes
14971 echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.
$ac_ext >&5
14974 ac_header_preproc
=no
14976 rm -f conftest.err conftest.
$ac_ext
14977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14978 echo "${ECHO_T}$ac_header_preproc" >&6
14980 # So? What about this header?
14981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14984 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14986 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14987 ac_header_preproc
=yes
14990 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14991 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14992 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14993 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14994 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14995 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14996 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14997 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15000 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15001 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15004 ## ----------------------------------------- ##
15005 ## Report this to wx-dev@lists.wxwidgets.org ##
15006 ## ----------------------------------------- ##
15009 sed "s/^/$as_me: WARNING: /" >&2
15012 echo "$as_me:$LINENO: checking for $ac_header" >&5
15013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 eval "$as_ac_Header=\$ac_header_preproc"
15019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15024 cat >>confdefs.h
<<_ACEOF
15025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15034 for ac_header
in langinfo.h
15036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15038 echo "$as_me:$LINENO: checking for $ac_header" >&5
15039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15046 # Is the header compilable?
15047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15049 cat >conftest.
$ac_ext <<_ACEOF
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 $ac_includes_default
15056 #include <$ac_header>
15058 rm -f conftest.
$ac_objext
15059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15060 (eval $ac_compile) 2>conftest.er1
15062 grep -v '^ *+' conftest.er1
>conftest.err
15064 cat conftest.err
>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } &&
15067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; } &&
15073 { ac_try
='test -s conftest.$ac_objext'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; }; then
15079 ac_header_compiler
=yes
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.
$ac_ext >&5
15084 ac_header_compiler
=no
15086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15088 echo "${ECHO_T}$ac_header_compiler" >&6
15090 # Is the header present?
15091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15093 cat >conftest.
$ac_ext <<_ACEOF
15096 cat confdefs.h
>>conftest.
$ac_ext
15097 cat >>conftest.
$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15099 #include <$ac_header>
15101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15104 grep -v '^ *+' conftest.er1
>conftest.err
15106 cat conftest.err
>&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); } >/dev
/null
; then
15109 if test -s conftest.err
; then
15110 ac_cpp_err
=$ac_c_preproc_warn_flag
15111 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15118 if test -z "$ac_cpp_err"; then
15119 ac_header_preproc
=yes
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.
$ac_ext >&5
15124 ac_header_preproc
=no
15126 rm -f conftest.err conftest.
$ac_ext
15127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15128 echo "${ECHO_T}$ac_header_preproc" >&6
15130 # So? What about this header?
15131 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15137 ac_header_preproc
=yes
15140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15154 ## ----------------------------------------- ##
15155 ## Report this to wx-dev@lists.wxwidgets.org ##
15156 ## ----------------------------------------- ##
15159 sed "s/^/$as_me: WARNING: /" >&2
15162 echo "$as_me:$LINENO: checking for $ac_header" >&5
15163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 eval "$as_ac_Header=\$ac_header_preproc"
15169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15174 cat >>confdefs.h
<<_ACEOF
15175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15184 *-pc-os2_emx | *-pc-os2-emx )
15185 if test $ac_cv_header_langinfo_h = "yes" \
15186 -a \
( "$wx_cv_gccversion" = "EMX2" \
15187 -o "$wx_cv_gccversion" = "EMX3" \
15188 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15189 LIBS
="$LIBS -lintl"
15194 if test "$wxUSE_GUI" = "yes"; then
15195 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15197 for ac_header
in X
11/Xlib.h
15199 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15201 echo "$as_me:$LINENO: checking for $ac_header" >&5
15202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15204 echo $ECHO_N "(cached) $ECHO_C" >&6
15206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15209 # Is the header compilable?
15210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15212 cat >conftest.
$ac_ext <<_ACEOF
15215 cat confdefs.h
>>conftest.
$ac_ext
15216 cat >>conftest.
$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 $ac_includes_default
15219 #include <$ac_header>
15221 rm -f conftest.
$ac_objext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>conftest.er1
15225 grep -v '^ *+' conftest.er1
>conftest.err
15227 cat conftest.err
>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); } &&
15230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; } &&
15236 { ac_try
='test -s conftest.$ac_objext'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; }; then
15242 ac_header_compiler
=yes
15244 echo "$as_me: failed program was:" >&5
15245 sed 's/^/| /' conftest.
$ac_ext >&5
15247 ac_header_compiler
=no
15249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15251 echo "${ECHO_T}$ac_header_compiler" >&6
15253 # Is the header present?
15254 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15256 cat >conftest.
$ac_ext <<_ACEOF
15259 cat confdefs.h
>>conftest.
$ac_ext
15260 cat >>conftest.
$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262 #include <$ac_header>
15264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15265 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15267 grep -v '^ *+' conftest.er1
>conftest.err
15269 cat conftest.err
>&5
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); } >/dev
/null
; then
15272 if test -s conftest.err
; then
15273 ac_cpp_err
=$ac_c_preproc_warn_flag
15274 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15281 if test -z "$ac_cpp_err"; then
15282 ac_header_preproc
=yes
15284 echo "$as_me: failed program was:" >&5
15285 sed 's/^/| /' conftest.
$ac_ext >&5
15287 ac_header_preproc
=no
15289 rm -f conftest.err conftest.
$ac_ext
15290 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15291 echo "${ECHO_T}$ac_header_preproc" >&6
15293 # So? What about this header?
15294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15296 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15297 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15299 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15300 ac_header_preproc
=yes
15303 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15304 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15305 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15306 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15307 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15308 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15309 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15310 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15314 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15317 ## ----------------------------------------- ##
15318 ## Report this to wx-dev@lists.wxwidgets.org ##
15319 ## ----------------------------------------- ##
15322 sed "s/^/$as_me: WARNING: /" >&2
15325 echo "$as_me:$LINENO: checking for $ac_header" >&5
15326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15330 eval "$as_ac_Header=\$ac_header_preproc"
15332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15337 cat >>confdefs.h
<<_ACEOF
15338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15346 for ac_header
in X
11/XKBlib.h
15348 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15349 echo "$as_me:$LINENO: checking for $ac_header" >&5
15350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15352 echo $ECHO_N "(cached) $ECHO_C" >&6
15354 cat >conftest.
$ac_ext <<_ACEOF
15357 cat confdefs.h
>>conftest.
$ac_ext
15358 cat >>conftest.
$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15361 #if HAVE_X11_XLIB_H
15362 #include <X11/Xlib.h>
15366 #include <$ac_header>
15368 rm -f conftest.
$ac_objext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15370 (eval $ac_compile) 2>conftest.er1
15372 grep -v '^ *+' conftest.er1
>conftest.err
15374 cat conftest.err
>&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; } &&
15383 { ac_try
='test -s conftest.$ac_objext'
15384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385 (eval $ac_try) 2>&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); }; }; then
15389 eval "$as_ac_Header=yes"
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.
$ac_ext >&5
15394 eval "$as_ac_Header=no"
15396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15399 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15401 cat >>confdefs.h
<<_ACEOF
15402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15413 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15414 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15415 if test "${ac_cv_c_const+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 cat >conftest.
$ac_ext <<_ACEOF
15421 cat confdefs.h
>>conftest.
$ac_ext
15422 cat >>conftest.
$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15428 /* FIXME: Include the comments suggested by Paul. */
15429 #ifndef __cplusplus
15430 /* Ultrix mips cc rejects this. */
15431 typedef int charset[2];
15433 /* SunOS 4.1.1 cc rejects this. */
15434 char const *const *ccp;
15436 /* NEC SVR4.0.2 mips cc rejects this. */
15437 struct point {int x, y;};
15438 static struct point const zero = {0,0};
15439 /* AIX XL C 1.02.0.0 rejects this.
15440 It does not let you subtract one const X* pointer from another in
15441 an arm of an if-expression whose if-part is not a constant
15443 const char *g = "string";
15444 ccp = &g + (g ? g-g : 0);
15445 /* HPUX 7.0 cc rejects these. */
15448 ccp = (char const *const *) p;
15449 { /* SCO 3.2v4 cc rejects this. */
15451 char const *s = 0 ? (char *) 0 : (char const *) 0;
15455 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15456 int x[] = {25, 17};
15457 const int *foo = &x[0];
15460 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15461 typedef const int *iptr;
15465 { /* AIX XL C 1.02.0.0 rejects this saying
15466 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15467 struct s { int j; const int *ap[3]; };
15468 struct s *b; b->j = 5;
15470 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15471 const int foo = 10;
15479 rm -f conftest.
$ac_objext
15480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15481 (eval $ac_compile) 2>conftest.er1
15483 grep -v '^ *+' conftest.er1
>conftest.err
15485 cat conftest.err
>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } &&
15488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; } &&
15494 { ac_try
='test -s conftest.$ac_objext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.
$ac_ext >&5
15507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15509 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15510 echo "${ECHO_T}$ac_cv_c_const" >&6
15511 if test $ac_cv_c_const = no
; then
15513 cat >>confdefs.h
<<\_ACEOF
15519 echo "$as_me:$LINENO: checking for inline" >&5
15520 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15521 if test "${ac_cv_c_inline+set}" = set; then
15522 echo $ECHO_N "(cached) $ECHO_C" >&6
15525 for ac_kw
in inline __inline__ __inline
; do
15526 cat >conftest.
$ac_ext <<_ACEOF
15529 cat confdefs.h
>>conftest.
$ac_ext
15530 cat >>conftest.
$ac_ext <<_ACEOF
15531 /* end confdefs.h. */
15532 #ifndef __cplusplus
15534 static $ac_kw foo_t static_foo () {return 0; }
15535 $ac_kw foo_t foo () {return 0; }
15539 rm -f conftest.
$ac_objext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541 (eval $ac_compile) 2>conftest.er1
15543 grep -v '^ *+' conftest.er1
>conftest.err
15545 cat conftest.err
>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; } &&
15554 { ac_try
='test -s conftest.$ac_objext'
15555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15556 (eval $ac_try) 2>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); }; }; then
15560 ac_cv_c_inline
=$ac_kw; break
15562 echo "$as_me: failed program was:" >&5
15563 sed 's/^/| /' conftest.
$ac_ext >&5
15566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15570 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15571 echo "${ECHO_T}$ac_cv_c_inline" >&6
15574 case $ac_cv_c_inline in
15577 case $ac_cv_c_inline in
15579 *) ac_val
=$ac_cv_c_inline;;
15581 cat >>confdefs.h
<<_ACEOF
15582 #ifndef __cplusplus
15583 #define inline $ac_val
15590 echo "$as_me:$LINENO: checking for char" >&5
15591 echo $ECHO_N "checking for char... $ECHO_C" >&6
15592 if test "${ac_cv_type_char+set}" = set; then
15593 echo $ECHO_N "(cached) $ECHO_C" >&6
15595 cat >conftest.
$ac_ext <<_ACEOF
15598 cat confdefs.h
>>conftest.
$ac_ext
15599 cat >>conftest.
$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15601 $ac_includes_default
15613 rm -f conftest.
$ac_objext
15614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15615 (eval $ac_compile) 2>conftest.er1
15617 grep -v '^ *+' conftest.er1
>conftest.err
15619 cat conftest.err
>&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); } &&
15622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15624 (eval $ac_try) 2>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; } &&
15628 { ac_try
='test -s conftest.$ac_objext'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; }; then
15634 ac_cv_type_char
=yes
15636 echo "$as_me: failed program was:" >&5
15637 sed 's/^/| /' conftest.
$ac_ext >&5
15641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15643 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15644 echo "${ECHO_T}$ac_cv_type_char" >&6
15646 echo "$as_me:$LINENO: checking size of char" >&5
15647 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15648 if test "${ac_cv_sizeof_char+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 if test "$ac_cv_type_char" = yes; then
15652 # The cast to unsigned long works around a bug in the HP C Compiler
15653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15655 # This bug is HP SR number 8606223364.
15656 if test "$cross_compiling" = yes; then
15657 # Depending upon the size, compute the lo and hi bounds.
15658 cat >conftest.
$ac_ext <<_ACEOF
15661 cat confdefs.h
>>conftest.
$ac_ext
15662 cat >>conftest.
$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 $ac_includes_default
15668 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15675 rm -f conftest.
$ac_objext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 (eval $ac_compile) 2>conftest.er1
15679 grep -v '^ *+' conftest.er1
>conftest.err
15681 cat conftest.err
>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15690 { ac_try
='test -s conftest.$ac_objext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15698 cat >conftest.
$ac_ext <<_ACEOF
15701 cat confdefs.h
>>conftest.
$ac_ext
15702 cat >>conftest.
$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15704 $ac_includes_default
15708 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15715 rm -f conftest.
$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717 (eval $ac_compile) 2>conftest.er1
15719 grep -v '^ *+' conftest.er1
>conftest.err
15721 cat conftest.err
>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; } &&
15730 { ac_try
='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15736 ac_hi
=$ac_mid; break
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 ac_lo
=`expr $ac_mid + 1`
15742 if test $ac_lo -le $ac_mid; then
15746 ac_mid
=`expr 2 '*' $ac_mid + 1`
15748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
15794 cat >conftest.
$ac_ext <<_ACEOF
15797 cat confdefs.h
>>conftest.
$ac_ext
15798 cat >>conftest.
$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 $ac_includes_default
15804 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15811 rm -f conftest.
$ac_objext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15813 (eval $ac_compile) 2>conftest.er1
15815 grep -v '^ *+' conftest.er1
>conftest.err
15817 cat conftest.err
>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15822 (eval $ac_try) 2>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); }; } &&
15826 { ac_try
='test -s conftest.$ac_objext'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; }; then
15832 ac_lo
=$ac_mid; break
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.
$ac_ext >&5
15837 ac_hi
=`expr '(' $ac_mid ')' - 1`
15838 if test $ac_mid -le $ac_hi; then
15842 ac_mid
=`expr 2 '*' $ac_mid`
15844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.
$ac_ext >&5
15852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15855 # Binary search between lo and hi bounds.
15856 while test "x$ac_lo" != "x$ac_hi"; do
15857 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15858 cat >conftest.
$ac_ext <<_ACEOF
15861 cat confdefs.h
>>conftest.
$ac_ext
15862 cat >>conftest.
$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 $ac_includes_default
15868 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15875 rm -f conftest.
$ac_objext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15877 (eval $ac_compile) 2>conftest.er1
15879 grep -v '^ *+' conftest.er1
>conftest.err
15881 cat conftest.err
>&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } &&
15884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; } &&
15890 { ac_try
='test -s conftest.$ac_objext'
15891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892 (eval $ac_try) 2>&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); }; }; then
15898 echo "$as_me: failed program was:" >&5
15899 sed 's/^/| /' conftest.
$ac_ext >&5
15901 ac_lo
=`expr '(' $ac_mid ')' + 1`
15903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15906 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15907 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15908 See \`config.log' for more details." >&5
15909 echo "$as_me: error: cannot compute sizeof (char), 77
15910 See \`config.log' for more details." >&2;}
15911 { (exit 1); exit 1; }; } ;;
15914 if test "$cross_compiling" = yes; then
15915 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15916 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15917 { (exit 1); exit 1; }; }
15919 cat >conftest.
$ac_ext <<_ACEOF
15922 cat confdefs.h
>>conftest.
$ac_ext
15923 cat >>conftest.
$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 $ac_includes_default
15926 long longval () { return (long) (sizeof (char)); }
15927 unsigned long ulongval () { return (long) (sizeof (char)); }
15929 #include <stdlib.h>
15934 FILE *f = fopen ("conftest.val", "w");
15937 if (((long) (sizeof (char))) < 0)
15939 long i = longval ();
15940 if (i != ((long) (sizeof (char))))
15942 fprintf (f, "%ld\n", i);
15946 unsigned long i = ulongval ();
15947 if (i != ((long) (sizeof (char))))
15949 fprintf (f, "%lu\n", i);
15951 exit (ferror (f) || fclose (f) != 0);
15957 rm -f conftest
$ac_exeext
15958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15959 (eval $ac_link) 2>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; }; then
15968 ac_cv_sizeof_char
=`cat conftest.val`
15970 echo "$as_me: program exited with status $ac_status" >&5
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.
$ac_ext >&5
15974 ( exit $ac_status )
15975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15976 See \`config.log' for more details." >&5
15977 echo "$as_me: error: cannot compute sizeof (char), 77
15978 See \`config.log' for more details." >&2;}
15979 { (exit 1); exit 1; }; }
15981 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15986 ac_cv_sizeof_char
=0
15989 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15990 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15991 cat >>confdefs.h
<<_ACEOF
15992 #define SIZEOF_CHAR $ac_cv_sizeof_char
15996 echo "$as_me:$LINENO: checking for short" >&5
15997 echo $ECHO_N "checking for short... $ECHO_C" >&6
15998 if test "${ac_cv_type_short+set}" = set; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16001 cat >conftest.
$ac_ext <<_ACEOF
16004 cat confdefs.h
>>conftest.
$ac_ext
16005 cat >>conftest.
$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007 $ac_includes_default
16013 if (sizeof (short))
16019 rm -f conftest.
$ac_objext
16020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16021 (eval $ac_compile) 2>conftest.er1
16023 grep -v '^ *+' conftest.er1
>conftest.err
16025 cat conftest.err
>&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } &&
16028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; } &&
16034 { ac_try
='test -s conftest.$ac_objext'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; }; then
16040 ac_cv_type_short
=yes
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.
$ac_ext >&5
16045 ac_cv_type_short
=no
16047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16049 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16050 echo "${ECHO_T}$ac_cv_type_short" >&6
16052 echo "$as_me:$LINENO: checking size of short" >&5
16053 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16054 if test "${ac_cv_sizeof_short+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 if test "$ac_cv_type_short" = yes; then
16058 # The cast to unsigned long works around a bug in the HP C Compiler
16059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16060 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16061 # This bug is HP SR number 8606223364.
16062 if test "$cross_compiling" = yes; then
16063 # Depending upon the size, compute the lo and hi bounds.
16064 cat >conftest.
$ac_ext <<_ACEOF
16067 cat confdefs.h
>>conftest.
$ac_ext
16068 cat >>conftest.
$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 $ac_includes_default
16074 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16081 rm -f conftest.
$ac_objext
16082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16083 (eval $ac_compile) 2>conftest.er1
16085 grep -v '^ *+' conftest.er1
>conftest.err
16087 cat conftest.err
>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } &&
16090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16096 { ac_try
='test -s conftest.$ac_objext'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; }; then
16104 cat >conftest.
$ac_ext <<_ACEOF
16107 cat confdefs.h
>>conftest.
$ac_ext
16108 cat >>conftest.
$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 $ac_includes_default
16114 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16121 rm -f conftest.
$ac_objext
16122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16123 (eval $ac_compile) 2>conftest.er1
16125 grep -v '^ *+' conftest.er1
>conftest.err
16127 cat conftest.err
>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } &&
16130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16132 (eval $ac_try) 2>&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); }; } &&
16136 { ac_try
='test -s conftest.$ac_objext'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; }; then
16142 ac_hi
=$ac_mid; break
16144 echo "$as_me: failed program was:" >&5
16145 sed 's/^/| /' conftest.
$ac_ext >&5
16147 ac_lo
=`expr $ac_mid + 1`
16148 if test $ac_lo -le $ac_mid; then
16152 ac_mid
=`expr 2 '*' $ac_mid + 1`
16154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
16200 cat >conftest.
$ac_ext <<_ACEOF
16203 cat confdefs.h
>>conftest.
$ac_ext
16204 cat >>conftest.
$ac_ext <<_ACEOF
16205 /* end confdefs.h. */
16206 $ac_includes_default
16210 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16217 rm -f conftest.
$ac_objext
16218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16219 (eval $ac_compile) 2>conftest.er1
16221 grep -v '^ *+' conftest.er1
>conftest.err
16223 cat conftest.err
>&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } &&
16226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16228 (eval $ac_try) 2>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); }; } &&
16232 { ac_try
='test -s conftest.$ac_objext'
16233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16234 (eval $ac_try) 2>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); }; }; then
16238 ac_lo
=$ac_mid; break
16240 echo "$as_me: failed program was:" >&5
16241 sed 's/^/| /' conftest.
$ac_ext >&5
16243 ac_hi
=`expr '(' $ac_mid ')' - 1`
16244 if test $ac_mid -le $ac_hi; then
16248 ac_mid
=`expr 2 '*' $ac_mid`
16250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.
$ac_ext >&5
16258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16261 # Binary search between lo and hi bounds.
16262 while test "x$ac_lo" != "x$ac_hi"; do
16263 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16264 cat >conftest.
$ac_ext <<_ACEOF
16267 cat confdefs.h
>>conftest.
$ac_ext
16268 cat >>conftest.
$ac_ext <<_ACEOF
16269 /* end confdefs.h. */
16270 $ac_includes_default
16274 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16281 rm -f conftest.
$ac_objext
16282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16283 (eval $ac_compile) 2>conftest.er1
16285 grep -v '^ *+' conftest.er1
>conftest.err
16287 cat conftest.err
>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); } &&
16290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; } &&
16296 { ac_try
='test -s conftest.$ac_objext'
16297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16298 (eval $ac_try) 2>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.
$ac_ext >&5
16307 ac_lo
=`expr '(' $ac_mid ')' + 1`
16309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16312 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16313 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16314 See \`config.log' for more details." >&5
16315 echo "$as_me: error: cannot compute sizeof (short), 77
16316 See \`config.log' for more details." >&2;}
16317 { (exit 1); exit 1; }; } ;;
16320 if test "$cross_compiling" = yes; then
16321 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16322 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16323 { (exit 1); exit 1; }; }
16325 cat >conftest.
$ac_ext <<_ACEOF
16328 cat confdefs.h
>>conftest.
$ac_ext
16329 cat >>conftest.
$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16331 $ac_includes_default
16332 long longval () { return (long) (sizeof (short)); }
16333 unsigned long ulongval () { return (long) (sizeof (short)); }
16335 #include <stdlib.h>
16340 FILE *f = fopen ("conftest.val", "w");
16343 if (((long) (sizeof (short))) < 0)
16345 long i = longval ();
16346 if (i != ((long) (sizeof (short))))
16348 fprintf (f, "%ld\n", i);
16352 unsigned long i = ulongval ();
16353 if (i != ((long) (sizeof (short))))
16355 fprintf (f, "%lu\n", i);
16357 exit (ferror (f) || fclose (f) != 0);
16363 rm -f conftest
$ac_exeext
16364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16365 (eval $ac_link) 2>&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370 (eval $ac_try) 2>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }; }; then
16374 ac_cv_sizeof_short
=`cat conftest.val`
16376 echo "$as_me: program exited with status $ac_status" >&5
16377 echo "$as_me: failed program was:" >&5
16378 sed 's/^/| /' conftest.
$ac_ext >&5
16380 ( exit $ac_status )
16381 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16382 See \`config.log' for more details." >&5
16383 echo "$as_me: error: cannot compute sizeof (short), 77
16384 See \`config.log' for more details." >&2;}
16385 { (exit 1); exit 1; }; }
16387 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16392 ac_cv_sizeof_short
=0
16395 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16396 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16397 cat >>confdefs.h
<<_ACEOF
16398 #define SIZEOF_SHORT $ac_cv_sizeof_short
16402 echo "$as_me:$LINENO: checking for void *" >&5
16403 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16404 if test "${ac_cv_type_void_p+set}" = set; then
16405 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 cat >conftest.
$ac_ext <<_ACEOF
16410 cat confdefs.h
>>conftest.
$ac_ext
16411 cat >>conftest.
$ac_ext <<_ACEOF
16412 /* end confdefs.h. */
16413 $ac_includes_default
16419 if (sizeof (void *))
16425 rm -f conftest.
$ac_objext
16426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16427 (eval $ac_compile) 2>conftest.er1
16429 grep -v '^ *+' conftest.er1
>conftest.err
16431 cat conftest.err
>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } &&
16434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16436 (eval $ac_try) 2>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); }; } &&
16440 { ac_try
='test -s conftest.$ac_objext'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 ac_cv_type_void_p
=yes
16448 echo "$as_me: failed program was:" >&5
16449 sed 's/^/| /' conftest.
$ac_ext >&5
16451 ac_cv_type_void_p
=no
16453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16455 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16456 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16458 echo "$as_me:$LINENO: checking size of void *" >&5
16459 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16460 if test "${ac_cv_sizeof_void_p+set}" = set; then
16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16463 if test "$ac_cv_type_void_p" = yes; then
16464 # The cast to unsigned long works around a bug in the HP C Compiler
16465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16467 # This bug is HP SR number 8606223364.
16468 if test "$cross_compiling" = yes; then
16469 # Depending upon the size, compute the lo and hi bounds.
16470 cat >conftest.
$ac_ext <<_ACEOF
16473 cat confdefs.h
>>conftest.
$ac_ext
16474 cat >>conftest.
$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 $ac_includes_default
16480 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16487 rm -f conftest.
$ac_objext
16488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16489 (eval $ac_compile) 2>conftest.er1
16491 grep -v '^ *+' conftest.er1
>conftest.err
16493 cat conftest.err
>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); } &&
16496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16502 { ac_try
='test -s conftest.$ac_objext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16510 cat >conftest.
$ac_ext <<_ACEOF
16513 cat confdefs.h
>>conftest.
$ac_ext
16514 cat >>conftest.
$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 $ac_includes_default
16520 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16527 rm -f conftest.
$ac_objext
16528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16529 (eval $ac_compile) 2>conftest.er1
16531 grep -v '^ *+' conftest.er1
>conftest.err
16533 cat conftest.err
>&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); } &&
16536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16538 (eval $ac_try) 2>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; } &&
16542 { ac_try
='test -s conftest.$ac_objext'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; }; then
16548 ac_hi
=$ac_mid; break
16550 echo "$as_me: failed program was:" >&5
16551 sed 's/^/| /' conftest.
$ac_ext >&5
16553 ac_lo
=`expr $ac_mid + 1`
16554 if test $ac_lo -le $ac_mid; then
16558 ac_mid
=`expr 2 '*' $ac_mid + 1`
16560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.
$ac_ext >&5
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 *))) < 0)];
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
16606 cat >conftest.
$ac_ext <<_ACEOF
16609 cat confdefs.h
>>conftest.
$ac_ext
16610 cat >>conftest.
$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16612 $ac_includes_default
16616 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16623 rm -f conftest.
$ac_objext
16624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16625 (eval $ac_compile) 2>conftest.er1
16627 grep -v '^ *+' conftest.er1
>conftest.err
16629 cat conftest.err
>&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); } &&
16632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634 (eval $ac_try) 2>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; } &&
16638 { ac_try
='test -s conftest.$ac_objext'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; }; then
16644 ac_lo
=$ac_mid; break
16646 echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.
$ac_ext >&5
16649 ac_hi
=`expr '(' $ac_mid ')' - 1`
16650 if test $ac_mid -le $ac_hi; then
16654 ac_mid
=`expr 2 '*' $ac_mid`
16656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.
$ac_ext >&5
16664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16667 # Binary search between lo and hi bounds.
16668 while test "x$ac_lo" != "x$ac_hi"; do
16669 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16670 cat >conftest.
$ac_ext <<_ACEOF
16673 cat confdefs.h
>>conftest.
$ac_ext
16674 cat >>conftest.
$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 $ac_includes_default
16680 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16687 rm -f conftest.
$ac_objext
16688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16689 (eval $ac_compile) 2>conftest.er1
16691 grep -v '^ *+' conftest.er1
>conftest.err
16693 cat conftest.err
>&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } &&
16696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16698 (eval $ac_try) 2>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); }; } &&
16702 { ac_try
='test -s conftest.$ac_objext'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; }; then
16710 echo "$as_me: failed program was:" >&5
16711 sed 's/^/| /' conftest.
$ac_ext >&5
16713 ac_lo
=`expr '(' $ac_mid ')' + 1`
16715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16718 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16720 See \`config.log' for more details." >&5
16721 echo "$as_me: error: cannot compute sizeof (void *), 77
16722 See \`config.log' for more details." >&2;}
16723 { (exit 1); exit 1; }; } ;;
16726 if test "$cross_compiling" = yes; then
16727 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16728 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16729 { (exit 1); exit 1; }; }
16731 cat >conftest.
$ac_ext <<_ACEOF
16734 cat confdefs.h
>>conftest.
$ac_ext
16735 cat >>conftest.
$ac_ext <<_ACEOF
16736 /* end confdefs.h. */
16737 $ac_includes_default
16738 long longval () { return (long) (sizeof (void *)); }
16739 unsigned long ulongval () { return (long) (sizeof (void *)); }
16741 #include <stdlib.h>
16746 FILE *f = fopen ("conftest.val", "w");
16749 if (((long) (sizeof (void *))) < 0)
16751 long i = longval ();
16752 if (i != ((long) (sizeof (void *))))
16754 fprintf (f, "%ld\n", i);
16758 unsigned long i = ulongval ();
16759 if (i != ((long) (sizeof (void *))))
16761 fprintf (f, "%lu\n", i);
16763 exit (ferror (f) || fclose (f) != 0);
16769 rm -f conftest
$ac_exeext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16771 (eval $ac_link) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_cv_sizeof_void_p
=`cat conftest.val`
16782 echo "$as_me: program exited with status $ac_status" >&5
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 ( exit $ac_status )
16787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16788 See \`config.log' for more details." >&5
16789 echo "$as_me: error: cannot compute sizeof (void *), 77
16790 See \`config.log' for more details." >&2;}
16791 { (exit 1); exit 1; }; }
16793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16798 ac_cv_sizeof_void_p
=0
16801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16802 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16803 cat >>confdefs.h
<<_ACEOF
16804 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16808 echo "$as_me:$LINENO: checking for int" >&5
16809 echo $ECHO_N "checking for int... $ECHO_C" >&6
16810 if test "${ac_cv_type_int+set}" = set; then
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 cat >conftest.
$ac_ext <<_ACEOF
16816 cat confdefs.h
>>conftest.
$ac_ext
16817 cat >>conftest.
$ac_ext <<_ACEOF
16818 /* end confdefs.h. */
16819 $ac_includes_default
16831 rm -f conftest.
$ac_objext
16832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16833 (eval $ac_compile) 2>conftest.er1
16835 grep -v '^ *+' conftest.er1
>conftest.err
16837 cat conftest.err
>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); } &&
16840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842 (eval $ac_try) 2>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; } &&
16846 { ac_try
='test -s conftest.$ac_objext'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; }; then
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.
$ac_ext >&5
16859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16861 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16862 echo "${ECHO_T}$ac_cv_type_int" >&6
16864 echo "$as_me:$LINENO: checking size of int" >&5
16865 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16866 if test "${ac_cv_sizeof_int+set}" = set; then
16867 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 if test "$ac_cv_type_int" = yes; then
16870 # The cast to unsigned long works around a bug in the HP C Compiler
16871 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16873 # This bug is HP SR number 8606223364.
16874 if test "$cross_compiling" = yes; then
16875 # Depending upon the size, compute the lo and hi bounds.
16876 cat >conftest.
$ac_ext <<_ACEOF
16879 cat confdefs.h
>>conftest.
$ac_ext
16880 cat >>conftest.
$ac_ext <<_ACEOF
16881 /* end confdefs.h. */
16882 $ac_includes_default
16886 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16893 rm -f conftest.
$ac_objext
16894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 (eval $ac_compile) 2>conftest.er1
16897 grep -v '^ *+' conftest.er1
>conftest.err
16899 cat conftest.err
>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } &&
16902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16908 { ac_try
='test -s conftest.$ac_objext'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; }; then
16916 cat >conftest.
$ac_ext <<_ACEOF
16919 cat confdefs.h
>>conftest.
$ac_ext
16920 cat >>conftest.
$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16922 $ac_includes_default
16926 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16933 rm -f conftest.
$ac_objext
16934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16935 (eval $ac_compile) 2>conftest.er1
16937 grep -v '^ *+' conftest.er1
>conftest.err
16939 cat conftest.err
>&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } &&
16942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try
='test -s conftest.$ac_objext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16954 ac_hi
=$ac_mid; break
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.
$ac_ext >&5
16959 ac_lo
=`expr $ac_mid + 1`
16960 if test $ac_lo -le $ac_mid; then
16964 ac_mid
=`expr 2 '*' $ac_mid + 1`
16966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
17012 cat >conftest.
$ac_ext <<_ACEOF
17015 cat confdefs.h
>>conftest.
$ac_ext
17016 cat >>conftest.
$ac_ext <<_ACEOF
17017 /* end confdefs.h. */
17018 $ac_includes_default
17022 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17029 rm -f conftest.
$ac_objext
17030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17031 (eval $ac_compile) 2>conftest.er1
17033 grep -v '^ *+' conftest.er1
>conftest.err
17035 cat conftest.err
>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } &&
17038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; } &&
17044 { ac_try
='test -s conftest.$ac_objext'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; }; then
17050 ac_lo
=$ac_mid; break
17052 echo "$as_me: failed program was:" >&5
17053 sed 's/^/| /' conftest.
$ac_ext >&5
17055 ac_hi
=`expr '(' $ac_mid ')' - 1`
17056 if test $ac_mid -le $ac_hi; then
17060 ac_mid
=`expr 2 '*' $ac_mid`
17062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.
$ac_ext >&5
17070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17073 # Binary search between lo and hi bounds.
17074 while test "x$ac_lo" != "x$ac_hi"; do
17075 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17076 cat >conftest.
$ac_ext <<_ACEOF
17079 cat confdefs.h
>>conftest.
$ac_ext
17080 cat >>conftest.
$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082 $ac_includes_default
17086 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17093 rm -f conftest.
$ac_objext
17094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17095 (eval $ac_compile) 2>conftest.er1
17097 grep -v '^ *+' conftest.er1
>conftest.err
17099 cat conftest.err
>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } &&
17102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; } &&
17108 { ac_try
='test -s conftest.$ac_objext'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; }; then
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.
$ac_ext >&5
17119 ac_lo
=`expr '(' $ac_mid ')' + 1`
17121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17124 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17125 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17126 See \`config.log' for more details." >&5
17127 echo "$as_me: error: cannot compute sizeof (int), 77
17128 See \`config.log' for more details." >&2;}
17129 { (exit 1); exit 1; }; } ;;
17132 if test "$cross_compiling" = yes; then
17133 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17134 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17135 { (exit 1); exit 1; }; }
17137 cat >conftest.
$ac_ext <<_ACEOF
17140 cat confdefs.h
>>conftest.
$ac_ext
17141 cat >>conftest.
$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17143 $ac_includes_default
17144 long longval () { return (long) (sizeof (int)); }
17145 unsigned long ulongval () { return (long) (sizeof (int)); }
17147 #include <stdlib.h>
17152 FILE *f = fopen ("conftest.val", "w");
17155 if (((long) (sizeof (int))) < 0)
17157 long i = longval ();
17158 if (i != ((long) (sizeof (int))))
17160 fprintf (f, "%ld\n", i);
17164 unsigned long i = ulongval ();
17165 if (i != ((long) (sizeof (int))))
17167 fprintf (f, "%lu\n", i);
17169 exit (ferror (f) || fclose (f) != 0);
17175 rm -f conftest
$ac_exeext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17177 (eval $ac_link) 2>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17182 (eval $ac_try) 2>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; }; then
17186 ac_cv_sizeof_int
=`cat conftest.val`
17188 echo "$as_me: program exited with status $ac_status" >&5
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.
$ac_ext >&5
17192 ( exit $ac_status )
17193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17194 See \`config.log' for more details." >&5
17195 echo "$as_me: error: cannot compute sizeof (int), 77
17196 See \`config.log' for more details." >&2;}
17197 { (exit 1); exit 1; }; }
17199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17208 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17209 cat >>confdefs.h
<<_ACEOF
17210 #define SIZEOF_INT $ac_cv_sizeof_int
17214 echo "$as_me:$LINENO: checking for long" >&5
17215 echo $ECHO_N "checking for long... $ECHO_C" >&6
17216 if test "${ac_cv_type_long+set}" = set; then
17217 echo $ECHO_N "(cached) $ECHO_C" >&6
17219 cat >conftest.
$ac_ext <<_ACEOF
17222 cat confdefs.h
>>conftest.
$ac_ext
17223 cat >>conftest.
$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225 $ac_includes_default
17237 rm -f conftest.
$ac_objext
17238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17239 (eval $ac_compile) 2>conftest.er1
17241 grep -v '^ *+' conftest.er1
>conftest.err
17243 cat conftest.err
>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); } &&
17246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; } &&
17252 { ac_try
='test -s conftest.$ac_objext'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; }; then
17258 ac_cv_type_long
=yes
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.
$ac_ext >&5
17265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17267 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17268 echo "${ECHO_T}$ac_cv_type_long" >&6
17270 echo "$as_me:$LINENO: checking size of long" >&5
17271 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17272 if test "${ac_cv_sizeof_long+set}" = set; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17275 if test "$ac_cv_type_long" = yes; then
17276 # The cast to unsigned long works around a bug in the HP C Compiler
17277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17279 # This bug is HP SR number 8606223364.
17280 if test "$cross_compiling" = yes; then
17281 # Depending upon the size, compute the lo and hi bounds.
17282 cat >conftest.
$ac_ext <<_ACEOF
17285 cat confdefs.h
>>conftest.
$ac_ext
17286 cat >>conftest.
$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288 $ac_includes_default
17292 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17299 rm -f conftest.
$ac_objext
17300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17301 (eval $ac_compile) 2>conftest.er1
17303 grep -v '^ *+' conftest.er1
>conftest.err
17305 cat conftest.err
>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); } &&
17308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17314 { ac_try
='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17322 cat >conftest.
$ac_ext <<_ACEOF
17325 cat confdefs.h
>>conftest.
$ac_ext
17326 cat >>conftest.
$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17328 $ac_includes_default
17332 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17339 rm -f conftest.
$ac_objext
17340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17341 (eval $ac_compile) 2>conftest.er1
17343 grep -v '^ *+' conftest.er1
>conftest.err
17345 cat conftest.err
>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } &&
17348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try
='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_hi
=$ac_mid; break
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.
$ac_ext >&5
17365 ac_lo
=`expr $ac_mid + 1`
17366 if test $ac_lo -le $ac_mid; then
17370 ac_mid
=`expr 2 '*' $ac_mid + 1`
17372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
17418 cat >conftest.
$ac_ext <<_ACEOF
17421 cat confdefs.h
>>conftest.
$ac_ext
17422 cat >>conftest.
$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424 $ac_includes_default
17428 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17435 rm -f conftest.
$ac_objext
17436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17437 (eval $ac_compile) 2>conftest.er1
17439 grep -v '^ *+' conftest.er1
>conftest.err
17441 cat conftest.err
>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } &&
17444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; } &&
17450 { ac_try
='test -s conftest.$ac_objext'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; }; then
17456 ac_lo
=$ac_mid; break
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.
$ac_ext >&5
17461 ac_hi
=`expr '(' $ac_mid ')' - 1`
17462 if test $ac_mid -le $ac_hi; then
17466 ac_mid
=`expr 2 '*' $ac_mid`
17468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.
$ac_ext >&5
17476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17479 # Binary search between lo and hi bounds.
17480 while test "x$ac_lo" != "x$ac_hi"; do
17481 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17482 cat >conftest.
$ac_ext <<_ACEOF
17485 cat confdefs.h
>>conftest.
$ac_ext
17486 cat >>conftest.
$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488 $ac_includes_default
17492 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17499 rm -f conftest.
$ac_objext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17501 (eval $ac_compile) 2>conftest.er1
17503 grep -v '^ *+' conftest.er1
>conftest.err
17505 cat conftest.err
>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; } &&
17514 { ac_try
='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17525 ac_lo
=`expr '(' $ac_mid ')' + 1`
17527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17530 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17531 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17532 See \`config.log' for more details." >&5
17533 echo "$as_me: error: cannot compute sizeof (long), 77
17534 See \`config.log' for more details." >&2;}
17535 { (exit 1); exit 1; }; } ;;
17538 if test "$cross_compiling" = yes; then
17539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17540 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17541 { (exit 1); exit 1; }; }
17543 cat >conftest.
$ac_ext <<_ACEOF
17546 cat confdefs.h
>>conftest.
$ac_ext
17547 cat >>conftest.
$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549 $ac_includes_default
17550 long longval () { return (long) (sizeof (long)); }
17551 unsigned long ulongval () { return (long) (sizeof (long)); }
17553 #include <stdlib.h>
17558 FILE *f = fopen ("conftest.val", "w");
17561 if (((long) (sizeof (long))) < 0)
17563 long i = longval ();
17564 if (i != ((long) (sizeof (long))))
17566 fprintf (f, "%ld\n", i);
17570 unsigned long i = ulongval ();
17571 if (i != ((long) (sizeof (long))))
17573 fprintf (f, "%lu\n", i);
17575 exit (ferror (f) || fclose (f) != 0);
17581 rm -f conftest
$ac_exeext
17582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17583 (eval $ac_link) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592 ac_cv_sizeof_long
=`cat conftest.val`
17594 echo "$as_me: program exited with status $ac_status" >&5
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.
$ac_ext >&5
17598 ( exit $ac_status )
17599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17600 See \`config.log' for more details." >&5
17601 echo "$as_me: error: cannot compute sizeof (long), 77
17602 See \`config.log' for more details." >&2;}
17603 { (exit 1); exit 1; }; }
17605 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17610 ac_cv_sizeof_long
=0
17613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17614 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17615 cat >>confdefs.h
<<_ACEOF
17616 #define SIZEOF_LONG $ac_cv_sizeof_long
17620 echo "$as_me:$LINENO: checking for size_t" >&5
17621 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17622 if test "${ac_cv_type_size_t+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 cat >conftest.
$ac_ext <<_ACEOF
17628 cat confdefs.h
>>conftest.
$ac_ext
17629 cat >>conftest.
$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 $ac_includes_default
17637 if (sizeof (size_t))
17643 rm -f conftest.
$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17647 grep -v '^ *+' conftest.er1
>conftest.err
17649 cat conftest.err
>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try
='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_cv_type_size_t
=yes
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.
$ac_ext >&5
17669 ac_cv_type_size_t
=no
17671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17673 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17674 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17676 echo "$as_me:$LINENO: checking size of size_t" >&5
17677 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17678 if test "${ac_cv_sizeof_size_t+set}" = set; then
17679 echo $ECHO_N "(cached) $ECHO_C" >&6
17681 if test "$ac_cv_type_size_t" = yes; then
17682 # The cast to unsigned long works around a bug in the HP C Compiler
17683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17685 # This bug is HP SR number 8606223364.
17686 if test "$cross_compiling" = yes; then
17687 # Depending upon the size, compute the lo and hi bounds.
17688 cat >conftest.
$ac_ext <<_ACEOF
17691 cat confdefs.h
>>conftest.
$ac_ext
17692 cat >>conftest.
$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 $ac_includes_default
17698 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17705 rm -f conftest.
$ac_objext
17706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17707 (eval $ac_compile) 2>conftest.er1
17709 grep -v '^ *+' conftest.er1
>conftest.err
17711 cat conftest.err
>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } &&
17714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17720 { ac_try
='test -s conftest.$ac_objext'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then
17728 cat >conftest.
$ac_ext <<_ACEOF
17731 cat confdefs.h
>>conftest.
$ac_ext
17732 cat >>conftest.
$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17734 $ac_includes_default
17738 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17745 rm -f conftest.
$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17749 grep -v '^ *+' conftest.er1
>conftest.err
17751 cat conftest.err
>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try
='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 ac_hi
=$ac_mid; break
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.
$ac_ext >&5
17771 ac_lo
=`expr $ac_mid + 1`
17772 if test $ac_lo -le $ac_mid; then
17776 ac_mid
=`expr 2 '*' $ac_mid + 1`
17778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
17824 cat >conftest.
$ac_ext <<_ACEOF
17827 cat confdefs.h
>>conftest.
$ac_ext
17828 cat >>conftest.
$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 $ac_includes_default
17834 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17841 rm -f conftest.
$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>conftest.er1
17845 grep -v '^ *+' conftest.er1
>conftest.err
17847 cat conftest.err
>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; } &&
17856 { ac_try
='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 ac_lo
=$ac_mid; break
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.
$ac_ext >&5
17867 ac_hi
=`expr '(' $ac_mid ')' - 1`
17868 if test $ac_mid -le $ac_hi; then
17872 ac_mid
=`expr 2 '*' $ac_mid`
17874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.
$ac_ext >&5
17882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17885 # Binary search between lo and hi bounds.
17886 while test "x$ac_lo" != "x$ac_hi"; do
17887 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17888 cat >conftest.
$ac_ext <<_ACEOF
17891 cat confdefs.h
>>conftest.
$ac_ext
17892 cat >>conftest.
$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894 $ac_includes_default
17898 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17905 rm -f conftest.
$ac_objext
17906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17907 (eval $ac_compile) 2>conftest.er1
17909 grep -v '^ *+' conftest.er1
>conftest.err
17911 cat conftest.err
>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); } &&
17914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; } &&
17920 { ac_try
='test -s conftest.$ac_objext'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; }; then
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.
$ac_ext >&5
17931 ac_lo
=`expr '(' $ac_mid ')' + 1`
17933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17936 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17938 See \`config.log' for more details." >&5
17939 echo "$as_me: error: cannot compute sizeof (size_t), 77
17940 See \`config.log' for more details." >&2;}
17941 { (exit 1); exit 1; }; } ;;
17944 if test "$cross_compiling" = yes; then
17945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17947 { (exit 1); exit 1; }; }
17949 cat >conftest.
$ac_ext <<_ACEOF
17952 cat confdefs.h
>>conftest.
$ac_ext
17953 cat >>conftest.
$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 $ac_includes_default
17956 long longval () { return (long) (sizeof (size_t)); }
17957 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17959 #include <stdlib.h>
17964 FILE *f = fopen ("conftest.val", "w");
17967 if (((long) (sizeof (size_t))) < 0)
17969 long i = longval ();
17970 if (i != ((long) (sizeof (size_t))))
17972 fprintf (f, "%ld\n", i);
17976 unsigned long i = ulongval ();
17977 if (i != ((long) (sizeof (size_t))))
17979 fprintf (f, "%lu\n", i);
17981 exit (ferror (f) || fclose (f) != 0);
17987 rm -f conftest
$ac_exeext
17988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17989 (eval $ac_link) 2>&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17994 (eval $ac_try) 2>&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); }; }; then
17998 ac_cv_sizeof_size_t
=`cat conftest.val`
18000 echo "$as_me: program exited with status $ac_status" >&5
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.
$ac_ext >&5
18004 ( exit $ac_status )
18005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18006 See \`config.log' for more details." >&5
18007 echo "$as_me: error: cannot compute sizeof (size_t), 77
18008 See \`config.log' for more details." >&2;}
18009 { (exit 1); exit 1; }; }
18011 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18016 ac_cv_sizeof_size_t
=0
18019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18020 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18021 cat >>confdefs.h
<<_ACEOF
18022 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18029 echo "$as_me:$LINENO: checking for long long" >&5
18030 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18031 if test "${ac_cv_type_long_long+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18034 cat >conftest.
$ac_ext <<_ACEOF
18037 cat confdefs.h
>>conftest.
$ac_ext
18038 cat >>conftest.
$ac_ext <<_ACEOF
18039 /* end confdefs.h. */
18040 $ac_includes_default
18044 if ((long long *) 0)
18046 if (sizeof (long long))
18052 rm -f conftest.
$ac_objext
18053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18054 (eval $ac_compile) 2>conftest.er1
18056 grep -v '^ *+' conftest.er1
>conftest.err
18058 cat conftest.err
>&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); } &&
18061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try
='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18073 ac_cv_type_long_long
=yes
18075 echo "$as_me: failed program was:" >&5
18076 sed 's/^/| /' conftest.
$ac_ext >&5
18078 ac_cv_type_long_long
=no
18080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18082 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18083 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18085 echo "$as_me:$LINENO: checking size of long long" >&5
18086 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18087 if test "${ac_cv_sizeof_long_long+set}" = set; then
18088 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 if test "$ac_cv_type_long_long" = yes; then
18091 # The cast to unsigned long works around a bug in the HP C Compiler
18092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18094 # This bug is HP SR number 8606223364.
18095 if test "$cross_compiling" = yes; then
18096 # Depending upon the size, compute the lo and hi bounds.
18097 cat >conftest.
$ac_ext <<_ACEOF
18100 cat confdefs.h
>>conftest.
$ac_ext
18101 cat >>conftest.
$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 $ac_includes_default
18107 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18114 rm -f conftest.
$ac_objext
18115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>conftest.er1
18118 grep -v '^ *+' conftest.er1
>conftest.err
18120 cat conftest.err
>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } &&
18123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18129 { ac_try
='test -s conftest.$ac_objext'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; }; then
18137 cat >conftest.
$ac_ext <<_ACEOF
18140 cat confdefs.h
>>conftest.
$ac_ext
18141 cat >>conftest.
$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18143 $ac_includes_default
18147 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18154 rm -f conftest.
$ac_objext
18155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18156 (eval $ac_compile) 2>conftest.er1
18158 grep -v '^ *+' conftest.er1
>conftest.err
18160 cat conftest.err
>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); } &&
18163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; } &&
18169 { ac_try
='test -s conftest.$ac_objext'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; }; then
18175 ac_hi
=$ac_mid; break
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.
$ac_ext >&5
18180 ac_lo
=`expr $ac_mid + 1`
18181 if test $ac_lo -le $ac_mid; then
18185 ac_mid
=`expr 2 '*' $ac_mid + 1`
18187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
18233 cat >conftest.
$ac_ext <<_ACEOF
18236 cat confdefs.h
>>conftest.
$ac_ext
18237 cat >>conftest.
$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 $ac_includes_default
18243 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18250 rm -f conftest.
$ac_objext
18251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18252 (eval $ac_compile) 2>conftest.er1
18254 grep -v '^ *+' conftest.er1
>conftest.err
18256 cat conftest.err
>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } &&
18259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18261 (eval $ac_try) 2>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); }; } &&
18265 { ac_try
='test -s conftest.$ac_objext'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; }; then
18271 ac_lo
=$ac_mid; break
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 ac_hi
=`expr '(' $ac_mid ')' - 1`
18277 if test $ac_mid -le $ac_hi; then
18281 ac_mid
=`expr 2 '*' $ac_mid`
18283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.
$ac_ext >&5
18291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18294 # Binary search between lo and hi bounds.
18295 while test "x$ac_lo" != "x$ac_hi"; do
18296 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18297 cat >conftest.
$ac_ext <<_ACEOF
18300 cat confdefs.h
>>conftest.
$ac_ext
18301 cat >>conftest.
$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18303 $ac_includes_default
18307 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18314 rm -f conftest.
$ac_objext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18316 (eval $ac_compile) 2>conftest.er1
18318 grep -v '^ *+' conftest.er1
>conftest.err
18320 cat conftest.err
>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } &&
18323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; } &&
18329 { ac_try
='test -s conftest.$ac_objext'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; }; then
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 ac_lo
=`expr '(' $ac_mid ')' + 1`
18342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18345 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18346 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18347 See \`config.log' for more details." >&5
18348 echo "$as_me: error: cannot compute sizeof (long long), 77
18349 See \`config.log' for more details." >&2;}
18350 { (exit 1); exit 1; }; } ;;
18353 if test "$cross_compiling" = yes; then
18354 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18355 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18356 { (exit 1); exit 1; }; }
18358 cat >conftest.
$ac_ext <<_ACEOF
18361 cat confdefs.h
>>conftest.
$ac_ext
18362 cat >>conftest.
$ac_ext <<_ACEOF
18363 /* end confdefs.h. */
18364 $ac_includes_default
18365 long longval () { return (long) (sizeof (long long)); }
18366 unsigned long ulongval () { return (long) (sizeof (long long)); }
18368 #include <stdlib.h>
18373 FILE *f = fopen ("conftest.val", "w");
18376 if (((long) (sizeof (long long))) < 0)
18378 long i = longval ();
18379 if (i != ((long) (sizeof (long long))))
18381 fprintf (f, "%ld\n", i);
18385 unsigned long i = ulongval ();
18386 if (i != ((long) (sizeof (long long))))
18388 fprintf (f, "%lu\n", i);
18390 exit (ferror (f) || fclose (f) != 0);
18396 rm -f conftest
$ac_exeext
18397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18398 (eval $ac_link) 2>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403 (eval $ac_try) 2>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); }; }; then
18407 ac_cv_sizeof_long_long
=`cat conftest.val`
18409 echo "$as_me: program exited with status $ac_status" >&5
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.
$ac_ext >&5
18413 ( exit $ac_status )
18414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18415 See \`config.log' for more details." >&5
18416 echo "$as_me: error: cannot compute sizeof (long long), 77
18417 See \`config.log' for more details." >&2;}
18418 { (exit 1); exit 1; }; }
18420 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18425 ac_cv_sizeof_long_long
=0
18428 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18429 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18430 cat >>confdefs.h
<<_ACEOF
18431 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18437 echo "$as_me:$LINENO: checking for long long" >&5
18438 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18439 if test "${ac_cv_type_long_long+set}" = set; then
18440 echo $ECHO_N "(cached) $ECHO_C" >&6
18442 cat >conftest.
$ac_ext <<_ACEOF
18445 cat confdefs.h
>>conftest.
$ac_ext
18446 cat >>conftest.
$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 $ac_includes_default
18452 if ((long long *) 0)
18454 if (sizeof (long long))
18460 rm -f conftest.
$ac_objext
18461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18462 (eval $ac_compile) 2>conftest.er1
18464 grep -v '^ *+' conftest.er1
>conftest.err
18466 cat conftest.err
>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } &&
18469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; } &&
18475 { ac_try
='test -s conftest.$ac_objext'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; }; then
18481 ac_cv_type_long_long
=yes
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.
$ac_ext >&5
18486 ac_cv_type_long_long
=no
18488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18490 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18491 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18493 echo "$as_me:$LINENO: checking size of long long" >&5
18494 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18495 if test "${ac_cv_sizeof_long_long+set}" = set; then
18496 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 if test "$ac_cv_type_long_long" = yes; then
18499 # The cast to unsigned long works around a bug in the HP C Compiler
18500 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18501 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18502 # This bug is HP SR number 8606223364.
18503 if test "$cross_compiling" = yes; then
18504 # Depending upon the size, compute the lo and hi bounds.
18505 cat >conftest.
$ac_ext <<_ACEOF
18508 cat confdefs.h
>>conftest.
$ac_ext
18509 cat >>conftest.
$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 $ac_includes_default
18515 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18522 rm -f conftest.
$ac_objext
18523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18524 (eval $ac_compile) 2>conftest.er1
18526 grep -v '^ *+' conftest.er1
>conftest.err
18528 cat conftest.err
>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); } &&
18531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18537 { ac_try
='test -s conftest.$ac_objext'
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; }; then
18545 cat >conftest.
$ac_ext <<_ACEOF
18548 cat confdefs.h
>>conftest.
$ac_ext
18549 cat >>conftest.
$ac_ext <<_ACEOF
18550 /* end confdefs.h. */
18551 $ac_includes_default
18555 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18562 rm -f conftest.
$ac_objext
18563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18564 (eval $ac_compile) 2>conftest.er1
18566 grep -v '^ *+' conftest.er1
>conftest.err
18568 cat conftest.err
>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } &&
18571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; } &&
18577 { ac_try
='test -s conftest.$ac_objext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 ac_hi
=$ac_mid; break
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.
$ac_ext >&5
18588 ac_lo
=`expr $ac_mid + 1`
18589 if test $ac_lo -le $ac_mid; then
18593 ac_mid
=`expr 2 '*' $ac_mid + 1`
18595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
18641 cat >conftest.
$ac_ext <<_ACEOF
18644 cat confdefs.h
>>conftest.
$ac_ext
18645 cat >>conftest.
$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 $ac_includes_default
18651 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18658 rm -f conftest.
$ac_objext
18659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18660 (eval $ac_compile) 2>conftest.er1
18662 grep -v '^ *+' conftest.er1
>conftest.err
18664 cat conftest.err
>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } &&
18667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; } &&
18673 { ac_try
='test -s conftest.$ac_objext'
18674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18675 (eval $ac_try) 2>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); }; }; then
18679 ac_lo
=$ac_mid; break
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.
$ac_ext >&5
18684 ac_hi
=`expr '(' $ac_mid ')' - 1`
18685 if test $ac_mid -le $ac_hi; then
18689 ac_mid
=`expr 2 '*' $ac_mid`
18691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.
$ac_ext >&5
18699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18702 # Binary search between lo and hi bounds.
18703 while test "x$ac_lo" != "x$ac_hi"; do
18704 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18705 cat >conftest.
$ac_ext <<_ACEOF
18708 cat confdefs.h
>>conftest.
$ac_ext
18709 cat >>conftest.
$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18711 $ac_includes_default
18715 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18722 rm -f conftest.
$ac_objext
18723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18724 (eval $ac_compile) 2>conftest.er1
18726 grep -v '^ *+' conftest.er1
>conftest.err
18728 cat conftest.err
>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } &&
18731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; } &&
18737 { ac_try
='test -s conftest.$ac_objext'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; }; then
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.
$ac_ext >&5
18748 ac_lo
=`expr '(' $ac_mid ')' + 1`
18750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18753 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18754 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18755 See \`config.log' for more details." >&5
18756 echo "$as_me: error: cannot compute sizeof (long long), 77
18757 See \`config.log' for more details." >&2;}
18758 { (exit 1); exit 1; }; } ;;
18761 if test "$cross_compiling" = yes; then
18762 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18763 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18764 { (exit 1); exit 1; }; }
18766 cat >conftest.
$ac_ext <<_ACEOF
18769 cat confdefs.h
>>conftest.
$ac_ext
18770 cat >>conftest.
$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 $ac_includes_default
18773 long longval () { return (long) (sizeof (long long)); }
18774 unsigned long ulongval () { return (long) (sizeof (long long)); }
18776 #include <stdlib.h>
18781 FILE *f = fopen ("conftest.val", "w");
18784 if (((long) (sizeof (long long))) < 0)
18786 long i = longval ();
18787 if (i != ((long) (sizeof (long long))))
18789 fprintf (f, "%ld\n", i);
18793 unsigned long i = ulongval ();
18794 if (i != ((long) (sizeof (long long))))
18796 fprintf (f, "%lu\n", i);
18798 exit (ferror (f) || fclose (f) != 0);
18804 rm -f conftest
$ac_exeext
18805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18806 (eval $ac_link) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; }; then
18815 ac_cv_sizeof_long_long
=`cat conftest.val`
18817 echo "$as_me: program exited with status $ac_status" >&5
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.
$ac_ext >&5
18821 ( exit $ac_status )
18822 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18823 See \`config.log' for more details." >&5
18824 echo "$as_me: error: cannot compute sizeof (long long), 77
18825 See \`config.log' for more details." >&2;}
18826 { (exit 1); exit 1; }; }
18828 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18833 ac_cv_sizeof_long_long
=0
18836 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18837 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18838 cat >>confdefs.h
<<_ACEOF
18839 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18843 if test "$ac_cv_sizeof_long_long" != "0"; then
18844 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18848 echo "$as_me:$LINENO: checking for long long" >&5
18849 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18850 if test "${ac_cv_type_long_long+set}" = set; then
18851 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 cat >conftest.
$ac_ext <<_ACEOF
18856 cat confdefs.h
>>conftest.
$ac_ext
18857 cat >>conftest.
$ac_ext <<_ACEOF
18858 /* end confdefs.h. */
18859 $ac_includes_default
18863 if ((long long *) 0)
18865 if (sizeof (long long))
18871 rm -f conftest.
$ac_objext
18872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18873 (eval $ac_compile) 2>conftest.er1
18875 grep -v '^ *+' conftest.er1
>conftest.err
18877 cat conftest.err
>&5
18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879 (exit $ac_status); } &&
18880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18882 (eval $ac_try) 2>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); }; } &&
18886 { ac_try
='test -s conftest.$ac_objext'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; }; then
18892 ac_cv_type_long_long
=yes
18894 echo "$as_me: failed program was:" >&5
18895 sed 's/^/| /' conftest.
$ac_ext >&5
18897 ac_cv_type_long_long
=no
18899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18901 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18902 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18904 echo "$as_me:$LINENO: checking size of long long" >&5
18905 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18906 if test "${ac_cv_sizeof_long_long+set}" = set; then
18907 echo $ECHO_N "(cached) $ECHO_C" >&6
18909 if test "$ac_cv_type_long_long" = yes; then
18910 # The cast to unsigned long works around a bug in the HP C Compiler
18911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18913 # This bug is HP SR number 8606223364.
18914 if test "$cross_compiling" = yes; then
18915 # Depending upon the size, compute the lo and hi bounds.
18916 cat >conftest.
$ac_ext <<_ACEOF
18919 cat confdefs.h
>>conftest.
$ac_ext
18920 cat >>conftest.
$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18922 $ac_includes_default
18926 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18933 rm -f conftest.
$ac_objext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18935 (eval $ac_compile) 2>conftest.er1
18937 grep -v '^ *+' conftest.er1
>conftest.err
18939 cat conftest.err
>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); } &&
18942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; } &&
18948 { ac_try
='test -s conftest.$ac_objext'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; }; then
18956 cat >conftest.
$ac_ext <<_ACEOF
18959 cat confdefs.h
>>conftest.
$ac_ext
18960 cat >>conftest.
$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 $ac_includes_default
18966 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18973 rm -f conftest.
$ac_objext
18974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18975 (eval $ac_compile) 2>conftest.er1
18977 grep -v '^ *+' conftest.er1
>conftest.err
18979 cat conftest.err
>&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); } &&
18982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18984 (eval $ac_try) 2>&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); }; } &&
18988 { ac_try
='test -s conftest.$ac_objext'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; }; then
18994 ac_hi
=$ac_mid; break
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.
$ac_ext >&5
18999 ac_lo
=`expr $ac_mid + 1`
19000 if test $ac_lo -le $ac_mid; then
19004 ac_mid
=`expr 2 '*' $ac_mid + 1`
19006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
19052 cat >conftest.
$ac_ext <<_ACEOF
19055 cat confdefs.h
>>conftest.
$ac_ext
19056 cat >>conftest.
$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19058 $ac_includes_default
19062 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19069 rm -f conftest.
$ac_objext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19071 (eval $ac_compile) 2>conftest.er1
19073 grep -v '^ *+' conftest.er1
>conftest.err
19075 cat conftest.err
>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } &&
19078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; } &&
19084 { ac_try
='test -s conftest.$ac_objext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19090 ac_lo
=$ac_mid; break
19092 echo "$as_me: failed program was:" >&5
19093 sed 's/^/| /' conftest.
$ac_ext >&5
19095 ac_hi
=`expr '(' $ac_mid ')' - 1`
19096 if test $ac_mid -le $ac_hi; then
19100 ac_mid
=`expr 2 '*' $ac_mid`
19102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.
$ac_ext >&5
19110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19113 # Binary search between lo and hi bounds.
19114 while test "x$ac_lo" != "x$ac_hi"; do
19115 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19116 cat >conftest.
$ac_ext <<_ACEOF
19119 cat confdefs.h
>>conftest.
$ac_ext
19120 cat >>conftest.
$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 $ac_includes_default
19126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19133 rm -f conftest.
$ac_objext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19135 (eval $ac_compile) 2>conftest.er1
19137 grep -v '^ *+' conftest.er1
>conftest.err
19139 cat conftest.err
>&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; } &&
19148 { ac_try
='test -s conftest.$ac_objext'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; }; then
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.
$ac_ext >&5
19159 ac_lo
=`expr '(' $ac_mid ')' + 1`
19161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19164 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19165 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19166 See \`config.log' for more details." >&5
19167 echo "$as_me: error: cannot compute sizeof (long long), 77
19168 See \`config.log' for more details." >&2;}
19169 { (exit 1); exit 1; }; } ;;
19172 if test "$cross_compiling" = yes; then
19173 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19174 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19175 { (exit 1); exit 1; }; }
19177 cat >conftest.
$ac_ext <<_ACEOF
19180 cat confdefs.h
>>conftest.
$ac_ext
19181 cat >>conftest.
$ac_ext <<_ACEOF
19182 /* end confdefs.h. */
19183 $ac_includes_default
19184 long longval () { return (long) (sizeof (long long)); }
19185 unsigned long ulongval () { return (long) (sizeof (long long)); }
19187 #include <stdlib.h>
19192 FILE *f = fopen ("conftest.val", "w");
19195 if (((long) (sizeof (long long))) < 0)
19197 long i = longval ();
19198 if (i != ((long) (sizeof (long long))))
19200 fprintf (f, "%ld\n", i);
19204 unsigned long i = ulongval ();
19205 if (i != ((long) (sizeof (long long))))
19207 fprintf (f, "%lu\n", i);
19209 exit (ferror (f) || fclose (f) != 0);
19215 rm -f conftest
$ac_exeext
19216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19217 (eval $ac_link) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 ac_cv_sizeof_long_long
=`cat conftest.val`
19228 echo "$as_me: program exited with status $ac_status" >&5
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.
$ac_ext >&5
19232 ( exit $ac_status )
19233 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19234 See \`config.log' for more details." >&5
19235 echo "$as_me: error: cannot compute sizeof (long long), 77
19236 See \`config.log' for more details." >&2;}
19237 { (exit 1); exit 1; }; }
19239 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19244 ac_cv_sizeof_long_long
=0
19247 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19248 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19249 cat >>confdefs.h
<<_ACEOF
19250 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19256 echo "$as_me:$LINENO: checking for wchar_t" >&5
19257 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19258 if test "${ac_cv_type_wchar_t+set}" = set; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 cat >conftest.
$ac_ext <<_ACEOF
19264 cat confdefs.h
>>conftest.
$ac_ext
19265 cat >>conftest.
$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19268 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19269 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19270 # error "fake wchar_t"
19272 #ifdef HAVE_WCHAR_H
19274 # include <stddef.h>
19276 # include <wchar.h>
19278 #ifdef HAVE_STDLIB_H
19279 # include <stdlib.h>
19290 if (sizeof (wchar_t))
19296 rm -f conftest.
$ac_objext
19297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19298 (eval $ac_compile) 2>conftest.er1
19300 grep -v '^ *+' conftest.er1
>conftest.err
19302 cat conftest.err
>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } &&
19305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19307 (eval $ac_try) 2>&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); }; } &&
19311 { ac_try
='test -s conftest.$ac_objext'
19312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19313 (eval $ac_try) 2>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); }; }; then
19317 ac_cv_type_wchar_t
=yes
19319 echo "$as_me: failed program was:" >&5
19320 sed 's/^/| /' conftest.
$ac_ext >&5
19322 ac_cv_type_wchar_t
=no
19324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19326 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19327 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19329 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19330 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19331 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 if test "$ac_cv_type_wchar_t" = yes; then
19335 # The cast to unsigned long works around a bug in the HP C Compiler
19336 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19337 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19338 # This bug is HP SR number 8606223364.
19339 if test "$cross_compiling" = yes; then
19340 # Depending upon the size, compute the lo and hi bounds.
19341 cat >conftest.
$ac_ext <<_ACEOF
19344 cat confdefs.h
>>conftest.
$ac_ext
19345 cat >>conftest.
$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19348 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19349 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19350 # error "fake wchar_t"
19352 #ifdef HAVE_WCHAR_H
19354 # include <stddef.h>
19356 # include <wchar.h>
19358 #ifdef HAVE_STDLIB_H
19359 # include <stdlib.h>
19368 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19375 rm -f conftest.
$ac_objext
19376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19377 (eval $ac_compile) 2>conftest.er1
19379 grep -v '^ *+' conftest.er1
>conftest.err
19381 cat conftest.err
>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } &&
19384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; } &&
19390 { ac_try
='test -s conftest.$ac_objext'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; }; then
19398 cat >conftest.
$ac_ext <<_ACEOF
19401 cat confdefs.h
>>conftest.
$ac_ext
19402 cat >>conftest.
$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19405 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19406 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19407 # error "fake wchar_t"
19409 #ifdef HAVE_WCHAR_H
19411 # include <stddef.h>
19413 # include <wchar.h>
19415 #ifdef HAVE_STDLIB_H
19416 # include <stdlib.h>
19425 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19432 rm -f conftest.
$ac_objext
19433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19434 (eval $ac_compile) 2>conftest.er1
19436 grep -v '^ *+' conftest.er1
>conftest.err
19438 cat conftest.err
>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } &&
19441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19443 (eval $ac_try) 2>&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; } &&
19447 { ac_try
='test -s conftest.$ac_objext'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; }; then
19453 ac_hi
=$ac_mid; break
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.
$ac_ext >&5
19458 ac_lo
=`expr $ac_mid + 1`
19459 if test $ac_lo -le $ac_mid; then
19463 ac_mid
=`expr 2 '*' $ac_mid + 1`
19465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19468 echo "$as_me: failed program was:" >&5
19469 sed 's/^/| /' conftest.
$ac_ext >&5
19471 cat >conftest.
$ac_ext <<_ACEOF
19474 cat confdefs.h
>>conftest.
$ac_ext
19475 cat >>conftest.
$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19478 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19479 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19480 # error "fake wchar_t"
19482 #ifdef HAVE_WCHAR_H
19484 # include <stddef.h>
19486 # include <wchar.h>
19488 #ifdef HAVE_STDLIB_H
19489 # include <stdlib.h>
19498 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19505 rm -f conftest.
$ac_objext
19506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19507 (eval $ac_compile) 2>conftest.er1
19509 grep -v '^ *+' conftest.er1
>conftest.err
19511 cat conftest.err
>&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); } &&
19514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; } &&
19520 { ac_try
='test -s conftest.$ac_objext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19528 cat >conftest.
$ac_ext <<_ACEOF
19531 cat confdefs.h
>>conftest.
$ac_ext
19532 cat >>conftest.
$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19535 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19536 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19537 # error "fake wchar_t"
19539 #ifdef HAVE_WCHAR_H
19541 # include <stddef.h>
19543 # include <wchar.h>
19545 #ifdef HAVE_STDLIB_H
19546 # include <stdlib.h>
19555 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19562 rm -f conftest.
$ac_objext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>conftest.er1
19566 grep -v '^ *+' conftest.er1
>conftest.err
19568 cat conftest.err
>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } &&
19571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19573 (eval $ac_try) 2>&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); }; } &&
19577 { ac_try
='test -s conftest.$ac_objext'
19578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19579 (eval $ac_try) 2>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); }; }; then
19583 ac_lo
=$ac_mid; break
19585 echo "$as_me: failed program was:" >&5
19586 sed 's/^/| /' conftest.
$ac_ext >&5
19588 ac_hi
=`expr '(' $ac_mid ')' - 1`
19589 if test $ac_mid -le $ac_hi; then
19593 ac_mid
=`expr 2 '*' $ac_mid`
19595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.
$ac_ext >&5
19603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19606 # Binary search between lo and hi bounds.
19607 while test "x$ac_lo" != "x$ac_hi"; do
19608 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19609 cat >conftest.
$ac_ext <<_ACEOF
19612 cat confdefs.h
>>conftest.
$ac_ext
19613 cat >>conftest.
$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19616 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19617 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19618 # error "fake wchar_t"
19620 #ifdef HAVE_WCHAR_H
19622 # include <stddef.h>
19624 # include <wchar.h>
19626 #ifdef HAVE_STDLIB_H
19627 # include <stdlib.h>
19636 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19643 rm -f conftest.
$ac_objext
19644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19645 (eval $ac_compile) 2>conftest.er1
19647 grep -v '^ *+' conftest.er1
>conftest.err
19649 cat conftest.err
>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); } &&
19652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19654 (eval $ac_try) 2>&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; } &&
19658 { ac_try
='test -s conftest.$ac_objext'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; }; then
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.
$ac_ext >&5
19669 ac_lo
=`expr '(' $ac_mid ')' + 1`
19671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19674 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19675 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19676 See \`config.log' for more details." >&5
19677 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19678 See \`config.log' for more details." >&2;}
19679 { (exit 1); exit 1; }; } ;;
19682 if test "$cross_compiling" = yes; then
19683 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19684 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19685 { (exit 1); exit 1; }; }
19687 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19694 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19695 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19696 # error "fake wchar_t"
19698 #ifdef HAVE_WCHAR_H
19700 # include <stddef.h>
19702 # include <wchar.h>
19704 #ifdef HAVE_STDLIB_H
19705 # include <stdlib.h>
19711 long longval () { return (long) (sizeof (wchar_t)); }
19712 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19714 #include <stdlib.h>
19719 FILE *f = fopen ("conftest.val", "w");
19722 if (((long) (sizeof (wchar_t))) < 0)
19724 long i = longval ();
19725 if (i != ((long) (sizeof (wchar_t))))
19727 fprintf (f, "%ld\n", i);
19731 unsigned long i = ulongval ();
19732 if (i != ((long) (sizeof (wchar_t))))
19734 fprintf (f, "%lu\n", i);
19736 exit (ferror (f) || fclose (f) != 0);
19742 rm -f conftest
$ac_exeext
19743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19744 (eval $ac_link) 2>&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; }; then
19753 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19755 echo "$as_me: program exited with status $ac_status" >&5
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.
$ac_ext >&5
19759 ( exit $ac_status )
19760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19761 See \`config.log' for more details." >&5
19762 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19763 See \`config.log' for more details." >&2;}
19764 { (exit 1); exit 1; }; }
19766 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19771 ac_cv_sizeof_wchar_t
=0
19774 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19775 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19776 cat >>confdefs.h
<<_ACEOF
19777 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19781 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19787 echo "$as_me:$LINENO: checking for va_copy" >&5
19788 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19789 if test "${wx_cv_func_va_copy+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19793 cat >conftest.
$ac_ext <<_ACEOF
19795 #include <stdarg.h>
19796 void foo(char *f, ...)
19810 rm -f conftest.
$ac_objext conftest
$ac_exeext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19812 (eval $ac_link) 2>conftest.er1
19814 grep -v '^ *+' conftest.er1
>conftest.err
19816 cat conftest.err
>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } &&
19819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; } &&
19825 { ac_try
='test -s conftest$ac_exeext'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; }; then
19831 wx_cv_func_va_copy
=yes
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.
$ac_ext >&5
19836 wx_cv_func_va_copy
=no
19839 rm -f conftest.err conftest.
$ac_objext \
19840 conftest
$ac_exeext conftest.
$ac_ext
19844 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19845 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19847 if test $wx_cv_func_va_copy = "yes"; then
19848 cat >>confdefs.h
<<\_ACEOF
19849 #define HAVE_VA_COPY 1
19853 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19854 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19855 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19856 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 if test "$cross_compiling" = yes; then
19860 wx_cv_type_va_list_lvalue
=yes
19863 cat >conftest.
$ac_ext <<_ACEOF
19865 #include <stdarg.h>
19866 int foo(char *f, ...)
19871 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19879 return foo("hi", 17);
19882 rm -f conftest
$ac_exeext
19883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19884 (eval $ac_link) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; }; then
19893 wx_cv_type_va_list_lvalue
=yes
19895 echo "$as_me: program exited with status $ac_status" >&5
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.
$ac_ext >&5
19899 ( exit $ac_status )
19900 wx_cv_type_va_list_lvalue
=no
19902 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19907 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19908 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19910 if test $wx_cv_type_va_list_lvalue != "yes"; then
19911 cat >>confdefs.h
<<\_ACEOF
19912 #define VA_LIST_IS_ARRAY 1
19918 # Check whether --enable-largefile or --disable-largefile was given.
19919 if test "${enable_largefile+set}" = set; then
19920 enableval
="$enable_largefile"
19923 if test "$enable_largefile" != no
; then
19926 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19927 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19928 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19932 cat >conftest.
$ac_ext <<_ACEOF
19935 cat confdefs.h
>>conftest.
$ac_ext
19936 cat >>conftest.
$ac_ext <<_ACEOF
19937 /* end confdefs.h. */
19938 #define _FILE_OFFSET_BITS 64
19939 #include <sys/types.h>
19944 unsigned int field: sizeof(off_t) == 8;
19951 rm -f conftest.
$ac_objext
19952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19953 (eval $ac_compile) 2>conftest.er1
19955 grep -v '^ *+' conftest.er1
>conftest.err
19957 cat conftest.err
>&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } &&
19960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962 (eval $ac_try) 2>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); }; } &&
19966 { ac_try
='test -s conftest.$ac_objext'
19967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19968 (eval $ac_try) 2>&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); }; }; then
19972 ac_cv_sys_file_offset_bits
=64
19974 echo "$as_me: failed program was:" >&5
19975 sed 's/^/| /' conftest.
$ac_ext >&5
19977 ac_cv_sys_file_offset_bits
=no
19979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19983 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19984 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19986 if test "$ac_cv_sys_file_offset_bits" != no
; then
19988 cat >>confdefs.h
<<_ACEOF
19989 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19994 if test "x$wx_largefile" != "xyes"; then
19996 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19997 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19998 if test "${ac_cv_sys_large_files+set}" = set; then
19999 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 cat >conftest.
$ac_ext <<_ACEOF
20005 cat confdefs.h
>>conftest.
$ac_ext
20006 cat >>conftest.
$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 #define _LARGE_FILES 1
20009 #include <sys/types.h>
20014 unsigned int field: sizeof(off_t) == 8;
20021 rm -f conftest.
$ac_objext
20022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20023 (eval $ac_compile) 2>conftest.er1
20025 grep -v '^ *+' conftest.er1
>conftest.err
20027 cat conftest.err
>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); } &&
20030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; } &&
20036 { ac_try
='test -s conftest.$ac_objext'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; }; then
20042 ac_cv_sys_large_files
=1
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.
$ac_ext >&5
20047 ac_cv_sys_large_files
=no
20049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20053 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20054 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20056 if test "$ac_cv_sys_large_files" != no
; then
20058 cat >>confdefs.h
<<_ACEOF
20059 #define _LARGE_FILES $ac_cv_sys_large_files
20066 echo "$as_me:$LINENO: checking if large file support is available" >&5
20067 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20068 if test "x$wx_largefile" = "xyes"; then
20069 cat >>confdefs.h
<<\_ACEOF
20070 #define HAVE_LARGEFILE_SUPPORT 1
20074 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20075 echo "${ECHO_T}$wx_largefile" >&6
20079 if test "x$wx_largefile" = "xyes"; then
20080 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20081 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20083 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20084 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__=1"
20087 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20089 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20090 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20091 if test "${ac_cv_sys_largefile_source+set}" = set; then
20092 echo $ECHO_N "(cached) $ECHO_C" >&6
20095 ac_cv_sys_largefile_source
=no
20096 cat >conftest.
$ac_ext <<_ACEOF
20099 cat confdefs.h
>>conftest.
$ac_ext
20100 cat >>conftest.
$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20111 rm -f conftest.
$ac_objext
20112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20113 (eval $ac_compile) 2>conftest.er1
20115 grep -v '^ *+' conftest.er1
>conftest.err
20117 cat conftest.err
>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } &&
20120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; } &&
20126 { ac_try
='test -s conftest.$ac_objext'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; }; then
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.
$ac_ext >&5
20138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20139 cat >conftest.
$ac_ext <<_ACEOF
20142 cat confdefs.h
>>conftest.
$ac_ext
20143 cat >>conftest.
$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 #define _LARGEFILE_SOURCE 1
20155 rm -f conftest.
$ac_objext
20156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20157 (eval $ac_compile) 2>conftest.er1
20159 grep -v '^ *+' conftest.er1
>conftest.err
20161 cat conftest.err
>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } &&
20164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20166 (eval $ac_try) 2>&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); }; } &&
20170 { ac_try
='test -s conftest.$ac_objext'
20171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20172 (eval $ac_try) 2>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); }; }; then
20176 ac_cv_sys_largefile_source
=1; break
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.
$ac_ext >&5
20182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20186 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20187 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20188 if test "$ac_cv_sys_largefile_source" != no
; then
20190 cat >>confdefs.h
<<_ACEOF
20191 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20197 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20198 # in glibc 2.1.3, but that breaks too many other things.
20199 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20200 echo "$as_me:$LINENO: checking for fseeko" >&5
20201 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20202 if test "${ac_cv_func_fseeko+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 cat >conftest.
$ac_ext <<_ACEOF
20208 cat confdefs.h
>>conftest.
$ac_ext
20209 cat >>conftest.
$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20215 return fseeko && fseeko (stdin, 0, 0);
20220 rm -f conftest.
$ac_objext conftest
$ac_exeext
20221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20222 (eval $ac_link) 2>conftest.er1
20224 grep -v '^ *+' conftest.er1
>conftest.err
20226 cat conftest.err
>&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; } &&
20235 { ac_try
='test -s conftest$ac_exeext'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; }; then
20241 ac_cv_func_fseeko
=yes
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.
$ac_ext >&5
20246 ac_cv_func_fseeko
=no
20248 rm -f conftest.err conftest.
$ac_objext \
20249 conftest
$ac_exeext conftest.
$ac_ext
20251 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20252 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20253 if test $ac_cv_func_fseeko = yes; then
20255 cat >>confdefs.h
<<\_ACEOF
20256 #define HAVE_FSEEKO 1
20261 if test "$ac_cv_sys_largefile_source" != no
; then
20262 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20264 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20267 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20268 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20269 if test "${ac_cv_c_bigendian+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20272 ac_cv_c_bigendian
=unknown
20273 # See if sys/param.h defines the BYTE_ORDER macro.
20274 cat >conftest.
$ac_ext <<_ACEOF
20277 cat confdefs.h
>>conftest.
$ac_ext
20278 cat >>conftest.
$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20280 #include <sys/types.h>
20281 #include <sys/param.h>
20286 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20287 bogus endian macros
20293 rm -f conftest.
$ac_objext
20294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20295 (eval $ac_compile) 2>conftest.er1
20297 grep -v '^ *+' conftest.er1
>conftest.err
20299 cat conftest.err
>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); } &&
20302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; } &&
20308 { ac_try
='test -s conftest.$ac_objext'
20309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310 (eval $ac_try) 2>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); }; }; then
20314 # It does; now see whether it defined to BIG_ENDIAN or not.
20315 cat >conftest.
$ac_ext <<_ACEOF
20318 cat confdefs.h
>>conftest.
$ac_ext
20319 cat >>conftest.
$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 #include <sys/types.h>
20322 #include <sys/param.h>
20327 #if BYTE_ORDER != BIG_ENDIAN
20334 rm -f conftest.
$ac_objext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20336 (eval $ac_compile) 2>conftest.er1
20338 grep -v '^ *+' conftest.er1
>conftest.err
20340 cat conftest.err
>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } &&
20343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; } &&
20349 { ac_try
='test -s conftest.$ac_objext'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 ac_cv_c_bigendian
=yes
20357 echo "$as_me: failed program was:" >&5
20358 sed 's/^/| /' conftest.
$ac_ext >&5
20360 ac_cv_c_bigendian
=no
20362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.
$ac_ext >&5
20368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20369 if test $ac_cv_c_bigendian = unknown
; then
20370 if test "$cross_compiling" = yes; then
20371 ac_cv_c_bigendian
=unknown
20373 cat >conftest.
$ac_ext <<_ACEOF
20376 cat confdefs.h
>>conftest.
$ac_ext
20377 cat >>conftest.
$ac_ext <<_ACEOF
20378 /* end confdefs.h. */
20380 /* Are we little or big endian? From Harbison&Steele. */
20384 char c[sizeof (long)];
20387 exit (u.c[sizeof (long) - 1] == 1);
20390 rm -f conftest
$ac_exeext
20391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20392 (eval $ac_link) 2>&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
20401 ac_cv_c_bigendian
=no
20403 echo "$as_me: program exited with status $ac_status" >&5
20404 echo "$as_me: failed program was:" >&5
20405 sed 's/^/| /' conftest.
$ac_ext >&5
20407 ( exit $ac_status )
20408 ac_cv_c_bigendian
=yes
20410 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20414 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20415 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20416 if test $ac_cv_c_bigendian = unknown
; then
20417 { 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
20418 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;}
20420 if test $ac_cv_c_bigendian = yes; then
20421 cat >>confdefs.h
<<\_ACEOF
20422 #define WORDS_BIGENDIAN 1
20429 ac_cpp
='$CXXCPP $CPPFLAGS'
20430 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20431 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20432 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20433 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20434 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20435 if test -z "$CXXCPP"; then
20436 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20439 # Double quotes because CXXCPP needs to be expanded
20440 for CXXCPP
in "$CXX -E" "/lib/cpp"
20442 ac_preproc_ok
=false
20443 for ac_cxx_preproc_warn_flag
in '' yes
20445 # Use a header file that comes with gcc, so configuring glibc
20446 # with a fresh cross-compiler works.
20447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20448 # <limits.h> exists even on freestanding compilers.
20449 # On the NeXT, cc -E runs the code through the compiler's parser,
20450 # not just through cpp. "Syntax error" is here to catch this case.
20451 cat >conftest.
$ac_ext <<_ACEOF
20454 cat confdefs.h
>>conftest.
$ac_ext
20455 cat >>conftest.
$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20458 # include <limits.h>
20460 # include <assert.h>
20464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20465 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20467 grep -v '^ *+' conftest.er1
>conftest.err
20469 cat conftest.err
>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } >/dev
/null
; then
20472 if test -s conftest.err
; then
20473 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20474 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20481 if test -z "$ac_cpp_err"; then
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.
$ac_ext >&5
20487 # Broken: fails on valid input.
20490 rm -f conftest.err conftest.
$ac_ext
20492 # OK, works on sane cases. Now check whether non-existent headers
20493 # can be detected and how.
20494 cat >conftest.
$ac_ext <<_ACEOF
20497 cat confdefs.h
>>conftest.
$ac_ext
20498 cat >>conftest.
$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 #include <ac_nonexistent.h>
20502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20505 grep -v '^ *+' conftest.er1
>conftest.err
20507 cat conftest.err
>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } >/dev
/null
; then
20510 if test -s conftest.err
; then
20511 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20512 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20519 if test -z "$ac_cpp_err"; then
20520 # Broken: success on invalid input.
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.
$ac_ext >&5
20526 # Passes both tests.
20530 rm -f conftest.err conftest.
$ac_ext
20533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20534 rm -f conftest.err conftest.
$ac_ext
20535 if $ac_preproc_ok; then
20540 ac_cv_prog_CXXCPP
=$CXXCPP
20543 CXXCPP
=$ac_cv_prog_CXXCPP
20545 ac_cv_prog_CXXCPP
=$CXXCPP
20547 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20548 echo "${ECHO_T}$CXXCPP" >&6
20549 ac_preproc_ok
=false
20550 for ac_cxx_preproc_warn_flag
in '' yes
20552 # Use a header file that comes with gcc, so configuring glibc
20553 # with a fresh cross-compiler works.
20554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20555 # <limits.h> exists even on freestanding compilers.
20556 # On the NeXT, cc -E runs the code through the compiler's parser,
20557 # not just through cpp. "Syntax error" is here to catch this case.
20558 cat >conftest.
$ac_ext <<_ACEOF
20561 cat confdefs.h
>>conftest.
$ac_ext
20562 cat >>conftest.
$ac_ext <<_ACEOF
20563 /* end confdefs.h. */
20565 # include <limits.h>
20567 # include <assert.h>
20571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20572 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20574 grep -v '^ *+' conftest.er1
>conftest.err
20576 cat conftest.err
>&5
20577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578 (exit $ac_status); } >/dev
/null
; then
20579 if test -s conftest.err
; then
20580 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20581 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20588 if test -z "$ac_cpp_err"; then
20591 echo "$as_me: failed program was:" >&5
20592 sed 's/^/| /' conftest.
$ac_ext >&5
20594 # Broken: fails on valid input.
20597 rm -f conftest.err conftest.
$ac_ext
20599 # OK, works on sane cases. Now check whether non-existent headers
20600 # can be detected and how.
20601 cat >conftest.
$ac_ext <<_ACEOF
20604 cat confdefs.h
>>conftest.
$ac_ext
20605 cat >>conftest.
$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20607 #include <ac_nonexistent.h>
20609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20610 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20612 grep -v '^ *+' conftest.er1
>conftest.err
20614 cat conftest.err
>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); } >/dev
/null
; then
20617 if test -s conftest.err
; then
20618 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20619 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20626 if test -z "$ac_cpp_err"; then
20627 # Broken: success on invalid input.
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.
$ac_ext >&5
20633 # Passes both tests.
20637 rm -f conftest.err conftest.
$ac_ext
20640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20641 rm -f conftest.err conftest.
$ac_ext
20642 if $ac_preproc_ok; then
20645 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20646 See \`config.log' for more details." >&5
20647 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20648 See \`config.log' for more details." >&2;}
20649 { (exit 1); exit 1; }; }
20653 ac_cpp
='$CXXCPP $CPPFLAGS'
20654 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20655 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20656 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20663 ac_cpp
='$CXXCPP $CPPFLAGS'
20664 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20665 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20666 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20670 for ac_header
in iostream
20672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20674 echo "$as_me:$LINENO: checking for $ac_header" >&5
20675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20677 echo $ECHO_N "(cached) $ECHO_C" >&6
20679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20682 # Is the header compilable?
20683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20685 cat >conftest.
$ac_ext <<_ACEOF
20688 cat confdefs.h
>>conftest.
$ac_ext
20689 cat >>conftest.
$ac_ext <<_ACEOF
20690 /* end confdefs.h. */
20691 $ac_includes_default
20692 #include <$ac_header>
20694 rm -f conftest.
$ac_objext
20695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20696 (eval $ac_compile) 2>conftest.er1
20698 grep -v '^ *+' conftest.er1
>conftest.err
20700 cat conftest.err
>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } &&
20703 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; } &&
20709 { ac_try
='test -s conftest.$ac_objext'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; }; then
20715 ac_header_compiler
=yes
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.
$ac_ext >&5
20720 ac_header_compiler
=no
20722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20724 echo "${ECHO_T}$ac_header_compiler" >&6
20726 # Is the header present?
20727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20729 cat >conftest.
$ac_ext <<_ACEOF
20732 cat confdefs.h
>>conftest.
$ac_ext
20733 cat >>conftest.
$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 #include <$ac_header>
20737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20740 grep -v '^ *+' conftest.er1
>conftest.err
20742 cat conftest.err
>&5
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); } >/dev
/null
; then
20745 if test -s conftest.err
; then
20746 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20747 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20754 if test -z "$ac_cpp_err"; then
20755 ac_header_preproc
=yes
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.
$ac_ext >&5
20760 ac_header_preproc
=no
20762 rm -f conftest.err conftest.
$ac_ext
20763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20764 echo "${ECHO_T}$ac_header_preproc" >&6
20766 # So? What about this header?
20767 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20773 ac_header_preproc
=yes
20776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20790 ## ----------------------------------------- ##
20791 ## Report this to wx-dev@lists.wxwidgets.org ##
20792 ## ----------------------------------------- ##
20795 sed "s/^/$as_me: WARNING: /" >&2
20798 echo "$as_me:$LINENO: checking for $ac_header" >&5
20799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20801 echo $ECHO_N "(cached) $ECHO_C" >&6
20803 eval "$as_ac_Header=\$ac_header_preproc"
20805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20810 cat >>confdefs.h
<<_ACEOF
20811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20819 if test "$ac_cv_header_iostream" = "yes" ; then
20822 cat >>confdefs.h
<<\_ACEOF
20823 #define wxUSE_IOSTREAMH 1
20829 ac_cpp
='$CPP $CPPFLAGS'
20830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20837 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20838 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20839 if test "${wx_cv_cpp_bool+set}" = set; then
20840 echo $ECHO_N "(cached) $ECHO_C" >&6
20846 ac_cpp
='$CXXCPP $CPPFLAGS'
20847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20852 cat >conftest.
$ac_ext <<_ACEOF
20855 cat confdefs.h
>>conftest.
$ac_ext
20856 cat >>conftest.
$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20872 rm -f conftest.
$ac_objext
20873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20874 (eval $ac_compile) 2>conftest.er1
20876 grep -v '^ *+' conftest.er1
>conftest.err
20878 cat conftest.err
>&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); } &&
20881 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20883 (eval $ac_try) 2>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); }; } &&
20887 { ac_try
='test -s conftest.$ac_objext'
20888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20889 (eval $ac_try) 2>&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); }; }; then
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.
$ac_ext >&5
20905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20908 ac_cpp
='$CPP $CPPFLAGS'
20909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20915 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20916 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20918 if test "$wx_cv_cpp_bool" = "yes"; then
20919 cat >>confdefs.h
<<\_ACEOF
20920 #define HAVE_BOOL 1
20927 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20928 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20929 if test "${wx_cv_explicit+set}" = set; then
20930 echo $ECHO_N "(cached) $ECHO_C" >&6
20936 ac_cpp
='$CXXCPP $CPPFLAGS'
20937 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20942 cat >conftest.
$ac_ext <<_ACEOF
20945 cat confdefs.h
>>conftest.
$ac_ext
20946 cat >>conftest.
$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20949 class Foo { public: explicit Foo(int) {} };
20961 rm -f conftest.
$ac_objext
20962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20963 (eval $ac_compile) 2>conftest.er1
20965 grep -v '^ *+' conftest.er1
>conftest.err
20967 cat conftest.err
>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } &&
20970 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; } &&
20976 { ac_try
='test -s conftest.$ac_objext'
20977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978 (eval $ac_try) 2>&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; }; then
20983 cat >conftest.
$ac_ext <<_ACEOF
20986 cat confdefs.h
>>conftest.
$ac_ext
20987 cat >>conftest.
$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20990 class Foo { public: explicit Foo(int) {} };
20991 static void TakeFoo(const Foo& foo) { }
21004 rm -f conftest.
$ac_objext
21005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21006 (eval $ac_compile) 2>conftest.er1
21008 grep -v '^ *+' conftest.er1
>conftest.err
21010 cat conftest.err
>&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } &&
21013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015 (eval $ac_try) 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; } &&
21019 { ac_try
='test -s conftest.$ac_objext'
21020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21021 (eval $ac_try) 2>&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); }; }; then
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.
$ac_ext >&5
21033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.
$ac_ext >&5
21042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21045 ac_cpp
='$CPP $CPPFLAGS'
21046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21052 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21053 echo "${ECHO_T}$wx_cv_explicit" >&6
21055 if test "$wx_cv_explicit" = "yes"; then
21056 cat >>confdefs.h
<<\_ACEOF
21057 #define HAVE_EXPLICIT 1
21063 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21064 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21065 if test "${ac_cv_cxx_const_cast+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21071 ac_cpp
='$CXXCPP $CPPFLAGS'
21072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21086 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21091 rm -f conftest.
$ac_objext
21092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21093 (eval $ac_compile) 2>conftest.er1
21095 grep -v '^ *+' conftest.er1
>conftest.err
21097 cat conftest.err
>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); } &&
21100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; } &&
21106 { ac_try
='test -s conftest.$ac_objext'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21112 ac_cv_cxx_const_cast
=yes
21114 echo "$as_me: failed program was:" >&5
21115 sed 's/^/| /' conftest.
$ac_ext >&5
21117 ac_cv_cxx_const_cast
=no
21119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21121 ac_cpp
='$CPP $CPPFLAGS'
21122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21128 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21129 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21130 if test "$ac_cv_cxx_const_cast" = yes; then
21132 cat >>confdefs.h
<<\_ACEOF
21133 #define HAVE_CONST_CAST
21138 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21139 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21140 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21141 echo $ECHO_N "(cached) $ECHO_C" >&6
21146 ac_cpp
='$CXXCPP $CPPFLAGS'
21147 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21148 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21149 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21151 cat >conftest.
$ac_ext <<_ACEOF
21154 cat confdefs.h
>>conftest.
$ac_ext
21155 cat >>conftest.
$ac_ext <<_ACEOF
21156 /* end confdefs.h. */
21157 #include <typeinfo>
21158 class Base { public : Base () {} virtual void f () = 0;};
21159 class Derived : public Base { public : Derived () {} virtual void f () {} };
21160 class Unrelated { public : Unrelated () {} };
21161 int g (Unrelated&) { return 0; }
21166 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21171 rm -f conftest.
$ac_objext
21172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21173 (eval $ac_compile) 2>conftest.er1
21175 grep -v '^ *+' conftest.er1
>conftest.err
21177 cat conftest.err
>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } &&
21180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; } &&
21186 { ac_try
='test -s conftest.$ac_objext'
21187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21188 (eval $ac_try) 2>&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; }; then
21192 ac_cv_cxx_reinterpret_cast
=yes
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.
$ac_ext >&5
21197 ac_cv_cxx_reinterpret_cast
=no
21199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21201 ac_cpp
='$CPP $CPPFLAGS'
21202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21208 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21209 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21210 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21212 cat >>confdefs.h
<<\_ACEOF
21213 #define HAVE_REINTERPRET_CAST
21218 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21219 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21220 if test "${ac_cv_cxx_static_cast+set}" = set; then
21221 echo $ECHO_N "(cached) $ECHO_C" >&6
21226 ac_cpp
='$CXXCPP $CPPFLAGS'
21227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21231 cat >conftest.
$ac_ext <<_ACEOF
21234 cat confdefs.h
>>conftest.
$ac_ext
21235 cat >>conftest.
$ac_ext <<_ACEOF
21236 /* end confdefs.h. */
21237 #include <typeinfo>
21238 class Base { public : Base () {} virtual void f () = 0; };
21239 class Derived : public Base { public : Derived () {} virtual void f () {} };
21240 int g (Derived&) { return 0; }
21245 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21250 rm -f conftest.
$ac_objext
21251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21252 (eval $ac_compile) 2>conftest.er1
21254 grep -v '^ *+' conftest.er1
>conftest.err
21256 cat conftest.err
>&5
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); } &&
21259 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21261 (eval $ac_try) 2>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); }; } &&
21265 { ac_try
='test -s conftest.$ac_objext'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; }; then
21271 ac_cv_cxx_static_cast
=yes
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.
$ac_ext >&5
21276 ac_cv_cxx_static_cast
=no
21278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21280 ac_cpp
='$CPP $CPPFLAGS'
21281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21287 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21288 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21289 if test "$ac_cv_cxx_static_cast" = yes; then
21291 cat >>confdefs.h
<<\_ACEOF
21292 #define HAVE_STATIC_CAST
21298 if test "x$SUNCXX" = xyes
; then
21299 CXXFLAGS
="$CXXFLAGS -features=tmplife"
21302 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21304 ac_cpp
='$CXXCPP $CPPFLAGS'
21305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21310 if test "$wxUSE_UNICODE" = "yes"; then
21311 std_string
="std::wstring"
21312 char_type
="wchar_t"
21314 std_string
="std::string"
21318 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21319 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21320 cat >conftest.
$ac_ext <<_ACEOF
21323 cat confdefs.h
>>conftest.
$ac_ext
21324 cat >>conftest.
$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21335 rm -f conftest.
$ac_objext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21337 (eval $ac_compile) 2>conftest.er1
21339 grep -v '^ *+' conftest.er1
>conftest.err
21341 cat conftest.err
>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; } &&
21350 { ac_try
='test -s conftest.$ac_objext'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; }; then
21356 echo "$as_me:$LINENO: result: yes" >&5
21357 echo "${ECHO_T}yes" >&6
21358 cat >>confdefs.h
<<\_ACEOF
21359 #define HAVE_STD_WSTRING 1
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.
$ac_ext >&5
21366 echo "$as_me:$LINENO: result: no" >&5
21367 echo "${ECHO_T}no" >&6
21368 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21369 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21370 cat >conftest.
$ac_ext <<_ACEOF
21373 cat confdefs.h
>>conftest.
$ac_ext
21374 cat >>conftest.
$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21377 #ifdef HAVE_WCHAR_H
21379 # include <stddef.h>
21381 # include <wchar.h>
21383 #ifdef HAVE_STDLIB_H
21384 # include <stdlib.h>
21392 std::basic_string<$char_type> foo;
21393 const $char_type* dummy = foo.c_str();
21398 rm -f conftest.
$ac_objext
21399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21400 (eval $ac_compile) 2>conftest.er1
21402 grep -v '^ *+' conftest.er1
>conftest.err
21404 cat conftest.err
>&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } &&
21407 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; } &&
21413 { ac_try
='test -s conftest.$ac_objext'
21414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21415 (eval $ac_try) 2>&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; }; then
21419 echo "$as_me:$LINENO: result: yes" >&5
21420 echo "${ECHO_T}yes" >&6
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.
$ac_ext >&5
21425 echo "$as_me:$LINENO: result: no" >&5
21426 echo "${ECHO_T}no" >&6
21427 if test "$wxUSE_STL" = "yes"; then
21428 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21429 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21430 { (exit 1); exit 1; }; }
21431 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21432 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21433 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21434 { (exit 1); exit 1; }; }
21436 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21437 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21438 wxUSE_STD_STRING
=no
21443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21449 ac_cpp
='$CPP $CPPFLAGS'
21450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21456 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21458 ac_cpp
='$CXXCPP $CPPFLAGS'
21459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21464 echo "$as_me:$LINENO: checking for std::istream" >&5
21465 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21466 if test "${ac_cv_type_std__istream+set}" = set; then
21467 echo $ECHO_N "(cached) $ECHO_C" >&6
21469 cat >conftest.
$ac_ext <<_ACEOF
21472 cat confdefs.h
>>conftest.
$ac_ext
21473 cat >>conftest.
$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475 #include <iostream>
21480 if ((std::istream *) 0)
21482 if (sizeof (std::istream))
21488 rm -f conftest.
$ac_objext
21489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21490 (eval $ac_compile) 2>conftest.er1
21492 grep -v '^ *+' conftest.er1
>conftest.err
21494 cat conftest.err
>&5
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); } &&
21497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21499 (eval $ac_try) 2>&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; } &&
21503 { ac_try
='test -s conftest.$ac_objext'
21504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21505 (eval $ac_try) 2>&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); }; }; then
21509 ac_cv_type_std__istream
=yes
21511 echo "$as_me: failed program was:" >&5
21512 sed 's/^/| /' conftest.
$ac_ext >&5
21514 ac_cv_type_std__istream
=no
21516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21518 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21519 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21520 if test $ac_cv_type_std__istream = yes; then
21522 cat >>confdefs.h
<<_ACEOF
21523 #define HAVE_STD__ISTREAM 1
21528 wxUSE_STD_IOSTREAM
=no
21530 echo "$as_me:$LINENO: checking for std::ostream" >&5
21531 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21532 if test "${ac_cv_type_std__ostream+set}" = set; then
21533 echo $ECHO_N "(cached) $ECHO_C" >&6
21535 cat >conftest.
$ac_ext <<_ACEOF
21538 cat confdefs.h
>>conftest.
$ac_ext
21539 cat >>conftest.
$ac_ext <<_ACEOF
21540 /* end confdefs.h. */
21541 #include <iostream>
21546 if ((std::ostream *) 0)
21548 if (sizeof (std::ostream))
21554 rm -f conftest.
$ac_objext
21555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21556 (eval $ac_compile) 2>conftest.er1
21558 grep -v '^ *+' conftest.er1
>conftest.err
21560 cat conftest.err
>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); } &&
21563 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565 (eval $ac_try) 2>&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); }; } &&
21569 { ac_try
='test -s conftest.$ac_objext'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 ac_cv_type_std__ostream
=yes
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.
$ac_ext >&5
21580 ac_cv_type_std__ostream
=no
21582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21584 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21585 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21586 if test $ac_cv_type_std__ostream = yes; then
21588 cat >>confdefs.h
<<_ACEOF
21589 #define HAVE_STD__OSTREAM 1
21594 wxUSE_STD_IOSTREAM
=no
21598 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21599 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21600 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21601 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21602 { (exit 1); exit 1; }; }
21604 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21605 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21610 ac_cpp
='$CPP $CPPFLAGS'
21611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21617 if test "$wxUSE_STL" = "yes"; then
21619 ac_cpp
='$CXXCPP $CPPFLAGS'
21620 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21625 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21626 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21627 cat >conftest.
$ac_ext <<_ACEOF
21630 cat confdefs.h
>>conftest.
$ac_ext
21631 cat >>conftest.
$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21634 #include <functional>
21635 #include <algorithm>
21641 std::vector<int> moo;
21642 std::list<int> foo;
21643 std::vector<int>::iterator it =
21644 std::find_if(moo.begin(), moo.end(),
21645 std::bind2nd(std::less<int>(), 3));
21650 rm -f conftest.
$ac_objext
21651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21652 (eval $ac_compile) 2>conftest.er1
21654 grep -v '^ *+' conftest.er1
>conftest.err
21656 cat conftest.err
>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } &&
21659 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; } &&
21665 { ac_try
='test -s conftest.$ac_objext'
21666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21667 (eval $ac_try) 2>&5
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); }; }; then
21671 echo "$as_me:$LINENO: result: yes" >&5
21672 echo "${ECHO_T}yes" >&6
21674 echo "$as_me: failed program was:" >&5
21675 sed 's/^/| /' conftest.
$ac_ext >&5
21677 echo "$as_me:$LINENO: result: no" >&5
21678 echo "${ECHO_T}no" >&6
21679 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21680 echo "$as_me: error: Basic STL functionality missing" >&2;}
21681 { (exit 1); exit 1; }; }
21683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21685 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21686 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21687 cat >conftest.
$ac_ext <<_ACEOF
21690 cat confdefs.h
>>conftest.
$ac_ext
21691 cat >>conftest.
$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21697 std::string foo, bar;
21699 foo.compare(1, 1, bar);
21700 foo.compare(1, 1, bar, 1, 1);
21702 foo.compare(1, 1, "");
21703 foo.compare(1, 1, "", 2);
21708 rm -f conftest.
$ac_objext
21709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21710 (eval $ac_compile) 2>conftest.er1
21712 grep -v '^ *+' conftest.er1
>conftest.err
21714 cat conftest.err
>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); } &&
21717 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; } &&
21723 { ac_try
='test -s conftest.$ac_objext'
21724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725 (eval $ac_try) 2>&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); }; }; then
21729 echo "$as_me:$LINENO: result: yes" >&5
21730 echo "${ECHO_T}yes" >&6
21731 cat >>confdefs.h
<<\_ACEOF
21732 #define HAVE_STD_STRING_COMPARE 1
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.
$ac_ext >&5
21739 echo "$as_me:$LINENO: result: no" >&5
21740 echo "${ECHO_T}no" >&6
21742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21744 if test "${ac_cv_header_hash_map+set}" = set; then
21745 echo "$as_me:$LINENO: checking for hash_map" >&5
21746 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21747 if test "${ac_cv_header_hash_map+set}" = set; then
21748 echo $ECHO_N "(cached) $ECHO_C" >&6
21750 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21751 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21753 # Is the header compilable?
21754 echo "$as_me:$LINENO: checking hash_map usability" >&5
21755 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21756 cat >conftest.
$ac_ext <<_ACEOF
21759 cat confdefs.h
>>conftest.
$ac_ext
21760 cat >>conftest.
$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 $ac_includes_default
21763 #include <hash_map>
21765 rm -f conftest.
$ac_objext
21766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21767 (eval $ac_compile) 2>conftest.er1
21769 grep -v '^ *+' conftest.er1
>conftest.err
21771 cat conftest.err
>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } &&
21774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21776 (eval $ac_try) 2>&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); }; } &&
21780 { ac_try
='test -s conftest.$ac_objext'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; }; then
21786 ac_header_compiler
=yes
21788 echo "$as_me: failed program was:" >&5
21789 sed 's/^/| /' conftest.
$ac_ext >&5
21791 ac_header_compiler
=no
21793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21795 echo "${ECHO_T}$ac_header_compiler" >&6
21797 # Is the header present?
21798 echo "$as_me:$LINENO: checking hash_map presence" >&5
21799 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21800 cat >conftest.
$ac_ext <<_ACEOF
21803 cat confdefs.h
>>conftest.
$ac_ext
21804 cat >>conftest.
$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 #include <hash_map>
21808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21811 grep -v '^ *+' conftest.er1
>conftest.err
21813 cat conftest.err
>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } >/dev
/null
; then
21816 if test -s conftest.err
; then
21817 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21818 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21825 if test -z "$ac_cpp_err"; then
21826 ac_header_preproc
=yes
21828 echo "$as_me: failed program was:" >&5
21829 sed 's/^/| /' conftest.
$ac_ext >&5
21831 ac_header_preproc
=no
21833 rm -f conftest.err conftest.
$ac_ext
21834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21835 echo "${ECHO_T}$ac_header_preproc" >&6
21837 # So? What about this header?
21838 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21840 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21841 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21842 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21843 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21844 ac_header_preproc
=yes
21847 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21848 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21849 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21850 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21851 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21852 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21853 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21854 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21855 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21856 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21857 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21858 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21861 ## ----------------------------------------- ##
21862 ## Report this to wx-dev@lists.wxwidgets.org ##
21863 ## ----------------------------------------- ##
21866 sed "s/^/$as_me: WARNING: /" >&2
21869 echo "$as_me:$LINENO: checking for hash_map" >&5
21870 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21871 if test "${ac_cv_header_hash_map+set}" = set; then
21872 echo $ECHO_N "(cached) $ECHO_C" >&6
21874 ac_cv_header_hash_map
=$ac_header_preproc
21876 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21877 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21880 if test $ac_cv_header_hash_map = yes; then
21881 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21882 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21883 cat >conftest.
$ac_ext <<_ACEOF
21886 cat confdefs.h
>>conftest.
$ac_ext
21887 cat >>conftest.
$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889 #include <hash_map>
21890 #include <hash_set>
21894 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21895 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21900 rm -f conftest.
$ac_objext
21901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21902 (eval $ac_compile) 2>conftest.er1
21904 grep -v '^ *+' conftest.er1
>conftest.err
21906 cat conftest.err
>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; } &&
21915 { ac_try
='test -s conftest.$ac_objext'
21916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21917 (eval $ac_try) 2>&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); }; }; then
21921 echo "$as_me:$LINENO: result: yes" >&5
21922 echo "${ECHO_T}yes" >&6
21923 cat >>confdefs.h
<<\_ACEOF
21924 #define HAVE_HASH_MAP 1
21927 cat >>confdefs.h
<<\_ACEOF
21928 #define HAVE_STD_HASH_MAP 1
21932 echo "$as_me: failed program was:" >&5
21933 sed 's/^/| /' conftest.
$ac_ext >&5
21935 echo "$as_me:$LINENO: result: no" >&5
21936 echo "${ECHO_T}no" >&6
21938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21944 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21945 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21946 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21947 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21948 echo $ECHO_N "(cached) $ECHO_C" >&6
21950 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21951 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21953 # Is the header compilable?
21954 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21955 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21956 cat >conftest.
$ac_ext <<_ACEOF
21959 cat confdefs.h
>>conftest.
$ac_ext
21960 cat >>conftest.
$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 $ac_includes_default
21963 #include <ext/hash_map>
21965 rm -f conftest.
$ac_objext
21966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21967 (eval $ac_compile) 2>conftest.er1
21969 grep -v '^ *+' conftest.er1
>conftest.err
21971 cat conftest.err
>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } &&
21974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; } &&
21980 { ac_try
='test -s conftest.$ac_objext'
21981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21982 (eval $ac_try) 2>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; }; then
21986 ac_header_compiler
=yes
21988 echo "$as_me: failed program was:" >&5
21989 sed 's/^/| /' conftest.
$ac_ext >&5
21991 ac_header_compiler
=no
21993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21995 echo "${ECHO_T}$ac_header_compiler" >&6
21997 # Is the header present?
21998 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21999 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22000 cat >conftest.
$ac_ext <<_ACEOF
22003 cat confdefs.h
>>conftest.
$ac_ext
22004 cat >>conftest.
$ac_ext <<_ACEOF
22005 /* end confdefs.h. */
22006 #include <ext/hash_map>
22008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22011 grep -v '^ *+' conftest.er1
>conftest.err
22013 cat conftest.err
>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } >/dev
/null
; then
22016 if test -s conftest.err
; then
22017 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22018 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22025 if test -z "$ac_cpp_err"; then
22026 ac_header_preproc
=yes
22028 echo "$as_me: failed program was:" >&5
22029 sed 's/^/| /' conftest.
$ac_ext >&5
22031 ac_header_preproc
=no
22033 rm -f conftest.err conftest.
$ac_ext
22034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22035 echo "${ECHO_T}$ac_header_preproc" >&6
22037 # So? What about this header?
22038 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22040 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22041 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22042 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22043 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22044 ac_header_preproc
=yes
22047 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22048 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22049 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22050 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22051 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22052 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22053 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22054 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22055 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22056 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22057 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22058 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22061 ## ----------------------------------------- ##
22062 ## Report this to wx-dev@lists.wxwidgets.org ##
22063 ## ----------------------------------------- ##
22066 sed "s/^/$as_me: WARNING: /" >&2
22069 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22070 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22071 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22072 echo $ECHO_N "(cached) $ECHO_C" >&6
22074 ac_cv_header_ext_hash_map
=$ac_header_preproc
22076 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22077 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22080 if test $ac_cv_header_ext_hash_map = yes; then
22081 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22082 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22083 cat >conftest.
$ac_ext <<_ACEOF
22086 cat confdefs.h
>>conftest.
$ac_ext
22087 cat >>conftest.
$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22089 #include <ext/hash_map>
22090 #include <ext/hash_set>
22094 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22095 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22100 rm -f conftest.
$ac_objext
22101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22102 (eval $ac_compile) 2>conftest.er1
22104 grep -v '^ *+' conftest.er1
>conftest.err
22106 cat conftest.err
>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } &&
22109 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22111 (eval $ac_try) 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; } &&
22115 { ac_try
='test -s conftest.$ac_objext'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; }; then
22121 echo "$as_me:$LINENO: result: yes" >&5
22122 echo "${ECHO_T}yes" >&6
22123 cat >>confdefs.h
<<\_ACEOF
22124 #define HAVE_EXT_HASH_MAP 1
22127 cat >>confdefs.h
<<\_ACEOF
22128 #define HAVE_GNU_CXX_HASH_MAP 1
22132 echo "$as_me: failed program was:" >&5
22133 sed 's/^/| /' conftest.
$ac_ext >&5
22135 echo "$as_me:$LINENO: result: no" >&5
22136 echo "${ECHO_T}no" >&6
22138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22145 ac_cpp
='$CPP $CPPFLAGS'
22146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22154 /usr/local/include \
22156 /usr/Motif-2.1/include \
22157 /usr/Motif-1.2/include \
22158 /usr/include/Motif1.2 \
22159 /opt/xpm/include/X11 \
22160 /opt/GBxpm/include/ \
22161 /opt/GBxpm/X11/include/ \
22164 /usr/openwin/include \
22168 /usr/X11R6/include \
22169 /usr/X11R6.4/include \
22170 /usr/X11R5/include \
22171 /usr/X11R4/include \
22173 /usr/include/X11R6 \
22174 /usr/include/X11R5 \
22175 /usr/include/X11R4 \
22177 /usr/local/X11R6/include \
22178 /usr/local/X11R5/include \
22179 /usr/local/X11R4/include \
22181 /usr/local/include/X11R6 \
22182 /usr/local/include/X11R5 \
22183 /usr/local/include/X11R4 \
22187 /usr/local/X11/include \
22188 /usr/local/include/X11 \
22190 /usr/X386/include \
22191 /usr/x386/include \
22192 /usr/XFree86/include/X11 \
22194 X:/XFree86/include \
22195 X:/XFree86/include/X11 \
22198 /usr/local/include/gtk \
22199 /usr/include/glib \
22200 /usr/local/include/glib \
22203 /usr/local/include/qt \
22205 /usr/local/arm/3.3.2/include \
22207 /usr/include/windows \
22208 /usr/include/wine \
22209 /usr/local/include/wine \
22211 /usr/unsupported/include \
22212 /usr/athena/include \
22213 /usr/local/x11r5/include \
22214 /usr/lpp/Xamples/include \
22216 /usr/openwin/share/include"
22218 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22220 if test "$build" != "$host" -a "$GCC" = yes; then
22221 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22222 cross_root
=`dirname $cross_root`
22223 cross_root
=`dirname $cross_root`
22225 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22226 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22228 if test -z "$PKG_CONFIG_PATH"; then
22229 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22230 export PKG_CONFIG_PATH
22233 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22236 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
22238 if test -f "$ac_dir/X11/Intrinsic.h"; then
22239 ac_find_includes
=$ac_dir
22244 x_includes
=$ac_find_includes
22246 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22249 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22251 for ac_extension
in a so sl dylib dll.a
; do
22252 if test -f "$ac_dir/libXt.$ac_extension"; then
22253 ac_find_libraries
=$ac_dir
22259 x_libraries
=$ac_find_libraries
22265 cat >confcache
<<\_ACEOF
22266 # This file is a shell script that caches the results of configure
22267 # tests run on this system so they can be shared between configure
22268 # scripts and configure runs, see configure's option --config-cache.
22269 # It is not useful on other systems. If it contains results you don't
22270 # want to keep, you may remove or edit it.
22272 # config.status only pays attention to the cache file if you give it
22273 # the --recheck option to rerun configure.
22275 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22276 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22277 # following values.
22281 # The following way of writing the cache mishandles newlines in values,
22282 # but we know of no workaround that is simple, portable, and efficient.
22283 # So, don't put newlines in cache variables' values.
22284 # Ultrix sh set writes to stderr and can't be redirected directly,
22285 # and sets the high bit in the cache file unless we assign to the vars.
22288 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22290 # `set' does not quote correctly, so add quotes (double-quote
22291 # substitution turns \\\\ into \\, and sed turns \\ into \).
22294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22297 # `set' quotes correctly as required by POSIX, so do not add quotes.
22299 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22306 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22308 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22310 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22311 if test -w $cache_file; then
22312 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22313 cat confcache
>$cache_file
22315 echo "not updating unwritable cache $cache_file"
22320 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22321 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22322 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22323 if test "${wx_cv_lib_glibc21+set}" = set; then
22324 echo $ECHO_N "(cached) $ECHO_C" >&6
22327 cat >conftest.
$ac_ext <<_ACEOF
22330 cat confdefs.h
>>conftest.
$ac_ext
22331 cat >>conftest.
$ac_ext <<_ACEOF
22332 /* end confdefs.h. */
22333 #include <features.h>
22338 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22339 #error not glibc2.1
22346 rm -f conftest.
$ac_objext
22347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22348 (eval $ac_compile) 2>conftest.er1
22350 grep -v '^ *+' conftest.er1
>conftest.err
22352 cat conftest.err
>&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } &&
22355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22357 (eval $ac_try) 2>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); }; } &&
22361 { ac_try
='test -s conftest.$ac_objext'
22362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22363 (eval $ac_try) 2>&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); }; }; then
22368 wx_cv_lib_glibc21
=yes
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.
$ac_ext >&5
22375 wx_cv_lib_glibc21
=no
22379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22382 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22383 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22384 if test "$wx_cv_lib_glibc21" = "yes"; then
22385 cat >>confdefs.h
<<\_ACEOF
22386 #define wxHAVE_GLIBC2 1
22392 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22393 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22394 cat >>confdefs.h
<<\_ACEOF
22395 #define _GNU_SOURCE 1
22403 if test "$wxUSE_REGEX" != "no"; then
22404 cat >>confdefs.h
<<\_ACEOF
22405 #define wxUSE_REGEX 1
22409 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22410 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22411 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22412 wxUSE_REGEX
=builtin
22415 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22416 if test "${ac_cv_header_regex_h+set}" = set; then
22417 echo "$as_me:$LINENO: checking for regex.h" >&5
22418 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22419 if test "${ac_cv_header_regex_h+set}" = set; then
22420 echo $ECHO_N "(cached) $ECHO_C" >&6
22422 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22423 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22425 # Is the header compilable?
22426 echo "$as_me:$LINENO: checking regex.h usability" >&5
22427 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22428 cat >conftest.
$ac_ext <<_ACEOF
22431 cat confdefs.h
>>conftest.
$ac_ext
22432 cat >>conftest.
$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434 $ac_includes_default
22437 rm -f conftest.
$ac_objext
22438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22439 (eval $ac_compile) 2>conftest.er1
22441 grep -v '^ *+' conftest.er1
>conftest.err
22443 cat conftest.err
>&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); } &&
22446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22448 (eval $ac_try) 2>&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); }; } &&
22452 { ac_try
='test -s conftest.$ac_objext'
22453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22454 (eval $ac_try) 2>&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); }; }; then
22458 ac_header_compiler
=yes
22460 echo "$as_me: failed program was:" >&5
22461 sed 's/^/| /' conftest.
$ac_ext >&5
22463 ac_header_compiler
=no
22465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22467 echo "${ECHO_T}$ac_header_compiler" >&6
22469 # Is the header present?
22470 echo "$as_me:$LINENO: checking regex.h presence" >&5
22471 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22472 cat >conftest.
$ac_ext <<_ACEOF
22475 cat confdefs.h
>>conftest.
$ac_ext
22476 cat >>conftest.
$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22483 grep -v '^ *+' conftest.er1
>conftest.err
22485 cat conftest.err
>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); } >/dev
/null
; then
22488 if test -s conftest.err
; then
22489 ac_cpp_err
=$ac_c_preproc_warn_flag
22490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22497 if test -z "$ac_cpp_err"; then
22498 ac_header_preproc
=yes
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.
$ac_ext >&5
22503 ac_header_preproc
=no
22505 rm -f conftest.err conftest.
$ac_ext
22506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22507 echo "${ECHO_T}$ac_header_preproc" >&6
22509 # So? What about this header?
22510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22512 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22513 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22514 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22515 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22516 ac_header_preproc
=yes
22519 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22520 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22521 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22522 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22523 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22524 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22525 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22526 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22527 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22528 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22529 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22530 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22533 ## ----------------------------------------- ##
22534 ## Report this to wx-dev@lists.wxwidgets.org ##
22535 ## ----------------------------------------- ##
22538 sed "s/^/$as_me: WARNING: /" >&2
22541 echo "$as_me:$LINENO: checking for regex.h" >&5
22542 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22543 if test "${ac_cv_header_regex_h+set}" = set; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22546 ac_cv_header_regex_h
=$ac_header_preproc
22548 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22549 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22552 if test $ac_cv_header_regex_h = yes; then
22554 for ac_func
in regcomp
22556 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22557 echo "$as_me:$LINENO: checking for $ac_func" >&5
22558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22559 if eval "test \"\${$as_ac_var+set}\" = set"; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22562 cat >conftest.
$ac_ext <<_ACEOF
22565 cat confdefs.h
>>conftest.
$ac_ext
22566 cat >>conftest.
$ac_ext <<_ACEOF
22567 /* end confdefs.h. */
22568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22570 #define $ac_func innocuous_$ac_func
22572 /* System header to define __stub macros and hopefully few prototypes,
22573 which can conflict with char $ac_func (); below.
22574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22575 <limits.h> exists even on freestanding compilers. */
22578 # include <limits.h>
22580 # include <assert.h>
22585 /* Override any gcc2 internal prototype to avoid an error. */
22590 /* We use char because int might match the return type of a gcc2
22591 builtin and then its argument prototype would still apply. */
22593 /* The GNU C library defines this for functions which it implements
22594 to always fail with ENOSYS. Some functions are actually named
22595 something starting with __ and the normal name is an alias. */
22596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22599 char (*f) () = $ac_func;
22608 return f != $ac_func;
22613 rm -f conftest.
$ac_objext conftest
$ac_exeext
22614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22615 (eval $ac_link) 2>conftest.er1
22617 grep -v '^ *+' conftest.er1
>conftest.err
22619 cat conftest.err
>&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } &&
22622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; } &&
22628 { ac_try
='test -s conftest$ac_exeext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 eval "$as_ac_var=yes"
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.
$ac_ext >&5
22639 eval "$as_ac_var=no"
22641 rm -f conftest.err conftest.
$ac_objext \
22642 conftest
$ac_exeext conftest.
$ac_ext
22644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22646 if test `eval echo '${'$as_ac_var'}'` = yes; then
22647 cat >>confdefs.h
<<_ACEOF
22648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22658 if test "x$ac_cv_func_regcomp" != "xyes"; then
22659 if test "$wxUSE_REGEX" = "sys" ; then
22660 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22661 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22662 { (exit 1); exit 1; }; }
22664 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22665 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22666 wxUSE_REGEX
=builtin
22670 cat >>confdefs.h
<<\_ACEOF
22671 #define WX_NO_REGEX_ADVANCED 1
22680 if test "$wxUSE_ZLIB" != "no" ; then
22681 cat >>confdefs.h
<<\_ACEOF
22682 #define wxUSE_ZLIB 1
22686 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22687 if test "$USE_DARWIN" = 1; then
22688 system_zlib_h_ok
="yes"
22690 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22691 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22692 if test "${ac_cv_header_zlib_h+set}" = set; then
22693 echo $ECHO_N "(cached) $ECHO_C" >&6
22695 if test "$cross_compiling" = yes; then
22696 unset ac_cv_header_zlib_h
22699 cat >conftest.
$ac_ext <<_ACEOF
22702 cat confdefs.h
>>conftest.
$ac_ext
22703 cat >>conftest.
$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22711 FILE *f=fopen("conftestval", "w");
22714 ZLIB_VERSION[0] == '1' &&
22715 (ZLIB_VERSION[2] > '1' ||
22716 (ZLIB_VERSION[2] == '1' &&
22717 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22722 rm -f conftest
$ac_exeext
22723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22724 (eval $ac_link) 2>&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22729 (eval $ac_try) 2>&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); }; }; then
22733 ac_cv_header_zlib_h
=`cat conftestval`
22735 echo "$as_me: program exited with status $ac_status" >&5
22736 echo "$as_me: failed program was:" >&5
22737 sed 's/^/| /' conftest.
$ac_ext >&5
22739 ( exit $ac_status )
22740 ac_cv_header_zlib_h
=no
22742 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22746 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22747 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22748 if test "${ac_cv_header_zlib_h+set}" = set; then
22749 echo "$as_me:$LINENO: checking for zlib.h" >&5
22750 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22751 if test "${ac_cv_header_zlib_h+set}" = set; then
22752 echo $ECHO_N "(cached) $ECHO_C" >&6
22754 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22755 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22757 # Is the header compilable?
22758 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22759 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22760 cat >conftest.
$ac_ext <<_ACEOF
22763 cat confdefs.h
>>conftest.
$ac_ext
22764 cat >>conftest.
$ac_ext <<_ACEOF
22765 /* end confdefs.h. */
22766 $ac_includes_default
22769 rm -f conftest.
$ac_objext
22770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22771 (eval $ac_compile) 2>conftest.er1
22773 grep -v '^ *+' conftest.er1
>conftest.err
22775 cat conftest.err
>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); } &&
22778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; } &&
22784 { ac_try
='test -s conftest.$ac_objext'
22785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786 (eval $ac_try) 2>&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; }; then
22790 ac_header_compiler
=yes
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.
$ac_ext >&5
22795 ac_header_compiler
=no
22797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22799 echo "${ECHO_T}$ac_header_compiler" >&6
22801 # Is the header present?
22802 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22803 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22804 cat >conftest.
$ac_ext <<_ACEOF
22807 cat confdefs.h
>>conftest.
$ac_ext
22808 cat >>conftest.
$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22815 grep -v '^ *+' conftest.er1
>conftest.err
22817 cat conftest.err
>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } >/dev
/null
; then
22820 if test -s conftest.err
; then
22821 ac_cpp_err
=$ac_c_preproc_warn_flag
22822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22829 if test -z "$ac_cpp_err"; then
22830 ac_header_preproc
=yes
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.
$ac_ext >&5
22835 ac_header_preproc
=no
22837 rm -f conftest.err conftest.
$ac_ext
22838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22839 echo "${ECHO_T}$ac_header_preproc" >&6
22841 # So? What about this header?
22842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22844 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22845 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22846 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22847 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22848 ac_header_preproc
=yes
22851 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22852 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22853 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22854 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22855 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22856 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22857 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22858 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22859 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22860 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22861 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22862 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22865 ## ----------------------------------------- ##
22866 ## Report this to wx-dev@lists.wxwidgets.org ##
22867 ## ----------------------------------------- ##
22870 sed "s/^/$as_me: WARNING: /" >&2
22873 echo "$as_me:$LINENO: checking for zlib.h" >&5
22874 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22875 if test "${ac_cv_header_zlib_h+set}" = set; then
22876 echo $ECHO_N "(cached) $ECHO_C" >&6
22878 ac_cv_header_zlib_h
=$ac_header_preproc
22880 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22881 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22887 system_zlib_h_ok
=$ac_cv_header_zlib_h
22890 if test "$system_zlib_h_ok" = "yes"; then
22891 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22892 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22893 if test "${ac_cv_lib_z_deflate+set}" = set; then
22894 echo $ECHO_N "(cached) $ECHO_C" >&6
22896 ac_check_lib_save_LIBS
=$LIBS
22898 cat >conftest.
$ac_ext <<_ACEOF
22901 cat confdefs.h
>>conftest.
$ac_ext
22902 cat >>conftest.
$ac_ext <<_ACEOF
22903 /* end confdefs.h. */
22905 /* Override any gcc2 internal prototype to avoid an error. */
22909 /* We use char because int might match the return type of a gcc2
22910 builtin and then its argument prototype would still apply. */
22920 rm -f conftest.
$ac_objext conftest
$ac_exeext
22921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22922 (eval $ac_link) 2>conftest.er1
22924 grep -v '^ *+' conftest.er1
>conftest.err
22926 cat conftest.err
>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); } &&
22929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; } &&
22935 { ac_try
='test -s conftest$ac_exeext'
22936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22937 (eval $ac_try) 2>&5
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); }; }; then
22941 ac_cv_lib_z_deflate
=yes
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.
$ac_ext >&5
22946 ac_cv_lib_z_deflate
=no
22948 rm -f conftest.err conftest.
$ac_objext \
22949 conftest
$ac_exeext conftest.
$ac_ext
22950 LIBS
=$ac_check_lib_save_LIBS
22952 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22953 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22954 if test $ac_cv_lib_z_deflate = yes; then
22960 if test "x$ZLIB_LINK" = "x" ; then
22961 if test "$wxUSE_ZLIB" = "sys" ; then
22962 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22963 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22964 { (exit 1); exit 1; }; }
22966 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22967 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22978 if test "$wxUSE_LIBPNG" != "no" ; then
22979 cat >>confdefs.h
<<\_ACEOF
22980 #define wxUSE_LIBPNG 1
22984 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22985 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22986 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22990 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22991 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22992 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22993 wxUSE_LIBPNG
=builtin
22996 if test "$wxUSE_MGL" != 1 ; then
22997 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22998 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22999 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23000 if test "${ac_cv_header_png_h+set}" = set; then
23001 echo $ECHO_N "(cached) $ECHO_C" >&6
23003 if test "$cross_compiling" = yes; then
23004 unset ac_cv_header_png_h
23007 cat >conftest.
$ac_ext <<_ACEOF
23010 cat confdefs.h
>>conftest.
$ac_ext
23011 cat >>conftest.
$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23019 FILE *f=fopen("conftestval", "w");
23022 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23027 rm -f conftest
$ac_exeext
23028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23029 (eval $ac_link) 2>&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; }; then
23038 ac_cv_header_png_h
=`cat conftestval`
23040 echo "$as_me: program exited with status $ac_status" >&5
23041 echo "$as_me: failed program was:" >&5
23042 sed 's/^/| /' conftest.
$ac_ext >&5
23044 ( exit $ac_status )
23045 ac_cv_header_png_h
=no
23047 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23051 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23052 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23053 if test "${ac_cv_header_png_h+set}" = set; then
23054 echo "$as_me:$LINENO: checking for png.h" >&5
23055 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23056 if test "${ac_cv_header_png_h+set}" = set; then
23057 echo $ECHO_N "(cached) $ECHO_C" >&6
23059 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23060 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23062 # Is the header compilable?
23063 echo "$as_me:$LINENO: checking png.h usability" >&5
23064 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23065 cat >conftest.
$ac_ext <<_ACEOF
23068 cat confdefs.h
>>conftest.
$ac_ext
23069 cat >>conftest.
$ac_ext <<_ACEOF
23070 /* end confdefs.h. */
23071 $ac_includes_default
23074 rm -f conftest.
$ac_objext
23075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23076 (eval $ac_compile) 2>conftest.er1
23078 grep -v '^ *+' conftest.er1
>conftest.err
23080 cat conftest.err
>&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); } &&
23083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23085 (eval $ac_try) 2>&5
23087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088 (exit $ac_status); }; } &&
23089 { ac_try
='test -s conftest.$ac_objext'
23090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091 (eval $ac_try) 2>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); }; }; then
23095 ac_header_compiler
=yes
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.
$ac_ext >&5
23100 ac_header_compiler
=no
23102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23104 echo "${ECHO_T}$ac_header_compiler" >&6
23106 # Is the header present?
23107 echo "$as_me:$LINENO: checking png.h presence" >&5
23108 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23109 cat >conftest.
$ac_ext <<_ACEOF
23112 cat confdefs.h
>>conftest.
$ac_ext
23113 cat >>conftest.
$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23118 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23120 grep -v '^ *+' conftest.er1
>conftest.err
23122 cat conftest.err
>&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } >/dev
/null
; then
23125 if test -s conftest.err
; then
23126 ac_cpp_err
=$ac_c_preproc_warn_flag
23127 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23134 if test -z "$ac_cpp_err"; then
23135 ac_header_preproc
=yes
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.
$ac_ext >&5
23140 ac_header_preproc
=no
23142 rm -f conftest.err conftest.
$ac_ext
23143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23144 echo "${ECHO_T}$ac_header_preproc" >&6
23146 # So? What about this header?
23147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23149 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23150 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23151 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23152 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23153 ac_header_preproc
=yes
23156 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23157 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23158 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23159 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23160 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23161 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23162 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23163 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23164 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23165 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23166 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23167 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23170 ## ----------------------------------------- ##
23171 ## Report this to wx-dev@lists.wxwidgets.org ##
23172 ## ----------------------------------------- ##
23175 sed "s/^/$as_me: WARNING: /" >&2
23178 echo "$as_me:$LINENO: checking for png.h" >&5
23179 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23180 if test "${ac_cv_header_png_h+set}" = set; then
23181 echo $ECHO_N "(cached) $ECHO_C" >&6
23183 ac_cv_header_png_h
=$ac_header_preproc
23185 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23186 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23192 if test "$ac_cv_header_png_h" = "yes"; then
23193 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23194 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23195 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23196 echo $ECHO_N "(cached) $ECHO_C" >&6
23198 ac_check_lib_save_LIBS
=$LIBS
23199 LIBS
="-lpng -lz -lm $LIBS"
23200 cat >conftest.
$ac_ext <<_ACEOF
23203 cat confdefs.h
>>conftest.
$ac_ext
23204 cat >>conftest.
$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23207 /* Override any gcc2 internal prototype to avoid an error. */
23211 /* We use char because int might match the return type of a gcc2
23212 builtin and then its argument prototype would still apply. */
23213 char png_check_sig ();
23222 rm -f conftest.
$ac_objext conftest
$ac_exeext
23223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23224 (eval $ac_link) 2>conftest.er1
23226 grep -v '^ *+' conftest.er1
>conftest.err
23228 cat conftest.err
>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; } &&
23237 { ac_try
='test -s conftest$ac_exeext'
23238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23239 (eval $ac_try) 2>&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); }; }; then
23243 ac_cv_lib_png_png_check_sig
=yes
23245 echo "$as_me: failed program was:" >&5
23246 sed 's/^/| /' conftest.
$ac_ext >&5
23248 ac_cv_lib_png_png_check_sig
=no
23250 rm -f conftest.err conftest.
$ac_objext \
23251 conftest
$ac_exeext conftest.
$ac_ext
23252 LIBS
=$ac_check_lib_save_LIBS
23254 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23255 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23256 if test $ac_cv_lib_png_png_check_sig = yes; then
23257 PNG_LINK
=" -lpng -lz"
23262 if test "x$PNG_LINK" = "x" ; then
23263 if test "$wxUSE_LIBPNG" = "sys" ; then
23264 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23265 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23266 { (exit 1); exit 1; }; }
23268 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23269 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23270 wxUSE_LIBPNG
=builtin
23278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23283 if test "$wxUSE_LIBJPEG" != "no" ; then
23284 cat >>confdefs.h
<<\_ACEOF
23285 #define wxUSE_LIBJPEG 1
23289 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23290 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23291 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23295 if test "$wxUSE_MGL" != 1 ; then
23296 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23297 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23298 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23299 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23300 echo $ECHO_N "(cached) $ECHO_C" >&6
23302 cat >conftest.
$ac_ext <<_ACEOF
23305 cat confdefs.h
>>conftest.
$ac_ext
23306 cat >>conftest.
$ac_ext <<_ACEOF
23307 /* end confdefs.h. */
23309 #undef HAVE_STDLIB_H
23311 #include <jpeglib.h>
23322 rm -f conftest.
$ac_objext
23323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23324 (eval $ac_compile) 2>conftest.er1
23326 grep -v '^ *+' conftest.er1
>conftest.err
23328 cat conftest.err
>&5
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); } &&
23331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23333 (eval $ac_try) 2>&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); }; } &&
23337 { ac_try
='test -s conftest.$ac_objext'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; }; then
23343 ac_cv_header_jpeglib_h
=yes
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.
$ac_ext >&5
23348 ac_cv_header_jpeglib_h
=no
23351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23355 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23356 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23358 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23359 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23360 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23361 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23364 ac_check_lib_save_LIBS
=$LIBS
23365 LIBS
="-ljpeg $LIBS"
23366 cat >conftest.
$ac_ext <<_ACEOF
23369 cat confdefs.h
>>conftest.
$ac_ext
23370 cat >>conftest.
$ac_ext <<_ACEOF
23371 /* end confdefs.h. */
23373 /* Override any gcc2 internal prototype to avoid an error. */
23377 /* We use char because int might match the return type of a gcc2
23378 builtin and then its argument prototype would still apply. */
23379 char jpeg_read_header ();
23383 jpeg_read_header ();
23388 rm -f conftest.
$ac_objext conftest
$ac_exeext
23389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23390 (eval $ac_link) 2>conftest.er1
23392 grep -v '^ *+' conftest.er1
>conftest.err
23394 cat conftest.err
>&5
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); } &&
23397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23399 (eval $ac_try) 2>&5
23401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402 (exit $ac_status); }; } &&
23403 { ac_try
='test -s conftest$ac_exeext'
23404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23405 (eval $ac_try) 2>&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); }; }; then
23409 ac_cv_lib_jpeg_jpeg_read_header
=yes
23411 echo "$as_me: failed program was:" >&5
23412 sed 's/^/| /' conftest.
$ac_ext >&5
23414 ac_cv_lib_jpeg_jpeg_read_header
=no
23416 rm -f conftest.err conftest.
$ac_objext \
23417 conftest
$ac_exeext conftest.
$ac_ext
23418 LIBS
=$ac_check_lib_save_LIBS
23420 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23421 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23422 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23423 JPEG_LINK
=" -ljpeg"
23428 if test "x$JPEG_LINK" = "x" ; then
23429 if test "$wxUSE_LIBJPEG" = "sys" ; then
23430 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23431 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23432 { (exit 1); exit 1; }; }
23434 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23435 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23436 wxUSE_LIBJPEG
=builtin
23447 TIFF_PREREQ_LINKS
=-lm
23448 if test "$wxUSE_LIBTIFF" != "no" ; then
23449 cat >>confdefs.h
<<\_ACEOF
23450 #define wxUSE_LIBTIFF 1
23454 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23455 if test "$wxUSE_LIBJPEG" = "sys"; then
23456 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23458 if test "$wxUSE_ZLIB" = "sys"; then
23459 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23461 if test "${ac_cv_header_tiffio_h+set}" = set; then
23462 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23463 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23464 if test "${ac_cv_header_tiffio_h+set}" = set; then
23465 echo $ECHO_N "(cached) $ECHO_C" >&6
23467 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23468 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23470 # Is the header compilable?
23471 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23472 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23473 cat >conftest.
$ac_ext <<_ACEOF
23476 cat confdefs.h
>>conftest.
$ac_ext
23477 cat >>conftest.
$ac_ext <<_ACEOF
23478 /* end confdefs.h. */
23479 $ac_includes_default
23480 #include <tiffio.h>
23482 rm -f conftest.
$ac_objext
23483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23484 (eval $ac_compile) 2>conftest.er1
23486 grep -v '^ *+' conftest.er1
>conftest.err
23488 cat conftest.err
>&5
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); } &&
23491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23493 (eval $ac_try) 2>&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); }; } &&
23497 { ac_try
='test -s conftest.$ac_objext'
23498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; }; then
23503 ac_header_compiler
=yes
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.
$ac_ext >&5
23508 ac_header_compiler
=no
23510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23512 echo "${ECHO_T}$ac_header_compiler" >&6
23514 # Is the header present?
23515 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23516 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23517 cat >conftest.
$ac_ext <<_ACEOF
23520 cat confdefs.h
>>conftest.
$ac_ext
23521 cat >>conftest.
$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523 #include <tiffio.h>
23525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23528 grep -v '^ *+' conftest.er1
>conftest.err
23530 cat conftest.err
>&5
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); } >/dev
/null
; then
23533 if test -s conftest.err
; then
23534 ac_cpp_err
=$ac_c_preproc_warn_flag
23535 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23542 if test -z "$ac_cpp_err"; then
23543 ac_header_preproc
=yes
23545 echo "$as_me: failed program was:" >&5
23546 sed 's/^/| /' conftest.
$ac_ext >&5
23548 ac_header_preproc
=no
23550 rm -f conftest.err conftest.
$ac_ext
23551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23552 echo "${ECHO_T}$ac_header_preproc" >&6
23554 # So? What about this header?
23555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23557 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23558 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23559 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23560 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23561 ac_header_preproc
=yes
23564 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23565 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23566 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23567 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23568 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23569 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23570 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23571 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23572 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23573 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23574 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23575 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23578 ## ----------------------------------------- ##
23579 ## Report this to wx-dev@lists.wxwidgets.org ##
23580 ## ----------------------------------------- ##
23583 sed "s/^/$as_me: WARNING: /" >&2
23586 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23587 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23588 if test "${ac_cv_header_tiffio_h+set}" = set; then
23589 echo $ECHO_N "(cached) $ECHO_C" >&6
23591 ac_cv_header_tiffio_h
=$ac_header_preproc
23593 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23594 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23597 if test $ac_cv_header_tiffio_h = yes; then
23599 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23600 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23601 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23602 echo $ECHO_N "(cached) $ECHO_C" >&6
23604 ac_check_lib_save_LIBS
=$LIBS
23605 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23606 cat >conftest.
$ac_ext <<_ACEOF
23609 cat confdefs.h
>>conftest.
$ac_ext
23610 cat >>conftest.
$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23613 /* Override any gcc2 internal prototype to avoid an error. */
23617 /* We use char because int might match the return type of a gcc2
23618 builtin and then its argument prototype would still apply. */
23628 rm -f conftest.
$ac_objext conftest
$ac_exeext
23629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23630 (eval $ac_link) 2>conftest.er1
23632 grep -v '^ *+' conftest.er1
>conftest.err
23634 cat conftest.err
>&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } &&
23637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23639 (eval $ac_try) 2>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; } &&
23643 { ac_try
='test -s conftest$ac_exeext'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; }; then
23649 ac_cv_lib_tiff_TIFFError
=yes
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.
$ac_ext >&5
23654 ac_cv_lib_tiff_TIFFError
=no
23656 rm -f conftest.err conftest.
$ac_objext \
23657 conftest
$ac_exeext conftest.
$ac_ext
23658 LIBS
=$ac_check_lib_save_LIBS
23660 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23661 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23662 if test $ac_cv_lib_tiff_TIFFError = yes; then
23663 TIFF_LINK
=" -ltiff"
23672 if test "x$TIFF_LINK" = "x" ; then
23673 if test "$wxUSE_LIBTIFF" = "sys" ; then
23674 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23675 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23676 { (exit 1); exit 1; }; }
23678 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23679 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23680 wxUSE_LIBTIFF
=builtin
23689 if test "$wxUSE_WCHAR_T" != "yes"; then
23690 if test "$wxUSE_EXPAT" != "no"; then
23691 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23692 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23695 if test "$wxUSE_XML" != "no"; then
23696 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23697 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23702 if test "$wxUSE_EXPAT" != "no"; then
23704 cat >>confdefs.h
<<\_ACEOF
23705 #define wxUSE_EXPAT 1
23708 cat >>confdefs.h
<<\_ACEOF
23709 #define wxUSE_XML 1
23713 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23714 if test "${ac_cv_header_expat_h+set}" = set; then
23715 echo "$as_me:$LINENO: checking for expat.h" >&5
23716 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23717 if test "${ac_cv_header_expat_h+set}" = set; then
23718 echo $ECHO_N "(cached) $ECHO_C" >&6
23720 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23721 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23723 # Is the header compilable?
23724 echo "$as_me:$LINENO: checking expat.h usability" >&5
23725 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23726 cat >conftest.
$ac_ext <<_ACEOF
23729 cat confdefs.h
>>conftest.
$ac_ext
23730 cat >>conftest.
$ac_ext <<_ACEOF
23731 /* end confdefs.h. */
23732 $ac_includes_default
23735 rm -f conftest.
$ac_objext
23736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23737 (eval $ac_compile) 2>conftest.er1
23739 grep -v '^ *+' conftest.er1
>conftest.err
23741 cat conftest.err
>&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); } &&
23744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23746 (eval $ac_try) 2>&5
23748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23749 (exit $ac_status); }; } &&
23750 { ac_try
='test -s conftest.$ac_objext'
23751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23752 (eval $ac_try) 2>&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); }; }; then
23756 ac_header_compiler
=yes
23758 echo "$as_me: failed program was:" >&5
23759 sed 's/^/| /' conftest.
$ac_ext >&5
23761 ac_header_compiler
=no
23763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23765 echo "${ECHO_T}$ac_header_compiler" >&6
23767 # Is the header present?
23768 echo "$as_me:$LINENO: checking expat.h presence" >&5
23769 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23770 cat >conftest.
$ac_ext <<_ACEOF
23773 cat confdefs.h
>>conftest.
$ac_ext
23774 cat >>conftest.
$ac_ext <<_ACEOF
23775 /* end confdefs.h. */
23778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23781 grep -v '^ *+' conftest.er1
>conftest.err
23783 cat conftest.err
>&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); } >/dev
/null
; then
23786 if test -s conftest.err
; then
23787 ac_cpp_err
=$ac_c_preproc_warn_flag
23788 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23795 if test -z "$ac_cpp_err"; then
23796 ac_header_preproc
=yes
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.
$ac_ext >&5
23801 ac_header_preproc
=no
23803 rm -f conftest.err conftest.
$ac_ext
23804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23805 echo "${ECHO_T}$ac_header_preproc" >&6
23807 # So? What about this header?
23808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23810 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23811 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23812 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23813 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23814 ac_header_preproc
=yes
23817 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23818 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23819 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23820 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23821 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23822 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23823 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23824 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23825 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23826 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23827 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23828 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23831 ## ----------------------------------------- ##
23832 ## Report this to wx-dev@lists.wxwidgets.org ##
23833 ## ----------------------------------------- ##
23836 sed "s/^/$as_me: WARNING: /" >&2
23839 echo "$as_me:$LINENO: checking for expat.h" >&5
23840 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23841 if test "${ac_cv_header_expat_h+set}" = set; then
23842 echo $ECHO_N "(cached) $ECHO_C" >&6
23844 ac_cv_header_expat_h
=$ac_header_preproc
23846 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23847 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23850 if test $ac_cv_header_expat_h = yes; then
23855 if test "x$found_expat_h" = "x1"; then
23856 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23857 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23858 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23865 ac_cpp
='$CXXCPP $CPPFLAGS'
23866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23870 cat >conftest.
$ac_ext <<_ACEOF
23873 cat confdefs.h
>>conftest.
$ac_ext
23874 cat >>conftest.
$ac_ext <<_ACEOF
23875 /* end confdefs.h. */
23885 rm -f conftest.
$ac_objext
23886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23887 (eval $ac_compile) 2>conftest.er1
23889 grep -v '^ *+' conftest.er1
>conftest.err
23891 cat conftest.err
>&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); } &&
23894 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23896 (eval $ac_try) 2>&5
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); }; } &&
23900 { ac_try
='test -s conftest.$ac_objext'
23901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23902 (eval $ac_try) 2>&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); }; }; then
23906 wx_cv_expat_is_not_broken
=yes
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.
$ac_ext >&5
23911 wx_cv_expat_is_not_broken
=no
23914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23916 ac_cpp
='$CPP $CPPFLAGS'
23917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23924 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23925 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23926 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23927 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23928 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23929 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23932 ac_check_lib_save_LIBS
=$LIBS
23933 LIBS
="-lexpat $LIBS"
23934 cat >conftest.
$ac_ext <<_ACEOF
23937 cat confdefs.h
>>conftest.
$ac_ext
23938 cat >>conftest.
$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23941 /* Override any gcc2 internal prototype to avoid an error. */
23945 /* We use char because int might match the return type of a gcc2
23946 builtin and then its argument prototype would still apply. */
23947 char XML_ParserCreate ();
23951 XML_ParserCreate ();
23956 rm -f conftest.
$ac_objext conftest
$ac_exeext
23957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23958 (eval $ac_link) 2>conftest.er1
23960 grep -v '^ *+' conftest.er1
>conftest.err
23962 cat conftest.err
>&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } &&
23965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23967 (eval $ac_try) 2>&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); }; } &&
23971 { ac_try
='test -s conftest$ac_exeext'
23972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973 (eval $ac_try) 2>&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); }; }; then
23977 ac_cv_lib_expat_XML_ParserCreate
=yes
23979 echo "$as_me: failed program was:" >&5
23980 sed 's/^/| /' conftest.
$ac_ext >&5
23982 ac_cv_lib_expat_XML_ParserCreate
=no
23984 rm -f conftest.err conftest.
$ac_objext \
23985 conftest
$ac_exeext conftest.
$ac_ext
23986 LIBS
=$ac_check_lib_save_LIBS
23988 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23989 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23990 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23991 EXPAT_LINK
=" -lexpat"
23996 if test "x$EXPAT_LINK" = "x" ; then
23997 if test "$wxUSE_EXPAT" = "sys" ; then
23998 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23999 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24000 { (exit 1); exit 1; }; }
24002 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24003 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24004 wxUSE_EXPAT
=builtin
24010 if test "$wxUSE_EXPAT" = "builtin" ; then
24013 subdirs
="$subdirs src/expat"
24020 if test "$wxUSE_LIBMSPACK" != "no"; then
24021 if test "${ac_cv_header_mspack_h+set}" = set; then
24022 echo "$as_me:$LINENO: checking for mspack.h" >&5
24023 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24024 if test "${ac_cv_header_mspack_h+set}" = set; then
24025 echo $ECHO_N "(cached) $ECHO_C" >&6
24027 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24028 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24030 # Is the header compilable?
24031 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24032 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24033 cat >conftest.
$ac_ext <<_ACEOF
24036 cat confdefs.h
>>conftest.
$ac_ext
24037 cat >>conftest.
$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24039 $ac_includes_default
24040 #include <mspack.h>
24042 rm -f conftest.
$ac_objext
24043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24044 (eval $ac_compile) 2>conftest.er1
24046 grep -v '^ *+' conftest.er1
>conftest.err
24048 cat conftest.err
>&5
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); } &&
24051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053 (eval $ac_try) 2>&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); }; } &&
24057 { ac_try
='test -s conftest.$ac_objext'
24058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24059 (eval $ac_try) 2>&5
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); }; }; then
24063 ac_header_compiler
=yes
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.
$ac_ext >&5
24068 ac_header_compiler
=no
24070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24072 echo "${ECHO_T}$ac_header_compiler" >&6
24074 # Is the header present?
24075 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24076 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24077 cat >conftest.
$ac_ext <<_ACEOF
24080 cat confdefs.h
>>conftest.
$ac_ext
24081 cat >>conftest.
$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24083 #include <mspack.h>
24085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24086 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24088 grep -v '^ *+' conftest.er1
>conftest.err
24090 cat conftest.err
>&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); } >/dev
/null
; then
24093 if test -s conftest.err
; then
24094 ac_cpp_err
=$ac_c_preproc_warn_flag
24095 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24102 if test -z "$ac_cpp_err"; then
24103 ac_header_preproc
=yes
24105 echo "$as_me: failed program was:" >&5
24106 sed 's/^/| /' conftest.
$ac_ext >&5
24108 ac_header_preproc
=no
24110 rm -f conftest.err conftest.
$ac_ext
24111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24112 echo "${ECHO_T}$ac_header_preproc" >&6
24114 # So? What about this header?
24115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24117 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24118 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24119 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24120 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24121 ac_header_preproc
=yes
24124 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24125 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24126 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24127 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24128 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24129 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24130 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24131 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24132 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24133 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24134 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24135 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24138 ## ----------------------------------------- ##
24139 ## Report this to wx-dev@lists.wxwidgets.org ##
24140 ## ----------------------------------------- ##
24143 sed "s/^/$as_me: WARNING: /" >&2
24146 echo "$as_me:$LINENO: checking for mspack.h" >&5
24147 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24148 if test "${ac_cv_header_mspack_h+set}" = set; then
24149 echo $ECHO_N "(cached) $ECHO_C" >&6
24151 ac_cv_header_mspack_h
=$ac_header_preproc
24153 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24154 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24157 if test $ac_cv_header_mspack_h = yes; then
24162 if test "x$found_mspack_h" = "x1"; then
24163 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24164 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24165 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24166 echo $ECHO_N "(cached) $ECHO_C" >&6
24168 ac_check_lib_save_LIBS
=$LIBS
24169 LIBS
="-lmspack $LIBS"
24170 cat >conftest.
$ac_ext <<_ACEOF
24173 cat confdefs.h
>>conftest.
$ac_ext
24174 cat >>conftest.
$ac_ext <<_ACEOF
24175 /* end confdefs.h. */
24177 /* Override any gcc2 internal prototype to avoid an error. */
24181 /* We use char because int might match the return type of a gcc2
24182 builtin and then its argument prototype would still apply. */
24183 char mspack_create_chm_decompressor ();
24187 mspack_create_chm_decompressor ();
24192 rm -f conftest.
$ac_objext conftest
$ac_exeext
24193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24194 (eval $ac_link) 2>conftest.er1
24196 grep -v '^ *+' conftest.er1
>conftest.err
24198 cat conftest.err
>&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } &&
24201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; } &&
24207 { ac_try
='test -s conftest$ac_exeext'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; }; then
24213 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24215 echo "$as_me: failed program was:" >&5
24216 sed 's/^/| /' conftest.
$ac_ext >&5
24218 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24220 rm -f conftest.err conftest.
$ac_objext \
24221 conftest
$ac_exeext conftest.
$ac_ext
24222 LIBS
=$ac_check_lib_save_LIBS
24224 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24225 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24226 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24227 MSPACK_LINK
=" -lmspack"
24231 if test "x$MSPACK_LINK" = "x" ; then
24236 if test "$wxUSE_LIBMSPACK" != "no"; then
24237 cat >>confdefs.h
<<\_ACEOF
24238 #define wxUSE_LIBMSPACK 1
24252 if test "$USE_WIN32" = 1 ; then
24254 for ac_header
in w32api.h
24256 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24258 echo "$as_me:$LINENO: checking for $ac_header" >&5
24259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24261 echo $ECHO_N "(cached) $ECHO_C" >&6
24263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24266 # Is the header compilable?
24267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24269 cat >conftest.
$ac_ext <<_ACEOF
24272 cat confdefs.h
>>conftest.
$ac_ext
24273 cat >>conftest.
$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275 $ac_includes_default
24276 #include <$ac_header>
24278 rm -f conftest.
$ac_objext
24279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24280 (eval $ac_compile) 2>conftest.er1
24282 grep -v '^ *+' conftest.er1
>conftest.err
24284 cat conftest.err
>&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); } &&
24287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; } &&
24293 { ac_try
='test -s conftest.$ac_objext'
24294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24295 (eval $ac_try) 2>&5
24297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298 (exit $ac_status); }; }; then
24299 ac_header_compiler
=yes
24301 echo "$as_me: failed program was:" >&5
24302 sed 's/^/| /' conftest.
$ac_ext >&5
24304 ac_header_compiler
=no
24306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24308 echo "${ECHO_T}$ac_header_compiler" >&6
24310 # Is the header present?
24311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24313 cat >conftest.
$ac_ext <<_ACEOF
24316 cat confdefs.h
>>conftest.
$ac_ext
24317 cat >>conftest.
$ac_ext <<_ACEOF
24318 /* end confdefs.h. */
24319 #include <$ac_header>
24321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24324 grep -v '^ *+' conftest.er1
>conftest.err
24326 cat conftest.err
>&5
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); } >/dev
/null
; then
24329 if test -s conftest.err
; then
24330 ac_cpp_err
=$ac_c_preproc_warn_flag
24331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24338 if test -z "$ac_cpp_err"; then
24339 ac_header_preproc
=yes
24341 echo "$as_me: failed program was:" >&5
24342 sed 's/^/| /' conftest.
$ac_ext >&5
24344 ac_header_preproc
=no
24346 rm -f conftest.err conftest.
$ac_ext
24347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24348 echo "${ECHO_T}$ac_header_preproc" >&6
24350 # So? What about this header?
24351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24357 ac_header_preproc
=yes
24360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24374 ## ----------------------------------------- ##
24375 ## Report this to wx-dev@lists.wxwidgets.org ##
24376 ## ----------------------------------------- ##
24379 sed "s/^/$as_me: WARNING: /" >&2
24382 echo "$as_me:$LINENO: checking for $ac_header" >&5
24383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24385 echo $ECHO_N "(cached) $ECHO_C" >&6
24387 eval "$as_ac_Header=\$ac_header_preproc"
24389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24394 cat >>confdefs.h
<<_ACEOF
24395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24402 if test "${ac_cv_header_windows_h+set}" = set; then
24403 echo "$as_me:$LINENO: checking for windows.h" >&5
24404 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24405 if test "${ac_cv_header_windows_h+set}" = set; then
24406 echo $ECHO_N "(cached) $ECHO_C" >&6
24408 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24409 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24411 # Is the header compilable?
24412 echo "$as_me:$LINENO: checking windows.h usability" >&5
24413 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24414 cat >conftest.
$ac_ext <<_ACEOF
24417 cat confdefs.h
>>conftest.
$ac_ext
24418 cat >>conftest.
$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24420 $ac_includes_default
24421 #include <windows.h>
24423 rm -f conftest.
$ac_objext
24424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24425 (eval $ac_compile) 2>conftest.er1
24427 grep -v '^ *+' conftest.er1
>conftest.err
24429 cat conftest.err
>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); } &&
24432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24434 (eval $ac_try) 2>&5
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); }; } &&
24438 { ac_try
='test -s conftest.$ac_objext'
24439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24440 (eval $ac_try) 2>&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); }; }; then
24444 ac_header_compiler
=yes
24446 echo "$as_me: failed program was:" >&5
24447 sed 's/^/| /' conftest.
$ac_ext >&5
24449 ac_header_compiler
=no
24451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24453 echo "${ECHO_T}$ac_header_compiler" >&6
24455 # Is the header present?
24456 echo "$as_me:$LINENO: checking windows.h presence" >&5
24457 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24458 cat >conftest.
$ac_ext <<_ACEOF
24461 cat confdefs.h
>>conftest.
$ac_ext
24462 cat >>conftest.
$ac_ext <<_ACEOF
24463 /* end confdefs.h. */
24464 #include <windows.h>
24466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24467 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24469 grep -v '^ *+' conftest.er1
>conftest.err
24471 cat conftest.err
>&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); } >/dev
/null
; then
24474 if test -s conftest.err
; then
24475 ac_cpp_err
=$ac_c_preproc_warn_flag
24476 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24483 if test -z "$ac_cpp_err"; then
24484 ac_header_preproc
=yes
24486 echo "$as_me: failed program was:" >&5
24487 sed 's/^/| /' conftest.
$ac_ext >&5
24489 ac_header_preproc
=no
24491 rm -f conftest.err conftest.
$ac_ext
24492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24493 echo "${ECHO_T}$ac_header_preproc" >&6
24495 # So? What about this header?
24496 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24498 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24499 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24500 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24501 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24502 ac_header_preproc
=yes
24505 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24506 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24507 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24508 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24509 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24510 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24511 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24512 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24513 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24514 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24515 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24516 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24519 ## ----------------------------------------- ##
24520 ## Report this to wx-dev@lists.wxwidgets.org ##
24521 ## ----------------------------------------- ##
24524 sed "s/^/$as_me: WARNING: /" >&2
24527 echo "$as_me:$LINENO: checking for windows.h" >&5
24528 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24529 if test "${ac_cv_header_windows_h+set}" = set; then
24530 echo $ECHO_N "(cached) $ECHO_C" >&6
24532 ac_cv_header_windows_h
=$ac_header_preproc
24534 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24535 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24538 if test $ac_cv_header_windows_h = yes; then
24542 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24543 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24544 { (exit 1); exit 1; }; }
24550 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24552 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24553 LIBS
="$LIBS -loleacc"
24558 LIBS
="$LIBS -lkernel32 -luser32"
24559 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24562 if test "$wxUSE_ODBC" = "sys" ; then
24565 if test "$wxUSE_ODBC" = "yes" ; then
24566 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24567 cat >>confdefs.h
<<\_ACEOF
24568 #define wxUSE_ODBC 1
24573 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24574 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24576 WIN32INSTALL
=win32install
24579 if test "$wxUSE_GUI" = "yes"; then
24589 if test "$wxUSE_COCOA" = 1 ; then
24590 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24591 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24592 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24593 wxUSE_PRINTING_ARCHITECTURE
=no
24595 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24596 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24597 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24598 wxUSE_DRAG_AND_DROP
=no
24600 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24601 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24602 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24607 if test "$wxUSE_MSW" = 1 ; then
24613 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24617 if test "$wxUSE_GTK" = 1; then
24618 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24619 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24621 gtk_version_cached
=1
24622 if test "${wx_cv_lib_gtk+set}" = set; then
24623 echo $ECHO_N "(cached) $ECHO_C" >&6
24626 gtk_version_cached
=0
24627 echo "$as_me:$LINENO: result: " >&5
24628 echo "${ECHO_T}" >&6
24631 if test "$wxUSE_THREADS" = "yes"; then
24632 GTK_MODULES
=gthread
24636 if test "x$wxGTK_VERSION" != "x1"; then
24637 # Check whether --enable-gtktest or --disable-gtktest was given.
24638 if test "${enable_gtktest+set}" = set; then
24639 enableval
="$enable_gtktest"
24645 pkg_config_args
=gtk
+-2.0
24646 for module
in .
$GTK_MODULES
24650 pkg_config_args
="$pkg_config_args gthread-2.0"
24657 # Extract the first word of "pkg-config", so it can be a program name with args.
24658 set dummy pkg
-config; ac_word
=$2
24659 echo "$as_me:$LINENO: checking for $ac_word" >&5
24660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24661 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24662 echo $ECHO_N "(cached) $ECHO_C" >&6
24664 case $PKG_CONFIG in
24666 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24670 for as_dir
in $PATH
24673 test -z "$as_dir" && as_dir
=.
24674 for ac_exec_ext
in '' $ac_executable_extensions; do
24675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24676 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24683 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24687 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24689 if test -n "$PKG_CONFIG"; then
24690 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24691 echo "${ECHO_T}$PKG_CONFIG" >&6
24693 echo "$as_me:$LINENO: result: no" >&5
24694 echo "${ECHO_T}no" >&6
24698 if test x
$PKG_CONFIG != xno
; then
24699 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24702 echo "*** pkg-config too old; version 0.7 or better required."
24710 min_gtk_version
=2.0.0
24711 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24712 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24714 if test x
$PKG_CONFIG != xno
; then
24715 ## don't try to run the test against uninstalled libtool libs
24716 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24717 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24721 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24728 if test x
"$no_gtk" = x
; then
24729 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24730 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24731 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24732 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24733 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24735 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24737 if test "x$enable_gtktest" = "xyes" ; then
24738 ac_save_CFLAGS
="$CFLAGS"
24739 ac_save_LIBS
="$LIBS"
24740 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24741 LIBS
="$GTK_LIBS $LIBS"
24743 if test "$cross_compiling" = yes; then
24744 echo $ac_n "cross compiling; assumed OK... $ac_c"
24746 cat >conftest.
$ac_ext <<_ACEOF
24749 cat confdefs.h
>>conftest.
$ac_ext
24750 cat >>conftest.
$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24753 #include <gtk/gtk.h>
24755 #include <stdlib.h>
24760 int major, minor, micro;
24763 system ("touch conf.gtktest");
24765 /* HP/UX 9 (%@#!) writes to sscanf strings */
24766 tmp_version = g_strdup("$min_gtk_version");
24767 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24768 printf("%s, bad version string\n", "$min_gtk_version");
24772 if ((gtk_major_version != $gtk_config_major_version) ||
24773 (gtk_minor_version != $gtk_config_minor_version) ||
24774 (gtk_micro_version != $gtk_config_micro_version))
24776 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24777 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24778 gtk_major_version, gtk_minor_version, gtk_micro_version);
24779 printf ("*** was found! If pkg-config was correct, then it is best\n");
24780 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24781 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24782 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24783 printf("*** required on your system.\n");
24784 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24785 printf("*** to point to the correct configuration files\n");
24787 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24788 (gtk_minor_version != GTK_MINOR_VERSION) ||
24789 (gtk_micro_version != GTK_MICRO_VERSION))
24791 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24792 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24793 printf("*** library (version %d.%d.%d)\n",
24794 gtk_major_version, gtk_minor_version, gtk_micro_version);
24798 if ((gtk_major_version > major) ||
24799 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24800 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24806 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24807 gtk_major_version, gtk_minor_version, gtk_micro_version);
24808 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24809 major, minor, micro);
24810 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24812 printf("*** If you have already installed a sufficiently new version, this error\n");
24813 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24814 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24815 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24816 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24817 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24818 printf("*** so that the correct libraries are found at run-time))\n");
24825 rm -f conftest
$ac_exeext
24826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24827 (eval $ac_link) 2>&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24832 (eval $ac_try) 2>&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); }; }; then
24838 echo "$as_me: program exited with status $ac_status" >&5
24839 echo "$as_me: failed program was:" >&5
24840 sed 's/^/| /' conftest.
$ac_ext >&5
24842 ( exit $ac_status )
24845 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24847 CFLAGS
="$ac_save_CFLAGS"
24848 LIBS
="$ac_save_LIBS"
24851 if test "x$no_gtk" = x
; then
24852 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24853 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24856 echo "$as_me:$LINENO: result: no" >&5
24857 echo "${ECHO_T}no" >&6
24858 if test "$PKG_CONFIG" = "no" ; then
24859 echo "*** A new enough version of pkg-config was not found."
24860 echo "*** See http://pkgconfig.sourceforge.net"
24862 if test -f conf.gtktest
; then
24865 echo "*** Could not run GTK+ test program, checking why..."
24866 ac_save_CFLAGS
="$CFLAGS"
24867 ac_save_LIBS
="$LIBS"
24868 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24869 LIBS
="$LIBS $GTK_LIBS"
24870 cat >conftest.
$ac_ext <<_ACEOF
24873 cat confdefs.h
>>conftest.
$ac_ext
24874 cat >>conftest.
$ac_ext <<_ACEOF
24875 /* end confdefs.h. */
24877 #include <gtk/gtk.h>
24883 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24888 rm -f conftest.
$ac_objext conftest
$ac_exeext
24889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24890 (eval $ac_link) 2>conftest.er1
24892 grep -v '^ *+' conftest.er1
>conftest.err
24894 cat conftest.err
>&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } &&
24897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24899 (eval $ac_try) 2>&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); }; } &&
24903 { ac_try
='test -s conftest$ac_exeext'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; }; then
24909 echo "*** The test program compiled, but did not run. This usually means"
24910 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24911 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24912 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24913 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24914 echo "*** is required on your system"
24916 echo "*** If you have an old version installed, it is best to remove it, although"
24917 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24919 echo "$as_me: failed program was:" >&5
24920 sed 's/^/| /' conftest.
$ac_ext >&5
24922 echo "*** The test program failed to compile or link. See the file config.log for the"
24923 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24925 rm -f conftest.err conftest.
$ac_objext \
24926 conftest
$ac_exeext conftest.
$ac_ext
24927 CFLAGS
="$ac_save_CFLAGS"
24928 LIBS
="$ac_save_LIBS"
24941 if test -z "$wx_cv_lib_gtk"; then
24942 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24944 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24945 if test "${with_gtk_prefix+set}" = set; then
24946 withval
="$with_gtk_prefix"
24947 gtk_config_prefix
="$withval"
24949 gtk_config_prefix
=""
24952 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24953 if test "${with_gtk_exec_prefix+set}" = set; then
24954 withval
="$with_gtk_exec_prefix"
24955 gtk_config_exec_prefix
="$withval"
24957 gtk_config_exec_prefix
=""
24959 # Check whether --enable-gtktest or --disable-gtktest was given.
24960 if test "${enable_gtktest+set}" = set; then
24961 enableval
="$enable_gtktest"
24967 for module
in .
$GTK_MODULES
24971 gtk_config_args
="$gtk_config_args gthread"
24976 if test x
$gtk_config_exec_prefix != x
; then
24977 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24978 if test x
${GTK_CONFIG+set} != xset
; then
24979 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24982 if test x
$gtk_config_prefix != x
; then
24983 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24984 if test x
${GTK_CONFIG+set} != xset
; then
24985 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24989 # Extract the first word of "gtk-config", so it can be a program name with args.
24990 set dummy gtk
-config; ac_word
=$2
24991 echo "$as_me:$LINENO: checking for $ac_word" >&5
24992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24993 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24994 echo $ECHO_N "(cached) $ECHO_C" >&6
24996 case $GTK_CONFIG in
24998 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25002 for as_dir
in $PATH
25005 test -z "$as_dir" && as_dir
=.
25006 for ac_exec_ext
in '' $ac_executable_extensions; do
25007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25008 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25015 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25019 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25021 if test -n "$GTK_CONFIG"; then
25022 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25023 echo "${ECHO_T}$GTK_CONFIG" >&6
25025 echo "$as_me:$LINENO: result: no" >&5
25026 echo "${ECHO_T}no" >&6
25029 min_gtk_version
=1.2.7
25030 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25031 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25033 if test "$GTK_CONFIG" = "no" ; then
25036 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25037 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25038 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25040 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25042 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25044 if test "x$enable_gtktest" = "xyes" ; then
25045 ac_save_CFLAGS
="$CFLAGS"
25046 ac_save_LIBS
="$LIBS"
25047 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25048 LIBS
="$GTK_LIBS $LIBS"
25050 if test "$cross_compiling" = yes; then
25051 echo $ac_n "cross compiling; assumed OK... $ac_c"
25053 cat >conftest.
$ac_ext <<_ACEOF
25056 cat confdefs.h
>>conftest.
$ac_ext
25057 cat >>conftest.
$ac_ext <<_ACEOF
25058 /* end confdefs.h. */
25060 #include <gtk/gtk.h>
25062 #include <stdlib.h>
25067 int major, minor, micro;
25070 system ("touch conf.gtktest");
25072 /* HP/UX 9 (%@#!) writes to sscanf strings */
25073 tmp_version = g_strdup("$min_gtk_version");
25074 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25075 printf("%s, bad version string\n", "$min_gtk_version");
25079 if ((gtk_major_version != $gtk_config_major_version) ||
25080 (gtk_minor_version != $gtk_config_minor_version) ||
25081 (gtk_micro_version != $gtk_config_micro_version))
25083 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25084 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25085 gtk_major_version, gtk_minor_version, gtk_micro_version);
25086 printf ("*** was found! If gtk-config was correct, then it is best\n");
25087 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25088 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25089 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25090 printf("*** required on your system.\n");
25091 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25092 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25093 printf("*** before re-running configure\n");
25095 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25096 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25097 (gtk_minor_version != GTK_MINOR_VERSION) ||
25098 (gtk_micro_version != GTK_MICRO_VERSION))
25100 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25101 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25102 printf("*** library (version %d.%d.%d)\n",
25103 gtk_major_version, gtk_minor_version, gtk_micro_version);
25105 #endif /* defined (GTK_MAJOR_VERSION) ... */
25108 if ((gtk_major_version > major) ||
25109 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25110 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25116 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25117 gtk_major_version, gtk_minor_version, gtk_micro_version);
25118 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25119 major, minor, micro);
25120 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25122 printf("*** If you have already installed a sufficiently new version, this error\n");
25123 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25124 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25125 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25126 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25127 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25128 printf("*** so that the correct libraries are found at run-time))\n");
25135 rm -f conftest
$ac_exeext
25136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25137 (eval $ac_link) 2>&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25142 (eval $ac_try) 2>&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); }; }; then
25148 echo "$as_me: program exited with status $ac_status" >&5
25149 echo "$as_me: failed program was:" >&5
25150 sed 's/^/| /' conftest.
$ac_ext >&5
25152 ( exit $ac_status )
25155 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25157 CFLAGS
="$ac_save_CFLAGS"
25158 LIBS
="$ac_save_LIBS"
25161 if test "x$no_gtk" = x
; then
25162 echo "$as_me:$LINENO: result: yes" >&5
25163 echo "${ECHO_T}yes" >&6
25164 wx_cv_lib_gtk
=1.2.7
25166 echo "$as_me:$LINENO: result: no" >&5
25167 echo "${ECHO_T}no" >&6
25168 if test "$GTK_CONFIG" = "no" ; then
25169 echo "*** The gtk-config script installed by GTK could not be found"
25170 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25171 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25172 echo "*** full path to gtk-config."
25174 if test -f conf.gtktest
; then
25177 echo "*** Could not run GTK test program, checking why..."
25178 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25179 LIBS
="$LIBS $GTK_LIBS"
25180 cat >conftest.
$ac_ext <<_ACEOF
25183 cat confdefs.h
>>conftest.
$ac_ext
25184 cat >>conftest.
$ac_ext <<_ACEOF
25185 /* end confdefs.h. */
25187 #include <gtk/gtk.h>
25193 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25198 rm -f conftest.
$ac_objext conftest
$ac_exeext
25199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25200 (eval $ac_link) 2>conftest.er1
25202 grep -v '^ *+' conftest.er1
>conftest.err
25204 cat conftest.err
>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } &&
25207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25209 (eval $ac_try) 2>&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); }; } &&
25213 { ac_try
='test -s conftest$ac_exeext'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; }; then
25219 echo "*** The test program compiled, but did not run. This usually means"
25220 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25221 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25222 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25223 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25224 echo "*** is required on your system"
25226 echo "*** If you have an old version installed, it is best to remove it, although"
25227 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25229 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25230 echo "*** came with the system with the command"
25232 echo "*** rpm --erase --nodeps gtk gtk-devel"
25234 echo "$as_me: failed program was:" >&5
25235 sed 's/^/| /' conftest.
$ac_ext >&5
25237 echo "*** The test program failed to compile or link. See the file config.log for the"
25238 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25239 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25240 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25242 rm -f conftest.err conftest.
$ac_objext \
25243 conftest
$ac_exeext conftest.
$ac_ext
25244 CFLAGS
="$ac_save_CFLAGS"
25245 LIBS
="$ac_save_LIBS"
25257 if test -z "$wx_cv_lib_gtk"; then
25259 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25260 if test "${with_gtk_prefix+set}" = set; then
25261 withval
="$with_gtk_prefix"
25262 gtk_config_prefix
="$withval"
25264 gtk_config_prefix
=""
25267 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25268 if test "${with_gtk_exec_prefix+set}" = set; then
25269 withval
="$with_gtk_exec_prefix"
25270 gtk_config_exec_prefix
="$withval"
25272 gtk_config_exec_prefix
=""
25274 # Check whether --enable-gtktest or --disable-gtktest was given.
25275 if test "${enable_gtktest+set}" = set; then
25276 enableval
="$enable_gtktest"
25282 for module
in .
$GTK_MODULES
25286 gtk_config_args
="$gtk_config_args gthread"
25291 if test x
$gtk_config_exec_prefix != x
; then
25292 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25293 if test x
${GTK_CONFIG+set} != xset
; then
25294 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25297 if test x
$gtk_config_prefix != x
; then
25298 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25299 if test x
${GTK_CONFIG+set} != xset
; then
25300 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25304 # Extract the first word of "gtk-config", so it can be a program name with args.
25305 set dummy gtk
-config; ac_word
=$2
25306 echo "$as_me:$LINENO: checking for $ac_word" >&5
25307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25308 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25309 echo $ECHO_N "(cached) $ECHO_C" >&6
25311 case $GTK_CONFIG in
25313 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25317 for as_dir
in $PATH
25320 test -z "$as_dir" && as_dir
=.
25321 for ac_exec_ext
in '' $ac_executable_extensions; do
25322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25323 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25330 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25334 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25336 if test -n "$GTK_CONFIG"; then
25337 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25338 echo "${ECHO_T}$GTK_CONFIG" >&6
25340 echo "$as_me:$LINENO: result: no" >&5
25341 echo "${ECHO_T}no" >&6
25344 min_gtk_version
=1.2.3
25345 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25346 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25348 if test "$GTK_CONFIG" = "no" ; then
25351 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25352 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25353 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25355 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25357 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25359 if test "x$enable_gtktest" = "xyes" ; then
25360 ac_save_CFLAGS
="$CFLAGS"
25361 ac_save_LIBS
="$LIBS"
25362 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25363 LIBS
="$GTK_LIBS $LIBS"
25365 if test "$cross_compiling" = yes; then
25366 echo $ac_n "cross compiling; assumed OK... $ac_c"
25368 cat >conftest.
$ac_ext <<_ACEOF
25371 cat confdefs.h
>>conftest.
$ac_ext
25372 cat >>conftest.
$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25375 #include <gtk/gtk.h>
25377 #include <stdlib.h>
25382 int major, minor, micro;
25385 system ("touch conf.gtktest");
25387 /* HP/UX 9 (%@#!) writes to sscanf strings */
25388 tmp_version = g_strdup("$min_gtk_version");
25389 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25390 printf("%s, bad version string\n", "$min_gtk_version");
25394 if ((gtk_major_version != $gtk_config_major_version) ||
25395 (gtk_minor_version != $gtk_config_minor_version) ||
25396 (gtk_micro_version != $gtk_config_micro_version))
25398 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25399 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25400 gtk_major_version, gtk_minor_version, gtk_micro_version);
25401 printf ("*** was found! If gtk-config was correct, then it is best\n");
25402 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25403 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25404 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25405 printf("*** required on your system.\n");
25406 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25407 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25408 printf("*** before re-running configure\n");
25410 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25411 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25412 (gtk_minor_version != GTK_MINOR_VERSION) ||
25413 (gtk_micro_version != GTK_MICRO_VERSION))
25415 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25416 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25417 printf("*** library (version %d.%d.%d)\n",
25418 gtk_major_version, gtk_minor_version, gtk_micro_version);
25420 #endif /* defined (GTK_MAJOR_VERSION) ... */
25423 if ((gtk_major_version > major) ||
25424 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25425 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25431 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25432 gtk_major_version, gtk_minor_version, gtk_micro_version);
25433 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25434 major, minor, micro);
25435 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25437 printf("*** If you have already installed a sufficiently new version, this error\n");
25438 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25439 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25440 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25441 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25442 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25443 printf("*** so that the correct libraries are found at run-time))\n");
25450 rm -f conftest
$ac_exeext
25451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25452 (eval $ac_link) 2>&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25457 (eval $ac_try) 2>&5
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); }; }; then
25463 echo "$as_me: program exited with status $ac_status" >&5
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.
$ac_ext >&5
25467 ( exit $ac_status )
25470 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25472 CFLAGS
="$ac_save_CFLAGS"
25473 LIBS
="$ac_save_LIBS"
25476 if test "x$no_gtk" = x
; then
25477 echo "$as_me:$LINENO: result: yes" >&5
25478 echo "${ECHO_T}yes" >&6
25479 wx_cv_lib_gtk
=1.2.3
25481 echo "$as_me:$LINENO: result: no" >&5
25482 echo "${ECHO_T}no" >&6
25483 if test "$GTK_CONFIG" = "no" ; then
25484 echo "*** The gtk-config script installed by GTK could not be found"
25485 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25486 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25487 echo "*** full path to gtk-config."
25489 if test -f conf.gtktest
; then
25492 echo "*** Could not run GTK test program, checking why..."
25493 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25494 LIBS
="$LIBS $GTK_LIBS"
25495 cat >conftest.
$ac_ext <<_ACEOF
25498 cat confdefs.h
>>conftest.
$ac_ext
25499 cat >>conftest.
$ac_ext <<_ACEOF
25500 /* end confdefs.h. */
25502 #include <gtk/gtk.h>
25508 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25513 rm -f conftest.
$ac_objext conftest
$ac_exeext
25514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25515 (eval $ac_link) 2>conftest.er1
25517 grep -v '^ *+' conftest.er1
>conftest.err
25519 cat conftest.err
>&5
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); } &&
25522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; } &&
25528 { ac_try
='test -s conftest$ac_exeext'
25529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25530 (eval $ac_try) 2>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); }; }; then
25534 echo "*** The test program compiled, but did not run. This usually means"
25535 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25536 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25537 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25538 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25539 echo "*** is required on your system"
25541 echo "*** If you have an old version installed, it is best to remove it, although"
25542 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25544 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25545 echo "*** came with the system with the command"
25547 echo "*** rpm --erase --nodeps gtk gtk-devel"
25549 echo "$as_me: failed program was:" >&5
25550 sed 's/^/| /' conftest.
$ac_ext >&5
25552 echo "*** The test program failed to compile or link. See the file config.log for the"
25553 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25554 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25555 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25557 rm -f conftest.err conftest.
$ac_objext \
25558 conftest
$ac_exeext conftest.
$ac_ext
25559 CFLAGS
="$ac_save_CFLAGS"
25560 LIBS
="$ac_save_LIBS"
25575 if test -z "$wx_cv_lib_gtk"; then
25578 wx_cv_cflags_gtk
=$GTK_CFLAGS
25579 wx_cv_libs_gtk
=$GTK_LIBS
25586 if test "$gtk_version_cached" = 1; then
25587 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25588 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25591 case "$wx_cv_lib_gtk" in
25600 *) { { echo "$as_me:$LINENO: error:
25601 The development files for GTK+ were not found. For GTK+ 2, please
25602 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25603 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25604 and that the version is 1.2.3 or above. Also check that the
25605 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25606 --libs' are in the LD_LIBRARY_PATH or equivalent.
25608 echo "$as_me: error:
25609 The development files for GTK+ were not found. For GTK+ 2, please
25610 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25611 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25612 and that the version is 1.2.3 or above. Also check that the
25613 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25614 --libs' are in the LD_LIBRARY_PATH or equivalent.
25616 { (exit 1); exit 1; }; }
25620 if test "$WXGTK20" = 1; then
25621 save_CFLAGS
="$CFLAGS"
25623 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25624 LIBS
="$LIBS $wx_cv_libs_gtk"
25627 for ac_func
in pango_font_family_is_monospace
25629 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25630 echo "$as_me:$LINENO: checking for $ac_func" >&5
25631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25632 if eval "test \"\${$as_ac_var+set}\" = set"; then
25633 echo $ECHO_N "(cached) $ECHO_C" >&6
25635 cat >conftest.
$ac_ext <<_ACEOF
25638 cat confdefs.h
>>conftest.
$ac_ext
25639 cat >>conftest.
$ac_ext <<_ACEOF
25640 /* end confdefs.h. */
25641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25643 #define $ac_func innocuous_$ac_func
25645 /* System header to define __stub macros and hopefully few prototypes,
25646 which can conflict with char $ac_func (); below.
25647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25648 <limits.h> exists even on freestanding compilers. */
25651 # include <limits.h>
25653 # include <assert.h>
25658 /* Override any gcc2 internal prototype to avoid an error. */
25663 /* We use char because int might match the return type of a gcc2
25664 builtin and then its argument prototype would still apply. */
25666 /* The GNU C library defines this for functions which it implements
25667 to always fail with ENOSYS. Some functions are actually named
25668 something starting with __ and the normal name is an alias. */
25669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25672 char (*f) () = $ac_func;
25681 return f != $ac_func;
25686 rm -f conftest.
$ac_objext conftest
$ac_exeext
25687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25688 (eval $ac_link) 2>conftest.er1
25690 grep -v '^ *+' conftest.er1
>conftest.err
25692 cat conftest.err
>&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } &&
25695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; } &&
25701 { ac_try
='test -s conftest$ac_exeext'
25702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25703 (eval $ac_try) 2>&5
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; }; then
25707 eval "$as_ac_var=yes"
25709 echo "$as_me: failed program was:" >&5
25710 sed 's/^/| /' conftest.
$ac_ext >&5
25712 eval "$as_ac_var=no"
25714 rm -f conftest.err conftest.
$ac_objext \
25715 conftest
$ac_exeext conftest.
$ac_ext
25717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25719 if test `eval echo '${'$as_ac_var'}'` = yes; then
25720 cat >>confdefs.h
<<_ACEOF
25721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25728 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25729 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25730 cat >conftest.
$ac_ext <<_ACEOF
25733 cat confdefs.h
>>conftest.
$ac_ext
25734 cat >>conftest.
$ac_ext <<_ACEOF
25735 /* end confdefs.h. */
25737 #include <gtk/gtk.h>
25743 void *f = gtk_icon_size_lookup;
25749 rm -f conftest.
$ac_objext
25750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25751 (eval $ac_compile) 2>conftest.er1
25753 grep -v '^ *+' conftest.er1
>conftest.err
25755 cat conftest.err
>&5
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); } &&
25758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25760 (eval $ac_try) 2>&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); }; } &&
25764 { ac_try
='test -s conftest.$ac_objext'
25765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25766 (eval $ac_try) 2>&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); }; }; then
25771 echo "$as_me:$LINENO: result: no" >&5
25772 echo "${ECHO_T}no" >&6
25775 echo "$as_me: failed program was:" >&5
25776 sed 's/^/| /' conftest.
$ac_ext >&5
25779 cat >>confdefs.h
<<\_ACEOF
25780 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25783 echo "$as_me:$LINENO: result: yes" >&5
25784 echo "${ECHO_T}yes" >&6
25787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25789 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25790 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25791 cat >conftest.
$ac_ext <<_ACEOF
25794 cat confdefs.h
>>conftest.
$ac_ext
25795 cat >>conftest.
$ac_ext <<_ACEOF
25796 /* end confdefs.h. */
25798 #include <gtk/gtk.h>
25804 #if !GTK_CHECK_VERSION(2,4,0)
25805 #error "Not GTK+ 2.4"
25812 rm -f conftest.
$ac_objext
25813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25814 (eval $ac_compile) 2>conftest.er1
25816 grep -v '^ *+' conftest.er1
>conftest.err
25818 cat conftest.err
>&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); } &&
25821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25823 (eval $ac_try) 2>&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); }; } &&
25827 { ac_try
='test -s conftest.$ac_objext'
25828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25829 (eval $ac_try) 2>&5
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); }; }; then
25834 cat >>confdefs.h
<<\_ACEOF
25835 #define __WXGTK24__ 1
25838 echo "$as_me:$LINENO: result: yes" >&5
25839 echo "${ECHO_T}yes" >&6
25842 echo "$as_me: failed program was:" >&5
25843 sed 's/^/| /' conftest.
$ac_ext >&5
25846 echo "$as_me:$LINENO: result: no" >&5
25847 echo "${ECHO_T}no" >&6
25850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25852 CFLAGS
="$save_CFLAGS"
25855 if test "$wxUSE_UNICODE" = "yes"; then
25856 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25857 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25862 if test "$USE_DARWIN" != 1; then
25864 for ac_func
in poll
25866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25867 echo "$as_me:$LINENO: checking for $ac_func" >&5
25868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25869 if eval "test \"\${$as_ac_var+set}\" = set"; then
25870 echo $ECHO_N "(cached) $ECHO_C" >&6
25872 cat >conftest.
$ac_ext <<_ACEOF
25875 cat confdefs.h
>>conftest.
$ac_ext
25876 cat >>conftest.
$ac_ext <<_ACEOF
25877 /* end confdefs.h. */
25878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25880 #define $ac_func innocuous_$ac_func
25882 /* System header to define __stub macros and hopefully few prototypes,
25883 which can conflict with char $ac_func (); below.
25884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25885 <limits.h> exists even on freestanding compilers. */
25888 # include <limits.h>
25890 # include <assert.h>
25895 /* Override any gcc2 internal prototype to avoid an error. */
25900 /* We use char because int might match the return type of a gcc2
25901 builtin and then its argument prototype would still apply. */
25903 /* The GNU C library defines this for functions which it implements
25904 to always fail with ENOSYS. Some functions are actually named
25905 something starting with __ and the normal name is an alias. */
25906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25909 char (*f) () = $ac_func;
25918 return f != $ac_func;
25923 rm -f conftest.
$ac_objext conftest
$ac_exeext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25925 (eval $ac_link) 2>conftest.er1
25927 grep -v '^ *+' conftest.er1
>conftest.err
25929 cat conftest.err
>&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; } &&
25938 { ac_try
='test -s conftest$ac_exeext'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; }; then
25944 eval "$as_ac_var=yes"
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.
$ac_ext >&5
25949 eval "$as_ac_var=no"
25951 rm -f conftest.err conftest.
$ac_objext \
25952 conftest
$ac_exeext conftest.
$ac_ext
25954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25956 if test `eval echo '${'$as_ac_var'}'` = yes; then
25957 cat >>confdefs.h
<<_ACEOF
25958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25966 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25967 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25969 AFMINSTALL
=afminstall
25973 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25974 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25975 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25976 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 ac_check_lib_save_LIBS
=$LIBS
25980 cat >conftest.
$ac_ext <<_ACEOF
25983 cat confdefs.h
>>conftest.
$ac_ext
25984 cat >>conftest.
$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25987 /* Override any gcc2 internal prototype to avoid an error. */
25991 /* We use char because int might match the return type of a gcc2
25992 builtin and then its argument prototype would still apply. */
25993 char gdk_im_open ();
26002 rm -f conftest.
$ac_objext conftest
$ac_exeext
26003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26004 (eval $ac_link) 2>conftest.er1
26006 grep -v '^ *+' conftest.er1
>conftest.err
26008 cat conftest.err
>&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } &&
26011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; } &&
26017 { ac_try
='test -s conftest$ac_exeext'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; }; then
26023 ac_cv_lib_gdk_gdk_im_open
=yes
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.
$ac_ext >&5
26028 ac_cv_lib_gdk_gdk_im_open
=no
26030 rm -f conftest.err conftest.
$ac_objext \
26031 conftest
$ac_exeext conftest.
$ac_ext
26032 LIBS
=$ac_check_lib_save_LIBS
26034 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26035 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26036 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26037 cat >>confdefs.h
<<\_ACEOF
26045 if test "$wxUSE_GPE" = "yes"; then
26046 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26047 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26050 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26052 for ac_extension
in a so sl dylib dll.a
; do
26053 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26054 ac_find_libraries
=$ac_dir
26060 if test "$ac_find_libraries" != "" ; then
26062 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26064 if test $result = 0; then
26067 ac_path_to_link
=" -L$ac_find_libraries"
26070 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26072 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26073 echo "${ECHO_T}found at $ac_find_libraries" >&6
26075 echo "$as_me:$LINENO: result: not found" >&5
26076 echo "${ECHO_T}not found" >&6
26082 if test "$wxUSE_MGL" = 1; then
26083 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26084 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26085 if test "x$MGL_ROOT" = x
; then
26086 echo "$as_me:$LINENO: result: not found" >&5
26087 echo "${ECHO_T}not found" >&6
26088 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26089 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26090 { (exit 1); exit 1; }; }
26092 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26093 echo "${ECHO_T}$MGL_ROOT" >&6
26096 echo "$as_me:$LINENO: checking for libmgl location" >&5
26097 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26100 if test "x$wxUSE_SHARED" = xyes
; then
26101 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26103 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26107 mgl_os_candidates
="dos32/dj2"
26110 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26111 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26112 { (exit 1); exit 1; }; }
26118 for mgl_os_i
in $mgl_os_candidates ; do
26119 if test "x$mgl_os" = x
; then
26120 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26121 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26122 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26127 if test "x$mgl_lib_type" = x
; then
26128 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26129 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26130 mgl_lib_type
=release
26137 if test "x$mgl_os" = x
; then
26138 echo "$as_me:$LINENO: result: not found" >&5
26139 echo "${ECHO_T}not found" >&6
26140 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26141 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26142 { (exit 1); exit 1; }; }
26144 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26145 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26147 wxUSE_UNIVERSAL
="yes"
26149 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26150 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26152 AFMINSTALL
=afminstall
26157 if test "$wxUSE_MICROWIN" = 1; then
26158 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26159 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26160 if test "x$MICROWINDOWS" = x
; then
26161 echo "$as_me:$LINENO: result: not found" >&5
26162 echo "${ECHO_T}not found" >&6
26163 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26164 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26165 { (exit 1); exit 1; }; }
26167 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26168 echo "${ECHO_T}$MICROWINDOWS" >&6
26171 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26172 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26173 echo "${ECHO_T}MicroWindows' libraries found." >&6
26175 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26176 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26177 { (exit 1); exit 1; }; }
26180 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26181 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26183 wxUSE_UNIVERSAL
="yes"
26185 AFMINSTALL
=afminstall
26187 GUIDIST
=MICROWIN_DIST
26189 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26192 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26194 if test "x$ac_path_x_has_been_run" != xyes
; then
26195 echo "$as_me:$LINENO: checking for X" >&5
26196 echo $ECHO_N "checking for X... $ECHO_C" >&6
26198 ac_path_x_has_been_run
=yes
26200 # Check whether --with-x or --without-x was given.
26201 if test "${with_x+set}" = set; then
26205 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26206 if test "x$with_x" = xno
; then
26207 # The user explicitly disabled X.
26210 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26211 # Both variables are already set.
26214 if test "${ac_cv_have_x+set}" = set; then
26215 echo $ECHO_N "(cached) $ECHO_C" >&6
26217 # One or both of the vars are not set, and there is no cached value.
26218 ac_x_includes
=no ac_x_libraries
=no
26219 rm -fr conftest.dir
26220 if mkdir conftest.dir
; then
26222 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26223 cat >Imakefile
<<'_ACEOF'
26225 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26227 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26228 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26229 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26230 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26231 for ac_extension
in a so sl
; do
26232 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26233 test -f $ac_im_libdir/libX11.
$ac_extension; then
26234 ac_im_usrlibdir
=$ac_im_libdir; break
26237 # Screen out bogus values from the imake configuration. They are
26238 # bogus both because they are the default anyway, and because
26239 # using them would break gcc on systems where it needs fixed includes.
26240 case $ac_im_incroot in
26242 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26244 case $ac_im_usrlibdir in
26245 /usr
/lib
| /lib
) ;;
26246 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26250 rm -fr conftest.dir
26253 # Standard set of common directories for X headers.
26254 # Check X11 before X11Rn because it is often a symlink to the current release.
26266 /usr/local/X11/include
26267 /usr/local/X11R6/include
26268 /usr/local/X11R5/include
26269 /usr/local/X11R4/include
26271 /usr/local/include/X11
26272 /usr/local/include/X11R6
26273 /usr/local/include/X11R5
26274 /usr/local/include/X11R4
26278 /usr/XFree86/include/X11
26282 /usr/unsupported/include
26283 /usr/athena/include
26284 /usr/local/x11r5/include
26285 /usr/lpp/Xamples/include
26287 /usr/openwin/include
26288 /usr/openwin/share/include'
26290 if test "$ac_x_includes" = no
; then
26291 # Guess where to find include files, by looking for a specified header file.
26292 # First, try using that file with no special directory specified.
26293 cat >conftest.
$ac_ext <<_ACEOF
26296 cat confdefs.h
>>conftest.
$ac_ext
26297 cat >>conftest.
$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26299 #include <X11/Intrinsic.h>
26301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26304 grep -v '^ *+' conftest.er1
>conftest.err
26306 cat conftest.err
>&5
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); } >/dev
/null
; then
26309 if test -s conftest.err
; then
26310 ac_cpp_err
=$ac_c_preproc_warn_flag
26311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26318 if test -z "$ac_cpp_err"; then
26319 # We can compile using X headers with no special include directory.
26322 echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.
$ac_ext >&5
26325 for ac_dir
in $ac_x_header_dirs; do
26326 if test -r "$ac_dir/X11/Intrinsic.h"; then
26327 ac_x_includes
=$ac_dir
26332 rm -f conftest.err conftest.
$ac_ext
26333 fi # $ac_x_includes = no
26335 if test "$ac_x_libraries" = no
; then
26336 # Check for the libraries.
26337 # See if we find them without any special options.
26338 # Don't add to $LIBS permanently.
26341 cat >conftest.
$ac_ext <<_ACEOF
26344 cat confdefs.h
>>conftest.
$ac_ext
26345 cat >>conftest.
$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26347 #include <X11/Intrinsic.h>
26356 rm -f conftest.
$ac_objext conftest
$ac_exeext
26357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26358 (eval $ac_link) 2>conftest.er1
26360 grep -v '^ *+' conftest.er1
>conftest.err
26362 cat conftest.err
>&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); } &&
26365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26367 (eval $ac_try) 2>&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); }; } &&
26371 { ac_try
='test -s conftest$ac_exeext'
26372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26373 (eval $ac_try) 2>&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); }; }; then
26378 # We can link X programs with no special library path.
26381 echo "$as_me: failed program was:" >&5
26382 sed 's/^/| /' conftest.
$ac_ext >&5
26385 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26387 # Don't even attempt the hair of trying to link an X program!
26388 for ac_extension
in a so sl
; do
26389 if test -r $ac_dir/libXt.
$ac_extension; then
26390 ac_x_libraries
=$ac_dir
26396 rm -f conftest.err conftest.
$ac_objext \
26397 conftest
$ac_exeext conftest.
$ac_ext
26398 fi # $ac_x_libraries = no
26400 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26401 # Didn't find X anywhere. Cache the known absence of X.
26402 ac_cv_have_x
="have_x=no"
26404 # Record where we found X for the cache.
26405 ac_cv_have_x
="have_x=yes \
26406 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26411 eval "$ac_cv_have_x"
26414 if test "$have_x" != yes; then
26415 echo "$as_me:$LINENO: result: $have_x" >&5
26416 echo "${ECHO_T}$have_x" >&6
26419 # If each of the values was on the command line, it overrides each guess.
26420 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26421 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26422 # Update the cache value to reflect the command line values.
26423 ac_cv_have_x
="have_x=yes \
26424 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26425 # It might be that x_includes is empty (headers are found in the
26426 # standard search path. Then output the corresponding message
26427 ac_out_x_includes
=$x_includes
26428 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26429 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26430 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26434 if test "$no_x" = yes; then
26435 # Not all programs may use this symbol, but it does not hurt to define it.
26437 cat >>confdefs.h
<<\_ACEOF
26438 #define X_DISPLAY_MISSING 1
26441 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26443 if test -n "$x_includes"; then
26444 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26447 # It would also be nice to do this for all -L options, not just this one.
26448 if test -n "$x_libraries"; then
26449 X_LIBS
="$X_LIBS -L$x_libraries"
26450 # For Solaris; some versions of Sun CC require a space after -R and
26451 # others require no space. Words are not sufficient . . . .
26452 case `(uname -sr) 2>/dev/null` in
26454 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26455 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26456 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26457 cat >conftest.
$ac_ext <<_ACEOF
26460 cat confdefs.h
>>conftest.
$ac_ext
26461 cat >>conftest.
$ac_ext <<_ACEOF
26462 /* end confdefs.h. */
26472 rm -f conftest.
$ac_objext conftest
$ac_exeext
26473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26474 (eval $ac_link) 2>conftest.er1
26476 grep -v '^ *+' conftest.er1
>conftest.err
26478 cat conftest.err
>&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); } &&
26481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 (eval $ac_try) 2>&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; } &&
26487 { ac_try
='test -s conftest$ac_exeext'
26488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489 (eval $ac_try) 2>&5
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); }; }; then
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.
$ac_ext >&5
26500 rm -f conftest.err conftest.
$ac_objext \
26501 conftest
$ac_exeext conftest.
$ac_ext
26502 if test $ac_R_nospace = yes; then
26503 echo "$as_me:$LINENO: result: no" >&5
26504 echo "${ECHO_T}no" >&6
26505 X_LIBS
="$X_LIBS -R$x_libraries"
26507 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26508 cat >conftest.
$ac_ext <<_ACEOF
26511 cat confdefs.h
>>conftest.
$ac_ext
26512 cat >>conftest.
$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26523 rm -f conftest.
$ac_objext conftest
$ac_exeext
26524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26525 (eval $ac_link) 2>conftest.er1
26527 grep -v '^ *+' conftest.er1
>conftest.err
26529 cat conftest.err
>&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } &&
26532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26534 (eval $ac_try) 2>&5
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); }; } &&
26538 { ac_try
='test -s conftest$ac_exeext'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; }; then
26546 echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.
$ac_ext >&5
26551 rm -f conftest.err conftest.
$ac_objext \
26552 conftest
$ac_exeext conftest.
$ac_ext
26553 if test $ac_R_space = yes; then
26554 echo "$as_me:$LINENO: result: yes" >&5
26555 echo "${ECHO_T}yes" >&6
26556 X_LIBS
="$X_LIBS -R $x_libraries"
26558 echo "$as_me:$LINENO: result: neither works" >&5
26559 echo "${ECHO_T}neither works" >&6
26562 LIBS
=$ac_xsave_LIBS
26566 # Check for system-dependent libraries X programs must link with.
26567 # Do this before checking for the system-independent R6 libraries
26568 # (-lICE), since we may need -lsocket or whatever for X linking.
26570 if test "$ISC" = yes; then
26571 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26573 # Martyn Johnson says this is needed for Ultrix, if the X
26574 # libraries were built with DECnet support. And Karl Berry says
26575 # the Alpha needs dnet_stub (dnet does not exist).
26576 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26577 cat >conftest.
$ac_ext <<_ACEOF
26580 cat confdefs.h
>>conftest.
$ac_ext
26581 cat >>conftest.
$ac_ext <<_ACEOF
26582 /* end confdefs.h. */
26584 /* Override any gcc2 internal prototype to avoid an error. */
26588 /* We use char because int might match the return type of a gcc2
26589 builtin and then its argument prototype would still apply. */
26590 char XOpenDisplay ();
26599 rm -f conftest.
$ac_objext conftest
$ac_exeext
26600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26601 (eval $ac_link) 2>conftest.er1
26603 grep -v '^ *+' conftest.er1
>conftest.err
26605 cat conftest.err
>&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); } &&
26608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610 (eval $ac_try) 2>&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; } &&
26614 { ac_try
='test -s conftest$ac_exeext'
26615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26616 (eval $ac_try) 2>&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); }; }; then
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.
$ac_ext >&5
26625 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26626 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26627 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26630 ac_check_lib_save_LIBS
=$LIBS
26631 LIBS
="-ldnet $LIBS"
26632 cat >conftest.
$ac_ext <<_ACEOF
26635 cat confdefs.h
>>conftest.
$ac_ext
26636 cat >>conftest.
$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26639 /* Override any gcc2 internal prototype to avoid an error. */
26643 /* We use char because int might match the return type of a gcc2
26644 builtin and then its argument prototype would still apply. */
26654 rm -f conftest.
$ac_objext conftest
$ac_exeext
26655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26656 (eval $ac_link) 2>conftest.er1
26658 grep -v '^ *+' conftest.er1
>conftest.err
26660 cat conftest.err
>&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); } &&
26663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665 (eval $ac_try) 2>&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); }; } &&
26669 { ac_try
='test -s conftest$ac_exeext'
26670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671 (eval $ac_try) 2>&5
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); }; }; then
26675 ac_cv_lib_dnet_dnet_ntoa
=yes
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.
$ac_ext >&5
26680 ac_cv_lib_dnet_dnet_ntoa
=no
26682 rm -f conftest.err conftest.
$ac_objext \
26683 conftest
$ac_exeext conftest.
$ac_ext
26684 LIBS
=$ac_check_lib_save_LIBS
26686 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26687 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26688 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26689 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26692 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26693 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26694 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26695 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26696 echo $ECHO_N "(cached) $ECHO_C" >&6
26698 ac_check_lib_save_LIBS
=$LIBS
26699 LIBS
="-ldnet_stub $LIBS"
26700 cat >conftest.
$ac_ext <<_ACEOF
26703 cat confdefs.h
>>conftest.
$ac_ext
26704 cat >>conftest.
$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26707 /* Override any gcc2 internal prototype to avoid an error. */
26711 /* We use char because int might match the return type of a gcc2
26712 builtin and then its argument prototype would still apply. */
26722 rm -f conftest.
$ac_objext conftest
$ac_exeext
26723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26724 (eval $ac_link) 2>conftest.er1
26726 grep -v '^ *+' conftest.er1
>conftest.err
26728 cat conftest.err
>&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); } &&
26731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26733 (eval $ac_try) 2>&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); }; } &&
26737 { ac_try
='test -s conftest$ac_exeext'
26738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 (eval $ac_try) 2>&5
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; }; then
26743 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26745 echo "$as_me: failed program was:" >&5
26746 sed 's/^/| /' conftest.
$ac_ext >&5
26748 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26750 rm -f conftest.err conftest.
$ac_objext \
26751 conftest
$ac_exeext conftest.
$ac_ext
26752 LIBS
=$ac_check_lib_save_LIBS
26754 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26755 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26756 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26757 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26762 rm -f conftest.err conftest.
$ac_objext \
26763 conftest
$ac_exeext conftest.
$ac_ext
26764 LIBS
="$ac_xsave_LIBS"
26766 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26767 # to get the SysV transport functions.
26768 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26770 # The nsl library prevents programs from opening the X display
26771 # on Irix 5.2, according to T.E. Dickey.
26772 # The functions gethostbyname, getservbyname, and inet_addr are
26773 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26774 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26775 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26776 if test "${ac_cv_func_gethostbyname+set}" = set; then
26777 echo $ECHO_N "(cached) $ECHO_C" >&6
26779 cat >conftest.
$ac_ext <<_ACEOF
26782 cat confdefs.h
>>conftest.
$ac_ext
26783 cat >>conftest.
$ac_ext <<_ACEOF
26784 /* end confdefs.h. */
26785 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26787 #define gethostbyname innocuous_gethostbyname
26789 /* System header to define __stub macros and hopefully few prototypes,
26790 which can conflict with char gethostbyname (); below.
26791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26792 <limits.h> exists even on freestanding compilers. */
26795 # include <limits.h>
26797 # include <assert.h>
26800 #undef gethostbyname
26802 /* Override any gcc2 internal prototype to avoid an error. */
26807 /* We use char because int might match the return type of a gcc2
26808 builtin and then its argument prototype would still apply. */
26809 char gethostbyname ();
26810 /* The GNU C library defines this for functions which it implements
26811 to always fail with ENOSYS. Some functions are actually named
26812 something starting with __ and the normal name is an alias. */
26813 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26816 char (*f) () = gethostbyname;
26825 return f != gethostbyname;
26830 rm -f conftest.
$ac_objext conftest
$ac_exeext
26831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26832 (eval $ac_link) 2>conftest.er1
26834 grep -v '^ *+' conftest.er1
>conftest.err
26836 cat conftest.err
>&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } &&
26839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; } &&
26845 { ac_try
='test -s conftest$ac_exeext'
26846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26847 (eval $ac_try) 2>&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); }; }; then
26851 ac_cv_func_gethostbyname
=yes
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.
$ac_ext >&5
26856 ac_cv_func_gethostbyname
=no
26858 rm -f conftest.err conftest.
$ac_objext \
26859 conftest
$ac_exeext conftest.
$ac_ext
26861 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26862 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26864 if test $ac_cv_func_gethostbyname = no
; then
26865 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26866 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26867 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26868 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 ac_check_lib_save_LIBS
=$LIBS
26872 cat >conftest.
$ac_ext <<_ACEOF
26875 cat confdefs.h
>>conftest.
$ac_ext
26876 cat >>conftest.
$ac_ext <<_ACEOF
26877 /* end confdefs.h. */
26879 /* Override any gcc2 internal prototype to avoid an error. */
26883 /* We use char because int might match the return type of a gcc2
26884 builtin and then its argument prototype would still apply. */
26885 char gethostbyname ();
26894 rm -f conftest.
$ac_objext conftest
$ac_exeext
26895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26896 (eval $ac_link) 2>conftest.er1
26898 grep -v '^ *+' conftest.er1
>conftest.err
26900 cat conftest.err
>&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; } &&
26909 { ac_try
='test -s conftest$ac_exeext'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; }; then
26915 ac_cv_lib_nsl_gethostbyname
=yes
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.
$ac_ext >&5
26920 ac_cv_lib_nsl_gethostbyname
=no
26922 rm -f conftest.err conftest.
$ac_objext \
26923 conftest
$ac_exeext conftest.
$ac_ext
26924 LIBS
=$ac_check_lib_save_LIBS
26926 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26927 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26928 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26929 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26932 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26933 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26934 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26935 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26938 ac_check_lib_save_LIBS
=$LIBS
26940 cat >conftest.
$ac_ext <<_ACEOF
26943 cat confdefs.h
>>conftest.
$ac_ext
26944 cat >>conftest.
$ac_ext <<_ACEOF
26945 /* end confdefs.h. */
26947 /* Override any gcc2 internal prototype to avoid an error. */
26951 /* We use char because int might match the return type of a gcc2
26952 builtin and then its argument prototype would still apply. */
26953 char gethostbyname ();
26962 rm -f conftest.
$ac_objext conftest
$ac_exeext
26963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26964 (eval $ac_link) 2>conftest.er1
26966 grep -v '^ *+' conftest.er1
>conftest.err
26968 cat conftest.err
>&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); } &&
26971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26973 (eval $ac_try) 2>&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); }; } &&
26977 { ac_try
='test -s conftest$ac_exeext'
26978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979 (eval $ac_try) 2>&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); }; }; then
26983 ac_cv_lib_bsd_gethostbyname
=yes
26985 echo "$as_me: failed program was:" >&5
26986 sed 's/^/| /' conftest.
$ac_ext >&5
26988 ac_cv_lib_bsd_gethostbyname
=no
26990 rm -f conftest.err conftest.
$ac_objext \
26991 conftest
$ac_exeext conftest.
$ac_ext
26992 LIBS
=$ac_check_lib_save_LIBS
26994 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26995 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26996 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26997 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
27003 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27004 # socket/setsockopt and other routines are undefined under SCO ODT
27005 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27006 # on later versions), says Simon Leinen: it contains gethostby*
27007 # variants that don't use the name server (or something). -lsocket
27008 # must be given before -lnsl if both are needed. We assume that
27009 # if connect needs -lnsl, so does gethostbyname.
27010 echo "$as_me:$LINENO: checking for connect" >&5
27011 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27012 if test "${ac_cv_func_connect+set}" = set; then
27013 echo $ECHO_N "(cached) $ECHO_C" >&6
27015 cat >conftest.
$ac_ext <<_ACEOF
27018 cat confdefs.h
>>conftest.
$ac_ext
27019 cat >>conftest.
$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27021 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27023 #define connect innocuous_connect
27025 /* System header to define __stub macros and hopefully few prototypes,
27026 which can conflict with char connect (); below.
27027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27028 <limits.h> exists even on freestanding compilers. */
27031 # include <limits.h>
27033 # include <assert.h>
27038 /* Override any gcc2 internal prototype to avoid an error. */
27043 /* We use char because int might match the return type of a gcc2
27044 builtin and then its argument prototype would still apply. */
27046 /* The GNU C library defines this for functions which it implements
27047 to always fail with ENOSYS. Some functions are actually named
27048 something starting with __ and the normal name is an alias. */
27049 #if defined (__stub_connect) || defined (__stub___connect)
27052 char (*f) () = connect;
27061 return f != connect;
27066 rm -f conftest.
$ac_objext conftest
$ac_exeext
27067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27068 (eval $ac_link) 2>conftest.er1
27070 grep -v '^ *+' conftest.er1
>conftest.err
27072 cat conftest.err
>&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } &&
27075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27077 (eval $ac_try) 2>&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); }; } &&
27081 { ac_try
='test -s conftest$ac_exeext'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; }; then
27087 ac_cv_func_connect
=yes
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.
$ac_ext >&5
27092 ac_cv_func_connect
=no
27094 rm -f conftest.err conftest.
$ac_objext \
27095 conftest
$ac_exeext conftest.
$ac_ext
27097 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27098 echo "${ECHO_T}$ac_cv_func_connect" >&6
27100 if test $ac_cv_func_connect = no
; then
27101 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27102 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27103 if test "${ac_cv_lib_socket_connect+set}" = set; then
27104 echo $ECHO_N "(cached) $ECHO_C" >&6
27106 ac_check_lib_save_LIBS
=$LIBS
27107 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27108 cat >conftest.
$ac_ext <<_ACEOF
27111 cat confdefs.h
>>conftest.
$ac_ext
27112 cat >>conftest.
$ac_ext <<_ACEOF
27113 /* end confdefs.h. */
27115 /* Override any gcc2 internal prototype to avoid an error. */
27119 /* We use char because int might match the return type of a gcc2
27120 builtin and then its argument prototype would still apply. */
27130 rm -f conftest.
$ac_objext conftest
$ac_exeext
27131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27132 (eval $ac_link) 2>conftest.er1
27134 grep -v '^ *+' conftest.er1
>conftest.err
27136 cat conftest.err
>&5
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); } &&
27139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27141 (eval $ac_try) 2>&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); }; } &&
27145 { ac_try
='test -s conftest$ac_exeext'
27146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27147 (eval $ac_try) 2>&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); }; }; then
27151 ac_cv_lib_socket_connect
=yes
27153 echo "$as_me: failed program was:" >&5
27154 sed 's/^/| /' conftest.
$ac_ext >&5
27156 ac_cv_lib_socket_connect
=no
27158 rm -f conftest.err conftest.
$ac_objext \
27159 conftest
$ac_exeext conftest.
$ac_ext
27160 LIBS
=$ac_check_lib_save_LIBS
27162 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27163 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27164 if test $ac_cv_lib_socket_connect = yes; then
27165 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27170 # Guillermo Gomez says -lposix is necessary on A/UX.
27171 echo "$as_me:$LINENO: checking for remove" >&5
27172 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27173 if test "${ac_cv_func_remove+set}" = set; then
27174 echo $ECHO_N "(cached) $ECHO_C" >&6
27176 cat >conftest.
$ac_ext <<_ACEOF
27179 cat confdefs.h
>>conftest.
$ac_ext
27180 cat >>conftest.
$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27182 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27184 #define remove innocuous_remove
27186 /* System header to define __stub macros and hopefully few prototypes,
27187 which can conflict with char remove (); below.
27188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27189 <limits.h> exists even on freestanding compilers. */
27192 # include <limits.h>
27194 # include <assert.h>
27199 /* Override any gcc2 internal prototype to avoid an error. */
27204 /* We use char because int might match the return type of a gcc2
27205 builtin and then its argument prototype would still apply. */
27207 /* The GNU C library defines this for functions which it implements
27208 to always fail with ENOSYS. Some functions are actually named
27209 something starting with __ and the normal name is an alias. */
27210 #if defined (__stub_remove) || defined (__stub___remove)
27213 char (*f) () = remove;
27222 return f != remove;
27227 rm -f conftest.
$ac_objext conftest
$ac_exeext
27228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27229 (eval $ac_link) 2>conftest.er1
27231 grep -v '^ *+' conftest.er1
>conftest.err
27233 cat conftest.err
>&5
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); } &&
27236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27238 (eval $ac_try) 2>&5
27240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27241 (exit $ac_status); }; } &&
27242 { ac_try
='test -s conftest$ac_exeext'
27243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27244 (eval $ac_try) 2>&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); }; }; then
27248 ac_cv_func_remove
=yes
27250 echo "$as_me: failed program was:" >&5
27251 sed 's/^/| /' conftest.
$ac_ext >&5
27253 ac_cv_func_remove
=no
27255 rm -f conftest.err conftest.
$ac_objext \
27256 conftest
$ac_exeext conftest.
$ac_ext
27258 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27259 echo "${ECHO_T}$ac_cv_func_remove" >&6
27261 if test $ac_cv_func_remove = no
; then
27262 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27263 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27264 if test "${ac_cv_lib_posix_remove+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 ac_check_lib_save_LIBS
=$LIBS
27268 LIBS
="-lposix $LIBS"
27269 cat >conftest.
$ac_ext <<_ACEOF
27272 cat confdefs.h
>>conftest.
$ac_ext
27273 cat >>conftest.
$ac_ext <<_ACEOF
27274 /* end confdefs.h. */
27276 /* Override any gcc2 internal prototype to avoid an error. */
27280 /* We use char because int might match the return type of a gcc2
27281 builtin and then its argument prototype would still apply. */
27291 rm -f conftest.
$ac_objext conftest
$ac_exeext
27292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27293 (eval $ac_link) 2>conftest.er1
27295 grep -v '^ *+' conftest.er1
>conftest.err
27297 cat conftest.err
>&5
27298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 (exit $ac_status); } &&
27300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27302 (eval $ac_try) 2>&5
27304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27305 (exit $ac_status); }; } &&
27306 { ac_try
='test -s conftest$ac_exeext'
27307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27308 (eval $ac_try) 2>&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); }; }; then
27312 ac_cv_lib_posix_remove
=yes
27314 echo "$as_me: failed program was:" >&5
27315 sed 's/^/| /' conftest.
$ac_ext >&5
27317 ac_cv_lib_posix_remove
=no
27319 rm -f conftest.err conftest.
$ac_objext \
27320 conftest
$ac_exeext conftest.
$ac_ext
27321 LIBS
=$ac_check_lib_save_LIBS
27323 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27324 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27325 if test $ac_cv_lib_posix_remove = yes; then
27326 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27331 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27332 echo "$as_me:$LINENO: checking for shmat" >&5
27333 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27334 if test "${ac_cv_func_shmat+set}" = set; then
27335 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 cat >conftest.
$ac_ext <<_ACEOF
27340 cat confdefs.h
>>conftest.
$ac_ext
27341 cat >>conftest.
$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27343 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27345 #define shmat innocuous_shmat
27347 /* System header to define __stub macros and hopefully few prototypes,
27348 which can conflict with char shmat (); below.
27349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27350 <limits.h> exists even on freestanding compilers. */
27353 # include <limits.h>
27355 # include <assert.h>
27360 /* Override any gcc2 internal prototype to avoid an error. */
27365 /* We use char because int might match the return type of a gcc2
27366 builtin and then its argument prototype would still apply. */
27368 /* The GNU C library defines this for functions which it implements
27369 to always fail with ENOSYS. Some functions are actually named
27370 something starting with __ and the normal name is an alias. */
27371 #if defined (__stub_shmat) || defined (__stub___shmat)
27374 char (*f) () = shmat;
27388 rm -f conftest.
$ac_objext conftest
$ac_exeext
27389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27390 (eval $ac_link) 2>conftest.er1
27392 grep -v '^ *+' conftest.er1
>conftest.err
27394 cat conftest.err
>&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; } &&
27403 { ac_try
='test -s conftest$ac_exeext'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; }; then
27409 ac_cv_func_shmat
=yes
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.
$ac_ext >&5
27414 ac_cv_func_shmat
=no
27416 rm -f conftest.err conftest.
$ac_objext \
27417 conftest
$ac_exeext conftest.
$ac_ext
27419 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27420 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27422 if test $ac_cv_func_shmat = no
; then
27423 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27424 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27425 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27426 echo $ECHO_N "(cached) $ECHO_C" >&6
27428 ac_check_lib_save_LIBS
=$LIBS
27430 cat >conftest.
$ac_ext <<_ACEOF
27433 cat confdefs.h
>>conftest.
$ac_ext
27434 cat >>conftest.
$ac_ext <<_ACEOF
27435 /* end confdefs.h. */
27437 /* Override any gcc2 internal prototype to avoid an error. */
27441 /* We use char because int might match the return type of a gcc2
27442 builtin and then its argument prototype would still apply. */
27452 rm -f conftest.
$ac_objext conftest
$ac_exeext
27453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27454 (eval $ac_link) 2>conftest.er1
27456 grep -v '^ *+' conftest.er1
>conftest.err
27458 cat conftest.err
>&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } &&
27461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27463 (eval $ac_try) 2>&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); }; } &&
27467 { ac_try
='test -s conftest$ac_exeext'
27468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 (eval $ac_try) 2>&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); }; }; then
27473 ac_cv_lib_ipc_shmat
=yes
27475 echo "$as_me: failed program was:" >&5
27476 sed 's/^/| /' conftest.
$ac_ext >&5
27478 ac_cv_lib_ipc_shmat
=no
27480 rm -f conftest.err conftest.
$ac_objext \
27481 conftest
$ac_exeext conftest.
$ac_ext
27482 LIBS
=$ac_check_lib_save_LIBS
27484 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27485 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27486 if test $ac_cv_lib_ipc_shmat = yes; then
27487 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27493 # Check for libraries that X11R6 Xt/Xaw programs need.
27494 ac_save_LDFLAGS
=$LDFLAGS
27495 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27496 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27497 # check for ICE first), but we must link in the order -lSM -lICE or
27498 # we get undefined symbols. So assume we have SM if we have ICE.
27499 # These have to be linked with before -lX11, unlike the other
27500 # libraries we check for below, so use a different variable.
27501 # John Interrante, Karl Berry
27502 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27503 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27504 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27505 echo $ECHO_N "(cached) $ECHO_C" >&6
27507 ac_check_lib_save_LIBS
=$LIBS
27508 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27509 cat >conftest.
$ac_ext <<_ACEOF
27512 cat confdefs.h
>>conftest.
$ac_ext
27513 cat >>conftest.
$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27516 /* Override any gcc2 internal prototype to avoid an error. */
27520 /* We use char because int might match the return type of a gcc2
27521 builtin and then its argument prototype would still apply. */
27522 char IceConnectionNumber ();
27526 IceConnectionNumber ();
27531 rm -f conftest.
$ac_objext conftest
$ac_exeext
27532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27533 (eval $ac_link) 2>conftest.er1
27535 grep -v '^ *+' conftest.er1
>conftest.err
27537 cat conftest.err
>&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); } &&
27540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27542 (eval $ac_try) 2>&5
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); }; } &&
27546 { ac_try
='test -s conftest$ac_exeext'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27552 ac_cv_lib_ICE_IceConnectionNumber
=yes
27554 echo "$as_me: failed program was:" >&5
27555 sed 's/^/| /' conftest.
$ac_ext >&5
27557 ac_cv_lib_ICE_IceConnectionNumber
=no
27559 rm -f conftest.err conftest.
$ac_objext \
27560 conftest
$ac_exeext conftest.
$ac_ext
27561 LIBS
=$ac_check_lib_save_LIBS
27563 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27564 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27565 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27566 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27569 LDFLAGS
=$ac_save_LDFLAGS
27574 if test "$no_x" = "yes"; then
27575 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27576 echo "$as_me: error: X11 not found" >&2;}
27577 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27580 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27581 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27582 AFMINSTALL
=afminstall
27583 COMPILED_X_PROGRAM
=0
27587 if test "$wxUSE_X11" = 1; then
27588 if test "$wxUSE_NANOX" = "yes"; then
27589 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27590 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27591 if test "x$MICROWIN" = x
; then
27592 echo "$as_me:$LINENO: result: not found" >&5
27593 echo "${ECHO_T}not found" >&6
27594 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27595 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27596 { (exit 1); exit 1; }; }
27598 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27599 echo "${ECHO_T}$MICROWIN" >&6
27600 cat >>confdefs.h
<<\_ACEOF
27601 #define wxUSE_NANOX 1
27607 if test "$wxUSE_UNICODE" = "yes"; then
27611 if test -z "$PKG_CONFIG"; then
27612 # Extract the first word of "pkg-config", so it can be a program name with args.
27613 set dummy pkg
-config; ac_word
=$2
27614 echo "$as_me:$LINENO: checking for $ac_word" >&5
27615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27616 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27617 echo $ECHO_N "(cached) $ECHO_C" >&6
27619 case $PKG_CONFIG in
27621 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27625 for as_dir
in $PATH
27628 test -z "$as_dir" && as_dir
=.
27629 for ac_exec_ext
in '' $ac_executable_extensions; do
27630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27631 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27638 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27642 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27644 if test -n "$PKG_CONFIG"; then
27645 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27646 echo "${ECHO_T}$PKG_CONFIG" >&6
27648 echo "$as_me:$LINENO: result: no" >&5
27649 echo "${ECHO_T}no" >&6
27654 if test "$PKG_CONFIG" = "no" ; then
27655 echo "*** The pkg-config script could not be found. Make sure it is"
27656 echo "*** in your path, or set the PKG_CONFIG environment variable"
27657 echo "*** to the full path to pkg-config."
27658 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27660 PKG_CONFIG_MIN_VERSION
=0.9.0
27661 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27662 echo "$as_me:$LINENO: checking for pangox" >&5
27663 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27665 if $PKG_CONFIG --exists "pangox" ; then
27666 echo "$as_me:$LINENO: result: yes" >&5
27667 echo "${ECHO_T}yes" >&6
27670 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27671 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27672 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27673 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27674 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27676 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27677 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27678 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27679 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27680 echo "${ECHO_T}$PANGOX_LIBS" >&6
27684 ## If we have a custom action on failure, don't print errors, but
27685 ## do set a variable so people can do so.
27686 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27693 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27694 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27698 if test $succeeded = yes; then
27700 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27701 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27705 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27706 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27707 { (exit 1); exit 1; }; }
27715 if test -z "$PKG_CONFIG"; then
27716 # Extract the first word of "pkg-config", so it can be a program name with args.
27717 set dummy pkg
-config; ac_word
=$2
27718 echo "$as_me:$LINENO: checking for $ac_word" >&5
27719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27720 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27721 echo $ECHO_N "(cached) $ECHO_C" >&6
27723 case $PKG_CONFIG in
27725 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27729 for as_dir
in $PATH
27732 test -z "$as_dir" && as_dir
=.
27733 for ac_exec_ext
in '' $ac_executable_extensions; do
27734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27735 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27742 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27746 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27748 if test -n "$PKG_CONFIG"; then
27749 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27750 echo "${ECHO_T}$PKG_CONFIG" >&6
27752 echo "$as_me:$LINENO: result: no" >&5
27753 echo "${ECHO_T}no" >&6
27758 if test "$PKG_CONFIG" = "no" ; then
27759 echo "*** The pkg-config script could not be found. Make sure it is"
27760 echo "*** in your path, or set the PKG_CONFIG environment variable"
27761 echo "*** to the full path to pkg-config."
27762 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27764 PKG_CONFIG_MIN_VERSION
=0.9.0
27765 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27766 echo "$as_me:$LINENO: checking for pangoft2" >&5
27767 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27769 if $PKG_CONFIG --exists "pangoft2" ; then
27770 echo "$as_me:$LINENO: result: yes" >&5
27771 echo "${ECHO_T}yes" >&6
27774 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27775 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27776 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27777 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27778 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27780 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27781 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27782 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27783 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27784 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27788 ## If we have a custom action on failure, don't print errors, but
27789 ## do set a variable so people can do so.
27790 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27797 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27798 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27802 if test $succeeded = yes; then
27804 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27805 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27809 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27810 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27811 wxUSE_PRINTING_ARCHITECTURE
="no"
27819 if test -z "$PKG_CONFIG"; then
27820 # Extract the first word of "pkg-config", so it can be a program name with args.
27821 set dummy pkg
-config; ac_word
=$2
27822 echo "$as_me:$LINENO: checking for $ac_word" >&5
27823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27824 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27825 echo $ECHO_N "(cached) $ECHO_C" >&6
27827 case $PKG_CONFIG in
27829 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27833 for as_dir
in $PATH
27836 test -z "$as_dir" && as_dir
=.
27837 for ac_exec_ext
in '' $ac_executable_extensions; do
27838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27839 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27846 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27850 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27852 if test -n "$PKG_CONFIG"; then
27853 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27854 echo "${ECHO_T}$PKG_CONFIG" >&6
27856 echo "$as_me:$LINENO: result: no" >&5
27857 echo "${ECHO_T}no" >&6
27862 if test "$PKG_CONFIG" = "no" ; then
27863 echo "*** The pkg-config script could not be found. Make sure it is"
27864 echo "*** in your path, or set the PKG_CONFIG environment variable"
27865 echo "*** to the full path to pkg-config."
27866 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27868 PKG_CONFIG_MIN_VERSION
=0.9.0
27869 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27870 echo "$as_me:$LINENO: checking for pangoxft" >&5
27871 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27873 if $PKG_CONFIG --exists "pangoxft" ; then
27874 echo "$as_me:$LINENO: result: yes" >&5
27875 echo "${ECHO_T}yes" >&6
27878 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27879 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27880 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27881 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27882 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27884 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27885 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27886 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27887 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27888 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27892 ## If we have a custom action on failure, don't print errors, but
27893 ## do set a variable so people can do so.
27894 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27901 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27902 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27906 if test $succeeded = yes; then
27908 cat >>confdefs.h
<<\_ACEOF
27909 #define HAVE_PANGO_XFT 1
27912 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27913 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27917 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27918 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27923 save_CFLAGS
="$CFLAGS"
27925 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27926 LIBS
="$LIBS $PANGOX_LIBS"
27928 for ac_func
in pango_font_family_is_monospace
27930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27931 echo "$as_me:$LINENO: checking for $ac_func" >&5
27932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27933 if eval "test \"\${$as_ac_var+set}\" = set"; then
27934 echo $ECHO_N "(cached) $ECHO_C" >&6
27936 cat >conftest.
$ac_ext <<_ACEOF
27939 cat confdefs.h
>>conftest.
$ac_ext
27940 cat >>conftest.
$ac_ext <<_ACEOF
27941 /* end confdefs.h. */
27942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27944 #define $ac_func innocuous_$ac_func
27946 /* System header to define __stub macros and hopefully few prototypes,
27947 which can conflict with char $ac_func (); below.
27948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27949 <limits.h> exists even on freestanding compilers. */
27952 # include <limits.h>
27954 # include <assert.h>
27959 /* Override any gcc2 internal prototype to avoid an error. */
27964 /* We use char because int might match the return type of a gcc2
27965 builtin and then its argument prototype would still apply. */
27967 /* The GNU C library defines this for functions which it implements
27968 to always fail with ENOSYS. Some functions are actually named
27969 something starting with __ and the normal name is an alias. */
27970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27973 char (*f) () = $ac_func;
27982 return f != $ac_func;
27987 rm -f conftest.
$ac_objext conftest
$ac_exeext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27989 (eval $ac_link) 2>conftest.er1
27991 grep -v '^ *+' conftest.er1
>conftest.err
27993 cat conftest.err
>&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } &&
27996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27998 (eval $ac_try) 2>&5
28000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28001 (exit $ac_status); }; } &&
28002 { ac_try
='test -s conftest$ac_exeext'
28003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28004 (eval $ac_try) 2>&5
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); }; }; then
28008 eval "$as_ac_var=yes"
28010 echo "$as_me: failed program was:" >&5
28011 sed 's/^/| /' conftest.
$ac_ext >&5
28013 eval "$as_ac_var=no"
28015 rm -f conftest.err conftest.
$ac_objext \
28016 conftest
$ac_exeext conftest.
$ac_ext
28018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28020 if test `eval echo '${'$as_ac_var'}'` = yes; then
28021 cat >>confdefs.h
<<_ACEOF
28022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28028 CFLAGS
="$save_CFLAGS"
28032 wxUSE_UNIVERSAL
="yes"
28034 if test "$wxUSE_NANOX" = "yes"; then
28035 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28036 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"
28037 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28039 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28046 if test "$wxUSE_MOTIF" = 1; then
28047 if test "$wxUSE_UNICODE" = "yes"; then
28048 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28049 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28050 { (exit 1); exit 1; }; }
28053 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28054 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28057 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28059 if test -f "$ac_dir/Xm/Xm.h"; then
28060 ac_find_includes
=$ac_dir
28065 if test "$ac_find_includes" != "" ; then
28066 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28067 echo "${ECHO_T}found in $ac_find_includes" >&6
28069 if test "x$ac_find_includes" = "x/usr/include"; then
28070 ac_path_to_include
=""
28072 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28074 if test $result = 0; then
28075 ac_path_to_include
=""
28077 ac_path_to_include
=" -I$ac_find_includes"
28081 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28083 cat >conftest.
$ac_ext <<_ACEOF
28086 cat confdefs.h
>>conftest.
$ac_ext
28087 cat >>conftest.
$ac_ext <<_ACEOF
28088 /* end confdefs.h. */
28097 version = xmUseVersion;
28103 rm -f conftest.
$ac_objext
28104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28105 (eval $ac_compile) 2>conftest.er1
28107 grep -v '^ *+' conftest.er1
>conftest.err
28109 cat conftest.err
>&5
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); } &&
28112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28114 (eval $ac_try) 2>&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); }; } &&
28118 { ac_try
='test -s conftest.$ac_objext'
28119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28120 (eval $ac_try) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); }; }; then
28125 echo "$as_me:$LINENO: result: found in default search path" >&5
28126 echo "${ECHO_T}found in default search path" >&6
28127 COMPILED_X_PROGRAM
=1
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.
$ac_ext >&5
28134 echo "$as_me:$LINENO: result: no" >&5
28135 echo "${ECHO_T}no" >&6
28136 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28137 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28138 { (exit 1); exit 1; }; }
28142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28145 if test "$COMPILED_X_PROGRAM" = 0; then
28146 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28147 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28150 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28152 for ac_extension
in a so sl dylib dll.a
; do
28153 if test -f "$ac_dir/libXm.$ac_extension"; then
28154 ac_find_libraries
=$ac_dir
28160 if test "$ac_find_libraries" != "" ; then
28161 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28162 echo "${ECHO_T}found at $ac_find_libraries" >&6
28165 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28167 if test $result = 0; then
28170 ac_path_to_link
=" -L$ac_find_libraries"
28173 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28175 save_CFLAGS
=$CFLAGS
28176 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28178 cat >conftest.
$ac_ext <<_ACEOF
28181 cat confdefs.h
>>conftest.
$ac_ext
28182 cat >>conftest.
$ac_ext <<_ACEOF
28183 /* end confdefs.h. */
28192 version = xmUseVersion;
28198 rm -f conftest.
$ac_objext
28199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28200 (eval $ac_compile) 2>conftest.er1
28202 grep -v '^ *+' conftest.er1
>conftest.err
28204 cat conftest.err
>&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); } &&
28207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; } &&
28213 { ac_try
='test -s conftest.$ac_objext'
28214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28215 (eval $ac_try) 2>&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); }; }; then
28220 echo "$as_me:$LINENO: result: found in default search path" >&5
28221 echo "${ECHO_T}found in default search path" >&6
28222 COMPILED_X_PROGRAM
=1
28225 echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.
$ac_ext >&5
28229 echo "$as_me:$LINENO: result: no" >&5
28230 echo "${ECHO_T}no" >&6
28231 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28232 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28233 { (exit 1); exit 1; }; }
28237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28239 CFLAGS
=$save_CFLAGS
28243 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28244 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28248 for libp
in "" " -lXp"; do
28249 if test "$libs_found" = "0"; then
28250 for libsm_ice
in "" " -lSM -lICE"; do
28251 if test "$libs_found" = "0"; then
28253 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28254 save_CFLAGS
=$CFLAGS
28255 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28257 cat >conftest.
$ac_ext <<_ACEOF
28260 cat confdefs.h
>>conftest.
$ac_ext
28261 cat >>conftest.
$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28265 #include <Xm/List.h>
28271 XmString string = NULL;
28274 XmListAddItem(w, string, position);
28280 rm -f conftest.
$ac_objext conftest
$ac_exeext
28281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28282 (eval $ac_link) 2>conftest.er1
28284 grep -v '^ *+' conftest.er1
>conftest.err
28286 cat conftest.err
>&5
28287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28288 (exit $ac_status); } &&
28289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28291 (eval $ac_try) 2>&5
28293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294 (exit $ac_status); }; } &&
28295 { ac_try
='test -s conftest$ac_exeext'
28296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28297 (eval $ac_try) 2>&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); }; }; then
28303 libsm_ice_link
="$libsm_ice"
28304 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28305 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28309 echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.
$ac_ext >&5
28315 rm -f conftest.err conftest.
$ac_objext \
28316 conftest
$ac_exeext conftest.
$ac_ext
28319 CFLAGS
=$save_CFLAGS
28325 if test "$libs_found" = "0"; then
28326 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28327 echo "${ECHO_T}can't find the right libraries" >&6
28328 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28329 echo "$as_me: error: can't link a simple motif program" >&2;}
28330 { (exit 1); exit 1; }; }
28333 save_CFLAGS
=$CFLAGS
28334 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28335 echo "$as_me:$LINENO: checking for Motif 2" >&5
28336 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28337 cat >conftest.
$ac_ext <<_ACEOF
28340 cat confdefs.h
>>conftest.
$ac_ext
28341 cat >>conftest.
$ac_ext <<_ACEOF
28342 /* end confdefs.h. */
28350 #if XmVersion < 2000
28351 #error "Not Motif 2"
28358 rm -f conftest.
$ac_objext
28359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28360 (eval $ac_compile) 2>conftest.er1
28362 grep -v '^ *+' conftest.er1
>conftest.err
28364 cat conftest.err
>&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); } &&
28367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28369 (eval $ac_try) 2>&5
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); }; } &&
28373 { ac_try
='test -s conftest.$ac_objext'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; }; then
28380 cat >>confdefs.h
<<\_ACEOF
28381 #define __WXMOTIF20__ 1
28384 echo "$as_me:$LINENO: result: found" >&5
28385 echo "${ECHO_T}found" >&6
28388 echo "$as_me: failed program was:" >&5
28389 sed 's/^/| /' conftest.
$ac_ext >&5
28392 cat >>confdefs.h
<<\_ACEOF
28393 #define __WXMOTIF20__ 0
28396 echo "$as_me:$LINENO: result: not found" >&5
28397 echo "${ECHO_T}not found" >&6
28400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28402 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28403 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28404 cat >conftest.
$ac_ext <<_ACEOF
28407 cat confdefs.h
>>conftest.
$ac_ext
28408 cat >>conftest.
$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28417 #if !defined(LesstifVersion) || LesstifVersion <= 0
28418 #error "Not Lesstif"
28425 rm -f conftest.
$ac_objext
28426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28427 (eval $ac_compile) 2>conftest.er1
28429 grep -v '^ *+' conftest.er1
>conftest.err
28431 cat conftest.err
>&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } &&
28434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28436 (eval $ac_try) 2>&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); }; } &&
28440 { ac_try
='test -s conftest.$ac_objext'
28441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28442 (eval $ac_try) 2>&5
28444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445 (exit $ac_status); }; }; then
28447 cat >>confdefs.h
<<\_ACEOF
28448 #define __WXLESSTIF__ 1
28451 echo "$as_me:$LINENO: result: yes" >&5
28452 echo "${ECHO_T}yes" >&6
28455 echo "$as_me: failed program was:" >&5
28456 sed 's/^/| /' conftest.
$ac_ext >&5
28459 cat >>confdefs.h
<<\_ACEOF
28460 #define __WXLESSTIF__ 0
28463 echo "$as_me:$LINENO: result: no" >&5
28464 echo "${ECHO_T}no" >&6
28467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28468 CFLAGS
=$save_CFLAGS
28470 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28475 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28476 if test "$wxUSE_LIBXPM" = "sys"; then
28477 echo "$as_me:$LINENO: checking for Xpm library" >&5
28478 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28481 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28483 for ac_extension
in a so sl dylib dll.a
; do
28484 if test -f "$ac_dir/libXpm.$ac_extension"; then
28485 ac_find_libraries
=$ac_dir
28491 if test "$ac_find_libraries" != "" ; then
28493 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28495 if test $result = 0; then
28498 ac_path_to_link
=" -L$ac_find_libraries"
28501 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28502 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28503 echo "${ECHO_T}found at $ac_find_libraries" >&6
28505 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28506 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28507 if test "${wx_cv_x11_xpm_h+set}" = set; then
28508 echo $ECHO_N "(cached) $ECHO_C" >&6
28511 save_CFLAGS
=$CFLAGS
28512 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28514 cat >conftest.
$ac_ext <<_ACEOF
28517 cat confdefs.h
>>conftest.
$ac_ext
28518 cat >>conftest.
$ac_ext <<_ACEOF
28519 /* end confdefs.h. */
28521 #include <X11/xpm.h>
28528 version = XpmLibraryVersion();
28534 rm -f conftest.
$ac_objext
28535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28536 (eval $ac_compile) 2>conftest.er1
28538 grep -v '^ *+' conftest.er1
>conftest.err
28540 cat conftest.err
>&5
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); } &&
28543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28545 (eval $ac_try) 2>&5
28547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548 (exit $ac_status); }; } &&
28549 { ac_try
='test -s conftest.$ac_objext'
28550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28551 (eval $ac_try) 2>&5
28553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 (exit $ac_status); }; }; then
28555 wx_cv_x11_xpm_h
=yes
28557 echo "$as_me: failed program was:" >&5
28558 sed 's/^/| /' conftest.
$ac_ext >&5
28563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28565 CFLAGS
=$save_CFLAGS
28569 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28570 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28572 if test $wx_cv_x11_xpm_h = "yes"; then
28573 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28574 cat >>confdefs.h
<<\_ACEOF
28575 #define wxHAVE_LIB_XPM 1
28579 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28580 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28586 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28587 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28588 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28591 ac_check_lib_save_LIBS
=$LIBS
28592 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28593 cat >conftest.
$ac_ext <<_ACEOF
28596 cat confdefs.h
>>conftest.
$ac_ext
28597 cat >>conftest.
$ac_ext <<_ACEOF
28598 /* end confdefs.h. */
28600 /* Override any gcc2 internal prototype to avoid an error. */
28604 /* We use char because int might match the return type of a gcc2
28605 builtin and then its argument prototype would still apply. */
28606 char XShapeQueryExtension ();
28610 XShapeQueryExtension ();
28615 rm -f conftest.
$ac_objext conftest
$ac_exeext
28616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28617 (eval $ac_link) 2>conftest.er1
28619 grep -v '^ *+' conftest.er1
>conftest.err
28621 cat conftest.err
>&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); } &&
28624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28626 (eval $ac_try) 2>&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); }; } &&
28630 { ac_try
='test -s conftest$ac_exeext'
28631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632 (eval $ac_try) 2>&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); }; }; then
28636 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28638 echo "$as_me: failed program was:" >&5
28639 sed 's/^/| /' conftest.
$ac_ext >&5
28641 ac_cv_lib_Xext_XShapeQueryExtension
=no
28643 rm -f conftest.err conftest.
$ac_objext \
28644 conftest
$ac_exeext conftest.
$ac_ext
28645 LIBS
=$ac_check_lib_save_LIBS
28647 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28648 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28649 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28651 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28657 if test "$wxHAVE_XEXT_LIB" = 1; then
28658 save_CFLAGS
="$CFLAGS"
28659 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28661 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28662 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28663 cat >conftest.
$ac_ext <<_ACEOF
28666 cat confdefs.h
>>conftest.
$ac_ext
28667 cat >>conftest.
$ac_ext <<_ACEOF
28668 /* end confdefs.h. */
28670 #include <X11/Xlib.h>
28671 #include <X11/extensions/shape.h>
28677 int dummy1, dummy2;
28678 XShapeQueryExtension((Display*)NULL,
28679 (int*)NULL, (int*)NULL);
28685 rm -f conftest.
$ac_objext
28686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28687 (eval $ac_compile) 2>conftest.er1
28689 grep -v '^ *+' conftest.er1
>conftest.err
28691 cat conftest.err
>&5
28692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 (exit $ac_status); } &&
28694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28696 (eval $ac_try) 2>&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); }; } &&
28700 { ac_try
='test -s conftest.$ac_objext'
28701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28702 (eval $ac_try) 2>&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); }; }; then
28707 cat >>confdefs.h
<<\_ACEOF
28708 #define HAVE_XSHAPE 1
28711 echo "$as_me:$LINENO: result: found" >&5
28712 echo "${ECHO_T}found" >&6
28715 echo "$as_me: failed program was:" >&5
28716 sed 's/^/| /' conftest.
$ac_ext >&5
28719 echo "$as_me:$LINENO: result: not found" >&5
28720 echo "${ECHO_T}not found" >&6
28723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28724 CFLAGS
="$save_CFLAGS"
28729 if test "$wxUSE_MAC" = 1; then
28730 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28731 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28732 if test "$GCC" = yes; then
28733 echo "$as_me:$LINENO: result: gcc" >&5
28734 echo "${ECHO_T}gcc" >&6
28735 CPPFLAGS_PASCAL
="-fpascal-strings"
28736 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28737 echo "$as_me:$LINENO: result: xlc" >&5
28738 echo "${ECHO_T}xlc" >&6
28739 CPPFLAGS_PASCAL
="-qmacpstr"
28741 echo "$as_me:$LINENO: result: none" >&5
28742 echo "${ECHO_T}none" >&6
28745 if test "x$wxUSE_UNIX" = "xyes"; then
28746 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28748 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28753 WXBASEPORT
="_carbon"
28756 if test "$wxUSE_COCOA" = 1; then
28761 if test "$wxUSE_PM" = 1; then
28764 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28765 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28766 if test "${wx_cv_spbcdata+set}" = set; then
28767 echo $ECHO_N "(cached) $ECHO_C" >&6
28770 cat >conftest.
$ac_ext <<_ACEOF
28773 cat confdefs.h
>>conftest.
$ac_ext
28774 cat >>conftest.
$ac_ext <<_ACEOF
28775 /* end confdefs.h. */
28790 rm -f conftest.
$ac_objext
28791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28792 (eval $ac_compile) 2>conftest.er1
28794 grep -v '^ *+' conftest.er1
>conftest.err
28796 cat conftest.err
>&5
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); } &&
28799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; } &&
28805 { ac_try
='test -s conftest.$ac_objext'
28806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807 (eval $ac_try) 2>&5
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); }; }; then
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.
$ac_ext >&5
28819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28823 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28824 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28826 if test $wx_cv_spbcdata = "yes"; then
28827 cat >>confdefs.h
<<\_ACEOF
28828 #define HAVE_SPBCDATA 1
28834 if test "$TOOLKIT" = "PM" ; then
28837 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28840 if test "$wxUSE_UNIVERSAL" = "yes"; then
28841 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28845 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28846 DISTDIR
="wx\$(TOOLKIT)"
28852 if test "$USE_WIN32" = 1 ; then
28856 GUIDIST
="BASE_DIST"
28866 if test "$TOOLKIT" != "MSW" ; then
28868 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28870 if test "${ac_cv_header_sql_h+set}" = set; then
28871 echo "$as_me:$LINENO: checking for sql.h" >&5
28872 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28873 if test "${ac_cv_header_sql_h+set}" = set; then
28874 echo $ECHO_N "(cached) $ECHO_C" >&6
28876 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28877 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28879 # Is the header compilable?
28880 echo "$as_me:$LINENO: checking sql.h usability" >&5
28881 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28882 cat >conftest.
$ac_ext <<_ACEOF
28885 cat confdefs.h
>>conftest.
$ac_ext
28886 cat >>conftest.
$ac_ext <<_ACEOF
28887 /* end confdefs.h. */
28888 $ac_includes_default
28891 rm -f conftest.
$ac_objext
28892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28893 (eval $ac_compile) 2>conftest.er1
28895 grep -v '^ *+' conftest.er1
>conftest.err
28897 cat conftest.err
>&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); } &&
28900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28902 (eval $ac_try) 2>&5
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); }; } &&
28906 { ac_try
='test -s conftest.$ac_objext'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; }; then
28912 ac_header_compiler
=yes
28914 echo "$as_me: failed program was:" >&5
28915 sed 's/^/| /' conftest.
$ac_ext >&5
28917 ac_header_compiler
=no
28919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28921 echo "${ECHO_T}$ac_header_compiler" >&6
28923 # Is the header present?
28924 echo "$as_me:$LINENO: checking sql.h presence" >&5
28925 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28926 cat >conftest.
$ac_ext <<_ACEOF
28929 cat confdefs.h
>>conftest.
$ac_ext
28930 cat >>conftest.
$ac_ext <<_ACEOF
28931 /* end confdefs.h. */
28934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28937 grep -v '^ *+' conftest.er1
>conftest.err
28939 cat conftest.err
>&5
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); } >/dev
/null
; then
28942 if test -s conftest.err
; then
28943 ac_cpp_err
=$ac_c_preproc_warn_flag
28944 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28951 if test -z "$ac_cpp_err"; then
28952 ac_header_preproc
=yes
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.
$ac_ext >&5
28957 ac_header_preproc
=no
28959 rm -f conftest.err conftest.
$ac_ext
28960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28961 echo "${ECHO_T}$ac_header_preproc" >&6
28963 # So? What about this header?
28964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28966 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28967 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28968 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28969 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28970 ac_header_preproc
=yes
28973 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28974 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28975 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28976 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28977 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28978 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28979 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28980 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28981 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28982 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28983 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28984 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28987 ## ----------------------------------------- ##
28988 ## Report this to wx-dev@lists.wxwidgets.org ##
28989 ## ----------------------------------------- ##
28992 sed "s/^/$as_me: WARNING: /" >&2
28995 echo "$as_me:$LINENO: checking for sql.h" >&5
28996 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28997 if test "${ac_cv_header_sql_h+set}" = set; then
28998 echo $ECHO_N "(cached) $ECHO_C" >&6
29000 ac_cv_header_sql_h
=$ac_header_preproc
29002 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29003 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29006 if test $ac_cv_header_sql_h = yes; then
29011 if test "x$found_sql_h" = "x1" ; then
29012 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29013 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29014 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29015 echo $ECHO_N "(cached) $ECHO_C" >&6
29017 ac_check_lib_save_LIBS
=$LIBS
29018 LIBS
="-liodbc $LIBS"
29019 cat >conftest.
$ac_ext <<_ACEOF
29022 cat confdefs.h
>>conftest.
$ac_ext
29023 cat >>conftest.
$ac_ext <<_ACEOF
29024 /* end confdefs.h. */
29026 /* Override any gcc2 internal prototype to avoid an error. */
29030 /* We use char because int might match the return type of a gcc2
29031 builtin and then its argument prototype would still apply. */
29032 char SQLAllocEnv ();
29041 rm -f conftest.
$ac_objext conftest
$ac_exeext
29042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29043 (eval $ac_link) 2>conftest.er1
29045 grep -v '^ *+' conftest.er1
>conftest.err
29047 cat conftest.err
>&5
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); } &&
29050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29052 (eval $ac_try) 2>&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; } &&
29056 { ac_try
='test -s conftest$ac_exeext'
29057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29058 (eval $ac_try) 2>&5
29060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29061 (exit $ac_status); }; }; then
29062 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29064 echo "$as_me: failed program was:" >&5
29065 sed 's/^/| /' conftest.
$ac_ext >&5
29067 ac_cv_lib_iodbc_SQLAllocEnv
=no
29069 rm -f conftest.err conftest.
$ac_objext \
29070 conftest
$ac_exeext conftest.
$ac_ext
29071 LIBS
=$ac_check_lib_save_LIBS
29073 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29074 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29075 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29076 ODBC_LINK
=" -liodbc"
29079 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29080 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29081 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29082 echo $ECHO_N "(cached) $ECHO_C" >&6
29084 ac_check_lib_save_LIBS
=$LIBS
29085 LIBS
="-lunixodbc $LIBS"
29086 cat >conftest.
$ac_ext <<_ACEOF
29089 cat confdefs.h
>>conftest.
$ac_ext
29090 cat >>conftest.
$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29093 /* Override any gcc2 internal prototype to avoid an error. */
29097 /* We use char because int might match the return type of a gcc2
29098 builtin and then its argument prototype would still apply. */
29099 char SQLAllocEnv ();
29108 rm -f conftest.
$ac_objext conftest
$ac_exeext
29109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29110 (eval $ac_link) 2>conftest.er1
29112 grep -v '^ *+' conftest.er1
>conftest.err
29114 cat conftest.err
>&5
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); } &&
29117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29119 (eval $ac_try) 2>&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); }; } &&
29123 { ac_try
='test -s conftest$ac_exeext'
29124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29125 (eval $ac_try) 2>&5
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); }; }; then
29129 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29131 echo "$as_me: failed program was:" >&5
29132 sed 's/^/| /' conftest.
$ac_ext >&5
29134 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29136 rm -f conftest.err conftest.
$ac_objext \
29137 conftest
$ac_exeext conftest.
$ac_ext
29138 LIBS
=$ac_check_lib_save_LIBS
29140 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29141 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29142 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29143 ODBC_LINK
=" -lunixodbc"
29146 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29147 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29148 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29149 echo $ECHO_N "(cached) $ECHO_C" >&6
29151 ac_check_lib_save_LIBS
=$LIBS
29152 LIBS
="-lodbc $LIBS"
29153 cat >conftest.
$ac_ext <<_ACEOF
29156 cat confdefs.h
>>conftest.
$ac_ext
29157 cat >>conftest.
$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29160 /* Override any gcc2 internal prototype to avoid an error. */
29164 /* We use char because int might match the return type of a gcc2
29165 builtin and then its argument prototype would still apply. */
29166 char SQLAllocEnv ();
29175 rm -f conftest.
$ac_objext conftest
$ac_exeext
29176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29177 (eval $ac_link) 2>conftest.er1
29179 grep -v '^ *+' conftest.er1
>conftest.err
29181 cat conftest.err
>&5
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); } &&
29184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186 (eval $ac_try) 2>&5
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); }; } &&
29190 { ac_try
='test -s conftest$ac_exeext'
29191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29192 (eval $ac_try) 2>&5
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); }; }; then
29196 ac_cv_lib_odbc_SQLAllocEnv
=yes
29198 echo "$as_me: failed program was:" >&5
29199 sed 's/^/| /' conftest.
$ac_ext >&5
29201 ac_cv_lib_odbc_SQLAllocEnv
=no
29203 rm -f conftest.err conftest.
$ac_objext \
29204 conftest
$ac_exeext conftest.
$ac_ext
29205 LIBS
=$ac_check_lib_save_LIBS
29207 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29208 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29209 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29210 ODBC_LINK
=" -lodbc"
29220 if test "x$ODBC_LINK" = "x" ; then
29221 if test "$wxUSE_ODBC" = "sys" ; then
29222 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29223 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29224 { (exit 1); exit 1; }; }
29226 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29227 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29235 if test "$wxUSE_ODBC" = "builtin" ; then
29236 cat >>confdefs.h
<<\_ACEOF
29237 #define wxUSE_BUILTIN_IODBC 1
29243 if test "$wxUSE_ODBC" != "no" ; then
29244 cat >>confdefs.h
<<\_ACEOF
29245 #define wxUSE_ODBC 1
29248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29250 WXODBCFLAG
="-D_IODBC_"
29254 if test "$wxUSE_DISPLAY" = "yes"; then
29255 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29256 echo "$as_me:$LINENO: checking for Xinerama" >&5
29257 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29260 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29262 for ac_extension
in a so sl dylib dll.a
; do
29263 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29264 ac_find_libraries
=$ac_dir
29270 if test "$ac_find_libraries" != "" ; then
29272 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29274 if test $result = 0; then
29277 ac_path_to_link
=" -L$ac_find_libraries"
29280 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29281 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29283 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29284 echo "$as_me:$LINENO: result: yes" >&5
29285 echo "${ECHO_T}yes" >&6
29287 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29288 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29291 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29293 for ac_extension
in a so sl dylib dll.a
; do
29294 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29295 ac_find_libraries
=$ac_dir
29301 if test "$ac_find_libraries" != "" ; then
29302 echo "$as_me:$LINENO: result: yes" >&5
29303 echo "${ECHO_T}yes" >&6
29305 for ac_header
in X
11/extensions
/xf86vmode.h
29307 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29308 echo "$as_me:$LINENO: checking for $ac_header" >&5
29309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29311 echo $ECHO_N "(cached) $ECHO_C" >&6
29313 cat >conftest.
$ac_ext <<_ACEOF
29316 cat confdefs.h
>>conftest.
$ac_ext
29317 cat >>conftest.
$ac_ext <<_ACEOF
29318 /* end confdefs.h. */
29320 #if HAVE_X11_XLIB_H
29321 #include <X11/Xlib.h>
29325 #include <$ac_header>
29327 rm -f conftest.
$ac_objext
29328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29329 (eval $ac_compile) 2>conftest.er1
29331 grep -v '^ *+' conftest.er1
>conftest.err
29333 cat conftest.err
>&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } &&
29336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29338 (eval $ac_try) 2>&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); }; } &&
29342 { ac_try
='test -s conftest.$ac_objext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29348 eval "$as_ac_Header=yes"
29350 echo "$as_me: failed program was:" >&5
29351 sed 's/^/| /' conftest.
$ac_ext >&5
29353 eval "$as_ac_Header=no"
29355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29360 cat >>confdefs.h
<<_ACEOF
29361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29364 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
29371 echo "$as_me:$LINENO: result: no" >&5
29372 echo "${ECHO_T}no" >&6
29376 echo "$as_me:$LINENO: result: no" >&5
29377 echo "${ECHO_T}no" >&6
29378 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29379 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29382 elif test "$wxUSE_MSW" = 1; then
29385 for ac_header
in multimon.h ddraw.h
29387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29388 echo "$as_me:$LINENO: checking for $ac_header" >&5
29389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29393 cat >conftest.
$ac_ext <<_ACEOF
29396 cat confdefs.h
>>conftest.
$ac_ext
29397 cat >>conftest.
$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29399 #include <windows.h>
29401 #include <$ac_header>
29403 rm -f conftest.
$ac_objext
29404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29405 (eval $ac_compile) 2>conftest.er1
29407 grep -v '^ *+' conftest.er1
>conftest.err
29409 cat conftest.err
>&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); } &&
29412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; } &&
29418 { ac_try
='test -s conftest.$ac_objext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29424 eval "$as_ac_Header=yes"
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.
$ac_ext >&5
29429 eval "$as_ac_Header=no"
29431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29436 cat >>confdefs.h
<<_ACEOF
29437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29443 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29444 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29455 if test "$wxUSE_OPENGL" = "yes"; then
29456 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29457 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29458 elif test "$wxUSE_MSW" = 1; then
29459 OPENGL_LIBS
="-lopengl32 -lglu32"
29464 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29466 if test -f "$ac_dir/GL/gl.h"; then
29467 ac_find_includes
=$ac_dir
29472 if test "$ac_find_includes" != "" ; then
29473 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29474 echo "${ECHO_T}found in $ac_find_includes" >&6
29476 if test "x$ac_find_includes" = "x/usr/include"; then
29477 ac_path_to_include
=""
29479 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29481 if test $result = 0; then
29482 ac_path_to_include
=""
29484 ac_path_to_include
=" -I$ac_find_includes"
29488 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29491 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29492 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29493 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29494 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29495 echo $ECHO_N "(cached) $ECHO_C" >&6
29497 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29498 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29500 # Is the header compilable?
29501 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29502 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29503 cat >conftest.
$ac_ext <<_ACEOF
29506 cat confdefs.h
>>conftest.
$ac_ext
29507 cat >>conftest.
$ac_ext <<_ACEOF
29508 /* end confdefs.h. */
29509 $ac_includes_default
29512 rm -f conftest.
$ac_objext
29513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29514 (eval $ac_compile) 2>conftest.er1
29516 grep -v '^ *+' conftest.er1
>conftest.err
29518 cat conftest.err
>&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } &&
29521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29523 (eval $ac_try) 2>&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); }; } &&
29527 { ac_try
='test -s conftest.$ac_objext'
29528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29529 (eval $ac_try) 2>&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); }; }; then
29533 ac_header_compiler
=yes
29535 echo "$as_me: failed program was:" >&5
29536 sed 's/^/| /' conftest.
$ac_ext >&5
29538 ac_header_compiler
=no
29540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29542 echo "${ECHO_T}$ac_header_compiler" >&6
29544 # Is the header present?
29545 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29546 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29547 cat >conftest.
$ac_ext <<_ACEOF
29550 cat confdefs.h
>>conftest.
$ac_ext
29551 cat >>conftest.
$ac_ext <<_ACEOF
29552 /* end confdefs.h. */
29555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29556 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29558 grep -v '^ *+' conftest.er1
>conftest.err
29560 cat conftest.err
>&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); } >/dev
/null
; then
29563 if test -s conftest.err
; then
29564 ac_cpp_err
=$ac_c_preproc_warn_flag
29565 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29572 if test -z "$ac_cpp_err"; then
29573 ac_header_preproc
=yes
29575 echo "$as_me: failed program was:" >&5
29576 sed 's/^/| /' conftest.
$ac_ext >&5
29578 ac_header_preproc
=no
29580 rm -f conftest.err conftest.
$ac_ext
29581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29582 echo "${ECHO_T}$ac_header_preproc" >&6
29584 # So? What about this header?
29585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29587 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29588 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29589 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29590 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29591 ac_header_preproc
=yes
29594 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29595 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29596 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29597 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29598 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29599 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29600 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29601 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29602 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29603 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29604 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29605 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29608 ## ----------------------------------------- ##
29609 ## Report this to wx-dev@lists.wxwidgets.org ##
29610 ## ----------------------------------------- ##
29613 sed "s/^/$as_me: WARNING: /" >&2
29616 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29617 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29618 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29619 echo $ECHO_N "(cached) $ECHO_C" >&6
29621 ac_cv_header_GL_gl_h
=$ac_header_preproc
29623 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29624 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29627 if test $ac_cv_header_GL_gl_h = yes; then
29631 echo "$as_me:$LINENO: checking for -lGL" >&5
29632 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29635 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29637 for ac_extension
in a so sl dylib dll.a
; do
29638 if test -f "$ac_dir/libGL.$ac_extension"; then
29639 ac_find_libraries
=$ac_dir
29645 if test "$ac_find_libraries" != "" ; then
29646 echo "$as_me:$LINENO: result: yes" >&5
29647 echo "${ECHO_T}yes" >&6
29650 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29652 if test $result = 0; then
29655 ac_path_to_link
=" -L$ac_find_libraries"
29658 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29659 LDFLAGS_GL
="$ac_path_to_link"
29662 echo "$as_me:$LINENO: checking for -lGLU" >&5
29663 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29666 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29668 for ac_extension
in a so sl dylib dll.a
; do
29669 if test -f "$ac_dir/libGLU.$ac_extension"; then
29670 ac_find_libraries
=$ac_dir
29676 if test "$ac_find_libraries" != "" ; then
29678 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29680 if test $result = 0; then
29683 ac_path_to_link
=" -L$ac_find_libraries"
29686 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29687 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29688 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29692 OPENGL_LIBS
="-lGL -lGLU"
29693 echo "$as_me:$LINENO: result: yes" >&5
29694 echo "${ECHO_T}yes" >&6
29696 echo "$as_me:$LINENO: result: no" >&5
29697 echo "${ECHO_T}no" >&6
29700 echo "$as_me:$LINENO: result: no" >&5
29701 echo "${ECHO_T}no" >&6
29704 if test "$found_gl" != 1; then
29705 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29706 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29709 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29711 for ac_extension
in a so sl dylib dll.a
; do
29712 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29713 ac_find_libraries
=$ac_dir
29719 if test "$ac_find_libraries" != "" ; then
29721 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29723 if test $result = 0; then
29726 ac_path_to_link
=" -L$ac_find_libraries"
29729 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29730 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29731 echo "$as_me:$LINENO: result: yes" >&5
29732 echo "${ECHO_T}yes" >&6
29734 echo "$as_me:$LINENO: result: no" >&5
29735 echo "${ECHO_T}no" >&6
29743 if test "x$OPENGL_LIBS" = "x"; then
29744 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29745 echo "$as_me: error: OpenGL libraries not available" >&2;}
29746 { (exit 1); exit 1; }; }
29750 if test "$wxUSE_OPENGL" = "yes"; then
29752 cat >>confdefs.h
<<\_ACEOF
29753 #define wxUSE_OPENGL 1
29756 cat >>confdefs.h
<<\_ACEOF
29757 #define wxUSE_GLCANVAS 1
29760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29765 if test -n "$TOOLKIT" ; then
29766 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29771 if test "$wxUSE_SHARED" = "yes"; then
29775 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29776 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29781 if test "$wxUSE_SHARED" = "yes"; then
29784 found_versioning
=no
29787 if test $found_versioning = no
; then
29788 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29789 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29790 if test "${wx_cv_version_script+set}" = set; then
29791 echo $ECHO_N "(cached) $ECHO_C" >&6
29794 echo "VER_1 { *; };" >conftest.sym
29795 echo "int main() { return 0; }" >conftest.cpp
29798 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29799 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; } ; then
29805 if test -s conftest.stderr
; then
29806 wx_cv_version_script
=no
29808 wx_cv_version_script
=yes
29811 wx_cv_version_script
=no
29814 if test $wx_cv_version_script = yes
29816 echo "struct B { virtual ~B() { } }; \
29817 struct D : public B { }; \
29818 void F() { D d; }" > conftest.cpp
29821 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29822 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824 (eval $ac_try) 2>&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; } &&
29829 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29830 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }
29838 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29839 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; }
29846 wx_cv_version_script
=yes
29848 wx_cv_version_script
=no
29853 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29854 rm -f conftest1.output conftest2.output conftest3.output
29857 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29858 echo "${ECHO_T}$wx_cv_version_script" >&6
29859 if test $wx_cv_version_script = yes ; then
29860 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29866 *-*-linux* | *-*-gnu* )
29867 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29868 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29872 if test "$GCC" = yes ; then
29873 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29875 saveLdflags
="$LDFLAGS"
29876 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29877 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29878 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29879 cat >conftest.
$ac_ext <<_ACEOF
29882 cat confdefs.h
>>conftest.
$ac_ext
29883 cat >>conftest.
$ac_ext <<_ACEOF
29884 /* end confdefs.h. */
29894 rm -f conftest.
$ac_objext conftest
$ac_exeext
29895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29896 (eval $ac_link) 2>conftest.er1
29898 grep -v '^ *+' conftest.er1
>conftest.err
29900 cat conftest.err
>&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } &&
29903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; } &&
29909 { ac_try
='test -s conftest$ac_exeext'
29910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911 (eval $ac_try) 2>&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; }; then
29916 echo "$as_me:$LINENO: result: yes" >&5
29917 echo "${ECHO_T}yes" >&6
29918 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29919 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29922 echo "$as_me: failed program was:" >&5
29923 sed 's/^/| /' conftest.
$ac_ext >&5
29926 echo "$as_me:$LINENO: result: no" >&5
29927 echo "${ECHO_T}no" >&6
29928 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29929 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29930 LDFLAGS
="$saveLdflags -Wl,-R,/"
29931 cat >conftest.
$ac_ext <<_ACEOF
29934 cat confdefs.h
>>conftest.
$ac_ext
29935 cat >>conftest.
$ac_ext <<_ACEOF
29936 /* end confdefs.h. */
29946 rm -f conftest.
$ac_objext conftest
$ac_exeext
29947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29948 (eval $ac_link) 2>conftest.er1
29950 grep -v '^ *+' conftest.er1
>conftest.err
29952 cat conftest.err
>&5
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); } &&
29955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29957 (eval $ac_try) 2>&5
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); }; } &&
29961 { ac_try
='test -s conftest$ac_exeext'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; }; then
29968 echo "$as_me:$LINENO: result: yes" >&5
29969 echo "${ECHO_T}yes" >&6
29970 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29971 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29974 echo "$as_me: failed program was:" >&5
29975 sed 's/^/| /' conftest.
$ac_ext >&5
29978 echo "$as_me:$LINENO: result: no" >&5
29979 echo "${ECHO_T}no" >&6
29982 rm -f conftest.err conftest.
$ac_objext \
29983 conftest
$ac_exeext conftest.
$ac_ext
29986 rm -f conftest.err conftest.
$ac_objext \
29987 conftest
$ac_exeext conftest.
$ac_ext
29988 LDFLAGS
="$saveLdflags"
29990 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29991 WXCONFIG_RPATH
="-R\$libdir"
29996 install_name_tool
=`which install_name_tool`
29997 if test "$install_name_tool" -a -x "$install_name_tool"; then
29998 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29999 cat <<EOF >change-install-names
30001 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30002 inst_cmd="install_name_tool "
30003 for i in \${libnames} ; do
30004 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30008 chmod +x change
-install-names
30012 *-*-cygwin* | *-*-mingw32* )
30013 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30017 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
30018 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
30023 if test $wxUSE_RPATH = "no"; then
30024 SAMPLES_RPATH_FLAG
=''
30025 SAMPLES_RPATH_POSTLINK
=''
30033 config_linkage_component
="-static"
30040 lib_unicode_suffix
=
30042 if test "$wxUSE_UNICODE" = "yes"; then
30043 lib_unicode_suffix
=u
30044 WX_CHARTYPE
="unicode"
30049 WX_DEBUGTYPE
="release"
30051 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30053 WX_DEBUGTYPE
="debug"
30057 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
30058 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
30061 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30065 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30067 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30069 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30071 if test "$cross_compiling" = "yes"; then
30072 HOST_SUFFIX
="-$host_alias"
30073 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30074 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30077 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30078 if test "${TOOLKIT_DIR}" = "os2"; then
30079 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30081 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30086 if test "$wxUSE_COCOA" = 1; then
30090 ac_cpp
='$CPP $CPPFLAGS'
30091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30097 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30098 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30099 cat >conftest.
$ac_ext <<_ACEOF
30102 cat confdefs.h
>>conftest.
$ac_ext
30103 cat >>conftest.
$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30105 #include <AppKit/NSEvent.h>
30106 #include <CoreFoundation/CoreFoundation.h>
30116 rm -f conftest.
$ac_objext
30117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30118 (eval $ac_compile) 2>conftest.er1
30120 grep -v '^ *+' conftest.er1
>conftest.err
30122 cat conftest.err
>&5
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); } &&
30125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30127 (eval $ac_try) 2>&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); }; } &&
30131 { ac_try
='test -s conftest.$ac_objext'
30132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30133 (eval $ac_try) 2>&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); }; }; then
30137 echo "$as_me:$LINENO: result: no" >&5
30138 echo "${ECHO_T}no" >&6
30140 echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.
$ac_ext >&5
30143 echo "$as_me:$LINENO: result: yes" >&5
30144 echo "${ECHO_T}yes" >&6
30145 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30146 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30147 cat >conftest.
$ac_ext <<_ACEOF
30150 cat confdefs.h
>>conftest.
$ac_ext
30151 cat >>conftest.
$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #define __Point__ 1
30154 #include <AppKit/NSEvent.h>
30155 #include <CoreFoundation/CoreFoundation.h>
30165 rm -f conftest.
$ac_objext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30167 (eval $ac_compile) 2>conftest.er1
30169 grep -v '^ *+' conftest.er1
>conftest.err
30171 cat conftest.err
>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; } &&
30180 { ac_try
='test -s conftest.$ac_objext'
30181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30182 (eval $ac_try) 2>&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); }; }; then
30186 echo "$as_me:$LINENO: result: yes" >&5
30187 echo "${ECHO_T}yes" >&6
30188 cat >>confdefs.h
<<\_ACEOF
30189 #define __Point__ 1
30194 echo "$as_me: failed program was:" >&5
30195 sed 's/^/| /' conftest.
$ac_ext >&5
30197 { { echo "$as_me:$LINENO: error: no
30198 See \`config.log' for more details." >&5
30199 echo "$as_me: error: no
30200 See \`config.log' for more details." >&2;}
30201 { (exit 1); exit 1; }; }
30204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30209 ac_cpp
='$CPP $CPPFLAGS'
30210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30216 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30217 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30218 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30220 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30222 # Extract the first word of "Rez", so it can be a program name with args.
30223 set dummy Rez
; ac_word
=$2
30224 echo "$as_me:$LINENO: checking for $ac_word" >&5
30225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30226 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30227 echo $ECHO_N "(cached) $ECHO_C" >&6
30229 if test -n "$RESCOMP"; then
30230 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
30232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30233 for as_dir
in $PATH
30236 test -z "$as_dir" && as_dir
=.
30237 for ac_exec_ext
in '' $ac_executable_extensions; do
30238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30239 ac_cv_prog_RESCOMP
="Rez"
30240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30246 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
30249 RESCOMP
=$ac_cv_prog_RESCOMP
30250 if test -n "$RESCOMP"; then
30251 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30252 echo "${ECHO_T}$RESCOMP" >&6
30254 echo "$as_me:$LINENO: result: no" >&5
30255 echo "${ECHO_T}no" >&6
30258 # Extract the first word of "DeRez", so it can be a program name with args.
30259 set dummy DeRez
; ac_word
=$2
30260 echo "$as_me:$LINENO: checking for $ac_word" >&5
30261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30262 if test "${ac_cv_prog_DEREZ+set}" = set; then
30263 echo $ECHO_N "(cached) $ECHO_C" >&6
30265 if test -n "$DEREZ"; then
30266 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
30268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30269 for as_dir
in $PATH
30272 test -z "$as_dir" && as_dir
=.
30273 for ac_exec_ext
in '' $ac_executable_extensions; do
30274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30275 ac_cv_prog_DEREZ
="DeRez"
30276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30282 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
30285 DEREZ
=$ac_cv_prog_DEREZ
30286 if test -n "$DEREZ"; then
30287 echo "$as_me:$LINENO: result: $DEREZ" >&5
30288 echo "${ECHO_T}$DEREZ" >&6
30290 echo "$as_me:$LINENO: result: no" >&5
30291 echo "${ECHO_T}no" >&6
30294 # Extract the first word of "SetFile", so it can be a program name with args.
30295 set dummy SetFile
; ac_word
=$2
30296 echo "$as_me:$LINENO: checking for $ac_word" >&5
30297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30298 if test "${ac_cv_prog_SETFILE+set}" = set; then
30299 echo $ECHO_N "(cached) $ECHO_C" >&6
30301 if test -n "$SETFILE"; then
30302 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
30304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30305 for as_dir
in $PATH
30308 test -z "$as_dir" && as_dir
=.
30309 for ac_exec_ext
in '' $ac_executable_extensions; do
30310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30311 ac_cv_prog_SETFILE
="SetFile"
30312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30318 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
30321 SETFILE
=$ac_cv_prog_SETFILE
30322 if test -n "$SETFILE"; then
30323 echo "$as_me:$LINENO: result: $SETFILE" >&5
30324 echo "${ECHO_T}$SETFILE" >&6
30326 echo "$as_me:$LINENO: result: no" >&5
30327 echo "${ECHO_T}no" >&6
30331 MACSETFILE
="\$(SETFILE)"
30333 if test "$wxUSE_MAC" = 1; then
30334 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30336 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30338 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30339 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30343 MACRESWXCONFIG
="@true"
30345 if test "$wxUSE_PM" = 1; then
30346 MACRESCOMP
="emxbind -ep"
30354 echo "$as_me:$LINENO: checking for mode_t" >&5
30355 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30356 if test "${ac_cv_type_mode_t+set}" = set; then
30357 echo $ECHO_N "(cached) $ECHO_C" >&6
30359 cat >conftest.
$ac_ext <<_ACEOF
30362 cat confdefs.h
>>conftest.
$ac_ext
30363 cat >>conftest.
$ac_ext <<_ACEOF
30364 /* end confdefs.h. */
30365 $ac_includes_default
30371 if (sizeof (mode_t))
30377 rm -f conftest.
$ac_objext
30378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30379 (eval $ac_compile) 2>conftest.er1
30381 grep -v '^ *+' conftest.er1
>conftest.err
30383 cat conftest.err
>&5
30384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30385 (exit $ac_status); } &&
30386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388 (eval $ac_try) 2>&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; } &&
30392 { ac_try
='test -s conftest.$ac_objext'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; }; then
30398 ac_cv_type_mode_t
=yes
30400 echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.
$ac_ext >&5
30403 ac_cv_type_mode_t
=no
30405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30407 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30408 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30409 if test $ac_cv_type_mode_t = yes; then
30413 cat >>confdefs.h
<<_ACEOF
30419 echo "$as_me:$LINENO: checking for off_t" >&5
30420 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30421 if test "${ac_cv_type_off_t+set}" = set; then
30422 echo $ECHO_N "(cached) $ECHO_C" >&6
30424 cat >conftest.
$ac_ext <<_ACEOF
30427 cat confdefs.h
>>conftest.
$ac_ext
30428 cat >>conftest.
$ac_ext <<_ACEOF
30429 /* end confdefs.h. */
30430 $ac_includes_default
30436 if (sizeof (off_t))
30442 rm -f conftest.
$ac_objext
30443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30444 (eval $ac_compile) 2>conftest.er1
30446 grep -v '^ *+' conftest.er1
>conftest.err
30448 cat conftest.err
>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); } &&
30451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30453 (eval $ac_try) 2>&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); }; } &&
30457 { ac_try
='test -s conftest.$ac_objext'
30458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30459 (eval $ac_try) 2>&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; }; then
30463 ac_cv_type_off_t
=yes
30465 echo "$as_me: failed program was:" >&5
30466 sed 's/^/| /' conftest.
$ac_ext >&5
30468 ac_cv_type_off_t
=no
30470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30472 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30473 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30474 if test $ac_cv_type_off_t = yes; then
30478 cat >>confdefs.h
<<_ACEOF
30484 echo "$as_me:$LINENO: checking for pid_t" >&5
30485 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30486 if test "${ac_cv_type_pid_t+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30489 cat >conftest.
$ac_ext <<_ACEOF
30492 cat confdefs.h
>>conftest.
$ac_ext
30493 cat >>conftest.
$ac_ext <<_ACEOF
30494 /* end confdefs.h. */
30495 $ac_includes_default
30501 if (sizeof (pid_t))
30507 rm -f conftest.
$ac_objext
30508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30509 (eval $ac_compile) 2>conftest.er1
30511 grep -v '^ *+' conftest.er1
>conftest.err
30513 cat conftest.err
>&5
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); } &&
30516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30518 (eval $ac_try) 2>&5
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 (exit $ac_status); }; } &&
30522 { ac_try
='test -s conftest.$ac_objext'
30523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30524 (eval $ac_try) 2>&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); }; }; then
30528 ac_cv_type_pid_t
=yes
30530 echo "$as_me: failed program was:" >&5
30531 sed 's/^/| /' conftest.
$ac_ext >&5
30533 ac_cv_type_pid_t
=no
30535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30537 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30538 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30539 if test $ac_cv_type_pid_t = yes; then
30543 cat >>confdefs.h
<<_ACEOF
30549 echo "$as_me:$LINENO: checking for size_t" >&5
30550 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30551 if test "${ac_cv_type_size_t+set}" = set; then
30552 echo $ECHO_N "(cached) $ECHO_C" >&6
30554 cat >conftest.
$ac_ext <<_ACEOF
30557 cat confdefs.h
>>conftest.
$ac_ext
30558 cat >>conftest.
$ac_ext <<_ACEOF
30559 /* end confdefs.h. */
30560 $ac_includes_default
30566 if (sizeof (size_t))
30572 rm -f conftest.
$ac_objext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30574 (eval $ac_compile) 2>conftest.er1
30576 grep -v '^ *+' conftest.er1
>conftest.err
30578 cat conftest.err
>&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } &&
30581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30583 (eval $ac_try) 2>&5
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); }; } &&
30587 { ac_try
='test -s conftest.$ac_objext'
30588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30589 (eval $ac_try) 2>&5
30591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30592 (exit $ac_status); }; }; then
30593 ac_cv_type_size_t
=yes
30595 echo "$as_me: failed program was:" >&5
30596 sed 's/^/| /' conftest.
$ac_ext >&5
30598 ac_cv_type_size_t
=no
30600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30602 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30603 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30604 if test $ac_cv_type_size_t = yes; then
30608 cat >>confdefs.h
<<_ACEOF
30609 #define size_t unsigned
30614 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30615 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30616 if test "${ac_cv_type_uid_t+set}" = set; then
30617 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 cat >conftest.
$ac_ext <<_ACEOF
30622 cat confdefs.h
>>conftest.
$ac_ext
30623 cat >>conftest.
$ac_ext <<_ACEOF
30624 /* end confdefs.h. */
30625 #include <sys/types.h>
30628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30629 $EGREP "uid_t" >/dev
/null
2>&1; then
30630 ac_cv_type_uid_t
=yes
30632 ac_cv_type_uid_t
=no
30637 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30638 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30639 if test $ac_cv_type_uid_t = no
; then
30641 cat >>confdefs.h
<<\_ACEOF
30646 cat >>confdefs.h
<<\_ACEOF
30653 echo "$as_me:$LINENO: checking for ssize_t" >&5
30654 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30655 if test "${ac_cv_type_ssize_t+set}" = set; then
30656 echo $ECHO_N "(cached) $ECHO_C" >&6
30658 cat >conftest.
$ac_ext <<_ACEOF
30661 cat confdefs.h
>>conftest.
$ac_ext
30662 cat >>conftest.
$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30664 $ac_includes_default
30670 if (sizeof (ssize_t))
30676 rm -f conftest.
$ac_objext
30677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30678 (eval $ac_compile) 2>conftest.er1
30680 grep -v '^ *+' conftest.er1
>conftest.err
30682 cat conftest.err
>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); } &&
30685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 (eval $ac_try) 2>&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); }; } &&
30691 { ac_try
='test -s conftest.$ac_objext'
30692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 (eval $ac_try) 2>&5
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); }; }; then
30697 ac_cv_type_ssize_t
=yes
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.
$ac_ext >&5
30702 ac_cv_type_ssize_t
=no
30704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30706 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30707 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30708 if test $ac_cv_type_ssize_t = yes; then
30710 cat >>confdefs.h
<<_ACEOF
30711 #define HAVE_SSIZE_T 1
30721 ac_cpp
='$CXXCPP $CPPFLAGS'
30722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30726 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30727 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30728 if test "${wx_cv_size_t_is_uint+set}" = set; then
30729 echo $ECHO_N "(cached) $ECHO_C" >&6
30732 cat >conftest.
$ac_ext <<_ACEOF
30735 cat confdefs.h
>>conftest.
$ac_ext
30736 cat >>conftest.
$ac_ext <<_ACEOF
30737 /* end confdefs.h. */
30738 #include <stddef.h>
30745 struct Foo { void foo(size_t); void foo(unsigned int); };
30753 rm -f conftest.
$ac_objext
30754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30755 (eval $ac_compile) 2>conftest.er1
30757 grep -v '^ *+' conftest.er1
>conftest.err
30759 cat conftest.err
>&5
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); } &&
30762 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30764 (eval $ac_try) 2>&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); }; } &&
30768 { ac_try
='test -s conftest.$ac_objext'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; }; then
30774 wx_cv_size_t_is_uint
=no
30776 echo "$as_me: failed program was:" >&5
30777 sed 's/^/| /' conftest.
$ac_ext >&5
30779 wx_cv_size_t_is_uint
=yes
30782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30786 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30787 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30789 if test "$wx_cv_size_t_is_uint" = "yes"; then
30790 cat >>confdefs.h
<<\_ACEOF
30791 #define wxSIZE_T_IS_UINT 1
30795 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30796 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30797 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30798 echo $ECHO_N "(cached) $ECHO_C" >&6
30800 cat >conftest.
$ac_ext <<_ACEOF
30803 cat confdefs.h
>>conftest.
$ac_ext
30804 cat >>conftest.
$ac_ext <<_ACEOF
30805 /* end confdefs.h. */
30806 #include <stddef.h>
30813 struct Foo { void foo(size_t); void foo(unsigned long); };
30821 rm -f conftest.
$ac_objext
30822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30823 (eval $ac_compile) 2>conftest.er1
30825 grep -v '^ *+' conftest.er1
>conftest.err
30827 cat conftest.err
>&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); } &&
30830 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30832 (eval $ac_try) 2>&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); }; } &&
30836 { ac_try
='test -s conftest.$ac_objext'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; }; then
30842 wx_cv_size_t_is_ulong
=no
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.
$ac_ext >&5
30847 wx_cv_size_t_is_ulong
=yes
30850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30853 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30854 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30856 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30857 cat >>confdefs.h
<<\_ACEOF
30858 #define wxSIZE_T_IS_ULONG 1
30865 ac_cpp
='$CPP $CPPFLAGS'
30866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30872 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30873 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30874 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30875 echo $ECHO_N "(cached) $ECHO_C" >&6
30878 cat >conftest.
$ac_ext <<_ACEOF
30881 cat confdefs.h
>>conftest.
$ac_ext
30882 cat >>conftest.
$ac_ext <<_ACEOF
30883 /* end confdefs.h. */
30897 rm -f conftest.
$ac_objext
30898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30899 (eval $ac_compile) 2>conftest.er1
30901 grep -v '^ *+' conftest.er1
>conftest.err
30903 cat conftest.err
>&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } &&
30906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908 (eval $ac_try) 2>&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; } &&
30912 { ac_try
='test -s conftest.$ac_objext'
30913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914 (eval $ac_try) 2>&5
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); }; }; then
30919 wx_cv_struct_pw_gecos
=yes
30922 echo "$as_me: failed program was:" >&5
30923 sed 's/^/| /' conftest.
$ac_ext >&5
30926 wx_cv_struct_pw_gecos
=no
30930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30934 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30935 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30937 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30938 cat >>confdefs.h
<<\_ACEOF
30939 #define HAVE_PW_GECOS 1
30945 if test "$wxUSE_WCHAR_T" = "yes"; then
30946 cat >>confdefs.h
<<\_ACEOF
30947 #define wxUSE_WCHAR_T 1
30954 for ac_func
in wcslen
30956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30957 echo "$as_me:$LINENO: checking for $ac_func" >&5
30958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30959 if eval "test \"\${$as_ac_var+set}\" = set"; then
30960 echo $ECHO_N "(cached) $ECHO_C" >&6
30962 cat >conftest.
$ac_ext <<_ACEOF
30965 cat confdefs.h
>>conftest.
$ac_ext
30966 cat >>conftest.
$ac_ext <<_ACEOF
30967 /* end confdefs.h. */
30968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30970 #define $ac_func innocuous_$ac_func
30972 /* System header to define __stub macros and hopefully few prototypes,
30973 which can conflict with char $ac_func (); below.
30974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30975 <limits.h> exists even on freestanding compilers. */
30978 # include <limits.h>
30980 # include <assert.h>
30985 /* Override any gcc2 internal prototype to avoid an error. */
30990 /* We use char because int might match the return type of a gcc2
30991 builtin and then its argument prototype would still apply. */
30993 /* The GNU C library defines this for functions which it implements
30994 to always fail with ENOSYS. Some functions are actually named
30995 something starting with __ and the normal name is an alias. */
30996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30999 char (*f) () = $ac_func;
31008 return f != $ac_func;
31013 rm -f conftest.
$ac_objext conftest
$ac_exeext
31014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31015 (eval $ac_link) 2>conftest.er1
31017 grep -v '^ *+' conftest.er1
>conftest.err
31019 cat conftest.err
>&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); } &&
31022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31024 (eval $ac_try) 2>&5
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); }; } &&
31028 { ac_try
='test -s conftest$ac_exeext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31034 eval "$as_ac_var=yes"
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.
$ac_ext >&5
31039 eval "$as_ac_var=no"
31041 rm -f conftest.err conftest.
$ac_objext \
31042 conftest
$ac_exeext conftest.
$ac_ext
31044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31046 if test `eval echo '${'$as_ac_var'}'` = yes; then
31047 cat >>confdefs.h
<<_ACEOF
31048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31055 if test "$WCSLEN_FOUND" = 0; then
31056 if test "$TOOLKIT" = "MSW"; then
31057 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31058 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31059 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31060 echo $ECHO_N "(cached) $ECHO_C" >&6
31062 ac_check_lib_save_LIBS
=$LIBS
31063 LIBS
="-lmsvcrt $LIBS"
31064 cat >conftest.
$ac_ext <<_ACEOF
31067 cat confdefs.h
>>conftest.
$ac_ext
31068 cat >>conftest.
$ac_ext <<_ACEOF
31069 /* end confdefs.h. */
31071 /* Override any gcc2 internal prototype to avoid an error. */
31075 /* We use char because int might match the return type of a gcc2
31076 builtin and then its argument prototype would still apply. */
31086 rm -f conftest.
$ac_objext conftest
$ac_exeext
31087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31088 (eval $ac_link) 2>conftest.er1
31090 grep -v '^ *+' conftest.er1
>conftest.err
31092 cat conftest.err
>&5
31093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094 (exit $ac_status); } &&
31095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31097 (eval $ac_try) 2>&5
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); }; } &&
31101 { ac_try
='test -s conftest$ac_exeext'
31102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31103 (eval $ac_try) 2>&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); }; }; then
31107 ac_cv_lib_msvcrt_wcslen
=yes
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.
$ac_ext >&5
31112 ac_cv_lib_msvcrt_wcslen
=no
31114 rm -f conftest.err conftest.
$ac_objext \
31115 conftest
$ac_exeext conftest.
$ac_ext
31116 LIBS
=$ac_check_lib_save_LIBS
31118 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31119 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31120 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31125 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31126 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31127 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31128 echo $ECHO_N "(cached) $ECHO_C" >&6
31130 ac_check_lib_save_LIBS
=$LIBS
31132 cat >conftest.
$ac_ext <<_ACEOF
31135 cat confdefs.h
>>conftest.
$ac_ext
31136 cat >>conftest.
$ac_ext <<_ACEOF
31137 /* end confdefs.h. */
31139 /* Override any gcc2 internal prototype to avoid an error. */
31143 /* We use char because int might match the return type of a gcc2
31144 builtin and then its argument prototype would still apply. */
31154 rm -f conftest.
$ac_objext conftest
$ac_exeext
31155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31156 (eval $ac_link) 2>conftest.er1
31158 grep -v '^ *+' conftest.er1
>conftest.err
31160 cat conftest.err
>&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); } &&
31163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31165 (eval $ac_try) 2>&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); }; } &&
31169 { ac_try
='test -s conftest$ac_exeext'
31170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31171 (eval $ac_try) 2>&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; }; then
31175 ac_cv_lib_w_wcslen
=yes
31177 echo "$as_me: failed program was:" >&5
31178 sed 's/^/| /' conftest.
$ac_ext >&5
31180 ac_cv_lib_w_wcslen
=no
31182 rm -f conftest.err conftest.
$ac_objext \
31183 conftest
$ac_exeext conftest.
$ac_ext
31184 LIBS
=$ac_check_lib_save_LIBS
31186 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31187 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31188 if test $ac_cv_lib_w_wcslen = yes; then
31198 if test "$WCSLEN_FOUND" = 1; then
31199 cat >>confdefs.h
<<\_ACEOF
31200 #define HAVE_WCSLEN 1
31205 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
31206 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31209 echo "$as_me:$LINENO: checking for mbstate_t" >&5
31210 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
31211 if test "${ac_cv_type_mbstate_t+set}" = set; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31214 cat >conftest.
$ac_ext <<_ACEOF
31217 cat confdefs.h
>>conftest.
$ac_ext
31218 cat >>conftest.
$ac_ext <<_ACEOF
31219 /* end confdefs.h. */
31225 if ((mbstate_t *) 0)
31227 if (sizeof (mbstate_t))
31233 rm -f conftest.
$ac_objext
31234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31235 (eval $ac_compile) 2>conftest.er1
31237 grep -v '^ *+' conftest.er1
>conftest.err
31239 cat conftest.err
>&5
31240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31241 (exit $ac_status); } &&
31242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31244 (eval $ac_try) 2>&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); }; } &&
31248 { ac_try
='test -s conftest.$ac_objext'
31249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31250 (eval $ac_try) 2>&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); }; }; then
31254 ac_cv_type_mbstate_t
=yes
31256 echo "$as_me: failed program was:" >&5
31257 sed 's/^/| /' conftest.
$ac_ext >&5
31259 ac_cv_type_mbstate_t
=no
31261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31263 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
31264 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
31265 if test $ac_cv_type_mbstate_t = yes; then
31267 cat >>confdefs.h
<<_ACEOF
31268 #define HAVE_MBSTATE_T 1
31272 for ac_func
in wcsrtombs
31274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31275 echo "$as_me:$LINENO: checking for $ac_func" >&5
31276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31277 if eval "test \"\${$as_ac_var+set}\" = set"; then
31278 echo $ECHO_N "(cached) $ECHO_C" >&6
31280 cat >conftest.
$ac_ext <<_ACEOF
31283 cat confdefs.h
>>conftest.
$ac_ext
31284 cat >>conftest.
$ac_ext <<_ACEOF
31285 /* end confdefs.h. */
31286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31288 #define $ac_func innocuous_$ac_func
31290 /* System header to define __stub macros and hopefully few prototypes,
31291 which can conflict with char $ac_func (); below.
31292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31293 <limits.h> exists even on freestanding compilers. */
31296 # include <limits.h>
31298 # include <assert.h>
31303 /* Override any gcc2 internal prototype to avoid an error. */
31308 /* We use char because int might match the return type of a gcc2
31309 builtin and then its argument prototype would still apply. */
31311 /* The GNU C library defines this for functions which it implements
31312 to always fail with ENOSYS. Some functions are actually named
31313 something starting with __ and the normal name is an alias. */
31314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31317 char (*f) () = $ac_func;
31326 return f != $ac_func;
31331 rm -f conftest.
$ac_objext conftest
$ac_exeext
31332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31333 (eval $ac_link) 2>conftest.er1
31335 grep -v '^ *+' conftest.er1
>conftest.err
31337 cat conftest.err
>&5
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); } &&
31340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31342 (eval $ac_try) 2>&5
31344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31345 (exit $ac_status); }; } &&
31346 { ac_try
='test -s conftest$ac_exeext'
31347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31348 (eval $ac_try) 2>&5
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); }; }; then
31352 eval "$as_ac_var=yes"
31354 echo "$as_me: failed program was:" >&5
31355 sed 's/^/| /' conftest.
$ac_ext >&5
31357 eval "$as_ac_var=no"
31359 rm -f conftest.err conftest.
$ac_objext \
31360 conftest
$ac_exeext conftest.
$ac_ext
31362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31364 if test `eval echo '${'$as_ac_var'}'` = yes; then
31365 cat >>confdefs.h
<<_ACEOF
31366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31375 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31376 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31382 ac_cpp
='$CXXCPP $CPPFLAGS'
31383 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31384 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31385 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31389 for ac_func
in vsnprintf
31391 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31392 echo "$as_me:$LINENO: checking for $ac_func" >&5
31393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31394 if eval "test \"\${$as_ac_var+set}\" = set"; then
31395 echo $ECHO_N "(cached) $ECHO_C" >&6
31397 cat >conftest.
$ac_ext <<_ACEOF
31400 cat confdefs.h
>>conftest.
$ac_ext
31401 cat >>conftest.
$ac_ext <<_ACEOF
31402 /* end confdefs.h. */
31403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31405 #define $ac_func innocuous_$ac_func
31407 /* System header to define __stub macros and hopefully few prototypes,
31408 which can conflict with char $ac_func (); below.
31409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31410 <limits.h> exists even on freestanding compilers. */
31413 # include <limits.h>
31415 # include <assert.h>
31420 /* Override any gcc2 internal prototype to avoid an error. */
31425 /* We use char because int might match the return type of a gcc2
31426 builtin and then its argument prototype would still apply. */
31428 /* The GNU C library defines this for functions which it implements
31429 to always fail with ENOSYS. Some functions are actually named
31430 something starting with __ and the normal name is an alias. */
31431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31434 char (*f) () = $ac_func;
31443 return f != $ac_func;
31448 rm -f conftest.
$ac_objext conftest
$ac_exeext
31449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31450 (eval $ac_link) 2>conftest.er1
31452 grep -v '^ *+' conftest.er1
>conftest.err
31454 cat conftest.err
>&5
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); } &&
31457 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
31463 { ac_try
='test -s conftest$ac_exeext'
31464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31465 (eval $ac_try) 2>&5
31467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31468 (exit $ac_status); }; }; then
31469 eval "$as_ac_var=yes"
31471 echo "$as_me: failed program was:" >&5
31472 sed 's/^/| /' conftest.
$ac_ext >&5
31474 eval "$as_ac_var=no"
31476 rm -f conftest.err conftest.
$ac_objext \
31477 conftest
$ac_exeext conftest.
$ac_ext
31479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31481 if test `eval echo '${'$as_ac_var'}'` = yes; then
31482 cat >>confdefs.h
<<_ACEOF
31483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31490 if test "$ac_cv_func_vsnprintf" = "yes"; then
31491 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31492 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31493 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31494 echo $ECHO_N "(cached) $ECHO_C" >&6
31497 cat >conftest.
$ac_ext <<_ACEOF
31500 cat confdefs.h
>>conftest.
$ac_ext
31501 cat >>conftest.
$ac_ext <<_ACEOF
31502 /* end confdefs.h. */
31505 #include <stdarg.h>
31507 #if __MSL__ >= 0x6000
31509 using namespace std;
31519 const char *fmt = "%s";
31520 vsnprintf(buf, 10u, fmt, ap);
31526 rm -f conftest.
$ac_objext
31527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31528 (eval $ac_compile) 2>conftest.er1
31530 grep -v '^ *+' conftest.er1
>conftest.err
31532 cat conftest.err
>&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); } &&
31535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; } &&
31541 { ac_try
='test -s conftest.$ac_objext'
31542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543 (eval $ac_try) 2>&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; }; then
31547 wx_cv_func_vsnprintf_decl
=yes
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.
$ac_ext >&5
31552 wx_cv_func_vsnprintf_decl
=no
31555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31559 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31560 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31562 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31563 cat >>confdefs.h
<<\_ACEOF
31564 #define HAVE_VSNPRINTF_DECL 1
31570 if test "$wxUSE_UNICODE" = yes; then
31577 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31579 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31580 echo "$as_me:$LINENO: checking for $ac_func" >&5
31581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31582 if eval "test \"\${$as_ac_var+set}\" = set"; then
31583 echo $ECHO_N "(cached) $ECHO_C" >&6
31585 cat >conftest.
$ac_ext <<_ACEOF
31588 cat confdefs.h
>>conftest.
$ac_ext
31589 cat >>conftest.
$ac_ext <<_ACEOF
31590 /* end confdefs.h. */
31591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31593 #define $ac_func innocuous_$ac_func
31595 /* System header to define __stub macros and hopefully few prototypes,
31596 which can conflict with char $ac_func (); below.
31597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31598 <limits.h> exists even on freestanding compilers. */
31601 # include <limits.h>
31603 # include <assert.h>
31608 /* Override any gcc2 internal prototype to avoid an error. */
31613 /* We use char because int might match the return type of a gcc2
31614 builtin and then its argument prototype would still apply. */
31616 /* The GNU C library defines this for functions which it implements
31617 to always fail with ENOSYS. Some functions are actually named
31618 something starting with __ and the normal name is an alias. */
31619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31622 char (*f) () = $ac_func;
31631 return f != $ac_func;
31636 rm -f conftest.
$ac_objext conftest
$ac_exeext
31637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31638 (eval $ac_link) 2>conftest.er1
31640 grep -v '^ *+' conftest.er1
>conftest.err
31642 cat conftest.err
>&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); } &&
31645 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647 (eval $ac_try) 2>&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; } &&
31651 { ac_try
='test -s conftest$ac_exeext'
31652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31653 (eval $ac_try) 2>&5
31655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656 (exit $ac_status); }; }; then
31657 eval "$as_ac_var=yes"
31659 echo "$as_me: failed program was:" >&5
31660 sed 's/^/| /' conftest.
$ac_ext >&5
31662 eval "$as_ac_var=no"
31664 rm -f conftest.err conftest.
$ac_objext \
31665 conftest
$ac_exeext conftest.
$ac_ext
31667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31669 if test `eval echo '${'$as_ac_var'}'` = yes; then
31670 cat >>confdefs.h
<<_ACEOF
31671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31678 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31679 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31680 cat >conftest.
$ac_ext <<_ACEOF
31683 cat confdefs.h
>>conftest.
$ac_ext
31684 cat >>conftest.
$ac_ext <<_ACEOF
31685 /* end confdefs.h. */
31695 rm -f conftest.
$ac_objext
31696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31697 (eval $ac_compile) 2>conftest.er1
31699 grep -v '^ *+' conftest.er1
>conftest.err
31701 cat conftest.err
>&5
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); } &&
31704 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; } &&
31710 { ac_try
='test -s conftest.$ac_objext'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; }; then
31716 echo "$as_me:$LINENO: result: yes" >&5
31717 echo "${ECHO_T}yes" >&6
31718 cat >>confdefs.h
<<\_ACEOF
31719 #define HAVE__VSNWPRINTF 1
31723 echo "$as_me: failed program was:" >&5
31724 sed 's/^/| /' conftest.
$ac_ext >&5
31726 echo "$as_me:$LINENO: result: no" >&5
31727 echo "${ECHO_T}no" >&6
31729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31733 ac_cpp
='$CPP $CPPFLAGS'
31734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31739 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
31741 for ac_func
in fnmatch
31743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31744 echo "$as_me:$LINENO: checking for $ac_func" >&5
31745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31746 if eval "test \"\${$as_ac_var+set}\" = set"; then
31747 echo $ECHO_N "(cached) $ECHO_C" >&6
31749 cat >conftest.
$ac_ext <<_ACEOF
31752 cat confdefs.h
>>conftest.
$ac_ext
31753 cat >>conftest.
$ac_ext <<_ACEOF
31754 /* end confdefs.h. */
31755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31757 #define $ac_func innocuous_$ac_func
31759 /* System header to define __stub macros and hopefully few prototypes,
31760 which can conflict with char $ac_func (); below.
31761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31762 <limits.h> exists even on freestanding compilers. */
31765 # include <limits.h>
31767 # include <assert.h>
31772 /* Override any gcc2 internal prototype to avoid an error. */
31777 /* We use char because int might match the return type of a gcc2
31778 builtin and then its argument prototype would still apply. */
31780 /* The GNU C library defines this for functions which it implements
31781 to always fail with ENOSYS. Some functions are actually named
31782 something starting with __ and the normal name is an alias. */
31783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31786 char (*f) () = $ac_func;
31795 return f != $ac_func;
31800 rm -f conftest.
$ac_objext conftest
$ac_exeext
31801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31802 (eval $ac_link) 2>conftest.er1
31804 grep -v '^ *+' conftest.er1
>conftest.err
31806 cat conftest.err
>&5
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); } &&
31809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31811 (eval $ac_try) 2>&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); }; } &&
31815 { ac_try
='test -s conftest$ac_exeext'
31816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31817 (eval $ac_try) 2>&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); }; }; then
31821 eval "$as_ac_var=yes"
31823 echo "$as_me: failed program was:" >&5
31824 sed 's/^/| /' conftest.
$ac_ext >&5
31826 eval "$as_ac_var=no"
31828 rm -f conftest.err conftest.
$ac_objext \
31829 conftest
$ac_exeext conftest.
$ac_ext
31831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31833 if test `eval echo '${'$as_ac_var'}'` = yes; then
31834 cat >>confdefs.h
<<_ACEOF
31835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31843 if test "$wxUSE_FILE" = "yes"; then
31845 for ac_func
in fsync
31847 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31848 echo "$as_me:$LINENO: checking for $ac_func" >&5
31849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31850 if eval "test \"\${$as_ac_var+set}\" = set"; then
31851 echo $ECHO_N "(cached) $ECHO_C" >&6
31853 cat >conftest.
$ac_ext <<_ACEOF
31856 cat confdefs.h
>>conftest.
$ac_ext
31857 cat >>conftest.
$ac_ext <<_ACEOF
31858 /* end confdefs.h. */
31859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31861 #define $ac_func innocuous_$ac_func
31863 /* System header to define __stub macros and hopefully few prototypes,
31864 which can conflict with char $ac_func (); below.
31865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31866 <limits.h> exists even on freestanding compilers. */
31869 # include <limits.h>
31871 # include <assert.h>
31876 /* Override any gcc2 internal prototype to avoid an error. */
31881 /* We use char because int might match the return type of a gcc2
31882 builtin and then its argument prototype would still apply. */
31884 /* The GNU C library defines this for functions which it implements
31885 to always fail with ENOSYS. Some functions are actually named
31886 something starting with __ and the normal name is an alias. */
31887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31890 char (*f) () = $ac_func;
31899 return f != $ac_func;
31904 rm -f conftest.
$ac_objext conftest
$ac_exeext
31905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31906 (eval $ac_link) 2>conftest.er1
31908 grep -v '^ *+' conftest.er1
>conftest.err
31910 cat conftest.err
>&5
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); } &&
31913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; } &&
31919 { ac_try
='test -s conftest$ac_exeext'
31920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31921 (eval $ac_try) 2>&5
31923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924 (exit $ac_status); }; }; then
31925 eval "$as_ac_var=yes"
31927 echo "$as_me: failed program was:" >&5
31928 sed 's/^/| /' conftest.
$ac_ext >&5
31930 eval "$as_ac_var=no"
31932 rm -f conftest.err conftest.
$ac_objext \
31933 conftest
$ac_exeext conftest.
$ac_ext
31935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31937 if test `eval echo '${'$as_ac_var'}'` = yes; then
31938 cat >>confdefs.h
<<_ACEOF
31939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31948 if test "$TOOLKIT" != "MSW"; then
31954 ac_cpp
='$CXXCPP $CPPFLAGS'
31955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31962 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31963 if test "${with_libiconv_prefix+set}" = set; then
31964 withval
="$with_libiconv_prefix"
31966 for dir
in `echo "$withval" | tr : ' '`; do
31967 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31968 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31973 echo "$as_me:$LINENO: checking for iconv" >&5
31974 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31975 if test "${am_cv_func_iconv+set}" = set; then
31976 echo $ECHO_N "(cached) $ECHO_C" >&6
31979 am_cv_func_iconv
="no, consider installing GNU libiconv"
31981 cat >conftest.
$ac_ext <<_ACEOF
31984 cat confdefs.h
>>conftest.
$ac_ext
31985 cat >>conftest.
$ac_ext <<_ACEOF
31986 /* end confdefs.h. */
31987 #include <stdlib.h>
31992 iconv_t cd = iconv_open("","");
31993 iconv(cd,NULL,NULL,NULL,NULL);
31999 rm -f conftest.
$ac_objext conftest
$ac_exeext
32000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32001 (eval $ac_link) 2>conftest.er1
32003 grep -v '^ *+' conftest.er1
>conftest.err
32005 cat conftest.err
>&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); } &&
32008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32010 (eval $ac_try) 2>&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); }; } &&
32014 { ac_try
='test -s conftest$ac_exeext'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; }; then
32020 am_cv_func_iconv
=yes
32022 echo "$as_me: failed program was:" >&5
32023 sed 's/^/| /' conftest.
$ac_ext >&5
32026 rm -f conftest.err conftest.
$ac_objext \
32027 conftest
$ac_exeext conftest.
$ac_ext
32028 if test "$am_cv_func_iconv" != yes; then
32029 am_save_LIBS
="$LIBS"
32030 LIBS
="$LIBS -liconv"
32031 cat >conftest.
$ac_ext <<_ACEOF
32034 cat confdefs.h
>>conftest.
$ac_ext
32035 cat >>conftest.
$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 #include <stdlib.h>
32042 iconv_t cd = iconv_open("","");
32043 iconv(cd,NULL,NULL,NULL,NULL);
32049 rm -f conftest.
$ac_objext conftest
$ac_exeext
32050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32051 (eval $ac_link) 2>conftest.er1
32053 grep -v '^ *+' conftest.er1
>conftest.err
32055 cat conftest.err
>&5
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); } &&
32058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32060 (eval $ac_try) 2>&5
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); }; } &&
32064 { ac_try
='test -s conftest$ac_exeext'
32065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32066 (eval $ac_try) 2>&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); }; }; then
32070 am_cv_lib_iconv
=yes
32071 am_cv_func_iconv
=yes
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.
$ac_ext >&5
32077 rm -f conftest.err conftest.
$ac_objext \
32078 conftest
$ac_exeext conftest.
$ac_ext
32079 LIBS
="$am_save_LIBS"
32083 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32084 echo "${ECHO_T}$am_cv_func_iconv" >&6
32085 if test "$am_cv_func_iconv" = yes; then
32087 cat >>confdefs.h
<<\_ACEOF
32088 #define HAVE_ICONV 1
32091 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32092 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32093 if test "${wx_cv_func_iconv_const+set}" = set; then
32094 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 cat >conftest.
$ac_ext <<_ACEOF
32099 cat confdefs.h
>>conftest.
$ac_ext
32100 cat >>conftest.
$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32103 #include <stdlib.h>
32109 #if defined(__STDC__) || defined(__cplusplus)
32110 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32123 rm -f conftest.
$ac_objext
32124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32125 (eval $ac_compile) 2>conftest.er1
32127 grep -v '^ *+' conftest.er1
>conftest.err
32129 cat conftest.err
>&5
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); } &&
32132 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32134 (eval $ac_try) 2>&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); }; } &&
32138 { ac_try
='test -s conftest.$ac_objext'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; }; then
32144 wx_cv_func_iconv_const
="no"
32146 echo "$as_me: failed program was:" >&5
32147 sed 's/^/| /' conftest.
$ac_ext >&5
32149 wx_cv_func_iconv_const
="yes"
32152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32155 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32156 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32159 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32160 iconv_const
="const"
32164 cat >>confdefs.h
<<_ACEOF
32165 #define ICONV_CONST $iconv_const
32170 if test "$am_cv_lib_iconv" = yes; then
32175 LIBS
="$LIBICONV $LIBS"
32177 ac_cpp
='$CPP $CPPFLAGS'
32178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32183 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32185 for ac_func
in sigaction
32187 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32188 echo "$as_me:$LINENO: checking for $ac_func" >&5
32189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32190 if eval "test \"\${$as_ac_var+set}\" = set"; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32193 cat >conftest.
$ac_ext <<_ACEOF
32196 cat confdefs.h
>>conftest.
$ac_ext
32197 cat >>conftest.
$ac_ext <<_ACEOF
32198 /* end confdefs.h. */
32199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32201 #define $ac_func innocuous_$ac_func
32203 /* System header to define __stub macros and hopefully few prototypes,
32204 which can conflict with char $ac_func (); below.
32205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32206 <limits.h> exists even on freestanding compilers. */
32209 # include <limits.h>
32211 # include <assert.h>
32216 /* Override any gcc2 internal prototype to avoid an error. */
32221 /* We use char because int might match the return type of a gcc2
32222 builtin and then its argument prototype would still apply. */
32224 /* The GNU C library defines this for functions which it implements
32225 to always fail with ENOSYS. Some functions are actually named
32226 something starting with __ and the normal name is an alias. */
32227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32230 char (*f) () = $ac_func;
32239 return f != $ac_func;
32244 rm -f conftest.
$ac_objext conftest
$ac_exeext
32245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32246 (eval $ac_link) 2>conftest.er1
32248 grep -v '^ *+' conftest.er1
>conftest.err
32250 cat conftest.err
>&5
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); } &&
32253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32255 (eval $ac_try) 2>&5
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); }; } &&
32259 { ac_try
='test -s conftest$ac_exeext'
32260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32261 (eval $ac_try) 2>&5
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); }; }; then
32265 eval "$as_ac_var=yes"
32267 echo "$as_me: failed program was:" >&5
32268 sed 's/^/| /' conftest.
$ac_ext >&5
32270 eval "$as_ac_var=no"
32272 rm -f conftest.err conftest.
$ac_objext \
32273 conftest
$ac_exeext conftest.
$ac_ext
32275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32277 if test `eval echo '${'$as_ac_var'}'` = yes; then
32278 cat >>confdefs.h
<<_ACEOF
32279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32286 if test "$ac_cv_func_sigaction" = "no"; then
32287 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32288 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32289 wxUSE_ON_FATAL_EXCEPTION
=no
32292 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32296 ac_cpp
='$CXXCPP $CPPFLAGS'
32297 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32302 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32303 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32304 if test "${wx_cv_type_sa_handler+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32308 cat >conftest.
$ac_ext <<_ACEOF
32311 cat confdefs.h
>>conftest.
$ac_ext
32312 cat >>conftest.
$ac_ext <<_ACEOF
32313 /* end confdefs.h. */
32314 #include <signal.h>
32319 extern void testSigHandler(int);
32321 struct sigaction sa;
32322 sa.sa_handler = testSigHandler;
32328 rm -f conftest.
$ac_objext
32329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32330 (eval $ac_compile) 2>conftest.er1
32332 grep -v '^ *+' conftest.er1
>conftest.err
32334 cat conftest.err
>&5
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); } &&
32337 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32339 (eval $ac_try) 2>&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); }; } &&
32343 { ac_try
='test -s conftest.$ac_objext'
32344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32345 (eval $ac_try) 2>&5
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); }; }; then
32350 wx_cv_type_sa_handler
=int
32353 echo "$as_me: failed program was:" >&5
32354 sed 's/^/| /' conftest.
$ac_ext >&5
32357 wx_cv_type_sa_handler
=void
32360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32363 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32364 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32367 ac_cpp
='$CPP $CPPFLAGS'
32368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32373 cat >>confdefs.h
<<_ACEOF
32374 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32380 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32384 ac_cpp
='$CXXCPP $CPPFLAGS'
32385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32390 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32391 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32392 if test "${wx_cv_func_backtrace+set}" = set; then
32393 echo $ECHO_N "(cached) $ECHO_C" >&6
32396 cat >conftest.
$ac_ext <<_ACEOF
32399 cat confdefs.h
>>conftest.
$ac_ext
32400 cat >>conftest.
$ac_ext <<_ACEOF
32401 /* end confdefs.h. */
32402 #include <execinfo.h>
32410 backtrace(trace, 1);
32411 messages = backtrace_symbols(trace, 1);
32417 rm -f conftest.
$ac_objext
32418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32419 (eval $ac_compile) 2>conftest.er1
32421 grep -v '^ *+' conftest.er1
>conftest.err
32423 cat conftest.err
>&5
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); } &&
32426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; } &&
32432 { ac_try
='test -s conftest.$ac_objext'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; }; then
32438 wx_cv_func_backtrace
=yes
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.
$ac_ext >&5
32443 wx_cv_func_backtrace
=no
32446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32450 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32451 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32454 if test "$wx_cv_func_backtrace" = "no"; then
32455 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32456 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32457 wxUSE_STACKWALKER
=no
32459 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32460 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32461 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32462 echo $ECHO_N "(cached) $ECHO_C" >&6
32465 cat >conftest.
$ac_ext <<_ACEOF
32468 cat confdefs.h
>>conftest.
$ac_ext
32469 cat >>conftest.
$ac_ext <<_ACEOF
32470 /* end confdefs.h. */
32471 #include <cxxabi.h>
32477 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32483 rm -f conftest.
$ac_objext conftest
$ac_exeext
32484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32485 (eval $ac_link) 2>conftest.er1
32487 grep -v '^ *+' conftest.er1
>conftest.err
32489 cat conftest.err
>&5
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); } &&
32492 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32494 (eval $ac_try) 2>&5
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); }; } &&
32498 { ac_try
='test -s conftest$ac_exeext'
32499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32500 (eval $ac_try) 2>&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); }; }; then
32504 wx_cv_func_cxa_demangle
=yes
32506 echo "$as_me: failed program was:" >&5
32507 sed 's/^/| /' conftest.
$ac_ext >&5
32509 wx_cv_func_cxa_demangle
=no
32512 rm -f conftest.err conftest.
$ac_objext \
32513 conftest
$ac_exeext conftest.
$ac_ext
32517 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32518 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32520 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32521 cat >>confdefs.h
<<\_ACEOF
32522 #define HAVE_CXA_DEMANGLE 1
32529 ac_cpp
='$CPP $CPPFLAGS'
32530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32536 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32537 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32538 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32539 wxUSE_STACKWALKER
=no
32545 for ac_func
in mkstemp mktemp
32547 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32548 echo "$as_me:$LINENO: checking for $ac_func" >&5
32549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32550 if eval "test \"\${$as_ac_var+set}\" = set"; then
32551 echo $ECHO_N "(cached) $ECHO_C" >&6
32553 cat >conftest.
$ac_ext <<_ACEOF
32556 cat confdefs.h
>>conftest.
$ac_ext
32557 cat >>conftest.
$ac_ext <<_ACEOF
32558 /* end confdefs.h. */
32559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32561 #define $ac_func innocuous_$ac_func
32563 /* System header to define __stub macros and hopefully few prototypes,
32564 which can conflict with char $ac_func (); below.
32565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32566 <limits.h> exists even on freestanding compilers. */
32569 # include <limits.h>
32571 # include <assert.h>
32576 /* Override any gcc2 internal prototype to avoid an error. */
32581 /* We use char because int might match the return type of a gcc2
32582 builtin and then its argument prototype would still apply. */
32584 /* The GNU C library defines this for functions which it implements
32585 to always fail with ENOSYS. Some functions are actually named
32586 something starting with __ and the normal name is an alias. */
32587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32590 char (*f) () = $ac_func;
32599 return f != $ac_func;
32604 rm -f conftest.
$ac_objext conftest
$ac_exeext
32605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32606 (eval $ac_link) 2>conftest.er1
32608 grep -v '^ *+' conftest.er1
>conftest.err
32610 cat conftest.err
>&5
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); } &&
32613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32615 (eval $ac_try) 2>&5
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); }; } &&
32619 { ac_try
='test -s conftest$ac_exeext'
32620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32621 (eval $ac_try) 2>&5
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); }; }; then
32625 eval "$as_ac_var=yes"
32627 echo "$as_me: failed program was:" >&5
32628 sed 's/^/| /' conftest.
$ac_ext >&5
32630 eval "$as_ac_var=no"
32632 rm -f conftest.err conftest.
$ac_objext \
32633 conftest
$ac_exeext conftest.
$ac_ext
32635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32637 if test `eval echo '${'$as_ac_var'}'` = yes; then
32638 cat >>confdefs.h
<<_ACEOF
32639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32646 echo "$as_me:$LINENO: checking for statfs" >&5
32647 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32648 if test "${wx_cv_func_statfs+set}" = set; then
32649 echo $ECHO_N "(cached) $ECHO_C" >&6
32651 cat >conftest.
$ac_ext <<_ACEOF
32654 cat confdefs.h
>>conftest.
$ac_ext
32655 cat >>conftest.
$ac_ext <<_ACEOF
32656 /* end confdefs.h. */
32658 #if defined(__BSD__)
32659 #include <sys/param.h>
32660 #include <sys/mount.h>
32662 #include <sys/vfs.h>
32680 rm -f conftest.
$ac_objext
32681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32682 (eval $ac_compile) 2>conftest.er1
32684 grep -v '^ *+' conftest.er1
>conftest.err
32686 cat conftest.err
>&5
32687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32688 (exit $ac_status); } &&
32689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32691 (eval $ac_try) 2>&5
32693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 (exit $ac_status); }; } &&
32695 { ac_try
='test -s conftest.$ac_objext'
32696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32697 (eval $ac_try) 2>&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); }; }; then
32702 wx_cv_func_statfs
=yes
32705 echo "$as_me: failed program was:" >&5
32706 sed 's/^/| /' conftest.
$ac_ext >&5
32709 wx_cv_func_statfs
=no
32713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32716 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32717 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32719 if test "$wx_cv_func_statfs" = "yes"; then
32720 wx_cv_type_statvfs_t
="struct statfs"
32721 cat >>confdefs.h
<<\_ACEOF
32722 #define HAVE_STATFS 1
32726 echo "$as_me:$LINENO: checking for statvfs" >&5
32727 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32728 if test "${wx_cv_func_statvfs+set}" = set; then
32729 echo $ECHO_N "(cached) $ECHO_C" >&6
32731 cat >conftest.
$ac_ext <<_ACEOF
32734 cat confdefs.h
>>conftest.
$ac_ext
32735 cat >>conftest.
$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32738 #include <stddef.h>
32739 #include <sys/statvfs.h>
32745 statvfs("/", NULL);
32751 rm -f conftest.
$ac_objext
32752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32753 (eval $ac_compile) 2>conftest.er1
32755 grep -v '^ *+' conftest.er1
>conftest.err
32757 cat conftest.err
>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); } &&
32760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32762 (eval $ac_try) 2>&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); }; } &&
32766 { ac_try
='test -s conftest.$ac_objext'
32767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768 (eval $ac_try) 2>&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); }; }; then
32772 wx_cv_func_statvfs
=yes
32774 echo "$as_me: failed program was:" >&5
32775 sed 's/^/| /' conftest.
$ac_ext >&5
32777 wx_cv_func_statvfs
=no
32780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32783 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32784 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32786 if test "$wx_cv_func_statvfs" = "yes"; then
32790 ac_cpp
='$CXXCPP $CPPFLAGS'
32791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32796 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32797 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32798 if test "${wx_cv_type_statvfs_t+set}" = set; then
32799 echo $ECHO_N "(cached) $ECHO_C" >&6
32801 cat >conftest.
$ac_ext <<_ACEOF
32804 cat confdefs.h
>>conftest.
$ac_ext
32805 cat >>conftest.
$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32808 #include <sys/statvfs.h>
32825 rm -f conftest.
$ac_objext
32826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32827 (eval $ac_compile) 2>conftest.er1
32829 grep -v '^ *+' conftest.er1
>conftest.err
32831 cat conftest.err
>&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); } &&
32834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; } &&
32840 { ac_try
='test -s conftest.$ac_objext'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; }; then
32846 wx_cv_type_statvfs_t
=statvfs_t
32848 echo "$as_me: failed program was:" >&5
32849 sed 's/^/| /' conftest.
$ac_ext >&5
32852 cat >conftest.
$ac_ext <<_ACEOF
32855 cat confdefs.h
>>conftest.
$ac_ext
32856 cat >>conftest.
$ac_ext <<_ACEOF
32857 /* end confdefs.h. */
32859 #include <sys/statvfs.h>
32876 rm -f conftest.
$ac_objext
32877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32878 (eval $ac_compile) 2>conftest.er1
32880 grep -v '^ *+' conftest.er1
>conftest.err
32882 cat conftest.err
>&5
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); } &&
32885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32887 (eval $ac_try) 2>&5
32889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890 (exit $ac_status); }; } &&
32891 { ac_try
='test -s conftest.$ac_objext'
32892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32893 (eval $ac_try) 2>&5
32895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32896 (exit $ac_status); }; }; then
32897 wx_cv_type_statvfs_t
="struct statvfs"
32899 echo "$as_me: failed program was:" >&5
32900 sed 's/^/| /' conftest.
$ac_ext >&5
32902 wx_cv_type_statvfs_t
="unknown"
32905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32912 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32913 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32916 ac_cpp
='$CPP $CPPFLAGS'
32917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32922 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32923 cat >>confdefs.h
<<\_ACEOF
32924 #define HAVE_STATVFS 1
32929 wx_cv_type_statvfs_t
="unknown"
32933 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32934 cat >>confdefs.h
<<_ACEOF
32935 #define WX_STATFS_T $wx_cv_type_statvfs_t
32939 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32940 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32943 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32946 for ac_func
in fcntl flock
32948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32949 echo "$as_me:$LINENO: checking for $ac_func" >&5
32950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32951 if eval "test \"\${$as_ac_var+set}\" = set"; then
32952 echo $ECHO_N "(cached) $ECHO_C" >&6
32954 cat >conftest.
$ac_ext <<_ACEOF
32957 cat confdefs.h
>>conftest.
$ac_ext
32958 cat >>conftest.
$ac_ext <<_ACEOF
32959 /* end confdefs.h. */
32960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32962 #define $ac_func innocuous_$ac_func
32964 /* System header to define __stub macros and hopefully few prototypes,
32965 which can conflict with char $ac_func (); below.
32966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32967 <limits.h> exists even on freestanding compilers. */
32970 # include <limits.h>
32972 # include <assert.h>
32977 /* Override any gcc2 internal prototype to avoid an error. */
32982 /* We use char because int might match the return type of a gcc2
32983 builtin and then its argument prototype would still apply. */
32985 /* The GNU C library defines this for functions which it implements
32986 to always fail with ENOSYS. Some functions are actually named
32987 something starting with __ and the normal name is an alias. */
32988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32991 char (*f) () = $ac_func;
33000 return f != $ac_func;
33005 rm -f conftest.
$ac_objext conftest
$ac_exeext
33006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33007 (eval $ac_link) 2>conftest.er1
33009 grep -v '^ *+' conftest.er1
>conftest.err
33011 cat conftest.err
>&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); } &&
33014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33016 (eval $ac_try) 2>&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; } &&
33020 { ac_try
='test -s conftest$ac_exeext'
33021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33022 (eval $ac_try) 2>&5
33024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33025 (exit $ac_status); }; }; then
33026 eval "$as_ac_var=yes"
33028 echo "$as_me: failed program was:" >&5
33029 sed 's/^/| /' conftest.
$ac_ext >&5
33031 eval "$as_ac_var=no"
33033 rm -f conftest.err conftest.
$ac_objext \
33034 conftest
$ac_exeext conftest.
$ac_ext
33036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33038 if test `eval echo '${'$as_ac_var'}'` = yes; then
33039 cat >>confdefs.h
<<_ACEOF
33040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33047 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
33048 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
33049 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
33050 wxUSE_SNGLINST_CHECKER
=no
33055 for ac_func
in timegm
33057 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33058 echo "$as_me:$LINENO: checking for $ac_func" >&5
33059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33060 if eval "test \"\${$as_ac_var+set}\" = set"; then
33061 echo $ECHO_N "(cached) $ECHO_C" >&6
33063 cat >conftest.
$ac_ext <<_ACEOF
33066 cat confdefs.h
>>conftest.
$ac_ext
33067 cat >>conftest.
$ac_ext <<_ACEOF
33068 /* end confdefs.h. */
33069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33071 #define $ac_func innocuous_$ac_func
33073 /* System header to define __stub macros and hopefully few prototypes,
33074 which can conflict with char $ac_func (); below.
33075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33076 <limits.h> exists even on freestanding compilers. */
33079 # include <limits.h>
33081 # include <assert.h>
33086 /* Override any gcc2 internal prototype to avoid an error. */
33091 /* We use char because int might match the return type of a gcc2
33092 builtin and then its argument prototype would still apply. */
33094 /* The GNU C library defines this for functions which it implements
33095 to always fail with ENOSYS. Some functions are actually named
33096 something starting with __ and the normal name is an alias. */
33097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33100 char (*f) () = $ac_func;
33109 return f != $ac_func;
33114 rm -f conftest.
$ac_objext conftest
$ac_exeext
33115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33116 (eval $ac_link) 2>conftest.er1
33118 grep -v '^ *+' conftest.er1
>conftest.err
33120 cat conftest.err
>&5
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); } &&
33123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33125 (eval $ac_try) 2>&5
33127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33128 (exit $ac_status); }; } &&
33129 { ac_try
='test -s conftest$ac_exeext'
33130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33131 (eval $ac_try) 2>&5
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); }; }; then
33135 eval "$as_ac_var=yes"
33137 echo "$as_me: failed program was:" >&5
33138 sed 's/^/| /' conftest.
$ac_ext >&5
33140 eval "$as_ac_var=no"
33142 rm -f conftest.err conftest.
$ac_objext \
33143 conftest
$ac_exeext conftest.
$ac_ext
33145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33147 if test `eval echo '${'$as_ac_var'}'` = yes; then
33148 cat >>confdefs.h
<<_ACEOF
33149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33158 for ac_func
in putenv setenv
33160 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33161 echo "$as_me:$LINENO: checking for $ac_func" >&5
33162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33163 if eval "test \"\${$as_ac_var+set}\" = set"; then
33164 echo $ECHO_N "(cached) $ECHO_C" >&6
33166 cat >conftest.
$ac_ext <<_ACEOF
33169 cat confdefs.h
>>conftest.
$ac_ext
33170 cat >>conftest.
$ac_ext <<_ACEOF
33171 /* end confdefs.h. */
33172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33174 #define $ac_func innocuous_$ac_func
33176 /* System header to define __stub macros and hopefully few prototypes,
33177 which can conflict with char $ac_func (); below.
33178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33179 <limits.h> exists even on freestanding compilers. */
33182 # include <limits.h>
33184 # include <assert.h>
33189 /* Override any gcc2 internal prototype to avoid an error. */
33194 /* We use char because int might match the return type of a gcc2
33195 builtin and then its argument prototype would still apply. */
33197 /* The GNU C library defines this for functions which it implements
33198 to always fail with ENOSYS. Some functions are actually named
33199 something starting with __ and the normal name is an alias. */
33200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33203 char (*f) () = $ac_func;
33212 return f != $ac_func;
33217 rm -f conftest.
$ac_objext conftest
$ac_exeext
33218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33219 (eval $ac_link) 2>conftest.er1
33221 grep -v '^ *+' conftest.er1
>conftest.err
33223 cat conftest.err
>&5
33224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33225 (exit $ac_status); } &&
33226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33228 (eval $ac_try) 2>&5
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); }; } &&
33232 { ac_try
='test -s conftest$ac_exeext'
33233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33234 (eval $ac_try) 2>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); }; }; then
33238 eval "$as_ac_var=yes"
33240 echo "$as_me: failed program was:" >&5
33241 sed 's/^/| /' conftest.
$ac_ext >&5
33243 eval "$as_ac_var=no"
33245 rm -f conftest.err conftest.
$ac_objext \
33246 conftest
$ac_exeext conftest.
$ac_ext
33248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33250 if test `eval echo '${'$as_ac_var'}'` = yes; then
33251 cat >>confdefs.h
<<_ACEOF
33252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33259 HAVE_SOME_SLEEP_FUNC
=0
33260 if test "$USE_BEOS" = 1; then
33261 cat >>confdefs.h
<<\_ACEOF
33262 #define HAVE_SLEEP 1
33265 HAVE_SOME_SLEEP_FUNC
=1
33268 if test "$USE_DARWIN" = 1; then
33269 cat >>confdefs.h
<<\_ACEOF
33270 #define HAVE_USLEEP 1
33273 HAVE_SOME_SLEEP_FUNC
=1
33276 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33279 for ac_func
in nanosleep
33281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33282 echo "$as_me:$LINENO: checking for $ac_func" >&5
33283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33284 if eval "test \"\${$as_ac_var+set}\" = set"; then
33285 echo $ECHO_N "(cached) $ECHO_C" >&6
33287 cat >conftest.
$ac_ext <<_ACEOF
33290 cat confdefs.h
>>conftest.
$ac_ext
33291 cat >>conftest.
$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33295 #define $ac_func innocuous_$ac_func
33297 /* System header to define __stub macros and hopefully few prototypes,
33298 which can conflict with char $ac_func (); below.
33299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33300 <limits.h> exists even on freestanding compilers. */
33303 # include <limits.h>
33305 # include <assert.h>
33310 /* Override any gcc2 internal prototype to avoid an error. */
33315 /* We use char because int might match the return type of a gcc2
33316 builtin and then its argument prototype would still apply. */
33318 /* The GNU C library defines this for functions which it implements
33319 to always fail with ENOSYS. Some functions are actually named
33320 something starting with __ and the normal name is an alias. */
33321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33324 char (*f) () = $ac_func;
33333 return f != $ac_func;
33338 rm -f conftest.
$ac_objext conftest
$ac_exeext
33339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33340 (eval $ac_link) 2>conftest.er1
33342 grep -v '^ *+' conftest.er1
>conftest.err
33344 cat conftest.err
>&5
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); } &&
33347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33349 (eval $ac_try) 2>&5
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); }; } &&
33353 { ac_try
='test -s conftest$ac_exeext'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; }; then
33359 eval "$as_ac_var=yes"
33361 echo "$as_me: failed program was:" >&5
33362 sed 's/^/| /' conftest.
$ac_ext >&5
33364 eval "$as_ac_var=no"
33366 rm -f conftest.err conftest.
$ac_objext \
33367 conftest
$ac_exeext conftest.
$ac_ext
33369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33371 if test `eval echo '${'$as_ac_var'}'` = yes; then
33372 cat >>confdefs.h
<<_ACEOF
33373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33375 cat >>confdefs.h
<<\_ACEOF
33376 #define HAVE_NANOSLEEP 1
33381 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33382 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33383 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33384 echo $ECHO_N "(cached) $ECHO_C" >&6
33386 ac_check_lib_save_LIBS
=$LIBS
33387 LIBS
="-lposix4 $LIBS"
33388 cat >conftest.
$ac_ext <<_ACEOF
33391 cat confdefs.h
>>conftest.
$ac_ext
33392 cat >>conftest.
$ac_ext <<_ACEOF
33393 /* end confdefs.h. */
33395 /* Override any gcc2 internal prototype to avoid an error. */
33399 /* We use char because int might match the return type of a gcc2
33400 builtin and then its argument prototype would still apply. */
33410 rm -f conftest.
$ac_objext conftest
$ac_exeext
33411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33412 (eval $ac_link) 2>conftest.er1
33414 grep -v '^ *+' conftest.er1
>conftest.err
33416 cat conftest.err
>&5
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); } &&
33419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33421 (eval $ac_try) 2>&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; } &&
33425 { ac_try
='test -s conftest$ac_exeext'
33426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33427 (eval $ac_try) 2>&5
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); }; }; then
33431 ac_cv_lib_posix4_nanosleep
=yes
33433 echo "$as_me: failed program was:" >&5
33434 sed 's/^/| /' conftest.
$ac_ext >&5
33436 ac_cv_lib_posix4_nanosleep
=no
33438 rm -f conftest.err conftest.
$ac_objext \
33439 conftest
$ac_exeext conftest.
$ac_ext
33440 LIBS
=$ac_check_lib_save_LIBS
33442 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33443 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33444 if test $ac_cv_lib_posix4_nanosleep = yes; then
33446 cat >>confdefs.h
<<\_ACEOF
33447 #define HAVE_NANOSLEEP 1
33450 POSIX4_LINK
=" -lposix4"
33455 for ac_func
in usleep
33457 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33458 echo "$as_me:$LINENO: checking for $ac_func" >&5
33459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33460 if eval "test \"\${$as_ac_var+set}\" = set"; then
33461 echo $ECHO_N "(cached) $ECHO_C" >&6
33463 cat >conftest.
$ac_ext <<_ACEOF
33466 cat confdefs.h
>>conftest.
$ac_ext
33467 cat >>conftest.
$ac_ext <<_ACEOF
33468 /* end confdefs.h. */
33469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33471 #define $ac_func innocuous_$ac_func
33473 /* System header to define __stub macros and hopefully few prototypes,
33474 which can conflict with char $ac_func (); below.
33475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33476 <limits.h> exists even on freestanding compilers. */
33479 # include <limits.h>
33481 # include <assert.h>
33486 /* Override any gcc2 internal prototype to avoid an error. */
33491 /* We use char because int might match the return type of a gcc2
33492 builtin and then its argument prototype would still apply. */
33494 /* The GNU C library defines this for functions which it implements
33495 to always fail with ENOSYS. Some functions are actually named
33496 something starting with __ and the normal name is an alias. */
33497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33500 char (*f) () = $ac_func;
33509 return f != $ac_func;
33514 rm -f conftest.
$ac_objext conftest
$ac_exeext
33515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33516 (eval $ac_link) 2>conftest.er1
33518 grep -v '^ *+' conftest.er1
>conftest.err
33520 cat conftest.err
>&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); } &&
33523 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33525 (eval $ac_try) 2>&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); }; } &&
33529 { ac_try
='test -s conftest$ac_exeext'
33530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33531 (eval $ac_try) 2>&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); }; }; then
33535 eval "$as_ac_var=yes"
33537 echo "$as_me: failed program was:" >&5
33538 sed 's/^/| /' conftest.
$ac_ext >&5
33540 eval "$as_ac_var=no"
33542 rm -f conftest.err conftest.
$ac_objext \
33543 conftest
$ac_exeext conftest.
$ac_ext
33545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33547 if test `eval echo '${'$as_ac_var'}'` = yes; then
33548 cat >>confdefs.h
<<_ACEOF
33549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33551 cat >>confdefs.h
<<\_ACEOF
33552 #define HAVE_USLEEP 1
33556 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33557 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33575 for ac_func
in uname gethostname
33577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33578 echo "$as_me:$LINENO: checking for $ac_func" >&5
33579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33580 if eval "test \"\${$as_ac_var+set}\" = set"; then
33581 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 cat >conftest.
$ac_ext <<_ACEOF
33586 cat confdefs.h
>>conftest.
$ac_ext
33587 cat >>conftest.
$ac_ext <<_ACEOF
33588 /* end confdefs.h. */
33589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33591 #define $ac_func innocuous_$ac_func
33593 /* System header to define __stub macros and hopefully few prototypes,
33594 which can conflict with char $ac_func (); below.
33595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33596 <limits.h> exists even on freestanding compilers. */
33599 # include <limits.h>
33601 # include <assert.h>
33606 /* Override any gcc2 internal prototype to avoid an error. */
33611 /* We use char because int might match the return type of a gcc2
33612 builtin and then its argument prototype would still apply. */
33614 /* The GNU C library defines this for functions which it implements
33615 to always fail with ENOSYS. Some functions are actually named
33616 something starting with __ and the normal name is an alias. */
33617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33620 char (*f) () = $ac_func;
33629 return f != $ac_func;
33634 rm -f conftest.
$ac_objext conftest
$ac_exeext
33635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33636 (eval $ac_link) 2>conftest.er1
33638 grep -v '^ *+' conftest.er1
>conftest.err
33640 cat conftest.err
>&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } &&
33643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645 (eval $ac_try) 2>&5
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); }; } &&
33649 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33655 eval "$as_ac_var=yes"
33657 echo "$as_me: failed program was:" >&5
33658 sed 's/^/| /' conftest.
$ac_ext >&5
33660 eval "$as_ac_var=no"
33662 rm -f conftest.err conftest.
$ac_objext \
33663 conftest
$ac_exeext conftest.
$ac_ext
33665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33667 if test `eval echo '${'$as_ac_var'}'` = yes; then
33668 cat >>confdefs.h
<<_ACEOF
33669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33679 ac_cpp
='$CXXCPP $CPPFLAGS'
33680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33686 for ac_func
in strtok_r
33688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33689 echo "$as_me:$LINENO: checking for $ac_func" >&5
33690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33691 if eval "test \"\${$as_ac_var+set}\" = set"; then
33692 echo $ECHO_N "(cached) $ECHO_C" >&6
33694 cat >conftest.
$ac_ext <<_ACEOF
33697 cat confdefs.h
>>conftest.
$ac_ext
33698 cat >>conftest.
$ac_ext <<_ACEOF
33699 /* end confdefs.h. */
33700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33702 #define $ac_func innocuous_$ac_func
33704 /* System header to define __stub macros and hopefully few prototypes,
33705 which can conflict with char $ac_func (); below.
33706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33707 <limits.h> exists even on freestanding compilers. */
33710 # include <limits.h>
33712 # include <assert.h>
33717 /* Override any gcc2 internal prototype to avoid an error. */
33722 /* We use char because int might match the return type of a gcc2
33723 builtin and then its argument prototype would still apply. */
33725 /* The GNU C library defines this for functions which it implements
33726 to always fail with ENOSYS. Some functions are actually named
33727 something starting with __ and the normal name is an alias. */
33728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33731 char (*f) () = $ac_func;
33740 return f != $ac_func;
33745 rm -f conftest.
$ac_objext conftest
$ac_exeext
33746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33747 (eval $ac_link) 2>conftest.er1
33749 grep -v '^ *+' conftest.er1
>conftest.err
33751 cat conftest.err
>&5
33752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33753 (exit $ac_status); } &&
33754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33756 (eval $ac_try) 2>&5
33758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33759 (exit $ac_status); }; } &&
33760 { ac_try
='test -s conftest$ac_exeext'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; }; then
33766 eval "$as_ac_var=yes"
33768 echo "$as_me: failed program was:" >&5
33769 sed 's/^/| /' conftest.
$ac_ext >&5
33771 eval "$as_ac_var=no"
33773 rm -f conftest.err conftest.
$ac_objext \
33774 conftest
$ac_exeext conftest.
$ac_ext
33776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33778 if test `eval echo '${'$as_ac_var'}'` = yes; then
33779 cat >>confdefs.h
<<_ACEOF
33780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33788 ac_cpp
='$CPP $CPPFLAGS'
33789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33796 for ac_func
in inet_addr
33798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33799 echo "$as_me:$LINENO: checking for $ac_func" >&5
33800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33801 if eval "test \"\${$as_ac_var+set}\" = set"; then
33802 echo $ECHO_N "(cached) $ECHO_C" >&6
33804 cat >conftest.
$ac_ext <<_ACEOF
33807 cat confdefs.h
>>conftest.
$ac_ext
33808 cat >>conftest.
$ac_ext <<_ACEOF
33809 /* end confdefs.h. */
33810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33812 #define $ac_func innocuous_$ac_func
33814 /* System header to define __stub macros and hopefully few prototypes,
33815 which can conflict with char $ac_func (); below.
33816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33817 <limits.h> exists even on freestanding compilers. */
33820 # include <limits.h>
33822 # include <assert.h>
33827 /* Override any gcc2 internal prototype to avoid an error. */
33832 /* We use char because int might match the return type of a gcc2
33833 builtin and then its argument prototype would still apply. */
33835 /* The GNU C library defines this for functions which it implements
33836 to always fail with ENOSYS. Some functions are actually named
33837 something starting with __ and the normal name is an alias. */
33838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33841 char (*f) () = $ac_func;
33850 return f != $ac_func;
33855 rm -f conftest.
$ac_objext conftest
$ac_exeext
33856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33857 (eval $ac_link) 2>conftest.er1
33859 grep -v '^ *+' conftest.er1
>conftest.err
33861 cat conftest.err
>&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); } &&
33864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; } &&
33870 { ac_try
='test -s conftest$ac_exeext'
33871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33872 (eval $ac_try) 2>&5
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); }; }; then
33876 eval "$as_ac_var=yes"
33878 echo "$as_me: failed program was:" >&5
33879 sed 's/^/| /' conftest.
$ac_ext >&5
33881 eval "$as_ac_var=no"
33883 rm -f conftest.err conftest.
$ac_objext \
33884 conftest
$ac_exeext conftest.
$ac_ext
33886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33888 if test `eval echo '${'$as_ac_var'}'` = yes; then
33889 cat >>confdefs.h
<<_ACEOF
33890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33892 cat >>confdefs.h
<<\_ACEOF
33893 #define HAVE_INET_ADDR 1
33898 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33899 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33900 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33901 echo $ECHO_N "(cached) $ECHO_C" >&6
33903 ac_check_lib_save_LIBS
=$LIBS
33905 cat >conftest.
$ac_ext <<_ACEOF
33908 cat confdefs.h
>>conftest.
$ac_ext
33909 cat >>conftest.
$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33912 /* Override any gcc2 internal prototype to avoid an error. */
33916 /* We use char because int might match the return type of a gcc2
33917 builtin and then its argument prototype would still apply. */
33927 rm -f conftest.
$ac_objext conftest
$ac_exeext
33928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33929 (eval $ac_link) 2>conftest.er1
33931 grep -v '^ *+' conftest.er1
>conftest.err
33933 cat conftest.err
>&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); } &&
33936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33938 (eval $ac_try) 2>&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); }; } &&
33942 { ac_try
='test -s conftest$ac_exeext'
33943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33944 (eval $ac_try) 2>&5
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); }; }; then
33948 ac_cv_lib_nsl_inet_addr
=yes
33950 echo "$as_me: failed program was:" >&5
33951 sed 's/^/| /' conftest.
$ac_ext >&5
33953 ac_cv_lib_nsl_inet_addr
=no
33955 rm -f conftest.err conftest.
$ac_objext \
33956 conftest
$ac_exeext conftest.
$ac_ext
33957 LIBS
=$ac_check_lib_save_LIBS
33959 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33960 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33961 if test $ac_cv_lib_nsl_inet_addr = yes; then
33965 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33966 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33967 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33968 echo $ECHO_N "(cached) $ECHO_C" >&6
33970 ac_check_lib_save_LIBS
=$LIBS
33971 LIBS
="-lresolv $LIBS"
33972 cat >conftest.
$ac_ext <<_ACEOF
33975 cat confdefs.h
>>conftest.
$ac_ext
33976 cat >>conftest.
$ac_ext <<_ACEOF
33977 /* end confdefs.h. */
33979 /* Override any gcc2 internal prototype to avoid an error. */
33983 /* We use char because int might match the return type of a gcc2
33984 builtin and then its argument prototype would still apply. */
33994 rm -f conftest.
$ac_objext conftest
$ac_exeext
33995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33996 (eval $ac_link) 2>conftest.er1
33998 grep -v '^ *+' conftest.er1
>conftest.err
34000 cat conftest.err
>&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); } &&
34003 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34005 (eval $ac_try) 2>&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); }; } &&
34009 { ac_try
='test -s conftest$ac_exeext'
34010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34011 (eval $ac_try) 2>&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); }; }; then
34015 ac_cv_lib_resolv_inet_addr
=yes
34017 echo "$as_me: failed program was:" >&5
34018 sed 's/^/| /' conftest.
$ac_ext >&5
34020 ac_cv_lib_resolv_inet_addr
=no
34022 rm -f conftest.err conftest.
$ac_objext \
34023 conftest
$ac_exeext conftest.
$ac_ext
34024 LIBS
=$ac_check_lib_save_LIBS
34026 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
34027 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
34028 if test $ac_cv_lib_resolv_inet_addr = yes; then
34032 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
34033 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
34034 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
34035 echo $ECHO_N "(cached) $ECHO_C" >&6
34037 ac_check_lib_save_LIBS
=$LIBS
34038 LIBS
="-lsocket $LIBS"
34039 cat >conftest.
$ac_ext <<_ACEOF
34042 cat confdefs.h
>>conftest.
$ac_ext
34043 cat >>conftest.
$ac_ext <<_ACEOF
34044 /* end confdefs.h. */
34046 /* Override any gcc2 internal prototype to avoid an error. */
34050 /* We use char because int might match the return type of a gcc2
34051 builtin and then its argument prototype would still apply. */
34061 rm -f conftest.
$ac_objext conftest
$ac_exeext
34062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34063 (eval $ac_link) 2>conftest.er1
34065 grep -v '^ *+' conftest.er1
>conftest.err
34067 cat conftest.err
>&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } &&
34070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34072 (eval $ac_try) 2>&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); }; } &&
34076 { ac_try
='test -s conftest$ac_exeext'
34077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34078 (eval $ac_try) 2>&5
34080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34081 (exit $ac_status); }; }; then
34082 ac_cv_lib_socket_inet_addr
=yes
34084 echo "$as_me: failed program was:" >&5
34085 sed 's/^/| /' conftest.
$ac_ext >&5
34087 ac_cv_lib_socket_inet_addr
=no
34089 rm -f conftest.err conftest.
$ac_objext \
34090 conftest
$ac_exeext conftest.
$ac_ext
34091 LIBS
=$ac_check_lib_save_LIBS
34093 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34094 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34095 if test $ac_cv_lib_socket_inet_addr = yes; then
34115 for ac_func
in inet_aton
34117 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34118 echo "$as_me:$LINENO: checking for $ac_func" >&5
34119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34120 if eval "test \"\${$as_ac_var+set}\" = set"; then
34121 echo $ECHO_N "(cached) $ECHO_C" >&6
34123 cat >conftest.
$ac_ext <<_ACEOF
34126 cat confdefs.h
>>conftest.
$ac_ext
34127 cat >>conftest.
$ac_ext <<_ACEOF
34128 /* end confdefs.h. */
34129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34131 #define $ac_func innocuous_$ac_func
34133 /* System header to define __stub macros and hopefully few prototypes,
34134 which can conflict with char $ac_func (); below.
34135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34136 <limits.h> exists even on freestanding compilers. */
34139 # include <limits.h>
34141 # include <assert.h>
34146 /* Override any gcc2 internal prototype to avoid an error. */
34151 /* We use char because int might match the return type of a gcc2
34152 builtin and then its argument prototype would still apply. */
34154 /* The GNU C library defines this for functions which it implements
34155 to always fail with ENOSYS. Some functions are actually named
34156 something starting with __ and the normal name is an alias. */
34157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34160 char (*f) () = $ac_func;
34169 return f != $ac_func;
34174 rm -f conftest.
$ac_objext conftest
$ac_exeext
34175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34176 (eval $ac_link) 2>conftest.er1
34178 grep -v '^ *+' conftest.er1
>conftest.err
34180 cat conftest.err
>&5
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); } &&
34183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185 (eval $ac_try) 2>&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); }; } &&
34189 { ac_try
='test -s conftest$ac_exeext'
34190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34191 (eval $ac_try) 2>&5
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; }; then
34195 eval "$as_ac_var=yes"
34197 echo "$as_me: failed program was:" >&5
34198 sed 's/^/| /' conftest.
$ac_ext >&5
34200 eval "$as_ac_var=no"
34202 rm -f conftest.err conftest.
$ac_objext \
34203 conftest
$ac_exeext conftest.
$ac_ext
34205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34207 if test `eval echo '${'$as_ac_var'}'` = yes; then
34208 cat >>confdefs.h
<<_ACEOF
34209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34211 cat >>confdefs.h
<<\_ACEOF
34212 #define HAVE_INET_ATON 1
34217 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34218 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34219 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34220 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34221 echo $ECHO_N "(cached) $ECHO_C" >&6
34223 ac_check_lib_save_LIBS
=$LIBS
34224 LIBS
="-l$INET_LINK $LIBS"
34225 cat >conftest.
$ac_ext <<_ACEOF
34228 cat confdefs.h
>>conftest.
$ac_ext
34229 cat >>conftest.
$ac_ext <<_ACEOF
34230 /* end confdefs.h. */
34232 /* Override any gcc2 internal prototype to avoid an error. */
34236 /* We use char because int might match the return type of a gcc2
34237 builtin and then its argument prototype would still apply. */
34247 rm -f conftest.
$ac_objext conftest
$ac_exeext
34248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34249 (eval $ac_link) 2>conftest.er1
34251 grep -v '^ *+' conftest.er1
>conftest.err
34253 cat conftest.err
>&5
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); } &&
34256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34258 (eval $ac_try) 2>&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); }; } &&
34262 { ac_try
='test -s conftest$ac_exeext'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; }; then
34268 eval "$as_ac_Lib=yes"
34270 echo "$as_me: failed program was:" >&5
34271 sed 's/^/| /' conftest.
$ac_ext >&5
34273 eval "$as_ac_Lib=no"
34275 rm -f conftest.err conftest.
$ac_objext \
34276 conftest
$ac_exeext conftest.
$ac_ext
34277 LIBS
=$ac_check_lib_save_LIBS
34279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34280 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34281 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34282 cat >>confdefs.h
<<\_ACEOF
34283 #define HAVE_INET_ATON 1
34293 if test "x$INET_LINK" != "x"; then
34294 cat >>confdefs.h
<<\_ACEOF
34295 #define HAVE_INET_ADDR 1
34298 INET_LINK
=" -l$INET_LINK"
34306 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34307 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34308 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34309 echo $ECHO_N "(cached) $ECHO_C" >&6
34311 ac_check_lib_save_LIBS
=$LIBS
34313 cat >conftest.
$ac_ext <<_ACEOF
34316 cat confdefs.h
>>conftest.
$ac_ext
34317 cat >>conftest.
$ac_ext <<_ACEOF
34318 /* end confdefs.h. */
34320 /* Override any gcc2 internal prototype to avoid an error. */
34324 /* We use char because int might match the return type of a gcc2
34325 builtin and then its argument prototype would still apply. */
34335 rm -f conftest.
$ac_objext conftest
$ac_exeext
34336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34337 (eval $ac_link) 2>conftest.er1
34339 grep -v '^ *+' conftest.er1
>conftest.err
34341 cat conftest.err
>&5
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); } &&
34344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34346 (eval $ac_try) 2>&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); }; } &&
34350 { ac_try
='test -s conftest$ac_exeext'
34351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34352 (eval $ac_try) 2>&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); }; }; then
34356 ac_cv_lib_esd_esd_close
=yes
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.
$ac_ext >&5
34361 ac_cv_lib_esd_esd_close
=no
34363 rm -f conftest.err conftest.
$ac_objext \
34364 conftest
$ac_exeext conftest.
$ac_ext
34365 LIBS
=$ac_check_lib_save_LIBS
34367 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34368 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34369 if test $ac_cv_lib_esd_esd_close = yes; then
34372 for ac_header
in esd.h
34374 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34376 echo "$as_me:$LINENO: checking for $ac_header" >&5
34377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34379 echo $ECHO_N "(cached) $ECHO_C" >&6
34381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34384 # Is the header compilable?
34385 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34387 cat >conftest.
$ac_ext <<_ACEOF
34390 cat confdefs.h
>>conftest.
$ac_ext
34391 cat >>conftest.
$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34393 $ac_includes_default
34394 #include <$ac_header>
34396 rm -f conftest.
$ac_objext
34397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34398 (eval $ac_compile) 2>conftest.er1
34400 grep -v '^ *+' conftest.er1
>conftest.err
34402 cat conftest.err
>&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } &&
34405 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; } &&
34411 { ac_try
='test -s conftest.$ac_objext'
34412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34413 (eval $ac_try) 2>&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); }; }; then
34417 ac_header_compiler
=yes
34419 echo "$as_me: failed program was:" >&5
34420 sed 's/^/| /' conftest.
$ac_ext >&5
34422 ac_header_compiler
=no
34424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34425 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34426 echo "${ECHO_T}$ac_header_compiler" >&6
34428 # Is the header present?
34429 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34430 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34431 cat >conftest.
$ac_ext <<_ACEOF
34434 cat confdefs.h
>>conftest.
$ac_ext
34435 cat >>conftest.
$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437 #include <$ac_header>
34439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34442 grep -v '^ *+' conftest.er1
>conftest.err
34444 cat conftest.err
>&5
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); } >/dev
/null
; then
34447 if test -s conftest.err
; then
34448 ac_cpp_err
=$ac_c_preproc_warn_flag
34449 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34456 if test -z "$ac_cpp_err"; then
34457 ac_header_preproc
=yes
34459 echo "$as_me: failed program was:" >&5
34460 sed 's/^/| /' conftest.
$ac_ext >&5
34462 ac_header_preproc
=no
34464 rm -f conftest.err conftest.
$ac_ext
34465 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34466 echo "${ECHO_T}$ac_header_preproc" >&6
34468 # So? What about this header?
34469 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34471 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34472 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34473 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34474 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34475 ac_header_preproc
=yes
34478 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34479 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34480 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34481 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34482 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34483 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34484 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34485 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34487 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34488 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34489 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34492 ## ----------------------------------------- ##
34493 ## Report this to wx-dev@lists.wxwidgets.org ##
34494 ## ----------------------------------------- ##
34497 sed "s/^/$as_me: WARNING: /" >&2
34500 echo "$as_me:$LINENO: checking for $ac_header" >&5
34501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34503 echo $ECHO_N "(cached) $ECHO_C" >&6
34505 eval "$as_ac_Header=\$ac_header_preproc"
34507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34511 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34512 cat >>confdefs.h
<<_ACEOF
34513 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34516 EXTRALIBS_ESD
="-lesd"
34527 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34528 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34529 cat >conftest.
$ac_ext <<_ACEOF
34532 cat confdefs.h
>>conftest.
$ac_ext
34533 cat >>conftest.
$ac_ext <<_ACEOF
34534 /* end confdefs.h. */
34536 #include <linux/cdrom.h>
34539 #include <sys/cdio.h>
34545 struct cdrom_tocentry entry, old_entry;
34550 rm -f conftest.
$ac_objext
34551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34552 (eval $ac_compile) 2>conftest.er1
34554 grep -v '^ *+' conftest.er1
>conftest.err
34556 cat conftest.err
>&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); } &&
34559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34561 (eval $ac_try) 2>&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); }; } &&
34565 { ac_try
='test -s conftest.$ac_objext'
34566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34567 (eval $ac_try) 2>&5
34569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570 (exit $ac_status); }; }; then
34571 echo "$as_me:$LINENO: result: yes" >&5
34572 echo "${ECHO_T}yes" >&6
34573 cat >>confdefs.h
<<\_ACEOF
34574 #define HAVE_KNOWN_CDROM_INTERFACE 1
34578 echo "$as_me: failed program was:" >&5
34579 sed 's/^/| /' conftest.
$ac_ext >&5
34581 echo "$as_me:$LINENO: result: no" >&5
34582 echo "${ECHO_T}no" >&6
34584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34587 cat >confcache
<<\_ACEOF
34588 # This file is a shell script that caches the results of configure
34589 # tests run on this system so they can be shared between configure
34590 # scripts and configure runs, see configure's option --config-cache.
34591 # It is not useful on other systems. If it contains results you don't
34592 # want to keep, you may remove or edit it.
34594 # config.status only pays attention to the cache file if you give it
34595 # the --recheck option to rerun configure.
34597 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34598 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34599 # following values.
34603 # The following way of writing the cache mishandles newlines in values,
34604 # but we know of no workaround that is simple, portable, and efficient.
34605 # So, don't put newlines in cache variables' values.
34606 # Ultrix sh set writes to stderr and can't be redirected directly,
34607 # and sets the high bit in the cache file unless we assign to the vars.
34610 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34612 # `set' does not quote correctly, so add quotes (double-quote
34613 # substitution turns \\\\ into \\, and sed turns \\ into \).
34616 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34619 # `set' quotes correctly as required by POSIX, so do not add quotes.
34621 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34630 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34632 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34633 if test -w $cache_file; then
34634 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34635 cat confcache
>$cache_file
34637 echo "not updating unwritable cache $cache_file"
34644 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34650 if test "$wxUSE_THREADS" = "yes" ; then
34651 if test "$USE_BEOS" = 1; then
34652 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34653 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34658 if test "$wxUSE_THREADS" = "yes" ; then
34661 THREAD_OPTS
="-pthread"
34663 *-*-solaris2* | *-*-sunos4* )
34664 if test "x$GCC" = "xyes"; then
34665 THREAD_OPTS
="-pthreads $THREAD_OPTS"
34667 THREAD_OPTS
="-mt $THREAD_OPTS"
34671 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
34673 *-*-darwin* | *-*-cygwin* )
34677 THREAD_OPTS
="pthreads"
34680 if test "x$GCC" = "xyes"; then
34681 THREAD_OPTS
="-threads"
34688 if test "x$GCC" = "xyes"; then
34694 if test "x$GCC" != "xyes"; then
34695 THREAD_OPTS
="-Ethread"
34700 THREAD_OPTS
="$THREAD_OPTS pthread none"
34703 for flag
in $THREAD_OPTS; do
34706 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34707 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34711 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34712 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34713 THREADS_CFLAGS
="$flag"
34717 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34718 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34719 THREADS_LINK
="-l$flag"
34724 save_CFLAGS
="$CFLAGS"
34725 LIBS
="$THREADS_LINK $LIBS"
34726 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34728 cat >conftest.
$ac_ext <<_ACEOF
34731 cat confdefs.h
>>conftest.
$ac_ext
34732 cat >>conftest.
$ac_ext <<_ACEOF
34733 /* end confdefs.h. */
34734 #include <pthread.h>
34738 pthread_create(0,0,0,0);
34743 rm -f conftest.
$ac_objext conftest
$ac_exeext
34744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34745 (eval $ac_link) 2>conftest.er1
34747 grep -v '^ *+' conftest.er1
>conftest.err
34749 cat conftest.err
>&5
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); } &&
34752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; } &&
34758 { ac_try
='test -s conftest$ac_exeext'
34759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34760 (eval $ac_try) 2>&5
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); }; }; then
34766 echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.
$ac_ext >&5
34770 rm -f conftest.err conftest.
$ac_objext \
34771 conftest
$ac_exeext conftest.
$ac_ext
34774 CFLAGS
="$save_CFLAGS"
34776 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34777 echo "${ECHO_T}$THREADS_OK" >&6
34778 if test "x$THREADS_OK" = "xyes"; then
34786 if test "x$THREADS_OK" != "xyes"; then
34788 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34789 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34791 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34792 LIBS
="$THREADS_LINK $LIBS"
34794 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34795 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34799 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34800 flag
="-D_THREAD_SAFE"
34803 flag
="-D_THREAD_SAFE"
34806 flag
="-D_REENTRANT"
34807 if test "x$GCC" != "xyes"; then
34808 flag
="$flag -D_RWSTD_MULTI_THREAD"
34811 *solaris
* | alpha
*-osf*)
34812 flag
="-D_REENTRANT"
34815 echo "$as_me:$LINENO: result: ${flag}" >&5
34816 echo "${ECHO_T}${flag}" >&6
34817 if test "x$flag" != xno
; then
34818 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34821 if test "x$THREADS_CFLAGS" != "x"; then
34822 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34823 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34828 if test "$wxUSE_THREADS" = "yes" ; then
34830 for ac_func
in thr_setconcurrency
34832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34833 echo "$as_me:$LINENO: checking for $ac_func" >&5
34834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34835 if eval "test \"\${$as_ac_var+set}\" = set"; then
34836 echo $ECHO_N "(cached) $ECHO_C" >&6
34838 cat >conftest.
$ac_ext <<_ACEOF
34841 cat confdefs.h
>>conftest.
$ac_ext
34842 cat >>conftest.
$ac_ext <<_ACEOF
34843 /* end confdefs.h. */
34844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34846 #define $ac_func innocuous_$ac_func
34848 /* System header to define __stub macros and hopefully few prototypes,
34849 which can conflict with char $ac_func (); below.
34850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34851 <limits.h> exists even on freestanding compilers. */
34854 # include <limits.h>
34856 # include <assert.h>
34861 /* Override any gcc2 internal prototype to avoid an error. */
34866 /* We use char because int might match the return type of a gcc2
34867 builtin and then its argument prototype would still apply. */
34869 /* The GNU C library defines this for functions which it implements
34870 to always fail with ENOSYS. Some functions are actually named
34871 something starting with __ and the normal name is an alias. */
34872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34875 char (*f) () = $ac_func;
34884 return f != $ac_func;
34889 rm -f conftest.
$ac_objext conftest
$ac_exeext
34890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34891 (eval $ac_link) 2>conftest.er1
34893 grep -v '^ *+' conftest.er1
>conftest.err
34895 cat conftest.err
>&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); } &&
34898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34900 (eval $ac_try) 2>&5
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); }; } &&
34904 { ac_try
='test -s conftest$ac_exeext'
34905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34906 (eval $ac_try) 2>&5
34908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34909 (exit $ac_status); }; }; then
34910 eval "$as_ac_var=yes"
34912 echo "$as_me: failed program was:" >&5
34913 sed 's/^/| /' conftest.
$ac_ext >&5
34915 eval "$as_ac_var=no"
34917 rm -f conftest.err conftest.
$ac_objext \
34918 conftest
$ac_exeext conftest.
$ac_ext
34920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34922 if test `eval echo '${'$as_ac_var'}'` = yes; then
34923 cat >>confdefs.h
<<_ACEOF
34924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34931 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
34932 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
34933 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
34934 echo $ECHO_N "(cached) $ECHO_C" >&6
34937 cat >conftest.
$ac_ext <<_ACEOF
34940 cat confdefs.h
>>conftest.
$ac_ext
34941 cat >>conftest.
$ac_ext <<_ACEOF
34942 /* end confdefs.h. */
34943 #include <pthread.h>
34944 void ThreadCleanupFunc(void *p);
34951 pthread_cleanup_push(ThreadCleanupFunc, p);
34952 pthread_cleanup_pop(0);
34958 rm -f conftest.
$ac_objext
34959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34960 (eval $ac_compile) 2>conftest.er1
34962 grep -v '^ *+' conftest.er1
>conftest.err
34964 cat conftest.err
>&5
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); } &&
34967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; } &&
34973 { ac_try
='test -s conftest.$ac_objext'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; }; then
34980 wx_cv_func_pthread_cleanup
=yes
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.
$ac_ext >&5
34987 wx_cv_func_pthread_cleanup
=no
34991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34994 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
34995 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
34996 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
34997 cat >>confdefs.h
<<\_ACEOF
34998 #define wxHAVE_PTHREAD_CLEANUP 1
35004 for ac_header
in sched.h
35006 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35008 echo "$as_me:$LINENO: checking for $ac_header" >&5
35009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35016 # Is the header compilable?
35017 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35018 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35019 cat >conftest.
$ac_ext <<_ACEOF
35022 cat confdefs.h
>>conftest.
$ac_ext
35023 cat >>conftest.
$ac_ext <<_ACEOF
35024 /* end confdefs.h. */
35025 $ac_includes_default
35026 #include <$ac_header>
35028 rm -f conftest.
$ac_objext
35029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35030 (eval $ac_compile) 2>conftest.er1
35032 grep -v '^ *+' conftest.er1
>conftest.err
35034 cat conftest.err
>&5
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); } &&
35037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35039 (eval $ac_try) 2>&5
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); }; } &&
35043 { ac_try
='test -s conftest.$ac_objext'
35044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35045 (eval $ac_try) 2>&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); }; }; then
35049 ac_header_compiler
=yes
35051 echo "$as_me: failed program was:" >&5
35052 sed 's/^/| /' conftest.
$ac_ext >&5
35054 ac_header_compiler
=no
35056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35058 echo "${ECHO_T}$ac_header_compiler" >&6
35060 # Is the header present?
35061 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35062 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35063 cat >conftest.
$ac_ext <<_ACEOF
35066 cat confdefs.h
>>conftest.
$ac_ext
35067 cat >>conftest.
$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35069 #include <$ac_header>
35071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35072 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35074 grep -v '^ *+' conftest.er1
>conftest.err
35076 cat conftest.err
>&5
35077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078 (exit $ac_status); } >/dev
/null
; then
35079 if test -s conftest.err
; then
35080 ac_cpp_err
=$ac_c_preproc_warn_flag
35081 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35088 if test -z "$ac_cpp_err"; then
35089 ac_header_preproc
=yes
35091 echo "$as_me: failed program was:" >&5
35092 sed 's/^/| /' conftest.
$ac_ext >&5
35094 ac_header_preproc
=no
35096 rm -f conftest.err conftest.
$ac_ext
35097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35098 echo "${ECHO_T}$ac_header_preproc" >&6
35100 # So? What about this header?
35101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35103 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35106 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35107 ac_header_preproc
=yes
35110 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35112 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35113 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35114 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35115 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35116 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35117 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35120 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35121 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35124 ## ----------------------------------------- ##
35125 ## Report this to wx-dev@lists.wxwidgets.org ##
35126 ## ----------------------------------------- ##
35129 sed "s/^/$as_me: WARNING: /" >&2
35132 echo "$as_me:$LINENO: checking for $ac_header" >&5
35133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35135 echo $ECHO_N "(cached) $ECHO_C" >&6
35137 eval "$as_ac_Header=\$ac_header_preproc"
35139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35144 cat >>confdefs.h
<<_ACEOF
35145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35152 if test "$ac_cv_header_sched_h" = "yes"; then
35153 echo "$as_me:$LINENO: checking for sched_yield" >&5
35154 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35155 if test "${ac_cv_func_sched_yield+set}" = set; then
35156 echo $ECHO_N "(cached) $ECHO_C" >&6
35158 cat >conftest.
$ac_ext <<_ACEOF
35161 cat confdefs.h
>>conftest.
$ac_ext
35162 cat >>conftest.
$ac_ext <<_ACEOF
35163 /* end confdefs.h. */
35164 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35166 #define sched_yield innocuous_sched_yield
35168 /* System header to define __stub macros and hopefully few prototypes,
35169 which can conflict with char sched_yield (); below.
35170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35171 <limits.h> exists even on freestanding compilers. */
35174 # include <limits.h>
35176 # include <assert.h>
35181 /* Override any gcc2 internal prototype to avoid an error. */
35186 /* We use char because int might match the return type of a gcc2
35187 builtin and then its argument prototype would still apply. */
35188 char sched_yield ();
35189 /* The GNU C library defines this for functions which it implements
35190 to always fail with ENOSYS. Some functions are actually named
35191 something starting with __ and the normal name is an alias. */
35192 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35195 char (*f) () = sched_yield;
35204 return f != sched_yield;
35209 rm -f conftest.
$ac_objext conftest
$ac_exeext
35210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35211 (eval $ac_link) 2>conftest.er1
35213 grep -v '^ *+' conftest.er1
>conftest.err
35215 cat conftest.err
>&5
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); } &&
35218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35220 (eval $ac_try) 2>&5
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); }; } &&
35224 { ac_try
='test -s conftest$ac_exeext'
35225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35226 (eval $ac_try) 2>&5
35228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35229 (exit $ac_status); }; }; then
35230 ac_cv_func_sched_yield
=yes
35232 echo "$as_me: failed program was:" >&5
35233 sed 's/^/| /' conftest.
$ac_ext >&5
35235 ac_cv_func_sched_yield
=no
35237 rm -f conftest.err conftest.
$ac_objext \
35238 conftest
$ac_exeext conftest.
$ac_ext
35240 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35241 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35242 if test $ac_cv_func_sched_yield = yes; then
35243 cat >>confdefs.h
<<\_ACEOF
35244 #define HAVE_SCHED_YIELD 1
35249 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35250 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35251 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35252 echo $ECHO_N "(cached) $ECHO_C" >&6
35254 ac_check_lib_save_LIBS
=$LIBS
35255 LIBS
="-lposix4 $LIBS"
35256 cat >conftest.
$ac_ext <<_ACEOF
35259 cat confdefs.h
>>conftest.
$ac_ext
35260 cat >>conftest.
$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35263 /* Override any gcc2 internal prototype to avoid an error. */
35267 /* We use char because int might match the return type of a gcc2
35268 builtin and then its argument prototype would still apply. */
35269 char sched_yield ();
35278 rm -f conftest.
$ac_objext conftest
$ac_exeext
35279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35280 (eval $ac_link) 2>conftest.er1
35282 grep -v '^ *+' conftest.er1
>conftest.err
35284 cat conftest.err
>&5
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); } &&
35287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35289 (eval $ac_try) 2>&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); }; } &&
35293 { ac_try
='test -s conftest$ac_exeext'
35294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35295 (eval $ac_try) 2>&5
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); }; }; then
35299 ac_cv_lib_posix4_sched_yield
=yes
35301 echo "$as_me: failed program was:" >&5
35302 sed 's/^/| /' conftest.
$ac_ext >&5
35304 ac_cv_lib_posix4_sched_yield
=no
35306 rm -f conftest.err conftest.
$ac_objext \
35307 conftest
$ac_exeext conftest.
$ac_ext
35308 LIBS
=$ac_check_lib_save_LIBS
35310 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35311 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35312 if test $ac_cv_lib_posix4_sched_yield = yes; then
35313 cat >>confdefs.h
<<\_ACEOF
35314 #define HAVE_SCHED_YIELD 1
35316 POSIX4_LINK
=" -lposix4"
35318 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35319 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35330 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35331 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35332 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35335 cat >conftest.
$ac_ext <<_ACEOF
35338 cat confdefs.h
>>conftest.
$ac_ext
35339 cat >>conftest.
$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35341 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35343 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35345 /* System header to define __stub macros and hopefully few prototypes,
35346 which can conflict with char pthread_attr_getschedpolicy (); below.
35347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35348 <limits.h> exists even on freestanding compilers. */
35351 # include <limits.h>
35353 # include <assert.h>
35356 #undef pthread_attr_getschedpolicy
35358 /* Override any gcc2 internal prototype to avoid an error. */
35363 /* We use char because int might match the return type of a gcc2
35364 builtin and then its argument prototype would still apply. */
35365 char pthread_attr_getschedpolicy ();
35366 /* The GNU C library defines this for functions which it implements
35367 to always fail with ENOSYS. Some functions are actually named
35368 something starting with __ and the normal name is an alias. */
35369 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35372 char (*f) () = pthread_attr_getschedpolicy;
35381 return f != pthread_attr_getschedpolicy;
35386 rm -f conftest.
$ac_objext conftest
$ac_exeext
35387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35388 (eval $ac_link) 2>conftest.er1
35390 grep -v '^ *+' conftest.er1
>conftest.err
35392 cat conftest.err
>&5
35393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35394 (exit $ac_status); } &&
35395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35397 (eval $ac_try) 2>&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); }; } &&
35401 { ac_try
='test -s conftest$ac_exeext'
35402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35403 (eval $ac_try) 2>&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; }; then
35407 ac_cv_func_pthread_attr_getschedpolicy
=yes
35409 echo "$as_me: failed program was:" >&5
35410 sed 's/^/| /' conftest.
$ac_ext >&5
35412 ac_cv_func_pthread_attr_getschedpolicy
=no
35414 rm -f conftest.err conftest.
$ac_objext \
35415 conftest
$ac_exeext conftest.
$ac_ext
35417 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35418 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35419 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35420 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35421 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35422 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35423 echo $ECHO_N "(cached) $ECHO_C" >&6
35425 cat >conftest.
$ac_ext <<_ACEOF
35428 cat confdefs.h
>>conftest.
$ac_ext
35429 cat >>conftest.
$ac_ext <<_ACEOF
35430 /* end confdefs.h. */
35431 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35433 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35435 /* System header to define __stub macros and hopefully few prototypes,
35436 which can conflict with char pthread_attr_setschedparam (); below.
35437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35438 <limits.h> exists even on freestanding compilers. */
35441 # include <limits.h>
35443 # include <assert.h>
35446 #undef pthread_attr_setschedparam
35448 /* Override any gcc2 internal prototype to avoid an error. */
35453 /* We use char because int might match the return type of a gcc2
35454 builtin and then its argument prototype would still apply. */
35455 char pthread_attr_setschedparam ();
35456 /* The GNU C library defines this for functions which it implements
35457 to always fail with ENOSYS. Some functions are actually named
35458 something starting with __ and the normal name is an alias. */
35459 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35462 char (*f) () = pthread_attr_setschedparam;
35471 return f != pthread_attr_setschedparam;
35476 rm -f conftest.
$ac_objext conftest
$ac_exeext
35477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35478 (eval $ac_link) 2>conftest.er1
35480 grep -v '^ *+' conftest.er1
>conftest.err
35482 cat conftest.err
>&5
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); } &&
35485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35487 (eval $ac_try) 2>&5
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); }; } &&
35491 { ac_try
='test -s conftest$ac_exeext'
35492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35493 (eval $ac_try) 2>&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); }; }; then
35497 ac_cv_func_pthread_attr_setschedparam
=yes
35499 echo "$as_me: failed program was:" >&5
35500 sed 's/^/| /' conftest.
$ac_ext >&5
35502 ac_cv_func_pthread_attr_setschedparam
=no
35504 rm -f conftest.err conftest.
$ac_objext \
35505 conftest
$ac_exeext conftest.
$ac_ext
35507 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35508 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35509 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35510 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35511 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35512 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35513 echo $ECHO_N "(cached) $ECHO_C" >&6
35515 cat >conftest.
$ac_ext <<_ACEOF
35518 cat confdefs.h
>>conftest.
$ac_ext
35519 cat >>conftest.
$ac_ext <<_ACEOF
35520 /* end confdefs.h. */
35521 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35523 #define sched_get_priority_max innocuous_sched_get_priority_max
35525 /* System header to define __stub macros and hopefully few prototypes,
35526 which can conflict with char sched_get_priority_max (); below.
35527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35528 <limits.h> exists even on freestanding compilers. */
35531 # include <limits.h>
35533 # include <assert.h>
35536 #undef sched_get_priority_max
35538 /* Override any gcc2 internal prototype to avoid an error. */
35543 /* We use char because int might match the return type of a gcc2
35544 builtin and then its argument prototype would still apply. */
35545 char sched_get_priority_max ();
35546 /* The GNU C library defines this for functions which it implements
35547 to always fail with ENOSYS. Some functions are actually named
35548 something starting with __ and the normal name is an alias. */
35549 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35552 char (*f) () = sched_get_priority_max;
35561 return f != sched_get_priority_max;
35566 rm -f conftest.
$ac_objext conftest
$ac_exeext
35567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35568 (eval $ac_link) 2>conftest.er1
35570 grep -v '^ *+' conftest.er1
>conftest.err
35572 cat conftest.err
>&5
35573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35574 (exit $ac_status); } &&
35575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35577 (eval $ac_try) 2>&5
35579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35580 (exit $ac_status); }; } &&
35581 { ac_try
='test -s conftest$ac_exeext'
35582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35583 (eval $ac_try) 2>&5
35585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35586 (exit $ac_status); }; }; then
35587 ac_cv_func_sched_get_priority_max
=yes
35589 echo "$as_me: failed program was:" >&5
35590 sed 's/^/| /' conftest.
$ac_ext >&5
35592 ac_cv_func_sched_get_priority_max
=no
35594 rm -f conftest.err conftest.
$ac_objext \
35595 conftest
$ac_exeext conftest.
$ac_ext
35597 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35598 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35599 if test $ac_cv_func_sched_get_priority_max = yes; then
35602 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35603 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35604 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35605 echo $ECHO_N "(cached) $ECHO_C" >&6
35607 ac_check_lib_save_LIBS
=$LIBS
35608 LIBS
="-lposix4 $LIBS"
35609 cat >conftest.
$ac_ext <<_ACEOF
35612 cat confdefs.h
>>conftest.
$ac_ext
35613 cat >>conftest.
$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35616 /* Override any gcc2 internal prototype to avoid an error. */
35620 /* We use char because int might match the return type of a gcc2
35621 builtin and then its argument prototype would still apply. */
35622 char sched_get_priority_max ();
35626 sched_get_priority_max ();
35631 rm -f conftest.
$ac_objext conftest
$ac_exeext
35632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35633 (eval $ac_link) 2>conftest.er1
35635 grep -v '^ *+' conftest.er1
>conftest.err
35637 cat conftest.err
>&5
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); } &&
35640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35642 (eval $ac_try) 2>&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; } &&
35646 { ac_try
='test -s conftest$ac_exeext'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; }; then
35652 ac_cv_lib_posix4_sched_get_priority_max
=yes
35654 echo "$as_me: failed program was:" >&5
35655 sed 's/^/| /' conftest.
$ac_ext >&5
35657 ac_cv_lib_posix4_sched_get_priority_max
=no
35659 rm -f conftest.err conftest.
$ac_objext \
35660 conftest
$ac_exeext conftest.
$ac_ext
35661 LIBS
=$ac_check_lib_save_LIBS
35663 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35664 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35665 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35668 POSIX4_LINK
=" -lposix4"
35682 if test "$HAVE_PRIOR_FUNCS" = 1; then
35683 cat >>confdefs.h
<<\_ACEOF
35684 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35688 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35689 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35692 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35693 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35694 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35697 cat >conftest.
$ac_ext <<_ACEOF
35700 cat confdefs.h
>>conftest.
$ac_ext
35701 cat >>conftest.
$ac_ext <<_ACEOF
35702 /* end confdefs.h. */
35703 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35705 #define pthread_cancel innocuous_pthread_cancel
35707 /* System header to define __stub macros and hopefully few prototypes,
35708 which can conflict with char pthread_cancel (); below.
35709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35710 <limits.h> exists even on freestanding compilers. */
35713 # include <limits.h>
35715 # include <assert.h>
35718 #undef pthread_cancel
35720 /* Override any gcc2 internal prototype to avoid an error. */
35725 /* We use char because int might match the return type of a gcc2
35726 builtin and then its argument prototype would still apply. */
35727 char pthread_cancel ();
35728 /* The GNU C library defines this for functions which it implements
35729 to always fail with ENOSYS. Some functions are actually named
35730 something starting with __ and the normal name is an alias. */
35731 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35734 char (*f) () = pthread_cancel;
35743 return f != pthread_cancel;
35748 rm -f conftest.
$ac_objext conftest
$ac_exeext
35749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35750 (eval $ac_link) 2>conftest.er1
35752 grep -v '^ *+' conftest.er1
>conftest.err
35754 cat conftest.err
>&5
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); } &&
35757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759 (eval $ac_try) 2>&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; } &&
35763 { ac_try
='test -s conftest$ac_exeext'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; }; then
35769 ac_cv_func_pthread_cancel
=yes
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.
$ac_ext >&5
35774 ac_cv_func_pthread_cancel
=no
35776 rm -f conftest.err conftest.
$ac_objext \
35777 conftest
$ac_exeext conftest.
$ac_ext
35779 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35780 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35781 if test $ac_cv_func_pthread_cancel = yes; then
35782 cat >>confdefs.h
<<\_ACEOF
35783 #define HAVE_PTHREAD_CANCEL 1
35787 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35788 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35792 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35793 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35794 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35795 echo $ECHO_N "(cached) $ECHO_C" >&6
35797 cat >conftest.
$ac_ext <<_ACEOF
35800 cat confdefs.h
>>conftest.
$ac_ext
35801 cat >>conftest.
$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35803 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35805 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35807 /* System header to define __stub macros and hopefully few prototypes,
35808 which can conflict with char pthread_attr_setstacksize (); below.
35809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35810 <limits.h> exists even on freestanding compilers. */
35813 # include <limits.h>
35815 # include <assert.h>
35818 #undef pthread_attr_setstacksize
35820 /* Override any gcc2 internal prototype to avoid an error. */
35825 /* We use char because int might match the return type of a gcc2
35826 builtin and then its argument prototype would still apply. */
35827 char pthread_attr_setstacksize ();
35828 /* The GNU C library defines this for functions which it implements
35829 to always fail with ENOSYS. Some functions are actually named
35830 something starting with __ and the normal name is an alias. */
35831 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35834 char (*f) () = pthread_attr_setstacksize;
35843 return f != pthread_attr_setstacksize;
35848 rm -f conftest.
$ac_objext conftest
$ac_exeext
35849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35850 (eval $ac_link) 2>conftest.er1
35852 grep -v '^ *+' conftest.er1
>conftest.err
35854 cat conftest.err
>&5
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); } &&
35857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35859 (eval $ac_try) 2>&5
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); }; } &&
35863 { ac_try
='test -s conftest$ac_exeext'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; }; then
35869 ac_cv_func_pthread_attr_setstacksize
=yes
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.
$ac_ext >&5
35874 ac_cv_func_pthread_attr_setstacksize
=no
35876 rm -f conftest.err conftest.
$ac_objext \
35877 conftest
$ac_exeext conftest.
$ac_ext
35879 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35880 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35881 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35882 cat >>confdefs.h
<<\_ACEOF
35883 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35890 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35891 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35892 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35893 echo $ECHO_N "(cached) $ECHO_C" >&6
35896 cat >conftest.
$ac_ext <<_ACEOF
35899 cat confdefs.h
>>conftest.
$ac_ext
35900 cat >>conftest.
$ac_ext <<_ACEOF
35901 /* end confdefs.h. */
35902 #include <pthread.h>
35907 pthread_mutexattr_t attr;
35908 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35914 rm -f conftest.
$ac_objext
35915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35916 (eval $ac_compile) 2>conftest.er1
35918 grep -v '^ *+' conftest.er1
>conftest.err
35920 cat conftest.err
>&5
35921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35922 (exit $ac_status); } &&
35923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35925 (eval $ac_try) 2>&5
35927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35928 (exit $ac_status); }; } &&
35929 { ac_try
='test -s conftest.$ac_objext'
35930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35931 (eval $ac_try) 2>&5
35933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35934 (exit $ac_status); }; }; then
35936 wx_cv_type_pthread_mutexattr_t
=yes
35939 echo "$as_me: failed program was:" >&5
35940 sed 's/^/| /' conftest.
$ac_ext >&5
35943 wx_cv_type_pthread_mutexattr_t
=no
35947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35950 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35951 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35953 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35954 cat >>confdefs.h
<<\_ACEOF
35955 #define HAVE_PTHREAD_MUTEXATTR_T 1
35959 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35960 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35961 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35962 echo $ECHO_N "(cached) $ECHO_C" >&6
35965 cat >conftest.
$ac_ext <<_ACEOF
35968 cat confdefs.h
>>conftest.
$ac_ext
35969 cat >>conftest.
$ac_ext <<_ACEOF
35970 /* end confdefs.h. */
35971 #include <pthread.h>
35976 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35982 rm -f conftest.
$ac_objext
35983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35984 (eval $ac_compile) 2>conftest.er1
35986 grep -v '^ *+' conftest.er1
>conftest.err
35988 cat conftest.err
>&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); } &&
35991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; } &&
35997 { ac_try
='test -s conftest.$ac_objext'
35998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35999 (eval $ac_try) 2>&5
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); }; }; then
36004 wx_cv_type_pthread_rec_mutex_init
=yes
36007 echo "$as_me: failed program was:" >&5
36008 sed 's/^/| /' conftest.
$ac_ext >&5
36011 wx_cv_type_pthread_rec_mutex_init
=no
36015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36018 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
36019 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
36020 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
36021 cat >>confdefs.h
<<\_ACEOF
36022 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
36026 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
36027 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
36033 if test "$wxUSE_THREADS" = "yes" ; then
36036 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
36037 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
36038 if test "${wx_cv_cflags_mthread+set}" = set; then
36039 echo $ECHO_N "(cached) $ECHO_C" >&6
36042 CFLAGS_OLD
="$CFLAGS"
36043 CFLAGS
="$CFLAGS -mthreads"
36044 cat >conftest.
$ac_ext <<_ACEOF
36047 cat confdefs.h
>>conftest.
$ac_ext
36048 cat >>conftest.
$ac_ext <<_ACEOF
36049 /* end confdefs.h. */
36059 rm -f conftest.
$ac_objext
36060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36061 (eval $ac_compile) 2>conftest.er1
36063 grep -v '^ *+' conftest.er1
>conftest.err
36065 cat conftest.err
>&5
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); } &&
36068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; } &&
36074 { ac_try
='test -s conftest.$ac_objext'
36075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36076 (eval $ac_try) 2>&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); }; }; then
36080 wx_cv_cflags_mthread
=yes
36082 echo "$as_me: failed program was:" >&5
36083 sed 's/^/| /' conftest.
$ac_ext >&5
36085 wx_cv_cflags_mthread
=no
36088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36092 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
36093 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
36095 if test "$wx_cv_cflags_mthread" = "yes"; then
36096 CXXFLAGS
="$CXXFLAGS -mthreads"
36097 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
36098 LDFLAGS
="$LDFLAGS -mthreads"
36100 CFLAGS
="$CFLAGS_OLD"
36104 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36105 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36106 LDFLAGS
="$LDFLAGS -Zmt"
36112 if test "$wxUSE_THREADS" = "yes"; then
36113 cat >>confdefs.h
<<\_ACEOF
36114 #define wxUSE_THREADS 1
36118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
36120 if test "$ac_cv_func_strtok_r" = "yes"; then
36121 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36122 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36123 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36124 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
36125 echo "$as_me:$LINENO: result: yes" >&5
36126 echo "${ECHO_T}yes" >&6
36128 echo "$as_me:$LINENO: result: no" >&5
36129 echo "${ECHO_T}no" >&6
36134 if test "$WXGTK20" = 1 ; then
36135 cat >>confdefs.h
<<_ACEOF
36136 #define __WXGTK20__ $WXGTK20
36142 if test "$WXGTK12" = 1 ; then
36143 cat >>confdefs.h
<<_ACEOF
36144 #define __WXGTK12__ $WXGTK12
36149 if test "$WXGTK127" = 1 ; then
36150 cat >>confdefs.h
<<_ACEOF
36151 #define __WXGTK127__ $WXGTK127
36156 if test "$WXGPE" = 1 ; then
36157 cat >>confdefs.h
<<_ACEOF
36158 #define __WXGPE__ $WXGPE
36165 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36170 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36171 wxUSE_DEBUG_INFO
=yes
36172 if test "$GCC" = yes; then
36177 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36178 cat >>confdefs.h
<<\_ACEOF
36182 WXDEBUG_DEFINE
="-D__WXDEBUG__"
36184 if test "$wxUSE_GTK" = 1 ; then
36185 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
36189 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36190 cat >>confdefs.h
<<\_ACEOF
36191 #define wxUSE_MEMORY_TRACING 1
36194 cat >>confdefs.h
<<\_ACEOF
36195 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36198 cat >>confdefs.h
<<\_ACEOF
36199 #define wxUSE_DEBUG_NEW_ALWAYS 1
36202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
36205 if test "$wxUSE_DMALLOC" = "yes" ; then
36206 DMALLOC_LIBS
="-ldmallocthcxx"
36210 if test "$wxUSE_PROFILE" = "yes" ; then
36215 CODE_GEN_FLAGS_CXX
=
36216 if test "$GCC" = "yes" ; then
36217 if test "$wxUSE_NO_RTTI" = "yes" ; then
36218 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
36220 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36221 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36223 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36224 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
36229 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
36232 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
36238 if test "$wxUSE_OPTIMISE" = "no" ; then
36239 if test "$GCC" = yes ; then
36243 if test "$GCC" = yes ; then
36247 i586
-*-*|i686
-*-* )
36248 OPTIMISE
="${OPTIMISE} "
36257 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36258 cat >>confdefs.h
<<\_ACEOF
36259 #define WXWIN_COMPATIBILITY_2_2 1
36263 WXWIN_COMPATIBILITY_2_4
="yes"
36266 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36267 cat >>confdefs.h
<<\_ACEOF
36268 #define WXWIN_COMPATIBILITY_2_4 1
36274 if test "$wxUSE_GUI" = "yes"; then
36275 cat >>confdefs.h
<<\_ACEOF
36276 #define wxUSE_GUI 1
36283 if test "$wxUSE_UNIX" = "yes"; then
36284 cat >>confdefs.h
<<\_ACEOF
36285 #define wxUSE_UNIX 1
36291 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36295 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36296 if test "$USE_DARWIN" = 1; then
36298 elif test "$USE_DOS" = 1; then
36302 for ac_func
in dlopen
36304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36305 echo "$as_me:$LINENO: checking for $ac_func" >&5
36306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36307 if eval "test \"\${$as_ac_var+set}\" = set"; then
36308 echo $ECHO_N "(cached) $ECHO_C" >&6
36310 cat >conftest.
$ac_ext <<_ACEOF
36313 cat confdefs.h
>>conftest.
$ac_ext
36314 cat >>conftest.
$ac_ext <<_ACEOF
36315 /* end confdefs.h. */
36316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36318 #define $ac_func innocuous_$ac_func
36320 /* System header to define __stub macros and hopefully few prototypes,
36321 which can conflict with char $ac_func (); below.
36322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36323 <limits.h> exists even on freestanding compilers. */
36326 # include <limits.h>
36328 # include <assert.h>
36333 /* Override any gcc2 internal prototype to avoid an error. */
36338 /* We use char because int might match the return type of a gcc2
36339 builtin and then its argument prototype would still apply. */
36341 /* The GNU C library defines this for functions which it implements
36342 to always fail with ENOSYS. Some functions are actually named
36343 something starting with __ and the normal name is an alias. */
36344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36347 char (*f) () = $ac_func;
36356 return f != $ac_func;
36361 rm -f conftest.
$ac_objext conftest
$ac_exeext
36362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36363 (eval $ac_link) 2>conftest.er1
36365 grep -v '^ *+' conftest.er1
>conftest.err
36367 cat conftest.err
>&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } &&
36370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36372 (eval $ac_try) 2>&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); }; } &&
36376 { ac_try
='test -s conftest$ac_exeext'
36377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36378 (eval $ac_try) 2>&5
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); }; }; then
36382 eval "$as_ac_var=yes"
36384 echo "$as_me: failed program was:" >&5
36385 sed 's/^/| /' conftest.
$ac_ext >&5
36387 eval "$as_ac_var=no"
36389 rm -f conftest.err conftest.
$ac_objext \
36390 conftest
$ac_exeext conftest.
$ac_ext
36392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36394 if test `eval echo '${'$as_ac_var'}'` = yes; then
36395 cat >>confdefs.h
<<_ACEOF
36396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36399 cat >>confdefs.h
<<\_ACEOF
36400 #define HAVE_DLOPEN 1
36407 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36408 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36409 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36410 echo $ECHO_N "(cached) $ECHO_C" >&6
36412 ac_check_lib_save_LIBS
=$LIBS
36414 cat >conftest.
$ac_ext <<_ACEOF
36417 cat confdefs.h
>>conftest.
$ac_ext
36418 cat >>conftest.
$ac_ext <<_ACEOF
36419 /* end confdefs.h. */
36421 /* Override any gcc2 internal prototype to avoid an error. */
36425 /* We use char because int might match the return type of a gcc2
36426 builtin and then its argument prototype would still apply. */
36436 rm -f conftest.
$ac_objext conftest
$ac_exeext
36437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36438 (eval $ac_link) 2>conftest.er1
36440 grep -v '^ *+' conftest.er1
>conftest.err
36442 cat conftest.err
>&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); } &&
36445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36447 (eval $ac_try) 2>&5
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); }; } &&
36451 { ac_try
='test -s conftest$ac_exeext'
36452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36453 (eval $ac_try) 2>&5
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); }; }; then
36457 ac_cv_lib_dl_dlopen
=yes
36459 echo "$as_me: failed program was:" >&5
36460 sed 's/^/| /' conftest.
$ac_ext >&5
36462 ac_cv_lib_dl_dlopen
=no
36464 rm -f conftest.err conftest.
$ac_objext \
36465 conftest
$ac_exeext conftest.
$ac_ext
36466 LIBS
=$ac_check_lib_save_LIBS
36468 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36469 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36470 if test $ac_cv_lib_dl_dlopen = yes; then
36472 cat >>confdefs.h
<<\_ACEOF
36473 #define HAVE_DLOPEN 1
36477 DL_LINK
=" -ldl$DL_LINK"
36482 for ac_func
in shl_load
36484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36485 echo "$as_me:$LINENO: checking for $ac_func" >&5
36486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36487 if eval "test \"\${$as_ac_var+set}\" = set"; then
36488 echo $ECHO_N "(cached) $ECHO_C" >&6
36490 cat >conftest.
$ac_ext <<_ACEOF
36493 cat confdefs.h
>>conftest.
$ac_ext
36494 cat >>conftest.
$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36498 #define $ac_func innocuous_$ac_func
36500 /* System header to define __stub macros and hopefully few prototypes,
36501 which can conflict with char $ac_func (); below.
36502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36503 <limits.h> exists even on freestanding compilers. */
36506 # include <limits.h>
36508 # include <assert.h>
36513 /* Override any gcc2 internal prototype to avoid an error. */
36518 /* We use char because int might match the return type of a gcc2
36519 builtin and then its argument prototype would still apply. */
36521 /* The GNU C library defines this for functions which it implements
36522 to always fail with ENOSYS. Some functions are actually named
36523 something starting with __ and the normal name is an alias. */
36524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36527 char (*f) () = $ac_func;
36536 return f != $ac_func;
36541 rm -f conftest.
$ac_objext conftest
$ac_exeext
36542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36543 (eval $ac_link) 2>conftest.er1
36545 grep -v '^ *+' conftest.er1
>conftest.err
36547 cat conftest.err
>&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); } &&
36550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36552 (eval $ac_try) 2>&5
36554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555 (exit $ac_status); }; } &&
36556 { ac_try
='test -s conftest$ac_exeext'
36557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36558 (eval $ac_try) 2>&5
36560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36561 (exit $ac_status); }; }; then
36562 eval "$as_ac_var=yes"
36564 echo "$as_me: failed program was:" >&5
36565 sed 's/^/| /' conftest.
$ac_ext >&5
36567 eval "$as_ac_var=no"
36569 rm -f conftest.err conftest.
$ac_objext \
36570 conftest
$ac_exeext conftest.
$ac_ext
36572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36574 if test `eval echo '${'$as_ac_var'}'` = yes; then
36575 cat >>confdefs.h
<<_ACEOF
36576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36579 cat >>confdefs.h
<<\_ACEOF
36580 #define HAVE_SHL_LOAD 1
36587 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36588 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36589 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36590 echo $ECHO_N "(cached) $ECHO_C" >&6
36592 ac_check_lib_save_LIBS
=$LIBS
36593 LIBS
="-lshl_load $LIBS"
36594 cat >conftest.
$ac_ext <<_ACEOF
36597 cat confdefs.h
>>conftest.
$ac_ext
36598 cat >>conftest.
$ac_ext <<_ACEOF
36599 /* end confdefs.h. */
36601 /* Override any gcc2 internal prototype to avoid an error. */
36605 /* We use char because int might match the return type of a gcc2
36606 builtin and then its argument prototype would still apply. */
36616 rm -f conftest.
$ac_objext conftest
$ac_exeext
36617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36618 (eval $ac_link) 2>conftest.er1
36620 grep -v '^ *+' conftest.er1
>conftest.err
36622 cat conftest.err
>&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); } &&
36625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36627 (eval $ac_try) 2>&5
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); }; } &&
36631 { ac_try
='test -s conftest$ac_exeext'
36632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36633 (eval $ac_try) 2>&5
36635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36636 (exit $ac_status); }; }; then
36637 ac_cv_lib_shl_load_dld
=yes
36639 echo "$as_me: failed program was:" >&5
36640 sed 's/^/| /' conftest.
$ac_ext >&5
36642 ac_cv_lib_shl_load_dld
=no
36644 rm -f conftest.err conftest.
$ac_objext \
36645 conftest
$ac_exeext conftest.
$ac_ext
36646 LIBS
=$ac_check_lib_save_LIBS
36648 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36649 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36650 if test $ac_cv_lib_shl_load_dld = yes; then
36653 DL_LINK
=" -ldld$DL_LINK"
36669 if test "$HAVE_DL_FUNCS" = 1; then
36671 for ac_func
in dlerror
36673 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36674 echo "$as_me:$LINENO: checking for $ac_func" >&5
36675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36676 if eval "test \"\${$as_ac_var+set}\" = set"; then
36677 echo $ECHO_N "(cached) $ECHO_C" >&6
36679 cat >conftest.
$ac_ext <<_ACEOF
36682 cat confdefs.h
>>conftest.
$ac_ext
36683 cat >>conftest.
$ac_ext <<_ACEOF
36684 /* end confdefs.h. */
36685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36687 #define $ac_func innocuous_$ac_func
36689 /* System header to define __stub macros and hopefully few prototypes,
36690 which can conflict with char $ac_func (); below.
36691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36692 <limits.h> exists even on freestanding compilers. */
36695 # include <limits.h>
36697 # include <assert.h>
36702 /* Override any gcc2 internal prototype to avoid an error. */
36707 /* We use char because int might match the return type of a gcc2
36708 builtin and then its argument prototype would still apply. */
36710 /* The GNU C library defines this for functions which it implements
36711 to always fail with ENOSYS. Some functions are actually named
36712 something starting with __ and the normal name is an alias. */
36713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36716 char (*f) () = $ac_func;
36725 return f != $ac_func;
36730 rm -f conftest.
$ac_objext conftest
$ac_exeext
36731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36732 (eval $ac_link) 2>conftest.er1
36734 grep -v '^ *+' conftest.er1
>conftest.err
36736 cat conftest.err
>&5
36737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738 (exit $ac_status); } &&
36739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36741 (eval $ac_try) 2>&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); }; } &&
36745 { ac_try
='test -s conftest$ac_exeext'
36746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36747 (eval $ac_try) 2>&5
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); }; }; then
36751 eval "$as_ac_var=yes"
36753 echo "$as_me: failed program was:" >&5
36754 sed 's/^/| /' conftest.
$ac_ext >&5
36756 eval "$as_ac_var=no"
36758 rm -f conftest.err conftest.
$ac_objext \
36759 conftest
$ac_exeext conftest.
$ac_ext
36761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36763 if test `eval echo '${'$as_ac_var'}'` = yes; then
36764 cat >>confdefs.h
<<_ACEOF
36765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36767 cat >>confdefs.h
<<\_ACEOF
36768 #define HAVE_DLERROR 1
36773 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36774 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36775 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36776 echo $ECHO_N "(cached) $ECHO_C" >&6
36778 ac_check_lib_save_LIBS
=$LIBS
36780 cat >conftest.
$ac_ext <<_ACEOF
36783 cat confdefs.h
>>conftest.
$ac_ext
36784 cat >>conftest.
$ac_ext <<_ACEOF
36785 /* end confdefs.h. */
36787 /* Override any gcc2 internal prototype to avoid an error. */
36791 /* We use char because int might match the return type of a gcc2
36792 builtin and then its argument prototype would still apply. */
36802 rm -f conftest.
$ac_objext conftest
$ac_exeext
36803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36804 (eval $ac_link) 2>conftest.er1
36806 grep -v '^ *+' conftest.er1
>conftest.err
36808 cat conftest.err
>&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); } &&
36811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36813 (eval $ac_try) 2>&5
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); }; } &&
36817 { ac_try
='test -s conftest$ac_exeext'
36818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36819 (eval $ac_try) 2>&5
36821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36822 (exit $ac_status); }; }; then
36823 ac_cv_lib_dl_dlerror
=yes
36825 echo "$as_me: failed program was:" >&5
36826 sed 's/^/| /' conftest.
$ac_ext >&5
36828 ac_cv_lib_dl_dlerror
=no
36830 rm -f conftest.err conftest.
$ac_objext \
36831 conftest
$ac_exeext conftest.
$ac_ext
36832 LIBS
=$ac_check_lib_save_LIBS
36834 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36835 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36836 if test $ac_cv_lib_dl_dlerror = yes; then
36837 cat >>confdefs.h
<<\_ACEOF
36838 #define HAVE_DLERROR 1
36851 if test "$HAVE_DL_FUNCS" = 0; then
36852 if test "$HAVE_SHL_FUNCS" = 0; then
36853 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36854 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36855 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36856 wxUSE_DYNAMIC_LOADER
=no
36857 wxUSE_DYNLIB_CLASS
=no
36859 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36860 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36867 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36868 cat >>confdefs.h
<<\_ACEOF
36869 #define wxUSE_DYNAMIC_LOADER 1
36873 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36874 cat >>confdefs.h
<<\_ACEOF
36875 #define wxUSE_DYNLIB_CLASS 1
36882 if test "$wxUSE_PLUGINS" = "yes" ; then
36883 if test "$wxUSE_SHARED" = "no" ; then
36884 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36885 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36888 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36889 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36890 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36893 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36894 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36895 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36898 if test "$wxUSE_PLUGINS" = "yes" ; then
36899 cat >>confdefs.h
<<\_ACEOF
36900 #define wxUSE_PLUGINS 1
36907 if test "$wxUSE_STL" = "yes"; then
36908 cat >>confdefs.h
<<\_ACEOF
36909 #define wxUSE_STL 1
36914 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36915 cat >>confdefs.h
<<\_ACEOF
36916 #define wxUSE_APPLE_IEEE 1
36921 if test "$wxUSE_TIMER" = "yes"; then
36922 cat >>confdefs.h
<<\_ACEOF
36923 #define wxUSE_TIMER 1
36928 if test "$USE_UNIX" = "1" ; then
36930 for ac_header
in sys
/soundcard.h
36932 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36934 echo "$as_me:$LINENO: checking for $ac_header" >&5
36935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36942 # Is the header compilable?
36943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36945 cat >conftest.
$ac_ext <<_ACEOF
36948 cat confdefs.h
>>conftest.
$ac_ext
36949 cat >>conftest.
$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36951 $ac_includes_default
36952 #include <$ac_header>
36954 rm -f conftest.
$ac_objext
36955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36956 (eval $ac_compile) 2>conftest.er1
36958 grep -v '^ *+' conftest.er1
>conftest.err
36960 cat conftest.err
>&5
36961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36962 (exit $ac_status); } &&
36963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36965 (eval $ac_try) 2>&5
36967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968 (exit $ac_status); }; } &&
36969 { ac_try
='test -s conftest.$ac_objext'
36970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36971 (eval $ac_try) 2>&5
36973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36974 (exit $ac_status); }; }; then
36975 ac_header_compiler
=yes
36977 echo "$as_me: failed program was:" >&5
36978 sed 's/^/| /' conftest.
$ac_ext >&5
36980 ac_header_compiler
=no
36982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36984 echo "${ECHO_T}$ac_header_compiler" >&6
36986 # Is the header present?
36987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36989 cat >conftest.
$ac_ext <<_ACEOF
36992 cat confdefs.h
>>conftest.
$ac_ext
36993 cat >>conftest.
$ac_ext <<_ACEOF
36994 /* end confdefs.h. */
36995 #include <$ac_header>
36997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37000 grep -v '^ *+' conftest.er1
>conftest.err
37002 cat conftest.err
>&5
37003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37004 (exit $ac_status); } >/dev
/null
; then
37005 if test -s conftest.err
; then
37006 ac_cpp_err
=$ac_c_preproc_warn_flag
37007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37014 if test -z "$ac_cpp_err"; then
37015 ac_header_preproc
=yes
37017 echo "$as_me: failed program was:" >&5
37018 sed 's/^/| /' conftest.
$ac_ext >&5
37020 ac_header_preproc
=no
37022 rm -f conftest.err conftest.
$ac_ext
37023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37024 echo "${ECHO_T}$ac_header_preproc" >&6
37026 # So? What about this header?
37027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37033 ac_header_preproc
=yes
37036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37050 ## ----------------------------------------- ##
37051 ## Report this to wx-dev@lists.wxwidgets.org ##
37052 ## ----------------------------------------- ##
37055 sed "s/^/$as_me: WARNING: /" >&2
37058 echo "$as_me:$LINENO: checking for $ac_header" >&5
37059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37061 echo $ECHO_N "(cached) $ECHO_C" >&6
37063 eval "$as_ac_Header=\$ac_header_preproc"
37065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37070 cat >>confdefs.h
<<_ACEOF
37071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37075 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
37082 if test "$wxUSE_SOUND" = "yes"; then
37083 if test "$USE_UNIX" = "1" ; then
37084 if test "$wxUSE_LIBSDL" != "no"; then
37086 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
37087 if test "${with_sdl_prefix+set}" = set; then
37088 withval
="$with_sdl_prefix"
37089 sdl_prefix
="$withval"
37094 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
37095 if test "${with_sdl_exec_prefix+set}" = set; then
37096 withval
="$with_sdl_exec_prefix"
37097 sdl_exec_prefix
="$withval"
37101 # Check whether --enable-sdltest or --disable-sdltest was given.
37102 if test "${enable_sdltest+set}" = set; then
37103 enableval
="$enable_sdltest"
37109 if test x
$sdl_exec_prefix != x
; then
37110 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
37111 if test x
${SDL_CONFIG+set} != xset
; then
37112 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
37115 if test x
$sdl_prefix != x
; then
37116 sdl_args
="$sdl_args --prefix=$sdl_prefix"
37117 if test x
${SDL_CONFIG+set} != xset
; then
37118 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
37123 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
37124 # Extract the first word of "sdl-config", so it can be a program name with args.
37125 set dummy sdl
-config; ac_word
=$2
37126 echo "$as_me:$LINENO: checking for $ac_word" >&5
37127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37128 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37129 echo $ECHO_N "(cached) $ECHO_C" >&6
37131 case $SDL_CONFIG in
37133 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
37136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37137 for as_dir
in $PATH
37140 test -z "$as_dir" && as_dir
=.
37141 for ac_exec_ext
in '' $ac_executable_extensions; do
37142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37143 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37150 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
37154 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
37156 if test -n "$SDL_CONFIG"; then
37157 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37158 echo "${ECHO_T}$SDL_CONFIG" >&6
37160 echo "$as_me:$LINENO: result: no" >&5
37161 echo "${ECHO_T}no" >&6
37164 min_sdl_version
=1.2.0
37165 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37166 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37168 if test "$SDL_CONFIG" = "no" ; then
37171 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
37172 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
37174 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
37175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37176 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
37177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37178 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
37179 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37180 if test "x$enable_sdltest" = "xyes" ; then
37181 ac_save_CFLAGS
="$CFLAGS"
37182 ac_save_CXXFLAGS
="$CXXFLAGS"
37183 ac_save_LIBS
="$LIBS"
37184 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37185 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37186 LIBS
="$LIBS $SDL_LIBS"
37188 if test "$cross_compiling" = yes; then
37189 echo $ac_n "cross compiling; assumed OK... $ac_c"
37191 cat >conftest.
$ac_ext <<_ACEOF
37194 cat confdefs.h
>>conftest.
$ac_ext
37195 cat >>conftest.
$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37199 #include <stdlib.h>
37200 #include <string.h>
37204 my_strdup (char *str)
37210 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37211 strcpy (new_str, str);
37219 int main (int argc, char *argv[])
37221 int major, minor, micro;
37224 /* This hangs on some systems (?)
37225 system ("touch conf.sdltest");
37227 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37229 /* HP/UX 9 (%@#!) writes to sscanf strings */
37230 tmp_version = my_strdup("$min_sdl_version");
37231 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
37232 printf("%s, bad version string\n", "$min_sdl_version");
37236 if (($sdl_major_version > major) ||
37237 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37238 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37244 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37245 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37246 printf("*** best to upgrade to the required version.\n");
37247 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37248 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37249 printf("*** config.cache before re-running configure\n");
37256 rm -f conftest
$ac_exeext
37257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37258 (eval $ac_link) 2>&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37263 (eval $ac_try) 2>&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); }; }; then
37269 echo "$as_me: program exited with status $ac_status" >&5
37270 echo "$as_me: failed program was:" >&5
37271 sed 's/^/| /' conftest.
$ac_ext >&5
37273 ( exit $ac_status )
37276 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
37278 CFLAGS
="$ac_save_CFLAGS"
37279 CXXFLAGS
="$ac_save_CXXFLAGS"
37280 LIBS
="$ac_save_LIBS"
37283 if test "x$no_sdl" = x
; then
37284 echo "$as_me:$LINENO: result: yes" >&5
37285 echo "${ECHO_T}yes" >&6
37287 EXTRALIBS_SDL
="$SDL_LIBS"
37288 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37289 cat >>confdefs.h
<<\_ACEOF
37290 #define wxUSE_LIBSDL 1
37295 echo "$as_me:$LINENO: result: no" >&5
37296 echo "${ECHO_T}no" >&6
37297 if test "$SDL_CONFIG" = "no" ; then
37298 echo "*** The sdl-config script installed by SDL could not be found"
37299 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37300 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37301 echo "*** full path to sdl-config."
37303 if test -f conf.sdltest
; then
37306 echo "*** Could not run SDL test program, checking why..."
37307 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37308 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37309 LIBS
="$LIBS $SDL_LIBS"
37310 cat >conftest.
$ac_ext <<_ACEOF
37313 cat confdefs.h
>>conftest.
$ac_ext
37314 cat >>conftest.
$ac_ext <<_ACEOF
37315 /* end confdefs.h. */
37320 int main(int argc, char *argv[])
37323 #define main K_and_R_C_main
37333 rm -f conftest.
$ac_objext conftest
$ac_exeext
37334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37335 (eval $ac_link) 2>conftest.er1
37337 grep -v '^ *+' conftest.er1
>conftest.err
37339 cat conftest.err
>&5
37340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37341 (exit $ac_status); } &&
37342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37344 (eval $ac_try) 2>&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); }; } &&
37348 { ac_try
='test -s conftest$ac_exeext'
37349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37350 (eval $ac_try) 2>&5
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); }; }; then
37354 echo "*** The test program compiled, but did not run. This usually means"
37355 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37356 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37357 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37358 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37359 echo "*** is required on your system"
37361 echo "*** If you have an old version installed, it is best to remove it, although"
37362 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37364 echo "$as_me: failed program was:" >&5
37365 sed 's/^/| /' conftest.
$ac_ext >&5
37367 echo "*** The test program failed to compile or link. See the file config.log for the"
37368 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37369 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37370 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37372 rm -f conftest.err conftest.
$ac_objext \
37373 conftest
$ac_exeext conftest.
$ac_ext
37374 CFLAGS
="$ac_save_CFLAGS"
37375 CXXFLAGS
="$ac_save_CXXFLAGS"
37376 LIBS
="$ac_save_LIBS"
37387 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37393 cat >>confdefs.h
<<\_ACEOF
37394 #define wxUSE_SOUND 1
37397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
37400 if test "$WXGTK20" = 1; then
37401 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37402 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37407 if test -z "$PKG_CONFIG"; then
37408 # Extract the first word of "pkg-config", so it can be a program name with args.
37409 set dummy pkg
-config; ac_word
=$2
37410 echo "$as_me:$LINENO: checking for $ac_word" >&5
37411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37412 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37413 echo $ECHO_N "(cached) $ECHO_C" >&6
37415 case $PKG_CONFIG in
37417 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
37420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37421 for as_dir
in $PATH
37424 test -z "$as_dir" && as_dir
=.
37425 for ac_exec_ext
in '' $ac_executable_extensions; do
37426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37427 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37434 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
37438 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
37440 if test -n "$PKG_CONFIG"; then
37441 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37442 echo "${ECHO_T}$PKG_CONFIG" >&6
37444 echo "$as_me:$LINENO: result: no" >&5
37445 echo "${ECHO_T}no" >&6
37450 if test "$PKG_CONFIG" = "no" ; then
37451 echo "*** The pkg-config script could not be found. Make sure it is"
37452 echo "*** in your path, or set the PKG_CONFIG environment variable"
37453 echo "*** to the full path to pkg-config."
37454 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37456 PKG_CONFIG_MIN_VERSION
=0.9.0
37457 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37458 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37459 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37461 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37462 echo "$as_me:$LINENO: result: yes" >&5
37463 echo "${ECHO_T}yes" >&6
37466 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37467 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37468 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37469 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37470 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37472 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37473 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37474 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37475 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37476 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37478 LIBGNOMEPRINTUI_CFLAGS
=""
37479 LIBGNOMEPRINTUI_LIBS
=""
37480 ## If we have a custom action on failure, don't print errors, but
37481 ## do set a variable so people can do so.
37482 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37489 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37490 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37494 if test $succeeded = yes; then
37496 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37497 cat >>confdefs.h
<<\_ACEOF
37498 #define wxUSE_LIBGNOMEPRINT 1
37504 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37505 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37506 wxUSE_LIBGNOMEPRINT
="no"
37516 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37517 cat >>confdefs.h
<<\_ACEOF
37518 #define wxUSE_CMDLINE_PARSER 1
37523 if test "$wxUSE_STOPWATCH" = "yes"; then
37524 cat >>confdefs.h
<<\_ACEOF
37525 #define wxUSE_STOPWATCH 1
37530 if test "$wxUSE_DATETIME" = "yes"; then
37531 cat >>confdefs.h
<<\_ACEOF
37532 #define wxUSE_DATETIME 1
37537 if test "$wxUSE_FILE" = "yes"; then
37538 cat >>confdefs.h
<<\_ACEOF
37539 #define wxUSE_FILE 1
37544 if test "$wxUSE_FFILE" = "yes"; then
37545 cat >>confdefs.h
<<\_ACEOF
37546 #define wxUSE_FFILE 1
37551 if test "$wxUSE_FILESYSTEM" = "yes"; then
37552 cat >>confdefs.h
<<\_ACEOF
37553 #define wxUSE_FILESYSTEM 1
37558 if test "$wxUSE_FS_ZIP" = "yes"; then
37559 cat >>confdefs.h
<<\_ACEOF
37560 #define wxUSE_FS_ZIP 1
37565 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37566 cat >>confdefs.h
<<\_ACEOF
37567 #define wxUSE_ARCHIVE_STREAMS 1
37572 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37573 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37574 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37575 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37576 elif test "$wxUSE_ZLIB" = "no"; then
37577 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37578 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37580 cat >>confdefs.h
<<\_ACEOF
37581 #define wxUSE_ZIPSTREAM 1
37587 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37588 if test "$USE_UNIX" != 1; then
37589 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37590 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37591 wxUSE_ON_FATAL_EXCEPTION
=no
37593 cat >>confdefs.h
<<\_ACEOF
37594 #define wxUSE_ON_FATAL_EXCEPTION 1
37600 if test "$wxUSE_STACKWALKER" = "yes"; then
37601 cat >>confdefs.h
<<\_ACEOF
37602 #define wxUSE_STACKWALKER 1
37607 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37608 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37609 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37610 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37611 wxUSE_DEBUGREPORT
=no
37613 cat >>confdefs.h
<<\_ACEOF
37614 #define wxUSE_DEBUGREPORT 1
37617 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
37623 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37624 cat >>confdefs.h
<<\_ACEOF
37625 #define wxUSE_SNGLINST_CHECKER 1
37630 if test "$wxUSE_BUSYINFO" = "yes"; then
37631 cat >>confdefs.h
<<\_ACEOF
37632 #define wxUSE_BUSYINFO 1
37637 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37638 cat >>confdefs.h
<<\_ACEOF
37639 #define wxUSE_STD_IOSTREAM 1
37644 if test "$wxUSE_STD_STRING" = "yes"; then
37645 cat >>confdefs.h
<<\_ACEOF
37646 #define wxUSE_STD_STRING 1
37651 if test "$wxUSE_STDPATHS" = "yes"; then
37652 cat >>confdefs.h
<<\_ACEOF
37653 #define wxUSE_STDPATHS 1
37658 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37659 cat >>confdefs.h
<<\_ACEOF
37660 #define wxUSE_TEXTBUFFER 1
37665 if test "$wxUSE_TEXTFILE" = "yes"; then
37666 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37667 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37668 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37670 cat >>confdefs.h
<<\_ACEOF
37671 #define wxUSE_TEXTFILE 1
37677 if test "$wxUSE_CONFIG" = "yes" ; then
37678 if test "$wxUSE_TEXTFILE" != "yes"; then
37679 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37680 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37682 cat >>confdefs.h
<<\_ACEOF
37683 #define wxUSE_CONFIG 1
37686 cat >>confdefs.h
<<\_ACEOF
37687 #define wxUSE_CONFIG_NATIVE 1
37690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
37694 if test "$wxUSE_INTL" = "yes" ; then
37695 if test "$wxUSE_FILE" != "yes"; then
37696 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37697 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37699 cat >>confdefs.h
<<\_ACEOF
37700 #define wxUSE_INTL 1
37703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
37704 GUIDIST
="$GUIDIST INTL_DIST"
37708 if test "$wxUSE_LOG" = "yes"; then
37709 cat >>confdefs.h
<<\_ACEOF
37710 #define wxUSE_LOG 1
37714 if test "$wxUSE_LOGGUI" = "yes"; then
37715 cat >>confdefs.h
<<\_ACEOF
37716 #define wxUSE_LOGGUI 1
37721 if test "$wxUSE_LOGWINDOW" = "yes"; then
37722 cat >>confdefs.h
<<\_ACEOF
37723 #define wxUSE_LOGWINDOW 1
37728 if test "$wxUSE_LOGDIALOG" = "yes"; then
37729 cat >>confdefs.h
<<\_ACEOF
37730 #define wxUSE_LOG_DIALOG 1
37735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
37738 if test "$wxUSE_LONGLONG" = "yes"; then
37739 cat >>confdefs.h
<<\_ACEOF
37740 #define wxUSE_LONGLONG 1
37745 if test "$wxUSE_GEOMETRY" = "yes"; then
37746 cat >>confdefs.h
<<\_ACEOF
37747 #define wxUSE_GEOMETRY 1
37752 if test "$wxUSE_STREAMS" = "yes" ; then
37753 cat >>confdefs.h
<<\_ACEOF
37754 #define wxUSE_STREAMS 1
37760 if test "$wxUSE_DATETIME" = "yes"; then
37762 for ac_func
in strptime
37764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37765 echo "$as_me:$LINENO: checking for $ac_func" >&5
37766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37767 if eval "test \"\${$as_ac_var+set}\" = set"; then
37768 echo $ECHO_N "(cached) $ECHO_C" >&6
37770 cat >conftest.
$ac_ext <<_ACEOF
37773 cat confdefs.h
>>conftest.
$ac_ext
37774 cat >>conftest.
$ac_ext <<_ACEOF
37775 /* end confdefs.h. */
37776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37778 #define $ac_func innocuous_$ac_func
37780 /* System header to define __stub macros and hopefully few prototypes,
37781 which can conflict with char $ac_func (); below.
37782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37783 <limits.h> exists even on freestanding compilers. */
37786 # include <limits.h>
37788 # include <assert.h>
37793 /* Override any gcc2 internal prototype to avoid an error. */
37798 /* We use char because int might match the return type of a gcc2
37799 builtin and then its argument prototype would still apply. */
37801 /* The GNU C library defines this for functions which it implements
37802 to always fail with ENOSYS. Some functions are actually named
37803 something starting with __ and the normal name is an alias. */
37804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37807 char (*f) () = $ac_func;
37816 return f != $ac_func;
37821 rm -f conftest.
$ac_objext conftest
$ac_exeext
37822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37823 (eval $ac_link) 2>conftest.er1
37825 grep -v '^ *+' conftest.er1
>conftest.err
37827 cat conftest.err
>&5
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); } &&
37830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832 (eval $ac_try) 2>&5
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); }; } &&
37836 { ac_try
='test -s conftest$ac_exeext'
37837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37838 (eval $ac_try) 2>&5
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); }; }; then
37842 eval "$as_ac_var=yes"
37844 echo "$as_me: failed program was:" >&5
37845 sed 's/^/| /' conftest.
$ac_ext >&5
37847 eval "$as_ac_var=no"
37849 rm -f conftest.err conftest.
$ac_objext \
37850 conftest
$ac_exeext conftest.
$ac_ext
37852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37854 if test `eval echo '${'$as_ac_var'}'` = yes; then
37855 cat >>confdefs.h
<<_ACEOF
37856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37863 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37864 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37865 if test "${wx_cv_var_timezone+set}" = set; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 cat >conftest.
$ac_ext <<_ACEOF
37872 cat confdefs.h
>>conftest.
$ac_ext
37873 cat >>conftest.
$ac_ext <<_ACEOF
37874 /* end confdefs.h. */
37889 rm -f conftest.
$ac_objext
37890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37891 (eval $ac_compile) 2>conftest.er1
37893 grep -v '^ *+' conftest.er1
>conftest.err
37895 cat conftest.err
>&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); } &&
37898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37900 (eval $ac_try) 2>&5
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); }; } &&
37904 { ac_try
='test -s conftest.$ac_objext'
37905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37906 (eval $ac_try) 2>&5
37908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37909 (exit $ac_status); }; }; then
37911 wx_cv_var_timezone
=timezone
37914 echo "$as_me: failed program was:" >&5
37915 sed 's/^/| /' conftest.
$ac_ext >&5
37918 cat >conftest.
$ac_ext <<_ACEOF
37921 cat confdefs.h
>>conftest.
$ac_ext
37922 cat >>conftest.
$ac_ext <<_ACEOF
37923 /* end confdefs.h. */
37938 rm -f conftest.
$ac_objext
37939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37940 (eval $ac_compile) 2>conftest.er1
37942 grep -v '^ *+' conftest.er1
>conftest.err
37944 cat conftest.err
>&5
37945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946 (exit $ac_status); } &&
37947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37949 (eval $ac_try) 2>&5
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); }; } &&
37953 { ac_try
='test -s conftest.$ac_objext'
37954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37955 (eval $ac_try) 2>&5
37957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37958 (exit $ac_status); }; }; then
37960 wx_cv_var_timezone
=_timezone
37963 echo "$as_me: failed program was:" >&5
37964 sed 's/^/| /' conftest.
$ac_ext >&5
37967 cat >conftest.
$ac_ext <<_ACEOF
37970 cat confdefs.h
>>conftest.
$ac_ext
37971 cat >>conftest.
$ac_ext <<_ACEOF
37972 /* end confdefs.h. */
37987 rm -f conftest.
$ac_objext
37988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37989 (eval $ac_compile) 2>conftest.er1
37991 grep -v '^ *+' conftest.er1
>conftest.err
37993 cat conftest.err
>&5
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); } &&
37996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37998 (eval $ac_try) 2>&5
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); }; } &&
38002 { ac_try
='test -s conftest.$ac_objext'
38003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38004 (eval $ac_try) 2>&5
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); }; }; then
38009 wx_cv_var_timezone
=__timezone
38012 echo "$as_me: failed program was:" >&5
38013 sed 's/^/| /' conftest.
$ac_ext >&5
38016 if test "$USE_DOS" = 0 ; then
38017 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
38018 echo "$as_me: WARNING: no timezone variable" >&2;}
38023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38035 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
38036 echo "${ECHO_T}$wx_cv_var_timezone" >&6
38038 if test "x$wx_cv_var_timezone" != x
; then
38039 cat >>confdefs.h
<<_ACEOF
38040 #define WX_TIMEZONE $wx_cv_var_timezone
38046 for ac_func
in localtime
38048 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38049 echo "$as_me:$LINENO: checking for $ac_func" >&5
38050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38051 if eval "test \"\${$as_ac_var+set}\" = set"; then
38052 echo $ECHO_N "(cached) $ECHO_C" >&6
38054 cat >conftest.
$ac_ext <<_ACEOF
38057 cat confdefs.h
>>conftest.
$ac_ext
38058 cat >>conftest.
$ac_ext <<_ACEOF
38059 /* end confdefs.h. */
38060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38062 #define $ac_func innocuous_$ac_func
38064 /* System header to define __stub macros and hopefully few prototypes,
38065 which can conflict with char $ac_func (); below.
38066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38067 <limits.h> exists even on freestanding compilers. */
38070 # include <limits.h>
38072 # include <assert.h>
38077 /* Override any gcc2 internal prototype to avoid an error. */
38082 /* We use char because int might match the return type of a gcc2
38083 builtin and then its argument prototype would still apply. */
38085 /* The GNU C library defines this for functions which it implements
38086 to always fail with ENOSYS. Some functions are actually named
38087 something starting with __ and the normal name is an alias. */
38088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38091 char (*f) () = $ac_func;
38100 return f != $ac_func;
38105 rm -f conftest.
$ac_objext conftest
$ac_exeext
38106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38107 (eval $ac_link) 2>conftest.er1
38109 grep -v '^ *+' conftest.er1
>conftest.err
38111 cat conftest.err
>&5
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); } &&
38114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38116 (eval $ac_try) 2>&5
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); }; } &&
38120 { ac_try
='test -s conftest$ac_exeext'
38121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38122 (eval $ac_try) 2>&5
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); }; }; then
38126 eval "$as_ac_var=yes"
38128 echo "$as_me: failed program was:" >&5
38129 sed 's/^/| /' conftest.
$ac_ext >&5
38131 eval "$as_ac_var=no"
38133 rm -f conftest.err conftest.
$ac_objext \
38134 conftest
$ac_exeext conftest.
$ac_ext
38136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38138 if test `eval echo '${'$as_ac_var'}'` = yes; then
38139 cat >>confdefs.h
<<_ACEOF
38140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38147 if test "$ac_cv_func_localtime" = "yes"; then
38148 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38149 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38150 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38151 echo $ECHO_N "(cached) $ECHO_C" >&6
38154 cat >conftest.
$ac_ext <<_ACEOF
38157 cat confdefs.h
>>conftest.
$ac_ext
38158 cat >>conftest.
$ac_ext <<_ACEOF
38159 /* end confdefs.h. */
38174 rm -f conftest.
$ac_objext
38175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38176 (eval $ac_compile) 2>conftest.er1
38178 grep -v '^ *+' conftest.er1
>conftest.err
38180 cat conftest.err
>&5
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); } &&
38183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38185 (eval $ac_try) 2>&5
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); }; } &&
38189 { ac_try
='test -s conftest.$ac_objext'
38190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38191 (eval $ac_try) 2>&5
38193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38194 (exit $ac_status); }; }; then
38196 wx_cv_struct_tm_has_gmtoff
=yes
38199 echo "$as_me: failed program was:" >&5
38200 sed 's/^/| /' conftest.
$ac_ext >&5
38202 wx_cv_struct_tm_has_gmtoff
=no
38205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38208 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38209 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38212 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38213 cat >>confdefs.h
<<\_ACEOF
38214 #define WX_GMTOFF_IN_TM 1
38221 for ac_func
in gettimeofday ftime
38223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38224 echo "$as_me:$LINENO: checking for $ac_func" >&5
38225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38226 if eval "test \"\${$as_ac_var+set}\" = set"; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38229 cat >conftest.
$ac_ext <<_ACEOF
38232 cat confdefs.h
>>conftest.
$ac_ext
38233 cat >>conftest.
$ac_ext <<_ACEOF
38234 /* end confdefs.h. */
38235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38237 #define $ac_func innocuous_$ac_func
38239 /* System header to define __stub macros and hopefully few prototypes,
38240 which can conflict with char $ac_func (); below.
38241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38242 <limits.h> exists even on freestanding compilers. */
38245 # include <limits.h>
38247 # include <assert.h>
38252 /* Override any gcc2 internal prototype to avoid an error. */
38257 /* We use char because int might match the return type of a gcc2
38258 builtin and then its argument prototype would still apply. */
38260 /* The GNU C library defines this for functions which it implements
38261 to always fail with ENOSYS. Some functions are actually named
38262 something starting with __ and the normal name is an alias. */
38263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38266 char (*f) () = $ac_func;
38275 return f != $ac_func;
38280 rm -f conftest.
$ac_objext conftest
$ac_exeext
38281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38282 (eval $ac_link) 2>conftest.er1
38284 grep -v '^ *+' conftest.er1
>conftest.err
38286 cat conftest.err
>&5
38287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38288 (exit $ac_status); } &&
38289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38291 (eval $ac_try) 2>&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); }; } &&
38295 { ac_try
='test -s conftest$ac_exeext'
38296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38297 (eval $ac_try) 2>&5
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); }; }; then
38301 eval "$as_ac_var=yes"
38303 echo "$as_me: failed program was:" >&5
38304 sed 's/^/| /' conftest.
$ac_ext >&5
38306 eval "$as_ac_var=no"
38308 rm -f conftest.err conftest.
$ac_objext \
38309 conftest
$ac_exeext conftest.
$ac_ext
38311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38313 if test `eval echo '${'$as_ac_var'}'` = yes; then
38314 cat >>confdefs.h
<<_ACEOF
38315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38322 if test "$ac_cv_func_gettimeofday" = "yes"; then
38323 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38324 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38325 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38326 echo $ECHO_N "(cached) $ECHO_C" >&6
38332 ac_cpp
='$CXXCPP $CPPFLAGS'
38333 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38335 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38338 cat >conftest.
$ac_ext <<_ACEOF
38341 cat confdefs.h
>>conftest.
$ac_ext
38342 cat >>conftest.
$ac_ext <<_ACEOF
38343 /* end confdefs.h. */
38345 #include <sys/time.h>
38346 #include <unistd.h>
38353 gettimeofday(&tv, NULL);
38359 rm -f conftest.
$ac_objext
38360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38361 (eval $ac_compile) 2>conftest.er1
38363 grep -v '^ *+' conftest.er1
>conftest.err
38365 cat conftest.err
>&5
38366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38367 (exit $ac_status); } &&
38368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38370 (eval $ac_try) 2>&5
38372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38373 (exit $ac_status); }; } &&
38374 { ac_try
='test -s conftest.$ac_objext'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; }; then
38380 wx_cv_func_gettimeofday_has_2_args
=yes
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.
$ac_ext >&5
38385 cat >conftest.
$ac_ext <<_ACEOF
38388 cat confdefs.h
>>conftest.
$ac_ext
38389 cat >>conftest.
$ac_ext <<_ACEOF
38390 /* end confdefs.h. */
38392 #include <sys/time.h>
38393 #include <unistd.h>
38406 rm -f conftest.
$ac_objext
38407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38408 (eval $ac_compile) 2>conftest.er1
38410 grep -v '^ *+' conftest.er1
>conftest.err
38412 cat conftest.err
>&5
38413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38414 (exit $ac_status); } &&
38415 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38417 (eval $ac_try) 2>&5
38419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38420 (exit $ac_status); }; } &&
38421 { ac_try
='test -s conftest.$ac_objext'
38422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38423 (eval $ac_try) 2>&5
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); }; }; then
38427 wx_cv_func_gettimeofday_has_2_args
=no
38429 echo "$as_me: failed program was:" >&5
38430 sed 's/^/| /' conftest.
$ac_ext >&5
38433 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38434 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38435 wx_cv_func_gettimeofday_has_2_args
=unknown
38439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38444 ac_cpp
='$CPP $CPPFLAGS'
38445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38451 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38452 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38454 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38455 cat >>confdefs.h
<<\_ACEOF
38456 #define WX_GETTIMEOFDAY_NO_TZ 1
38462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
38466 if test "$wxUSE_SOCKETS" = "yes"; then
38467 if test "$wxUSE_MGL" = "1"; then
38468 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38469 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38474 if test "$wxUSE_SOCKETS" = "yes"; then
38475 if test "$TOOLKIT" != "MSW"; then
38476 echo "$as_me:$LINENO: checking for socket" >&5
38477 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38478 if test "${ac_cv_func_socket+set}" = set; then
38479 echo $ECHO_N "(cached) $ECHO_C" >&6
38481 cat >conftest.
$ac_ext <<_ACEOF
38484 cat confdefs.h
>>conftest.
$ac_ext
38485 cat >>conftest.
$ac_ext <<_ACEOF
38486 /* end confdefs.h. */
38487 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38489 #define socket innocuous_socket
38491 /* System header to define __stub macros and hopefully few prototypes,
38492 which can conflict with char socket (); below.
38493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38494 <limits.h> exists even on freestanding compilers. */
38497 # include <limits.h>
38499 # include <assert.h>
38504 /* Override any gcc2 internal prototype to avoid an error. */
38509 /* We use char because int might match the return type of a gcc2
38510 builtin and then its argument prototype would still apply. */
38512 /* The GNU C library defines this for functions which it implements
38513 to always fail with ENOSYS. Some functions are actually named
38514 something starting with __ and the normal name is an alias. */
38515 #if defined (__stub_socket) || defined (__stub___socket)
38518 char (*f) () = socket;
38527 return f != socket;
38532 rm -f conftest.
$ac_objext conftest
$ac_exeext
38533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38534 (eval $ac_link) 2>conftest.er1
38536 grep -v '^ *+' conftest.er1
>conftest.err
38538 cat conftest.err
>&5
38539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540 (exit $ac_status); } &&
38541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38543 (eval $ac_try) 2>&5
38545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38546 (exit $ac_status); }; } &&
38547 { ac_try
='test -s conftest$ac_exeext'
38548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38549 (eval $ac_try) 2>&5
38551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38552 (exit $ac_status); }; }; then
38553 ac_cv_func_socket
=yes
38555 echo "$as_me: failed program was:" >&5
38556 sed 's/^/| /' conftest.
$ac_ext >&5
38558 ac_cv_func_socket
=no
38560 rm -f conftest.err conftest.
$ac_objext \
38561 conftest
$ac_exeext conftest.
$ac_ext
38563 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38564 echo "${ECHO_T}$ac_cv_func_socket" >&6
38565 if test $ac_cv_func_socket = yes; then
38569 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38570 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38571 if test "${ac_cv_lib_socket_socket+set}" = set; then
38572 echo $ECHO_N "(cached) $ECHO_C" >&6
38574 ac_check_lib_save_LIBS
=$LIBS
38575 LIBS
="-lsocket $LIBS"
38576 cat >conftest.
$ac_ext <<_ACEOF
38579 cat confdefs.h
>>conftest.
$ac_ext
38580 cat >>conftest.
$ac_ext <<_ACEOF
38581 /* end confdefs.h. */
38583 /* Override any gcc2 internal prototype to avoid an error. */
38587 /* We use char because int might match the return type of a gcc2
38588 builtin and then its argument prototype would still apply. */
38598 rm -f conftest.
$ac_objext conftest
$ac_exeext
38599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38600 (eval $ac_link) 2>conftest.er1
38602 grep -v '^ *+' conftest.er1
>conftest.err
38604 cat conftest.err
>&5
38605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38606 (exit $ac_status); } &&
38607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38609 (eval $ac_try) 2>&5
38611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38612 (exit $ac_status); }; } &&
38613 { ac_try
='test -s conftest$ac_exeext'
38614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38615 (eval $ac_try) 2>&5
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); }; }; then
38619 ac_cv_lib_socket_socket
=yes
38621 echo "$as_me: failed program was:" >&5
38622 sed 's/^/| /' conftest.
$ac_ext >&5
38624 ac_cv_lib_socket_socket
=no
38626 rm -f conftest.err conftest.
$ac_objext \
38627 conftest
$ac_exeext conftest.
$ac_ext
38628 LIBS
=$ac_check_lib_save_LIBS
38630 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38631 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38632 if test $ac_cv_lib_socket_socket = yes; then
38633 if test "$INET_LINK" != " -lsocket"; then
38634 INET_LINK
="$INET_LINK -lsocket"
38638 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38639 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38652 if test "$wxUSE_SOCKETS" = "yes" ; then
38653 if test "$TOOLKIT" != "MSW"; then
38655 ac_cpp
='$CXXCPP $CPPFLAGS'
38656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38660 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38661 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38662 if test "${wx_cv_type_getsockname3+set}" = set; then
38663 echo $ECHO_N "(cached) $ECHO_C" >&6
38666 cat >conftest.
$ac_ext <<_ACEOF
38669 cat confdefs.h
>>conftest.
$ac_ext
38670 cat >>conftest.
$ac_ext <<_ACEOF
38671 /* end confdefs.h. */
38673 #include <sys/types.h>
38674 #include <sys/socket.h>
38681 getsockname(0, 0, &len);
38687 rm -f conftest.
$ac_objext
38688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38689 (eval $ac_compile) 2>conftest.er1
38691 grep -v '^ *+' conftest.er1
>conftest.err
38693 cat conftest.err
>&5
38694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695 (exit $ac_status); } &&
38696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38698 (eval $ac_try) 2>&5
38700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38701 (exit $ac_status); }; } &&
38702 { ac_try
='test -s conftest.$ac_objext'
38703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38704 (eval $ac_try) 2>&5
38706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38707 (exit $ac_status); }; }; then
38708 wx_cv_type_getsockname3
=socklen_t
38710 echo "$as_me: failed program was:" >&5
38711 sed 's/^/| /' conftest.
$ac_ext >&5
38714 CFLAGS_OLD
="$CFLAGS"
38715 if test "$GCC" = yes ; then
38716 CFLAGS
="$CFLAGS -Werror"
38719 cat >conftest.
$ac_ext <<_ACEOF
38722 cat confdefs.h
>>conftest.
$ac_ext
38723 cat >>conftest.
$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38726 #include <sys/types.h>
38727 #include <sys/socket.h>
38734 getsockname(0, 0, &len);
38740 rm -f conftest.
$ac_objext
38741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38742 (eval $ac_compile) 2>conftest.er1
38744 grep -v '^ *+' conftest.er1
>conftest.err
38746 cat conftest.err
>&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); } &&
38749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38751 (eval $ac_try) 2>&5
38753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38754 (exit $ac_status); }; } &&
38755 { ac_try
='test -s conftest.$ac_objext'
38756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38757 (eval $ac_try) 2>&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); }; }; then
38761 wx_cv_type_getsockname3
=size_t
38763 echo "$as_me: failed program was:" >&5
38764 sed 's/^/| /' conftest.
$ac_ext >&5
38766 cat >conftest.
$ac_ext <<_ACEOF
38769 cat confdefs.h
>>conftest.
$ac_ext
38770 cat >>conftest.
$ac_ext <<_ACEOF
38771 /* end confdefs.h. */
38773 #include <sys/types.h>
38774 #include <sys/socket.h>
38781 getsockname(0, 0, &len);
38787 rm -f conftest.
$ac_objext
38788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38789 (eval $ac_compile) 2>conftest.er1
38791 grep -v '^ *+' conftest.er1
>conftest.err
38793 cat conftest.err
>&5
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); } &&
38796 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; } &&
38802 { ac_try
='test -s conftest.$ac_objext'
38803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38804 (eval $ac_try) 2>&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); }; }; then
38808 wx_cv_type_getsockname3
=int
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.
$ac_ext >&5
38813 wx_cv_type_getsockname3
=unknown
38816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38821 CFLAGS
="$CFLAGS_OLD"
38825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38828 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38829 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38831 if test "$wx_cv_type_getsockname3" = "unknown"; then
38833 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38834 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38836 cat >>confdefs.h
<<_ACEOF
38837 #define SOCKLEN_T $wx_cv_type_getsockname3
38841 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38842 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38843 if test "${wx_cv_type_getsockopt5+set}" = set; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38847 cat >conftest.
$ac_ext <<_ACEOF
38850 cat confdefs.h
>>conftest.
$ac_ext
38851 cat >>conftest.
$ac_ext <<_ACEOF
38852 /* end confdefs.h. */
38854 #include <sys/types.h>
38855 #include <sys/socket.h>
38862 getsockopt(0, 0, 0, 0, &len);
38868 rm -f conftest.
$ac_objext
38869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38870 (eval $ac_compile) 2>conftest.er1
38872 grep -v '^ *+' conftest.er1
>conftest.err
38874 cat conftest.err
>&5
38875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38876 (exit $ac_status); } &&
38877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38879 (eval $ac_try) 2>&5
38881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38882 (exit $ac_status); }; } &&
38883 { ac_try
='test -s conftest.$ac_objext'
38884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38885 (eval $ac_try) 2>&5
38887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38888 (exit $ac_status); }; }; then
38889 wx_cv_type_getsockopt5
=socklen_t
38891 echo "$as_me: failed program was:" >&5
38892 sed 's/^/| /' conftest.
$ac_ext >&5
38895 CFLAGS_OLD
="$CFLAGS"
38896 if test "$GCC" = yes ; then
38897 CFLAGS
="$CFLAGS -Werror"
38900 cat >conftest.
$ac_ext <<_ACEOF
38903 cat confdefs.h
>>conftest.
$ac_ext
38904 cat >>conftest.
$ac_ext <<_ACEOF
38905 /* end confdefs.h. */
38907 #include <sys/types.h>
38908 #include <sys/socket.h>
38915 getsockopt(0, 0, 0, 0, &len);
38921 rm -f conftest.
$ac_objext
38922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38923 (eval $ac_compile) 2>conftest.er1
38925 grep -v '^ *+' conftest.er1
>conftest.err
38927 cat conftest.err
>&5
38928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38929 (exit $ac_status); } &&
38930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38932 (eval $ac_try) 2>&5
38934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38935 (exit $ac_status); }; } &&
38936 { ac_try
='test -s conftest.$ac_objext'
38937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38938 (eval $ac_try) 2>&5
38940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941 (exit $ac_status); }; }; then
38942 wx_cv_type_getsockopt5
=size_t
38944 echo "$as_me: failed program was:" >&5
38945 sed 's/^/| /' conftest.
$ac_ext >&5
38947 cat >conftest.
$ac_ext <<_ACEOF
38950 cat confdefs.h
>>conftest.
$ac_ext
38951 cat >>conftest.
$ac_ext <<_ACEOF
38952 /* end confdefs.h. */
38954 #include <sys/types.h>
38955 #include <sys/socket.h>
38962 getsockopt(0, 0, 0, 0, &len);
38968 rm -f conftest.
$ac_objext
38969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38970 (eval $ac_compile) 2>conftest.er1
38972 grep -v '^ *+' conftest.er1
>conftest.err
38974 cat conftest.err
>&5
38975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38976 (exit $ac_status); } &&
38977 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38979 (eval $ac_try) 2>&5
38981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38982 (exit $ac_status); }; } &&
38983 { ac_try
='test -s conftest.$ac_objext'
38984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38985 (eval $ac_try) 2>&5
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); }; }; then
38989 wx_cv_type_getsockopt5
=int
38991 echo "$as_me: failed program was:" >&5
38992 sed 's/^/| /' conftest.
$ac_ext >&5
38994 wx_cv_type_getsockopt5
=unknown
38997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39002 CFLAGS
="$CFLAGS_OLD"
39006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39009 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
39010 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
39012 if test "$wx_cv_type_getsockopt5" = "unknown"; then
39014 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
39015 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
39017 cat >>confdefs.h
<<_ACEOF
39018 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
39023 ac_cpp
='$CPP $CPPFLAGS'
39024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39031 if test "$wxUSE_SOCKETS" = "yes" ; then
39032 cat >>confdefs.h
<<\_ACEOF
39033 #define wxUSE_SOCKETS 1
39036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
39039 if test "$wxUSE_PROTOCOL" = "yes"; then
39040 if test "$wxUSE_SOCKETS" != "yes"; then
39041 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
39042 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
39047 if test "$wxUSE_PROTOCOL" = "yes"; then
39048 cat >>confdefs.h
<<\_ACEOF
39049 #define wxUSE_PROTOCOL 1
39053 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
39054 cat >>confdefs.h
<<\_ACEOF
39055 #define wxUSE_PROTOCOL_HTTP 1
39059 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
39060 cat >>confdefs.h
<<\_ACEOF
39061 #define wxUSE_PROTOCOL_FTP 1
39065 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
39066 cat >>confdefs.h
<<\_ACEOF
39067 #define wxUSE_PROTOCOL_FILE 1
39072 if test "$wxUSE_FS_INET" = "yes"; then
39073 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
39074 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
39079 if test "$wxUSE_URL" = "yes"; then
39080 if test "$wxUSE_PROTOCOL" != "yes"; then
39081 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39082 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39085 if test "$wxUSE_URL" = "yes"; then
39086 cat >>confdefs.h
<<\_ACEOF
39087 #define wxUSE_URL 1
39093 if test "$wxUSE_FS_INET" = "yes"; then
39094 cat >>confdefs.h
<<\_ACEOF
39095 #define wxUSE_FS_INET 1
39101 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39104 if test "$TOOLKIT" = "MSW"; then
39107 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39108 if test "$USE_DARWIN" = 1; then
39109 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39110 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39112 ac_cpp
='$CXXCPP $CPPFLAGS'
39113 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39114 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39115 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39117 cat >conftest.
$ac_ext <<_ACEOF
39120 cat confdefs.h
>>conftest.
$ac_ext
39121 cat >>conftest.
$ac_ext <<_ACEOF
39122 /* end confdefs.h. */
39123 #include <IOKit/hid/IOHIDLib.h>
39127 IOHIDQueueInterface *qi = NULL;
39128 IOHIDCallbackFunction cb = NULL;
39129 qi->setEventCallout(NULL, cb, NULL, NULL);
39134 rm -f conftest.
$ac_objext
39135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39136 (eval $ac_compile) 2>conftest.er1
39138 grep -v '^ *+' conftest.er1
>conftest.err
39140 cat conftest.err
>&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); } &&
39143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39145 (eval $ac_try) 2>&5
39147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148 (exit $ac_status); }; } &&
39149 { ac_try
='test -s conftest.$ac_objext'
39150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39151 (eval $ac_try) 2>&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); }; }; then
39158 echo "$as_me: failed program was:" >&5
39159 sed 's/^/| /' conftest.
$ac_ext >&5
39162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39164 ac_cpp
='$CPP $CPPFLAGS'
39165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39169 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39170 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39175 for ac_header
in linux
/joystick.h
39177 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39179 echo "$as_me:$LINENO: checking for $ac_header" >&5
39180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39182 echo $ECHO_N "(cached) $ECHO_C" >&6
39184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39187 # Is the header compilable?
39188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39190 cat >conftest.
$ac_ext <<_ACEOF
39193 cat confdefs.h
>>conftest.
$ac_ext
39194 cat >>conftest.
$ac_ext <<_ACEOF
39195 /* end confdefs.h. */
39196 $ac_includes_default
39197 #include <$ac_header>
39199 rm -f conftest.
$ac_objext
39200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39201 (eval $ac_compile) 2>conftest.er1
39203 grep -v '^ *+' conftest.er1
>conftest.err
39205 cat conftest.err
>&5
39206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39207 (exit $ac_status); } &&
39208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39210 (eval $ac_try) 2>&5
39212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39213 (exit $ac_status); }; } &&
39214 { ac_try
='test -s conftest.$ac_objext'
39215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39216 (eval $ac_try) 2>&5
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; }; then
39220 ac_header_compiler
=yes
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.
$ac_ext >&5
39225 ac_header_compiler
=no
39227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39229 echo "${ECHO_T}$ac_header_compiler" >&6
39231 # Is the header present?
39232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39234 cat >conftest.
$ac_ext <<_ACEOF
39237 cat confdefs.h
>>conftest.
$ac_ext
39238 cat >>conftest.
$ac_ext <<_ACEOF
39239 /* end confdefs.h. */
39240 #include <$ac_header>
39242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39243 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39245 grep -v '^ *+' conftest.er1
>conftest.err
39247 cat conftest.err
>&5
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); } >/dev
/null
; then
39250 if test -s conftest.err
; then
39251 ac_cpp_err
=$ac_c_preproc_warn_flag
39252 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39259 if test -z "$ac_cpp_err"; then
39260 ac_header_preproc
=yes
39262 echo "$as_me: failed program was:" >&5
39263 sed 's/^/| /' conftest.
$ac_ext >&5
39265 ac_header_preproc
=no
39267 rm -f conftest.err conftest.
$ac_ext
39268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39269 echo "${ECHO_T}$ac_header_preproc" >&6
39271 # So? What about this header?
39272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39278 ac_header_preproc
=yes
39281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39295 ## ----------------------------------------- ##
39296 ## Report this to wx-dev@lists.wxwidgets.org ##
39297 ## ----------------------------------------- ##
39300 sed "s/^/$as_me: WARNING: /" >&2
39303 echo "$as_me:$LINENO: checking for $ac_header" >&5
39304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39306 echo $ECHO_N "(cached) $ECHO_C" >&6
39308 eval "$as_ac_Header=\$ac_header_preproc"
39310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39315 cat >>confdefs.h
<<_ACEOF
39316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39325 if test "$wxUSE_JOYSTICK" = "yes"; then
39326 cat >>confdefs.h
<<\_ACEOF
39327 #define wxUSE_JOYSTICK 1
39330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
39332 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39333 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39339 if test "$wxUSE_FONTMAP" = "yes" ; then
39340 cat >>confdefs.h
<<\_ACEOF
39341 #define wxUSE_FONTMAP 1
39346 if test "$wxUSE_UNICODE" = "yes" ; then
39347 cat >>confdefs.h
<<\_ACEOF
39348 #define wxUSE_UNICODE 1
39352 if test "$USE_WIN32" != 1; then
39353 wxUSE_UNICODE_MSLU
=no
39356 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39357 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39358 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39359 if test "${ac_cv_lib_unicows_main+set}" = set; then
39360 echo $ECHO_N "(cached) $ECHO_C" >&6
39362 ac_check_lib_save_LIBS
=$LIBS
39363 LIBS
="-lunicows $LIBS"
39364 cat >conftest.
$ac_ext <<_ACEOF
39367 cat confdefs.h
>>conftest.
$ac_ext
39368 cat >>conftest.
$ac_ext <<_ACEOF
39369 /* end confdefs.h. */
39380 rm -f conftest.
$ac_objext conftest
$ac_exeext
39381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39382 (eval $ac_link) 2>conftest.er1
39384 grep -v '^ *+' conftest.er1
>conftest.err
39386 cat conftest.err
>&5
39387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39388 (exit $ac_status); } &&
39389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39391 (eval $ac_try) 2>&5
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); }; } &&
39395 { ac_try
='test -s conftest$ac_exeext'
39396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39397 (eval $ac_try) 2>&5
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); }; }; then
39401 ac_cv_lib_unicows_main
=yes
39403 echo "$as_me: failed program was:" >&5
39404 sed 's/^/| /' conftest.
$ac_ext >&5
39406 ac_cv_lib_unicows_main
=no
39408 rm -f conftest.err conftest.
$ac_objext \
39409 conftest
$ac_exeext conftest.
$ac_ext
39410 LIBS
=$ac_check_lib_save_LIBS
39412 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39413 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39414 if test $ac_cv_lib_unicows_main = yes; then
39416 cat >>confdefs.h
<<\_ACEOF
39417 #define wxUSE_UNICODE_MSLU 1
39423 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39424 Applications will only run on Windows NT/2000/XP!" >&5
39425 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39426 Applications will only run on Windows NT/2000/XP!" >&2;}
39427 wxUSE_UNICODE_MSLU
=no
39434 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39435 cat >>confdefs.h
<<\_ACEOF
39436 #define wxUSE_EXPERIMENTAL_PRINTF 1
39442 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39443 cat >>confdefs.h
<<\_ACEOF
39444 #define wxUSE_POSTSCRIPT 1
39449 cat >>confdefs.h
<<\_ACEOF
39450 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39454 cat >>confdefs.h
<<\_ACEOF
39455 #define wxUSE_NORMALIZED_PS_FONTS 1
39460 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39461 cat >>confdefs.h
<<\_ACEOF
39462 #define wxUSE_CONSTRAINTS 1
39465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
39468 if test "$wxUSE_MDI" = "yes"; then
39469 cat >>confdefs.h
<<\_ACEOF
39470 #define wxUSE_MDI 1
39474 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39475 cat >>confdefs.h
<<\_ACEOF
39476 #define wxUSE_MDI_ARCHITECTURE 1
39479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
39483 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39484 cat >>confdefs.h
<<\_ACEOF
39485 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
39489 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
39494 if test "$wxUSE_HELP" = "yes"; then
39495 cat >>confdefs.h
<<\_ACEOF
39496 #define wxUSE_HELP 1
39499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
39501 if test "$wxUSE_MSW" = 1; then
39502 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39503 cat >>confdefs.h
<<\_ACEOF
39504 #define wxUSE_MS_HTML_HELP 1
39510 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39511 if test "$wxUSE_HTML" = "yes"; then
39512 cat >>confdefs.h
<<\_ACEOF
39513 #define wxUSE_WXHTML_HELP 1
39517 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39518 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39519 wxUSE_WXHTML_HELP
=no
39524 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39525 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39526 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39527 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39529 cat >>confdefs.h
<<\_ACEOF
39530 #define wxUSE_PRINTING_ARCHITECTURE 1
39534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
39537 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39538 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39539 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39540 { (exit 1); exit 1; }; }
39544 if test "$wxUSE_METAFILE" = "yes"; then
39545 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
39546 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
39547 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
39553 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
39554 -o "$wxUSE_CLIPBOARD" = "yes" \
39555 -o "$wxUSE_OLE" = "yes" \
39556 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
39558 for ac_header
in ole2.h
39560 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39562 echo "$as_me:$LINENO: checking for $ac_header" >&5
39563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39570 # Is the header compilable?
39571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39573 cat >conftest.
$ac_ext <<_ACEOF
39576 cat confdefs.h
>>conftest.
$ac_ext
39577 cat >>conftest.
$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579 $ac_includes_default
39580 #include <$ac_header>
39582 rm -f conftest.
$ac_objext
39583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39584 (eval $ac_compile) 2>conftest.er1
39586 grep -v '^ *+' conftest.er1
>conftest.err
39588 cat conftest.err
>&5
39589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590 (exit $ac_status); } &&
39591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39593 (eval $ac_try) 2>&5
39595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39596 (exit $ac_status); }; } &&
39597 { ac_try
='test -s conftest.$ac_objext'
39598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39599 (eval $ac_try) 2>&5
39601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602 (exit $ac_status); }; }; then
39603 ac_header_compiler
=yes
39605 echo "$as_me: failed program was:" >&5
39606 sed 's/^/| /' conftest.
$ac_ext >&5
39608 ac_header_compiler
=no
39610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39612 echo "${ECHO_T}$ac_header_compiler" >&6
39614 # Is the header present?
39615 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39617 cat >conftest.
$ac_ext <<_ACEOF
39620 cat confdefs.h
>>conftest.
$ac_ext
39621 cat >>conftest.
$ac_ext <<_ACEOF
39622 /* end confdefs.h. */
39623 #include <$ac_header>
39625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39628 grep -v '^ *+' conftest.er1
>conftest.err
39630 cat conftest.err
>&5
39631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39632 (exit $ac_status); } >/dev
/null
; then
39633 if test -s conftest.err
; then
39634 ac_cpp_err
=$ac_c_preproc_warn_flag
39635 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39642 if test -z "$ac_cpp_err"; then
39643 ac_header_preproc
=yes
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.
$ac_ext >&5
39648 ac_header_preproc
=no
39650 rm -f conftest.err conftest.
$ac_ext
39651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39652 echo "${ECHO_T}$ac_header_preproc" >&6
39654 # So? What about this header?
39655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39661 ac_header_preproc
=yes
39664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39678 ## ----------------------------------------- ##
39679 ## Report this to wx-dev@lists.wxwidgets.org ##
39680 ## ----------------------------------------- ##
39683 sed "s/^/$as_me: WARNING: /" >&2
39686 echo "$as_me:$LINENO: checking for $ac_header" >&5
39687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39689 echo $ECHO_N "(cached) $ECHO_C" >&6
39691 eval "$as_ac_Header=\$ac_header_preproc"
39693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39698 cat >>confdefs.h
<<_ACEOF
39699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39707 if test "$ac_cv_header_ole2_h" = "yes" ; then
39708 if test "$GCC" = yes ; then
39712 ac_cpp
='$CXXCPP $CPPFLAGS'
39713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39718 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39719 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39720 cat >conftest.
$ac_ext <<_ACEOF
39723 cat confdefs.h
>>conftest.
$ac_ext
39724 cat >>conftest.
$ac_ext <<_ACEOF
39725 /* end confdefs.h. */
39726 #include <windows.h>
39736 rm -f conftest.
$ac_objext
39737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39738 (eval $ac_compile) 2>conftest.er1
39740 grep -v '^ *+' conftest.er1
>conftest.err
39742 cat conftest.err
>&5
39743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39744 (exit $ac_status); } &&
39745 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39747 (eval $ac_try) 2>&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); }; } &&
39751 { ac_try
='test -s conftest.$ac_objext'
39752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39753 (eval $ac_try) 2>&5
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); }; }; then
39757 echo "$as_me:$LINENO: result: no" >&5
39758 echo "${ECHO_T}no" >&6
39760 echo "$as_me: failed program was:" >&5
39761 sed 's/^/| /' conftest.
$ac_ext >&5
39763 echo "$as_me:$LINENO: result: yes" >&5
39764 echo "${ECHO_T}yes" >&6
39765 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39769 ac_cpp
='$CPP $CPPFLAGS'
39770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39774 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39775 if test "$wxUSE_OLE" = "yes" ; then
39776 cat >>confdefs.h
<<\_ACEOF
39777 #define wxUSE_OLE 1
39780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
39784 if test "$wxUSE_DATAOBJ" = "yes" ; then
39785 cat >>confdefs.h
<<\_ACEOF
39786 #define wxUSE_DATAOBJ 1
39791 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39792 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39795 wxUSE_DRAG_AND_DROP
=no
39800 if test "$wxUSE_METAFILE" = "yes"; then
39801 cat >>confdefs.h
<<\_ACEOF
39802 #define wxUSE_METAFILE 1
39806 cat >>confdefs.h
<<\_ACEOF
39807 #define wxUSE_ENH_METAFILE 1
39813 if test "$wxUSE_IPC" = "yes"; then
39814 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39815 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39816 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39820 if test "$wxUSE_IPC" = "yes"; then
39821 cat >>confdefs.h
<<\_ACEOF
39822 #define wxUSE_IPC 1
39825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
39829 if test "$wxUSE_DATAOBJ" = "yes"; then
39830 if test "$wxUSE_MGL" = 1; then
39831 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
39832 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
39835 cat >>confdefs.h
<<\_ACEOF
39836 #define wxUSE_DATAOBJ 1
39841 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
39842 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
39844 wxUSE_DRAG_AND_DROP
=no
39847 if test "$wxUSE_CLIPBOARD" = "yes"; then
39848 if test "$wxUSE_MGL" = 1; then
39849 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39850 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39854 if test "$wxUSE_CLIPBOARD" = "yes"; then
39855 cat >>confdefs.h
<<\_ACEOF
39856 #define wxUSE_CLIPBOARD 1
39862 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39863 if test "$wxUSE_GTK" = 1; then
39864 if test "$WXGTK12" != 1; then
39865 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39866 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39867 wxUSE_DRAG_AND_DROP
=no
39871 if test "$wxUSE_MOTIF" = 1; then
39872 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39873 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39874 wxUSE_DRAG_AND_DROP
=no
39877 if test "$wxUSE_X11" = 1; then
39878 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39879 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39880 wxUSE_DRAG_AND_DROP
=no
39883 if test "$wxUSE_MGL" = 1; then
39884 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39885 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39886 wxUSE_DRAG_AND_DROP
=no
39889 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39890 cat >>confdefs.h
<<\_ACEOF
39891 #define wxUSE_DRAG_AND_DROP 1
39898 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
39902 if test "$wxUSE_SPLINES" = "yes" ; then
39903 cat >>confdefs.h
<<\_ACEOF
39904 #define wxUSE_SPLINES 1
39909 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39910 cat >>confdefs.h
<<\_ACEOF
39911 #define wxUSE_MOUSEWHEEL 1
39918 if test "$wxUSE_CONTROLS" = "yes"; then
39922 if test "$wxUSE_ACCEL" = "yes"; then
39923 cat >>confdefs.h
<<\_ACEOF
39924 #define wxUSE_ACCEL 1
39930 if test "$wxUSE_BUTTON" = "yes"; then
39931 cat >>confdefs.h
<<\_ACEOF
39932 #define wxUSE_BUTTON 1
39938 if test "$wxUSE_BMPBUTTON" = "yes"; then
39939 cat >>confdefs.h
<<\_ACEOF
39940 #define wxUSE_BMPBUTTON 1
39946 if test "$wxUSE_CALCTRL" = "yes"; then
39947 cat >>confdefs.h
<<\_ACEOF
39948 #define wxUSE_CALENDARCTRL 1
39952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
39955 if test "$wxUSE_CARET" = "yes"; then
39956 cat >>confdefs.h
<<\_ACEOF
39957 #define wxUSE_CARET 1
39961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39964 if test "$wxUSE_COMBOBOX" = "yes"; then
39965 cat >>confdefs.h
<<\_ACEOF
39966 #define wxUSE_COMBOBOX 1
39972 if test "$wxUSE_CHOICE" = "yes"; then
39973 cat >>confdefs.h
<<\_ACEOF
39974 #define wxUSE_CHOICE 1
39980 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39981 cat >>confdefs.h
<<\_ACEOF
39982 #define wxUSE_CHOICEBOOK 1
39988 if test "$wxUSE_CHECKBOX" = "yes"; then
39989 cat >>confdefs.h
<<\_ACEOF
39990 #define wxUSE_CHECKBOX 1
39996 if test "$wxUSE_CHECKLST" = "yes"; then
39997 cat >>confdefs.h
<<\_ACEOF
39998 #define wxUSE_CHECKLISTBOX 1
40002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
40005 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
40006 cat >>confdefs.h
<<\_ACEOF
40007 #define wxUSE_DATEPICKCTRL 1
40013 if test "$wxUSE_DISPLAY" = "yes"; then
40014 cat >>confdefs.h
<<\_ACEOF
40015 #define wxUSE_DISPLAY 1
40018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
40021 if test "$wxUSE_GAUGE" = "yes"; then
40022 cat >>confdefs.h
<<\_ACEOF
40023 #define wxUSE_GAUGE 1
40029 if test "$wxUSE_GRID" = "yes"; then
40030 cat >>confdefs.h
<<\_ACEOF
40031 #define wxUSE_GRID 1
40035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
40038 if test "$wxUSE_IMAGLIST" = "yes"; then
40039 cat >>confdefs.h
<<\_ACEOF
40040 #define wxUSE_IMAGLIST 1
40045 if test "$wxUSE_LISTBOOK" = "yes"; then
40046 cat >>confdefs.h
<<\_ACEOF
40047 #define wxUSE_LISTBOOK 1
40053 if test "$wxUSE_LISTBOX" = "yes"; then
40054 cat >>confdefs.h
<<\_ACEOF
40055 #define wxUSE_LISTBOX 1
40059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
40062 if test "$wxUSE_LISTCTRL" = "yes"; then
40063 if test "$wxUSE_IMAGLIST" = "yes"; then
40064 cat >>confdefs.h
<<\_ACEOF
40065 #define wxUSE_LISTCTRL 1
40069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
40071 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
40072 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
40076 if test "$wxUSE_NOTEBOOK" = "yes"; then
40077 cat >>confdefs.h
<<\_ACEOF
40078 #define wxUSE_NOTEBOOK 1
40082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
40086 if test "$wxUSE_RADIOBOX" = "yes"; then
40087 cat >>confdefs.h
<<\_ACEOF
40088 #define wxUSE_RADIOBOX 1
40094 if test "$wxUSE_RADIOBTN" = "yes"; then
40095 cat >>confdefs.h
<<\_ACEOF
40096 #define wxUSE_RADIOBTN 1
40102 if test "$wxUSE_SASH" = "yes"; then
40103 cat >>confdefs.h
<<\_ACEOF
40104 #define wxUSE_SASH 1
40107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
40110 if test "$wxUSE_SCROLLBAR" = "yes"; then
40111 cat >>confdefs.h
<<\_ACEOF
40112 #define wxUSE_SCROLLBAR 1
40116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
40119 if test "$wxUSE_SLIDER" = "yes"; then
40120 cat >>confdefs.h
<<\_ACEOF
40121 #define wxUSE_SLIDER 1
40127 if test "$wxUSE_SPINBTN" = "yes"; then
40128 cat >>confdefs.h
<<\_ACEOF
40129 #define wxUSE_SPINBTN 1
40135 if test "$wxUSE_SPINCTRL" = "yes"; then
40136 cat >>confdefs.h
<<\_ACEOF
40137 #define wxUSE_SPINCTRL 1
40143 if test "$wxUSE_SPLITTER" = "yes"; then
40144 cat >>confdefs.h
<<\_ACEOF
40145 #define wxUSE_SPLITTER 1
40148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
40151 if test "$wxUSE_STATBMP" = "yes"; then
40152 cat >>confdefs.h
<<\_ACEOF
40153 #define wxUSE_STATBMP 1
40159 if test "$wxUSE_STATBOX" = "yes"; then
40160 cat >>confdefs.h
<<\_ACEOF
40161 #define wxUSE_STATBOX 1
40167 if test "$wxUSE_STATTEXT" = "yes"; then
40168 cat >>confdefs.h
<<\_ACEOF
40169 #define wxUSE_STATTEXT 1
40175 if test "$wxUSE_STATLINE" = "yes"; then
40176 cat >>confdefs.h
<<\_ACEOF
40177 #define wxUSE_STATLINE 1
40183 if test "$wxUSE_STATUSBAR" = "yes"; then
40184 cat >>confdefs.h
<<\_ACEOF
40185 #define wxUSE_NATIVE_STATUSBAR 1
40188 cat >>confdefs.h
<<\_ACEOF
40189 #define wxUSE_STATUSBAR 1
40194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
40197 if test "$wxUSE_TABDIALOG" = "yes"; then
40198 cat >>confdefs.h
<<\_ACEOF
40199 #define wxUSE_TAB_DIALOG 1
40204 if test "$wxUSE_TEXTCTRL" = "yes"; then
40205 cat >>confdefs.h
<<\_ACEOF
40206 #define wxUSE_TEXTCTRL 1
40210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
40213 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40214 if test "$wxUSE_COCOA" = 1 ; then
40215 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40216 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40219 if test "$wxUSE_UNIVERSAL" = "yes"; then
40220 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40221 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40225 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40226 cat >>confdefs.h
<<\_ACEOF
40227 #define wxUSE_TOGGLEBTN 1
40234 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40235 cat >>confdefs.h
<<\_ACEOF
40236 #define wxUSE_TOOLBAR_SIMPLE 1
40239 wxUSE_TOOLBAR
="yes"
40243 if test "$wxUSE_TOOLBAR" = "yes"; then
40244 cat >>confdefs.h
<<\_ACEOF
40245 #define wxUSE_TOOLBAR 1
40250 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40251 wxUSE_TOOLBAR_NATIVE
="yes"
40254 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40255 cat >>confdefs.h
<<\_ACEOF
40256 #define wxUSE_TOOLBAR_NATIVE 1
40262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
40265 if test "$wxUSE_TOOLTIPS" = "yes"; then
40266 if test "$wxUSE_MOTIF" = 1; then
40267 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40268 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40270 if test "$wxUSE_UNIVERSAL" = "yes"; then
40271 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40272 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40274 cat >>confdefs.h
<<\_ACEOF
40275 #define wxUSE_TOOLTIPS 1
40282 if test "$wxUSE_TREECTRL" = "yes"; then
40283 if test "$wxUSE_IMAGLIST" = "yes"; then
40284 cat >>confdefs.h
<<\_ACEOF
40285 #define wxUSE_TREECTRL 1
40289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
40291 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40292 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40296 if test "$wxUSE_POPUPWIN" = "yes"; then
40297 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40298 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40299 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40301 if test "$wxUSE_PM" = 1; then
40302 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40303 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40305 cat >>confdefs.h
<<\_ACEOF
40306 #define wxUSE_POPUPWIN 1
40309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
40316 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40317 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40318 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40319 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40321 cat >>confdefs.h
<<\_ACEOF
40322 #define wxUSE_DIALUP_MANAGER 1
40325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
40329 if test "$wxUSE_TIPWINDOW" = "yes"; then
40330 if test "$wxUSE_PM" = 1; then
40331 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40332 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40334 cat >>confdefs.h
<<\_ACEOF
40335 #define wxUSE_TIPWINDOW 1
40341 if test "$USES_CONTROLS" = 1; then
40342 cat >>confdefs.h
<<\_ACEOF
40343 #define wxUSE_CONTROLS 1
40349 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40350 cat >>confdefs.h
<<\_ACEOF
40351 #define wxUSE_ACCESSIBILITY 1
40354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
40357 if test "$wxUSE_DC_CACHEING" = "yes"; then
40358 cat >>confdefs.h
<<\_ACEOF
40359 #define wxUSE_DC_CACHEING 1
40364 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40365 cat >>confdefs.h
<<\_ACEOF
40366 #define wxUSE_DRAGIMAGE 1
40369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
40372 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40373 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40374 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40375 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40377 cat >>confdefs.h
<<\_ACEOF
40378 #define wxUSE_EXCEPTIONS 1
40381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
40386 if test "$wxUSE_HTML" = "yes"; then
40387 cat >>confdefs.h
<<\_ACEOF
40388 #define wxUSE_HTML 1
40392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40393 if test "$wxUSE_MAC" = 1; then
40394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
40397 if test "$wxUSE_WEBKIT" = "yes"; then
40398 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40399 old_CPPFLAGS
="$CPPFLAGS"
40400 CPPFLAGS
="$CPPFLAGS -x objective-c++"
40401 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40402 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40403 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40404 echo $ECHO_N "(cached) $ECHO_C" >&6
40406 cat >conftest.
$ac_ext <<_ACEOF
40409 cat confdefs.h
>>conftest.
$ac_ext
40410 cat >>conftest.
$ac_ext <<_ACEOF
40411 /* end confdefs.h. */
40412 #include <Carbon/Carbon.h>
40414 #include <WebKit/HIWebView.h>
40416 rm -f conftest.
$ac_objext
40417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40418 (eval $ac_compile) 2>conftest.er1
40420 grep -v '^ *+' conftest.er1
>conftest.err
40422 cat conftest.err
>&5
40423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40424 (exit $ac_status); } &&
40425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40427 (eval $ac_try) 2>&5
40429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430 (exit $ac_status); }; } &&
40431 { ac_try
='test -s conftest.$ac_objext'
40432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40433 (eval $ac_try) 2>&5
40435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40436 (exit $ac_status); }; }; then
40437 ac_cv_header_WebKit_HIWebView_h
=yes
40439 echo "$as_me: failed program was:" >&5
40440 sed 's/^/| /' conftest.
$ac_ext >&5
40442 ac_cv_header_WebKit_HIWebView_h
=no
40444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40446 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40447 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40448 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40450 cat >>confdefs.h
<<\_ACEOF
40451 #define wxUSE_WEBKIT 1
40454 WEBKIT_LINK
="-framework WebKit"
40458 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40459 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40465 CPPFLAGS
="$old_CPPFLAGS"
40466 elif test "$wxUSE_COCOA" = 1; then
40467 cat >>confdefs.h
<<\_ACEOF
40468 #define wxUSE_WEBKIT 1
40477 if test "$wxUSE_XRC" = "yes"; then
40478 if test "$wxUSE_XML" != "yes"; then
40479 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40480 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40483 cat >>confdefs.h
<<\_ACEOF
40484 #define wxUSE_XRC 1
40488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
40492 if test "$wxUSE_MENUS" = "yes"; then
40493 cat >>confdefs.h
<<\_ACEOF
40494 #define wxUSE_MENUS 1
40497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
40500 if test "$wxUSE_METAFILE" = "yes"; then
40501 cat >>confdefs.h
<<\_ACEOF
40502 #define wxUSE_METAFILE 1
40507 if test "$wxUSE_MIMETYPE" = "yes"; then
40508 cat >>confdefs.h
<<\_ACEOF
40509 #define wxUSE_MIMETYPE 1
40514 if test "$wxUSE_MINIFRAME" = "yes"; then
40515 cat >>confdefs.h
<<\_ACEOF
40516 #define wxUSE_MINIFRAME 1
40519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
40522 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40523 cat >>confdefs.h
<<\_ACEOF
40524 #define wxUSE_SYSTEM_OPTIONS 1
40527 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40528 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
40534 if test "$wxUSE_VALIDATORS" = "yes"; then
40535 cat >>confdefs.h
<<\_ACEOF
40536 #define wxUSE_VALIDATORS 1
40539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
40542 if test "$wxUSE_PALETTE" = "yes" ; then
40543 cat >>confdefs.h
<<\_ACEOF
40544 #define wxUSE_PALETTE 1
40549 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40550 LIBS
=" -lunicows $LIBS"
40554 if test "$wxUSE_IMAGE" = "yes" ; then
40555 cat >>confdefs.h
<<\_ACEOF
40556 #define wxUSE_IMAGE 1
40560 if test "$wxUSE_GIF" = "yes" ; then
40561 cat >>confdefs.h
<<\_ACEOF
40562 #define wxUSE_GIF 1
40567 if test "$wxUSE_PCX" = "yes" ; then
40568 cat >>confdefs.h
<<\_ACEOF
40569 #define wxUSE_PCX 1
40574 if test "$wxUSE_IFF" = "yes" ; then
40575 cat >>confdefs.h
<<\_ACEOF
40576 #define wxUSE_IFF 1
40581 if test "$wxUSE_PNM" = "yes" ; then
40582 cat >>confdefs.h
<<\_ACEOF
40583 #define wxUSE_PNM 1
40588 if test "$wxUSE_XPM" = "yes" ; then
40589 cat >>confdefs.h
<<\_ACEOF
40590 #define wxUSE_XPM 1
40595 if test "$wxUSE_ICO_CUR" = "yes" ; then
40596 cat >>confdefs.h
<<\_ACEOF
40597 #define wxUSE_ICO_CUR 1
40604 if test "$wxUSE_CHOICEDLG" = "yes"; then
40605 cat >>confdefs.h
<<\_ACEOF
40606 #define wxUSE_CHOICEDLG 1
40611 if test "$wxUSE_COLOURDLG" = "yes"; then
40612 cat >>confdefs.h
<<\_ACEOF
40613 #define wxUSE_COLOURDLG 1
40618 if test "$wxUSE_FILEDLG" = "yes"; then
40619 cat >>confdefs.h
<<\_ACEOF
40620 #define wxUSE_FILEDLG 1
40625 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40626 cat >>confdefs.h
<<\_ACEOF
40627 #define wxUSE_FINDREPLDLG 1
40632 if test "$wxUSE_FONTDLG" = "yes"; then
40633 cat >>confdefs.h
<<\_ACEOF
40634 #define wxUSE_FONTDLG 1
40639 if test "$wxUSE_DIRDLG" = "yes"; then
40640 if test "$wxUSE_TREECTRL" != "yes"; then
40641 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40642 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40644 cat >>confdefs.h
<<\_ACEOF
40645 #define wxUSE_DIRDLG 1
40651 if test "$wxUSE_MSGDLG" = "yes"; then
40652 cat >>confdefs.h
<<\_ACEOF
40653 #define wxUSE_MSGDLG 1
40658 if test "$wxUSE_NUMBERDLG" = "yes"; then
40659 cat >>confdefs.h
<<\_ACEOF
40660 #define wxUSE_NUMBERDLG 1
40665 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40666 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40667 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40668 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40670 cat >>confdefs.h
<<\_ACEOF
40671 #define wxUSE_PROGRESSDLG 1
40677 if test "$wxUSE_SPLASH" = "yes"; then
40678 cat >>confdefs.h
<<\_ACEOF
40679 #define wxUSE_SPLASH 1
40682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
40685 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40686 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40687 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40688 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40690 cat >>confdefs.h
<<\_ACEOF
40691 #define wxUSE_STARTUP_TIPS 1
40697 if test "$wxUSE_TEXTDLG" = "yes"; then
40698 cat >>confdefs.h
<<\_ACEOF
40699 #define wxUSE_TEXTDLG 1
40704 if test "$wxUSE_WIZARDDLG" = "yes"; then
40705 cat >>confdefs.h
<<\_ACEOF
40706 #define wxUSE_WIZARDDLG 1
40709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
40713 if test "$wxUSE_MEDIACTRL" = "yes"; then
40714 if test "$wxUSE_GTK" = 1; then
40715 wxUSE_GSTREAMER
="yes"
40720 if test -z "$PKG_CONFIG"; then
40721 # Extract the first word of "pkg-config", so it can be a program name with args.
40722 set dummy pkg
-config; ac_word
=$2
40723 echo "$as_me:$LINENO: checking for $ac_word" >&5
40724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40725 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40726 echo $ECHO_N "(cached) $ECHO_C" >&6
40728 case $PKG_CONFIG in
40730 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40734 for as_dir
in $PATH
40737 test -z "$as_dir" && as_dir
=.
40738 for ac_exec_ext
in '' $ac_executable_extensions; do
40739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40740 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40747 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40751 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40753 if test -n "$PKG_CONFIG"; then
40754 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40755 echo "${ECHO_T}$PKG_CONFIG" >&6
40757 echo "$as_me:$LINENO: result: no" >&5
40758 echo "${ECHO_T}no" >&6
40763 if test "$PKG_CONFIG" = "no" ; then
40764 echo "*** The pkg-config script could not be found. Make sure it is"
40765 echo "*** in your path, or set the PKG_CONFIG environment variable"
40766 echo "*** to the full path to pkg-config."
40767 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40769 PKG_CONFIG_MIN_VERSION
=0.9.0
40770 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40771 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40772 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40774 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40775 echo "$as_me:$LINENO: result: yes" >&5
40776 echo "${ECHO_T}yes" >&6
40779 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40780 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40781 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40782 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40783 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40785 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40786 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40787 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
40788 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40789 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40791 GSTREAMER_CFLAGS
=""
40793 ## If we have a custom action on failure, don't print errors, but
40794 ## do set a variable so people can do so.
40795 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40802 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40803 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40807 if test $succeeded = yes; then
40809 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
40810 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40814 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40815 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40816 wxUSE_GSTREAMER
="no"
40824 if test "x$GST_INSPECT" == "x"; then
40825 # Extract the first word of "gst-inspect", so it can be a program name with args.
40826 set dummy gst
-inspect; ac_word
=$2
40827 echo "$as_me:$LINENO: checking for $ac_word" >&5
40828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40829 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40830 echo $ECHO_N "(cached) $ECHO_C" >&6
40832 if test -n "$GST_INSPECT"; then
40833 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
40835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40836 for as_dir
in $PATH
40839 test -z "$as_dir" && as_dir
=.
40840 for ac_exec_ext
in '' $ac_executable_extensions; do
40841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40842 ac_cv_prog_GST_INSPECT
="gst-inspect"
40843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40851 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
40852 if test -n "$GST_INSPECT"; then
40853 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40854 echo "${ECHO_T}$GST_INSPECT" >&6
40856 echo "$as_me:$LINENO: result: no" >&5
40857 echo "${ECHO_T}no" >&6
40862 if test "x$GST_INSPECT" != "x"; then
40863 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40864 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40865 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
40866 echo "$as_me:$LINENO: result: found." >&5
40867 echo "${ECHO_T}found." >&6
40870 echo "$as_me:$LINENO: result: not found." >&5
40871 echo "${ECHO_T}not found." >&6
40873 wxUSE_GSTREAMER
="no"
40874 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40875 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40881 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40882 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40883 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40884 echo $ECHO_N "(cached) $ECHO_C" >&6
40886 cat >conftest.
$ac_ext <<_ACEOF
40889 cat confdefs.h
>>conftest.
$ac_ext
40890 cat >>conftest.
$ac_ext <<_ACEOF
40891 /* end confdefs.h. */
40892 #include <gst/gst.h>
40894 #include <gst/xoverlay/xoverlay.h>
40896 rm -f conftest.
$ac_objext
40897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40898 (eval $ac_compile) 2>conftest.er1
40900 grep -v '^ *+' conftest.er1
>conftest.err
40902 cat conftest.err
>&5
40903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40904 (exit $ac_status); } &&
40905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40907 (eval $ac_try) 2>&5
40909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40910 (exit $ac_status); }; } &&
40911 { ac_try
='test -s conftest.$ac_objext'
40912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40913 (eval $ac_try) 2>&5
40915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40916 (exit $ac_status); }; }; then
40917 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40919 echo "$as_me: failed program was:" >&5
40920 sed 's/^/| /' conftest.
$ac_ext >&5
40922 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40926 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40927 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40928 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40932 wxUSE_GSTREAMER
="no"
40933 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40934 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40940 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40941 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40944 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40946 for ac_extension
in a so sl dylib dll.a
; do
40947 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40948 ac_find_libraries
=$ac_dir
40955 if test "$ac_find_libraries" = "" ; then
40956 echo "$as_me:$LINENO: result: no" >&5
40957 echo "${ECHO_T}no" >&6
40958 wxUSE_GSTREAMER
="no"
40960 echo "$as_me:$LINENO: result: yes" >&5
40961 echo "${ECHO_T}yes" >&6
40964 if test "$wxUSE_GSTREAMER" = "yes"; then
40965 cat >>confdefs.h
<<\_ACEOF
40966 #define wxUSE_GSTREAMER 1
40969 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40970 echo "${ECHO_T}GStreamer detection successful" >&6
40973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40974 cat >>confdefs.h
<<\_ACEOF
40975 #define wxUSE_MEDIACTRL 1
40981 if test "$cross_compiling" = "yes"; then
40984 OSINFO
=`uname -s -r -m`
40985 OSINFO
="\"$OSINFO\""
40988 cat >>confdefs.h
<<_ACEOF
40989 #define WXWIN_OS_DESCRIPTION $OSINFO
40994 if test "x$prefix" != "xNONE"; then
40997 wxPREFIX
=$ac_default_prefix
41000 cat >>confdefs.h
<<_ACEOF
41001 #define wxINSTALL_PREFIX "$wxPREFIX"
41007 CORE_BASE_LIBS
="net base"
41008 CORE_GUI_LIBS
="adv core"
41010 if test "$wxUSE_XML" = "yes" ; then
41011 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
41013 if test "$wxUSE_ODBC" != "no" ; then
41014 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
41015 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
41017 if test "$wxUSE_HTML" = "yes" ; then
41018 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
41020 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41021 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
41023 if test "$wxUSE_XRC" = "yes" ; then
41024 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
41027 if test "$wxUSE_GUI" != "yes"; then
41038 if test "$wxUSE_MAC" = 1 ; then
41039 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
41040 if test "$USE_DARWIN" = 1; then
41041 LDFLAGS
="$LDFLAGS -framework QuickTime"
41043 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
41046 if test "$USE_DARWIN" = 1; then
41047 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
41049 LDFLAGS
="$LDFLAGS -lCarbonLib"
41052 if test "$wxUSE_COCOA" = 1 ; then
41053 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
41054 if test "$wxUSE_MEDIACTRL" = "yes"; then
41055 LDFLAGS
="$LDFLAGS -framework QuickTime"
41058 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
41059 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
41063 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
41070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41071 echo "$as_me:$LINENO: checking for $ac_func" >&5
41072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41073 if eval "test \"\${$as_ac_var+set}\" = set"; then
41074 echo $ECHO_N "(cached) $ECHO_C" >&6
41076 cat >conftest.
$ac_ext <<_ACEOF
41079 cat confdefs.h
>>conftest.
$ac_ext
41080 cat >>conftest.
$ac_ext <<_ACEOF
41081 /* end confdefs.h. */
41082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41084 #define $ac_func innocuous_$ac_func
41086 /* System header to define __stub macros and hopefully few prototypes,
41087 which can conflict with char $ac_func (); below.
41088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41089 <limits.h> exists even on freestanding compilers. */
41092 # include <limits.h>
41094 # include <assert.h>
41099 /* Override any gcc2 internal prototype to avoid an error. */
41104 /* We use char because int might match the return type of a gcc2
41105 builtin and then its argument prototype would still apply. */
41107 /* The GNU C library defines this for functions which it implements
41108 to always fail with ENOSYS. Some functions are actually named
41109 something starting with __ and the normal name is an alias. */
41110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41113 char (*f) () = $ac_func;
41122 return f != $ac_func;
41127 rm -f conftest.
$ac_objext conftest
$ac_exeext
41128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41129 (eval $ac_link) 2>conftest.er1
41131 grep -v '^ *+' conftest.er1
>conftest.err
41133 cat conftest.err
>&5
41134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41135 (exit $ac_status); } &&
41136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41138 (eval $ac_try) 2>&5
41140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141 (exit $ac_status); }; } &&
41142 { ac_try
='test -s conftest$ac_exeext'
41143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41144 (eval $ac_try) 2>&5
41146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147 (exit $ac_status); }; }; then
41148 eval "$as_ac_var=yes"
41150 echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.
$ac_ext >&5
41153 eval "$as_ac_var=no"
41155 rm -f conftest.err conftest.
$ac_objext \
41156 conftest
$ac_exeext conftest.
$ac_ext
41158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41160 if test `eval echo '${'$as_ac_var'}'` = yes; then
41161 cat >>confdefs.h
<<_ACEOF
41162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41169 for ac_func
in floor
41171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41172 echo "$as_me:$LINENO: checking for $ac_func" >&5
41173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41174 if eval "test \"\${$as_ac_var+set}\" = set"; then
41175 echo $ECHO_N "(cached) $ECHO_C" >&6
41177 cat >conftest.
$ac_ext <<_ACEOF
41180 cat confdefs.h
>>conftest.
$ac_ext
41181 cat >>conftest.
$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41185 #define $ac_func innocuous_$ac_func
41187 /* System header to define __stub macros and hopefully few prototypes,
41188 which can conflict with char $ac_func (); below.
41189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41190 <limits.h> exists even on freestanding compilers. */
41193 # include <limits.h>
41195 # include <assert.h>
41200 /* Override any gcc2 internal prototype to avoid an error. */
41205 /* We use char because int might match the return type of a gcc2
41206 builtin and then its argument prototype would still apply. */
41208 /* The GNU C library defines this for functions which it implements
41209 to always fail with ENOSYS. Some functions are actually named
41210 something starting with __ and the normal name is an alias. */
41211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41214 char (*f) () = $ac_func;
41223 return f != $ac_func;
41228 rm -f conftest.
$ac_objext conftest
$ac_exeext
41229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41230 (eval $ac_link) 2>conftest.er1
41232 grep -v '^ *+' conftest.er1
>conftest.err
41234 cat conftest.err
>&5
41235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41236 (exit $ac_status); } &&
41237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41239 (eval $ac_try) 2>&5
41241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41242 (exit $ac_status); }; } &&
41243 { ac_try
='test -s conftest$ac_exeext'
41244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41245 (eval $ac_try) 2>&5
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); }; }; then
41249 eval "$as_ac_var=yes"
41251 echo "$as_me: failed program was:" >&5
41252 sed 's/^/| /' conftest.
$ac_ext >&5
41254 eval "$as_ac_var=no"
41256 rm -f conftest.err conftest.
$ac_objext \
41257 conftest
$ac_exeext conftest.
$ac_ext
41259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41261 if test `eval echo '${'$as_ac_var'}'` = yes; then
41262 cat >>confdefs.h
<<_ACEOF
41263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41269 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41270 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41271 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41272 echo "$as_me:$LINENO: result: yes" >&5
41273 echo "${ECHO_T}yes" >&6
41275 echo "$as_me:$LINENO: result: no" >&5
41276 echo "${ECHO_T}no" >&6
41278 # use different functions to avoid configure caching
41284 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41285 echo "$as_me:$LINENO: checking for $ac_func" >&5
41286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41287 if eval "test \"\${$as_ac_var+set}\" = set"; then
41288 echo $ECHO_N "(cached) $ECHO_C" >&6
41290 cat >conftest.
$ac_ext <<_ACEOF
41293 cat confdefs.h
>>conftest.
$ac_ext
41294 cat >>conftest.
$ac_ext <<_ACEOF
41295 /* end confdefs.h. */
41296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41298 #define $ac_func innocuous_$ac_func
41300 /* System header to define __stub macros and hopefully few prototypes,
41301 which can conflict with char $ac_func (); below.
41302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41303 <limits.h> exists even on freestanding compilers. */
41306 # include <limits.h>
41308 # include <assert.h>
41313 /* Override any gcc2 internal prototype to avoid an error. */
41318 /* We use char because int might match the return type of a gcc2
41319 builtin and then its argument prototype would still apply. */
41321 /* The GNU C library defines this for functions which it implements
41322 to always fail with ENOSYS. Some functions are actually named
41323 something starting with __ and the normal name is an alias. */
41324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41327 char (*f) () = $ac_func;
41336 return f != $ac_func;
41341 rm -f conftest.
$ac_objext conftest
$ac_exeext
41342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41343 (eval $ac_link) 2>conftest.er1
41345 grep -v '^ *+' conftest.er1
>conftest.err
41347 cat conftest.err
>&5
41348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349 (exit $ac_status); } &&
41350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41352 (eval $ac_try) 2>&5
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); }; } &&
41356 { ac_try
='test -s conftest$ac_exeext'
41357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41358 (eval $ac_try) 2>&5
41360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41361 (exit $ac_status); }; }; then
41362 eval "$as_ac_var=yes"
41364 echo "$as_me: failed program was:" >&5
41365 sed 's/^/| /' conftest.
$ac_ext >&5
41367 eval "$as_ac_var=no"
41369 rm -f conftest.err conftest.
$ac_objext \
41370 conftest
$ac_exeext conftest.
$ac_ext
41372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41374 if test `eval echo '${'$as_ac_var'}'` = yes; then
41375 cat >>confdefs.h
<<_ACEOF
41376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41383 for ac_func
in ceil
41385 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41386 echo "$as_me:$LINENO: checking for $ac_func" >&5
41387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41388 if eval "test \"\${$as_ac_var+set}\" = set"; then
41389 echo $ECHO_N "(cached) $ECHO_C" >&6
41391 cat >conftest.
$ac_ext <<_ACEOF
41394 cat confdefs.h
>>conftest.
$ac_ext
41395 cat >>conftest.
$ac_ext <<_ACEOF
41396 /* end confdefs.h. */
41397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41399 #define $ac_func innocuous_$ac_func
41401 /* System header to define __stub macros and hopefully few prototypes,
41402 which can conflict with char $ac_func (); below.
41403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41404 <limits.h> exists even on freestanding compilers. */
41407 # include <limits.h>
41409 # include <assert.h>
41414 /* Override any gcc2 internal prototype to avoid an error. */
41419 /* We use char because int might match the return type of a gcc2
41420 builtin and then its argument prototype would still apply. */
41422 /* The GNU C library defines this for functions which it implements
41423 to always fail with ENOSYS. Some functions are actually named
41424 something starting with __ and the normal name is an alias. */
41425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41428 char (*f) () = $ac_func;
41437 return f != $ac_func;
41442 rm -f conftest.
$ac_objext conftest
$ac_exeext
41443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41444 (eval $ac_link) 2>conftest.er1
41446 grep -v '^ *+' conftest.er1
>conftest.err
41448 cat conftest.err
>&5
41449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41450 (exit $ac_status); } &&
41451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41453 (eval $ac_try) 2>&5
41455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41456 (exit $ac_status); }; } &&
41457 { ac_try
='test -s conftest$ac_exeext'
41458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41459 (eval $ac_try) 2>&5
41461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41462 (exit $ac_status); }; }; then
41463 eval "$as_ac_var=yes"
41465 echo "$as_me: failed program was:" >&5
41466 sed 's/^/| /' conftest.
$ac_ext >&5
41468 eval "$as_ac_var=no"
41470 rm -f conftest.err conftest.
$ac_objext \
41471 conftest
$ac_exeext conftest.
$ac_ext
41473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41475 if test `eval echo '${'$as_ac_var'}'` = yes; then
41476 cat >>confdefs.h
<<_ACEOF
41477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41483 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41484 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41485 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41486 echo "$as_me:$LINENO: result: yes" >&5
41487 echo "${ECHO_T}yes" >&6
41489 echo "$as_me:$LINENO: result: no" >&5
41490 echo "${ECHO_T}no" >&6
41491 # not sure we should warn the user, crash, etc.
41495 if test "$wxUSE_GUI" = "yes"; then
41498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41499 dynamic erase event exec font image minimal mobile \
41500 mobile/wxedit mobile/styles propsize render \
41501 richedit rotate shaped vscroll widgets"
41503 if test "$wxUSE_MONOLITHIC" != "yes"; then
41504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
41506 if test "$TOOLKIT" = "MSW"; then
41507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
41508 if test "$wxUSE_UNIVERSAL" != "yes"; then
41509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41512 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
41516 SAMPLES_SUBDIRS
="console"
41520 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41521 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41523 if test "$GXX" = yes ; then
41524 CWARNINGS
="-Wall -Wundef"
41525 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
41528 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41530 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41531 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41532 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41534 if test "x$MWCC" = "xyes"; then
41536 CC
="$CC -cwd source -I-"
41537 CXX
="$CXX -cwd source -I-"
41542 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41543 EXTRALIBS_XML
="$EXPAT_LINK"
41544 EXTRALIBS_HTML
="$MSPACK_LINK"
41545 EXTRALIBS_ODBC
="$ODBC_LINK"
41546 if test "$wxUSE_GUI" = "yes"; then
41547 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41549 if test "$wxUSE_OPENGL" = "yes"; then
41550 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
41553 LDFLAGS
="$LDFLAGS $PROFILE"
41555 if test "$wxUSE_GTK" = 1; then
41558 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
41561 WXCONFIG_EXTRALIBS
="$LIBS"
41563 if test "$wxUSE_REGEX" = "builtin" ; then
41564 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41566 if test "$wxUSE_EXPAT" = "builtin" ; then
41567 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
41569 if test "$wxUSE_ODBC" = "builtin" ; then
41570 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
41572 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41573 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
41575 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41576 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
41578 if test "$wxUSE_LIBPNG" = "builtin" ; then
41579 wxconfig_3rdparty
="png $wxconfig_3rdparty"
41581 if test "$wxUSE_ZLIB" = "builtin" ; then
41582 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
41585 for i
in $wxconfig_3rdparty ; do
41586 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41590 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41604 if test $wxUSE_MONOLITHIC = "yes" ; then
41610 if test $wxUSE_PLUGINS = "yes" ; then
41616 if test $wxUSE_ODBC != "no" ; then
41622 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41628 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41656 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41667 TOOLKIT_USER
="GTK+"
41668 if test "$WXGTK20" = 1; then
41669 TOOLKIT_USER
="$TOOLKIT_USER 2"
41674 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
41678 if test "$wxUSE_WINE" = "yes"; then
41679 BAKEFILE_FORCE_PLATFORM
=win32
41685 if test "x$BAKEFILE_HOST" = "x"; then
41686 BAKEFILE_HOST
="${host}"
41689 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41691 if test -n "$ac_tool_prefix"; then
41692 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41693 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
41694 echo "$as_me:$LINENO: checking for $ac_word" >&5
41695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41696 if test "${ac_cv_prog_RANLIB+set}" = set; then
41697 echo $ECHO_N "(cached) $ECHO_C" >&6
41699 if test -n "$RANLIB"; then
41700 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
41702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41703 for as_dir
in $PATH
41706 test -z "$as_dir" && as_dir
=.
41707 for ac_exec_ext
in '' $ac_executable_extensions; do
41708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41709 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
41710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41718 RANLIB
=$ac_cv_prog_RANLIB
41719 if test -n "$RANLIB"; then
41720 echo "$as_me:$LINENO: result: $RANLIB" >&5
41721 echo "${ECHO_T}$RANLIB" >&6
41723 echo "$as_me:$LINENO: result: no" >&5
41724 echo "${ECHO_T}no" >&6
41728 if test -z "$ac_cv_prog_RANLIB"; then
41729 ac_ct_RANLIB
=$RANLIB
41730 # Extract the first word of "ranlib", so it can be a program name with args.
41731 set dummy ranlib
; ac_word
=$2
41732 echo "$as_me:$LINENO: checking for $ac_word" >&5
41733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41734 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41735 echo $ECHO_N "(cached) $ECHO_C" >&6
41737 if test -n "$ac_ct_RANLIB"; then
41738 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
41740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41741 for as_dir
in $PATH
41744 test -z "$as_dir" && as_dir
=.
41745 for ac_exec_ext
in '' $ac_executable_extensions; do
41746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41747 ac_cv_prog_ac_ct_RANLIB
="ranlib"
41748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41754 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
41757 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
41758 if test -n "$ac_ct_RANLIB"; then
41759 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41760 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41762 echo "$as_me:$LINENO: result: no" >&5
41763 echo "${ECHO_T}no" >&6
41766 RANLIB
=$ac_ct_RANLIB
41768 RANLIB
="$ac_cv_prog_RANLIB"
41771 # Find a good install program. We prefer a C program (faster),
41772 # so one script is as good as another. But avoid the broken or
41773 # incompatible versions:
41774 # SysV /etc/install, /usr/sbin/install
41775 # SunOS /usr/etc/install
41776 # IRIX /sbin/install
41778 # AmigaOS /C/install, which installs bootblocks on floppy discs
41779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41782 # OS/2's system install, which has a completely different semantic
41783 # ./install, which can be erroneously created by make from ./install.sh.
41784 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41785 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41786 if test -z "$INSTALL"; then
41787 if test "${ac_cv_path_install+set}" = set; then
41788 echo $ECHO_N "(cached) $ECHO_C" >&6
41790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41791 for as_dir
in $PATH
41794 test -z "$as_dir" && as_dir
=.
41795 # Account for people who put trailing slashes in PATH elements.
41797 .
/ | .
// | /cC
/* | \
41798 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
41799 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
41802 # OSF1 and SCO ODT 3.0 have their own names for install.
41803 # Don't use installbsd from OSF since it installs stuff as root
41805 for ac_prog
in ginstall scoinst
install; do
41806 for ac_exec_ext
in '' $ac_executable_extensions; do
41807 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41808 if test $ac_prog = install &&
41809 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41810 # AIX install. It has an incompatible calling convention.
41812 elif test $ac_prog = install &&
41813 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41814 # program-specific install script used by HP pwplus--don't use.
41817 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
41829 if test "${ac_cv_path_install+set}" = set; then
41830 INSTALL
=$ac_cv_path_install
41832 # As a last resort, use the slow shell script. We don't cache a
41833 # path for INSTALL within a source directory, because that will
41834 # break other packages using the cache if that directory is
41835 # removed, or if the path is relative.
41836 INSTALL
=$ac_install_sh
41839 echo "$as_me:$LINENO: result: $INSTALL" >&5
41840 echo "${ECHO_T}$INSTALL" >&6
41842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41843 # It thinks the first close brace ends the variable substitution.
41844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
41846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
41848 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
41850 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41851 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41853 if test "$LN_S" = "ln -s"; then
41854 echo "$as_me:$LINENO: result: yes" >&5
41855 echo "${ECHO_T}yes" >&6
41857 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41858 echo "${ECHO_T}no, using $LN_S" >&6
41862 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41863 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41864 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41865 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41866 echo $ECHO_N "(cached) $ECHO_C" >&6
41868 cat >conftest.
make <<\_ACEOF
41870 @
echo 'ac_maketemp="$(MAKE)"'
41872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41873 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41874 if test -n "$ac_maketemp"; then
41875 eval ac_cv_prog_make_
${ac_make}_set
=yes
41877 eval ac_cv_prog_make_
${ac_make}_set
=no
41879 rm -f conftest.
make
41881 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41882 echo "$as_me:$LINENO: result: yes" >&5
41883 echo "${ECHO_T}yes" >&6
41886 echo "$as_me:$LINENO: result: no" >&5
41887 echo "${ECHO_T}no" >&6
41888 SET_MAKE
="MAKE=${MAKE-make}"
41893 if test -n "$ac_tool_prefix"; then
41894 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41895 set dummy
${ac_tool_prefix}ar; ac_word
=$2
41896 echo "$as_me:$LINENO: checking for $ac_word" >&5
41897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41898 if test "${ac_cv_prog_AR+set}" = set; then
41899 echo $ECHO_N "(cached) $ECHO_C" >&6
41901 if test -n "$AR"; then
41902 ac_cv_prog_AR
="$AR" # Let the user override the test.
41904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41905 for as_dir
in $PATH
41908 test -z "$as_dir" && as_dir
=.
41909 for ac_exec_ext
in '' $ac_executable_extensions; do
41910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41911 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41921 if test -n "$AR"; then
41922 echo "$as_me:$LINENO: result: $AR" >&5
41923 echo "${ECHO_T}$AR" >&6
41925 echo "$as_me:$LINENO: result: no" >&5
41926 echo "${ECHO_T}no" >&6
41930 if test -z "$ac_cv_prog_AR"; then
41932 # Extract the first word of "ar", so it can be a program name with args.
41933 set dummy
ar; ac_word
=$2
41934 echo "$as_me:$LINENO: checking for $ac_word" >&5
41935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41936 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41937 echo $ECHO_N "(cached) $ECHO_C" >&6
41939 if test -n "$ac_ct_AR"; then
41940 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41943 for as_dir
in $PATH
41946 test -z "$as_dir" && as_dir
=.
41947 for ac_exec_ext
in '' $ac_executable_extensions; do
41948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41949 ac_cv_prog_ac_ct_AR
="ar"
41950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41956 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41959 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41960 if test -n "$ac_ct_AR"; then
41961 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41962 echo "${ECHO_T}$ac_ct_AR" >&6
41964 echo "$as_me:$LINENO: result: no" >&5
41965 echo "${ECHO_T}no" >&6
41970 AR
="$ac_cv_prog_AR"
41973 if test -n "$ac_tool_prefix"; then
41974 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41975 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41976 echo "$as_me:$LINENO: checking for $ac_word" >&5
41977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41978 if test "${ac_cv_prog_STRIP+set}" = set; then
41979 echo $ECHO_N "(cached) $ECHO_C" >&6
41981 if test -n "$STRIP"; then
41982 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41985 for as_dir
in $PATH
41988 test -z "$as_dir" && as_dir
=.
41989 for ac_exec_ext
in '' $ac_executable_extensions; do
41990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41991 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42000 STRIP
=$ac_cv_prog_STRIP
42001 if test -n "$STRIP"; then
42002 echo "$as_me:$LINENO: result: $STRIP" >&5
42003 echo "${ECHO_T}$STRIP" >&6
42005 echo "$as_me:$LINENO: result: no" >&5
42006 echo "${ECHO_T}no" >&6
42010 if test -z "$ac_cv_prog_STRIP"; then
42012 # Extract the first word of "strip", so it can be a program name with args.
42013 set dummy strip
; ac_word
=$2
42014 echo "$as_me:$LINENO: checking for $ac_word" >&5
42015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42016 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
42017 echo $ECHO_N "(cached) $ECHO_C" >&6
42019 if test -n "$ac_ct_STRIP"; then
42020 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
42022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42023 for as_dir
in $PATH
42026 test -z "$as_dir" && as_dir
=.
42027 for ac_exec_ext
in '' $ac_executable_extensions; do
42028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42029 ac_cv_prog_ac_ct_STRIP
="strip"
42030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42036 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
42039 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
42040 if test -n "$ac_ct_STRIP"; then
42041 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
42042 echo "${ECHO_T}$ac_ct_STRIP" >&6
42044 echo "$as_me:$LINENO: result: no" >&5
42045 echo "${ECHO_T}no" >&6
42050 STRIP
="$ac_cv_prog_STRIP"
42053 if test -n "$ac_tool_prefix"; then
42054 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
42055 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
42056 echo "$as_me:$LINENO: checking for $ac_word" >&5
42057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42058 if test "${ac_cv_prog_NM+set}" = set; then
42059 echo $ECHO_N "(cached) $ECHO_C" >&6
42061 if test -n "$NM"; then
42062 ac_cv_prog_NM
="$NM" # Let the user override the test.
42064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42065 for as_dir
in $PATH
42068 test -z "$as_dir" && as_dir
=.
42069 for ac_exec_ext
in '' $ac_executable_extensions; do
42070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42071 ac_cv_prog_NM
="${ac_tool_prefix}nm"
42072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42081 if test -n "$NM"; then
42082 echo "$as_me:$LINENO: result: $NM" >&5
42083 echo "${ECHO_T}$NM" >&6
42085 echo "$as_me:$LINENO: result: no" >&5
42086 echo "${ECHO_T}no" >&6
42090 if test -z "$ac_cv_prog_NM"; then
42092 # Extract the first word of "nm", so it can be a program name with args.
42093 set dummy nm
; ac_word
=$2
42094 echo "$as_me:$LINENO: checking for $ac_word" >&5
42095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42096 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42097 echo $ECHO_N "(cached) $ECHO_C" >&6
42099 if test -n "$ac_ct_NM"; then
42100 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
42102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42103 for as_dir
in $PATH
42106 test -z "$as_dir" && as_dir
=.
42107 for ac_exec_ext
in '' $ac_executable_extensions; do
42108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42109 ac_cv_prog_ac_ct_NM
="nm"
42110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42116 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
42119 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
42120 if test -n "$ac_ct_NM"; then
42121 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42122 echo "${ECHO_T}$ac_ct_NM" >&6
42124 echo "$as_me:$LINENO: result: no" >&5
42125 echo "${ECHO_T}no" >&6
42130 NM
="$ac_cv_prog_NM"
42134 case ${BAKEFILE_HOST} in
42136 INSTALL_DIR
="mkdir -p"
42138 *) INSTALL_DIR
="$INSTALL -d"
42144 case ${BAKEFILE_HOST} in
42145 *-*-cygwin* | *-*-mingw32* )
42146 LDFLAGS_GUI
="-mwindows"
42152 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42153 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42154 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42155 echo $ECHO_N "(cached) $ECHO_C" >&6
42158 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
42159 egrep -s GNU
> /dev
/null
); then
42160 bakefile_cv_prog_makeisgnu
="yes"
42162 bakefile_cv_prog_makeisgnu
="no"
42166 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42167 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42169 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42186 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42187 case "${BAKEFILE_HOST}" in
42194 *-pc-os2_emx | *-pc-os2-emx )
42197 powerpc
-*-darwin* )
42204 powerpc
-apple-macos* )
42213 case "$BAKEFILE_FORCE_PLATFORM" in
42234 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42235 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42236 { (exit 1); exit 1; }; }
42251 # Check whether --enable-omf or --disable-omf was given.
42252 if test "${enable_omf+set}" = set; then
42253 enableval
="$enable_omf"
42254 bk_os2_use_omf
="$enableval"
42257 case "${BAKEFILE_HOST}" in
42259 CFLAGS
="$CFLAGS -fno-common"
42260 CXXFLAGS
="$CXXFLAGS -fno-common"
42263 *-pc-os2_emx | *-pc-os2-emx )
42264 if test "x$bk_os2_use_omf" = "xyes" ; then
42267 LDFLAGS
="-Zomf $LDFLAGS"
42268 CFLAGS
="-Zomf $CFLAGS"
42269 CXXFLAGS
="-Zomf $CXXFLAGS"
42277 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
42283 SO_SUFFIX_MODULE
="so"
42288 DLLPREFIX_MODULE
=""
42292 case "${BAKEFILE_HOST}" in
42295 SO_SUFFIX_MODULE
="sl"
42299 SO_SUFFIX_MODULE
="a"
42303 SO_SUFFIX_MODULE
="dll"
42304 DLLIMP_SUFFIX
="dll.a"
42311 SO_SUFFIX_MODULE
="dll"
42312 DLLIMP_SUFFIX
="dll.a"
42322 *-pc-os2_emx | *-pc-os2-emx )
42324 SO_SUFFIX_MODULE
="dll"
42325 DLLIMP_SUFFIX
=$OS2_LIBEXT
42329 LIBEXT
=".$OS2_LIBEXT"
42332 powerpc
-*-darwin* )
42334 SO_SUFFIX_MODULE
="bundle"
42338 if test "x$DLLIMP_SUFFIX" = "x" ; then
42339 DLLIMP_SUFFIX
="$SO_SUFFIX"
42354 if test "x$GCC" = "xyes"; then
42358 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
42359 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
42362 case "${BAKEFILE_HOST}" in
42364 if test "x$GCC" != "xyes"; then
42365 LDFLAGS
="$LDFLAGS -L/usr/lib"
42367 SHARED_LD_CC
="${CC} -b -o"
42368 SHARED_LD_CXX
="${CXX} -b -o"
42374 if test "x$GCC" != "xyes"; then
42375 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42376 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42377 if test "${bakefile_cv_prog_icc+set}" = set; then
42378 echo $ECHO_N "(cached) $ECHO_C" >&6
42381 cat >conftest.
$ac_ext <<_ACEOF
42384 cat confdefs.h
>>conftest.
$ac_ext
42385 cat >>conftest.
$ac_ext <<_ACEOF
42386 /* end confdefs.h. */
42392 #ifndef __INTEL_COMPILER
42400 rm -f conftest.
$ac_objext
42401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42402 (eval $ac_compile) 2>conftest.er1
42404 grep -v '^ *+' conftest.er1
>conftest.err
42406 cat conftest.err
>&5
42407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42408 (exit $ac_status); } &&
42409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42411 (eval $ac_try) 2>&5
42413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42414 (exit $ac_status); }; } &&
42415 { ac_try
='test -s conftest.$ac_objext'
42416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42417 (eval $ac_try) 2>&5
42419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42420 (exit $ac_status); }; }; then
42421 bakefile_cv_prog_icc
=yes
42423 echo "$as_me: failed program was:" >&5
42424 sed 's/^/| /' conftest.
$ac_ext >&5
42426 bakefile_cv_prog_icc
=no
42429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42432 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42433 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42434 if test "$bakefile_cv_prog_icc" = "yes"; then
42441 if test "x$GCC" != xyes
; then
42442 SHARED_LD_CC
="${CC} -G -o"
42443 SHARED_LD_CXX
="${CXX} -G -o"
42450 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42451 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42452 if test "${wx_cv_gcc31+set}" = set; then
42453 echo $ECHO_N "(cached) $ECHO_C" >&6
42456 cat >conftest.
$ac_ext <<_ACEOF
42459 cat confdefs.h
>>conftest.
$ac_ext
42460 cat >>conftest.
$ac_ext <<_ACEOF
42461 /* end confdefs.h. */
42467 #if (__GNUC__ < 3) || \
42468 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42476 rm -f conftest.
$ac_objext
42477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42478 (eval $ac_compile) 2>conftest.er1
42480 grep -v '^ *+' conftest.er1
>conftest.err
42482 cat conftest.err
>&5
42483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484 (exit $ac_status); } &&
42485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42487 (eval $ac_try) 2>&5
42489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42490 (exit $ac_status); }; } &&
42491 { ac_try
='test -s conftest.$ac_objext'
42492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42493 (eval $ac_try) 2>&5
42495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42496 (exit $ac_status); }; }; then
42501 echo "$as_me: failed program was:" >&5
42502 sed 's/^/| /' conftest.
$ac_ext >&5
42509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42512 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42513 echo "${ECHO_T}$wx_cv_gcc31" >&6
42514 if test "$wx_cv_gcc31" = "no"; then
42517 cat <<EOF >shared-ld-sh
42519 #-----------------------------------------------------------------------------
42520 #-- Name: distrib/mac/shared-ld-sh
42521 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42522 #-- Author: Gilles Depeyrot
42523 #-- Copyright: (c) 2002 Gilles Depeyrot
42524 #-- Licence: any use permitted
42525 #-----------------------------------------------------------------------------
42530 linking_flag="-dynamiclib"
42531 ldargs="-r -keep_private_externs -nostdlib"
42533 while test ${D}# -gt 0; do
42540 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42541 # collect these options and values
42542 args="${D}{args} ${D}1 ${D}2"
42547 # collect these load args
42548 ldargs="${D}{ldargs} ${D}1"
42551 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
42552 # collect these options
42553 args="${D}{args} ${D}1"
42556 -dynamiclib|-bundle)
42557 linking_flag="${D}1"
42561 echo "shared-ld: unhandled option '${D}1'"
42565 *.o | *.a | *.dylib)
42566 # collect object files
42567 objects="${D}{objects} ${D}1"
42571 echo "shared-ld: unhandled argument '${D}1'"
42582 # Link one module containing all the others
42584 if test ${D}{verbose} = 1; then
42585 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
42587 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
42591 # Link the shared library from the single module created, but only if the
42592 # previous command didn't fail:
42594 if test ${D}{status} = 0; then
42595 if test ${D}{verbose} = 1; then
42596 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42598 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42603 # Remove intermediate module
42605 rm -f master.${D}${D}.o
42610 chmod +x shared
-ld-sh
42612 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42613 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42614 SHARED_LD_CXX
="$SHARED_LD_CC"
42615 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
42617 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42618 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42619 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42620 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42623 PIC_FLAG
="-dynamic -fPIC"
42627 if test "x$GCC" != "xyes"; then
42628 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42629 set dummy makeC
++SharedLib
; ac_word
=$2
42630 echo "$as_me:$LINENO: checking for $ac_word" >&5
42631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42632 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42633 echo $ECHO_N "(cached) $ECHO_C" >&6
42635 if test -n "$AIX_CXX_LD"; then
42636 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
42638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42639 for as_dir
in $PATH
42642 test -z "$as_dir" && as_dir
=.
42643 for ac_exec_ext
in '' $ac_executable_extensions; do
42644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42645 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
42646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42652 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
42655 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
42656 if test -n "$AIX_CXX_LD"; then
42657 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42658 echo "${ECHO_T}$AIX_CXX_LD" >&6
42660 echo "$as_me:$LINENO: result: no" >&5
42661 echo "${ECHO_T}no" >&6
42664 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
42665 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
42670 SHARED_LD_CC
="${LD} -nostart -o"
42671 SHARED_LD_CXX
="${LD} -nostart -o"
42675 if test "x$GCC" != "xyes"; then
42680 *-*-cygwin* | *-*-mingw32* )
42682 SHARED_LD_CC
="\$(CC) -shared -o"
42683 SHARED_LD_CXX
="\$(CXX) -shared -o"
42687 *-pc-os2_emx | *-pc-os2-emx )
42688 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42689 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42693 cat <<EOF >dllar.sh
42696 # dllar - a tool to build both a .dll and an .a file
42697 # from a set of object (.o) files for EMX/OS2.
42699 # Written by Andrew Zabolotny, bit@freya.etu.ru
42700 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42702 # This script will accept a set of files on the command line.
42703 # All the public symbols from the .o files will be exported into
42704 # a .DEF file, then linker will be run (through gcc) against them to
42705 # build a shared library consisting of all given .o files. All libraries
42706 # (.a) will be first decompressed into component .o files then act as
42707 # described above. You can optionally give a description (-d "description")
42708 # which will be put into .DLL. To see the list of accepted options (as well
42709 # as command-line format) simply run this program without options. The .DLL
42710 # is built to be imported by name (there is no guarantee that new versions
42711 # of the library you build will have same ordinals for same symbols).
42713 # dllar is free software; you can redistribute it and/or modify
42714 # it under the terms of the GNU General Public License as published by
42715 # the Free Software Foundation; either version 2, or (at your option)
42716 # any later version.
42718 # dllar is distributed in the hope that it will be useful,
42719 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42720 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42721 # GNU General Public License for more details.
42723 # You should have received a copy of the GNU General Public License
42724 # along with dllar; see the file COPYING. If not, write to the Free
42725 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42728 # To successfuly run this program you will need:
42729 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42730 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42732 # (used to build the .dll)
42734 # (used to create .def file from .o files)
42736 # (used to create .a file from .def file)
42737 # - GNU text utilites (cat, sort, uniq)
42738 # used to process emxexp output
42739 # - GNU file utilities (mv, rm)
42741 # - lxlite (optional, see flag below)
42742 # (used for general .dll cleanup)
42749 # basnam, variant of basename, which does _not_ remove the path, _iff_
42750 # second argument (suffix to remove) is given
42754 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42757 echo ${D}1 | sed 's/'${D}2'${D}//'
42760 echo "error in basnam ${D}*"
42766 # Cleanup temporary files and output
42769 for i in ${D}inputFiles ; do
42772 rm -rf \`basnam ${D}i !\`
42779 # Kill result in case of failure as there is just to many stupid make/nmake
42780 # things out there which doesn't do this.
42781 if [ ${D}# -eq 0 ]; then
42782 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42786 # Print usage and exit script with rc=1.
42788 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42789 echo ' [-name-mangler-script script.sh]'
42790 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42791 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42792 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42793 echo ' [*.o] [*.a]'
42794 echo '*> "output_file" should have no extension.'
42795 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42796 echo ' The import library name is derived from this and is set to "name".a,'
42797 echo ' unless overridden by -import'
42798 echo '*> "importlib_name" should have no extension.'
42799 echo ' If it has the .o, or .a extension, it is automatically removed.'
42800 echo ' This name is used as the import library name and may be longer and'
42801 echo ' more descriptive than the DLL name which has to follow the old '
42802 echo ' 8.3 convention of FAT.'
42803 echo '*> "script.sh may be given to override the output_file name by a'
42804 echo ' different name. It is mainly useful if the regular make process'
42805 echo ' of some package does not take into account OS/2 restriction of'
42806 echo ' DLL name lengths. It takes the importlib name as input and is'
42807 echo ' supposed to procude a shorter name as output. The script should'
42808 echo ' expect to get importlib_name without extension and should produce'
42809 echo ' a (max.) 8 letter name without extension.'
42810 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42811 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42812 echo ' These flags will be put at the start of GCC command line.'
42813 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42814 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42815 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42816 echo ' If the last character of a symbol is "*", all symbols beginning'
42817 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42818 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42819 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42820 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42821 echo ' C runtime DLLs.'
42822 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42823 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42824 echo ' unchanged to GCC at the end of command line.'
42825 echo '*> If you create a DLL from a library and you do not specify -o,'
42826 echo ' the basename for DLL and import library will be set to library name,'
42827 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42828 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42829 echo ' library will be renamed into gcc_s.a.'
42832 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42833 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42838 # Execute a command.
42839 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42840 # @Uses Whatever CleanUp() uses.
42846 if [ ${D}rcCmd -ne 0 ]; then
42847 echo "command failed, exit code="${D}rcCmd
42862 CFLAGS="-s -Zcrtdll"
42864 EXPORT_BY_ORDINALS=0
42869 case ${D}curDirS in
42873 curDirS=${D}{curDirS}"/"
42876 # Parse commandline
42879 while [ ${D}1 ]; do
42882 EXPORT_BY_ORDINALS=1;
42892 -name-mangler-script)
42913 exclude_symbols=${D}{exclude_symbols}${D}1" "
42917 library_flags=${D}{library_flags}${D}1" "
42936 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42939 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42940 if [ ${D}omfLinking -eq 1 ]; then
42941 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42943 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42948 if [ ${D}libsToLink -ne 0 ]; then
42949 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42951 for file in ${D}1 ; do
42952 if [ -f ${D}file ]; then
42953 inputFiles="${D}{inputFiles} ${D}file"
42957 if [ ${D}found -eq 0 ]; then
42958 echo "ERROR: No file(s) found: "${D}1
42965 done # iterate cmdline words
42968 if [ -z "${D}inputFiles" ]; then
42969 echo "dllar: no input files"
42973 # Now extract all .o files from .a files
42975 for file in ${D}inputFiles ; do
42986 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42991 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42993 if [ ${D}? -ne 0 ]; then
42994 echo "Failed to create subdirectory ./${D}dirname"
42998 # Append '!' to indicate archive
42999 newInputFiles="${D}newInputFiles ${D}{dirname}!"
43000 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
43003 for subfile in ${D}dirname/*.o* ; do
43004 if [ -f ${D}subfile ]; then
43006 if [ -s ${D}subfile ]; then
43007 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
43008 newInputFiles="${D}newInputFiles ${D}subfile"
43012 if [ ${D}found -eq 0 ]; then
43013 echo "WARNING: there are no files in archive \\'${D}file\\'"
43017 newInputFiles="${D}{newInputFiles} ${D}file"
43021 inputFiles="${D}newInputFiles"
43023 # Output filename(s).
43025 if [ -z ${D}outFile ]; then
43027 set outFile ${D}inputFiles; outFile=${D}2
43030 # If it is an archive, remove the '!' and the '_%' suffixes
43031 case ${D}outFile in
43033 outFile=\`basnam ${D}outFile _%!\`
43038 case ${D}outFile in
43040 outFile=\`basnam ${D}outFile .dll\`
43043 outFile=\`basnam ${D}outFile .DLL\`
43046 outFile=\`basnam ${D}outFile .o\`
43049 outFile=\`basnam ${D}outFile .obj\`
43052 outFile=\`basnam ${D}outFile .a\`
43055 outFile=\`basnam ${D}outFile .lib\`
43060 case ${D}outimpFile in
43062 outimpFile=\`basnam ${D}outimpFile .a\`
43065 outimpFile=\`basnam ${D}outimpFile .lib\`
43070 if [ -z ${D}outimpFile ]; then
43071 outimpFile=${D}outFile
43073 defFile="${D}{outFile}.def"
43074 arcFile="${D}{outimpFile}.a"
43075 arcFile2="${D}{outimpFile}.lib"
43077 #create ${D}dllFile as something matching 8.3 restrictions,
43078 if [ -z ${D}renameScript ] ; then
43079 dllFile="${D}outFile"
43081 dllFile=\`${D}renameScript ${D}outimpFile\`
43084 if [ ${D}do_backup -ne 0 ] ; then
43085 if [ -f ${D}arcFile ] ; then
43086 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
43088 if [ -f ${D}arcFile2 ] ; then
43089 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
43093 # Extract public symbols from all the object files.
43094 tmpdefFile=${D}{defFile}_%
43095 rm -f ${D}tmpdefFile
43096 for file in ${D}inputFiles ; do
43101 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
43106 # Create the def file.
43108 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
43109 dllFile="${D}{dllFile}.dll"
43110 if [ ! -z ${D}description ]; then
43111 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
43113 echo "EXPORTS" >> ${D}defFile
43115 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43116 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43118 # Checks if the export is ok or not.
43119 for word in ${D}exclude_symbols; do
43120 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43121 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43125 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43126 sed "=" < ${D}tmpdefFile | \\
43130 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43132 ' > ${D}{tmpdefFile}%
43133 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43135 rm -f ${D}{tmpdefFile}%
43137 cat ${D}tmpdefFile >> ${D}defFile
43138 rm -f ${D}tmpdefFile
43140 # Do linking, create implib, and apply lxlite.
43142 for file in ${D}inputFiles ; do
43147 gccCmdl="${D}gccCmdl ${D}file"
43151 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43152 touch "${D}{outFile}.dll"
43154 doCommand "emximp -o ${D}arcFile ${D}defFile"
43155 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43157 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43160 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43162 doCommand "emxomf -s -l ${D}arcFile"
43172 powerpc
-apple-macos* | \
43173 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43182 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43183 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43184 { (exit 1); exit 1; }; }
43187 if test "x$PIC_FLAG" != "x" ; then
43188 PIC_FLAG
="$PIC_FLAG -DPIC"
43191 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43192 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
43194 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43195 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
43214 case "${BAKEFILE_HOST}" in
43215 *-*-linux* | *-*-freebsd* )
43216 SONAME_FLAG
="-Wl,-soname,"
43250 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43251 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43254 if test "x$GCC" = "xyes"; then
43257 case "${BAKEFILE_HOST}" in
43258 powerpc
-*-darwin* )
43259 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
43262 DEPSFLAG_GCC
="-MMD"
43265 echo "$as_me:$LINENO: result: gcc" >&5
43266 echo "${ECHO_T}gcc" >&6
43267 elif test "x$MWCC" = "xyes"; then
43270 DEPSFLAG_MWCC
="-MM"
43271 echo "$as_me:$LINENO: result: mwcc" >&5
43272 echo "${ECHO_T}mwcc" >&6
43273 elif test "x$SUNCC" = "xyes"; then
43276 DEPSFLAG_SUNCC
="-xM1"
43277 echo "$as_me:$LINENO: result: suncc" >&5
43278 echo "${ECHO_T}suncc" >&6
43280 echo "$as_me:$LINENO: result: none" >&5
43281 echo "${ECHO_T}none" >&6
43284 if test $DEPS_TRACKING = 1 ; then
43290 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43291 # script. It is used to track C/C++ files dependencies in portable way.
43293 # Permission is given to use this file in any way.
43295 DEPSMODE=${DEPSMODE}
43297 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43298 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43299 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43301 mkdir -p ${D}DEPSDIR
43303 if test ${D}DEPSMODE = gcc ; then
43304 ${D}* ${D}{DEPSFLAG_GCC}
43306 if test ${D}{status} != 0 ; then
43309 # move created file to the location we want it in:
43310 while test ${D}# -gt 0; do
43324 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43325 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43326 if test -f ${D}depfile ; then
43327 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43330 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43331 if test -f ${D}depfile ; then
43332 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43337 elif test ${D}DEPSMODE = mwcc ; then
43340 if test ${D}{status} != 0 ; then
43343 # Run mwcc again with -MM and redirect into the dep file we want
43344 # NOTE: We can't use shift here because we need ${D}* to be valid
43346 for arg in ${D}* ; do
43347 if test "${D}prevarg" = "-o"; then
43360 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43362 elif test ${D}DEPSMODE = suncc; then
43364 # Run compiler again with deps flag and redirect into the dep file.
43365 # It doesn't work if the '-o FILE' option is used, but without it the
43366 # dependency file will contain the wrong name for the object. So it is
43367 # removed from the command line, and the dep file is fixed with sed.
43369 while test ${D}# -gt 0; do
43376 eval arg${D}#=\\${D}1
43377 cmd="${D}cmd \\${D}arg${D}#"
43382 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43399 case ${BAKEFILE_HOST} in
43400 *-*-cygwin* | *-*-mingw32* )
43401 if test "$build" != "$host" ; then
43402 RESCOMP
=$host_alias-windres
43404 # Extract the first word of "windres", so it can be a program name with args.
43405 set dummy windres
; ac_word
=$2
43406 echo "$as_me:$LINENO: checking for $ac_word" >&5
43407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43408 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43409 echo $ECHO_N "(cached) $ECHO_C" >&6
43411 if test -n "$RESCOMP"; then
43412 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43415 for as_dir
in $PATH
43418 test -z "$as_dir" && as_dir
=.
43419 for ac_exec_ext
in '' $ac_executable_extensions; do
43420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43421 ac_cv_prog_RESCOMP
="windres"
43422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43428 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
43431 RESCOMP
=$ac_cv_prog_RESCOMP
43432 if test -n "$RESCOMP"; then
43433 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43434 echo "${ECHO_T}$RESCOMP" >&6
43436 echo "$as_me:$LINENO: result: no" >&5
43437 echo "${ECHO_T}no" >&6
43443 *-*-darwin* | powerpc
-apple-macos* )
43444 # Extract the first word of "Rez", so it can be a program name with args.
43445 set dummy Rez
; ac_word
=$2
43446 echo "$as_me:$LINENO: checking for $ac_word" >&5
43447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43448 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43449 echo $ECHO_N "(cached) $ECHO_C" >&6
43451 if test -n "$RESCOMP"; then
43452 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43455 for as_dir
in $PATH
43458 test -z "$as_dir" && as_dir
=.
43459 for ac_exec_ext
in '' $ac_executable_extensions; do
43460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43461 ac_cv_prog_RESCOMP
="Rez"
43462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43468 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
43471 RESCOMP
=$ac_cv_prog_RESCOMP
43472 if test -n "$RESCOMP"; then
43473 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43474 echo "${ECHO_T}$RESCOMP" >&6
43476 echo "$as_me:$LINENO: result: no" >&5
43477 echo "${ECHO_T}no" >&6
43480 # Extract the first word of "SetFile", so it can be a program name with args.
43481 set dummy SetFile
; ac_word
=$2
43482 echo "$as_me:$LINENO: checking for $ac_word" >&5
43483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43484 if test "${ac_cv_prog_SETFILE+set}" = set; then
43485 echo $ECHO_N "(cached) $ECHO_C" >&6
43487 if test -n "$SETFILE"; then
43488 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
43490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43491 for as_dir
in $PATH
43494 test -z "$as_dir" && as_dir
=.
43495 for ac_exec_ext
in '' $ac_executable_extensions; do
43496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43497 ac_cv_prog_SETFILE
="SetFile"
43498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43504 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
43507 SETFILE
=$ac_cv_prog_SETFILE
43508 if test -n "$SETFILE"; then
43509 echo "$as_me:$LINENO: result: $SETFILE" >&5
43510 echo "${ECHO_T}$SETFILE" >&6
43512 echo "$as_me:$LINENO: result: no" >&5
43513 echo "${ECHO_T}no" >&6
43523 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
43526 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
43530 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43531 if test "${enable_precomp_headers+set}" = set; then
43532 enableval
="$enable_precomp_headers"
43533 bk_use_pch
="$enableval"
43538 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43539 if test "x$GCC" = "xyes"; then
43540 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43541 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43542 cat >conftest.
$ac_ext <<_ACEOF
43545 cat confdefs.h
>>conftest.
$ac_ext
43546 cat >>conftest.
$ac_ext <<_ACEOF
43547 /* end confdefs.h. */
43553 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43554 #error "no pch support"
43557 #error "no pch support"
43559 #if (__GNUC__ == 3) && \
43560 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43561 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43562 #error "no pch support"
43569 rm -f conftest.
$ac_objext
43570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43571 (eval $ac_compile) 2>conftest.er1
43573 grep -v '^ *+' conftest.er1
>conftest.err
43575 cat conftest.err
>&5
43576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43577 (exit $ac_status); } &&
43578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43580 (eval $ac_try) 2>&5
43582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583 (exit $ac_status); }; } &&
43584 { ac_try
='test -s conftest.$ac_objext'
43585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43586 (eval $ac_try) 2>&5
43588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43589 (exit $ac_status); }; }; then
43591 echo "$as_me:$LINENO: result: yes" >&5
43592 echo "${ECHO_T}yes" >&6
43596 echo "$as_me: failed program was:" >&5
43597 sed 's/^/| /' conftest.
$ac_ext >&5
43600 echo "$as_me:$LINENO: result: no" >&5
43601 echo "${ECHO_T}no" >&6
43604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43605 if test $GCC_PCH = 1 ; then
43608 cat <<EOF >bk-make-pch
43611 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43612 # script. It is used to generated precompiled headers.
43614 # Permission is given to use this file in any way.
43623 while test ${D}{#} -gt 0; do
43626 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43627 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43628 headerfile="${D}{incdir}/${D}{header}"
43632 compiler="${D}{compiler} ${D}{1}"
43636 if test "x${D}{headerfile}" = "x" ; then
43637 echo "error: can't find header ${D}{header} in include paths" >2
43639 if test -f ${D}{outfile} ; then
43640 rm -f ${D}{outfile}
43642 mkdir -p \`dirname ${D}{outfile}\`
43644 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43646 # can do this because gcc is >= 3.4:
43647 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43652 chmod +x bk
-make-pch
43659 COND_BUILD_DEBUG
="#"
43660 if test "x$BUILD" = "xdebug" ; then
43661 COND_BUILD_DEBUG
=""
43664 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
43665 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43666 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
43669 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
43670 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43671 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
43674 COND_BUILD_DEBUG_UNICODE_0
="#"
43675 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43676 COND_BUILD_DEBUG_UNICODE_0
=""
43679 COND_BUILD_DEBUG_UNICODE_1
="#"
43680 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43681 COND_BUILD_DEBUG_UNICODE_1
=""
43684 COND_BUILD_RELEASE
="#"
43685 if test "x$BUILD" = "xrelease" ; then
43686 COND_BUILD_RELEASE
=""
43689 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
43690 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43691 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
43694 COND_BUILD_RELEASE_UNICODE_0
="#"
43695 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43696 COND_BUILD_RELEASE_UNICODE_0
=""
43699 COND_BUILD_RELEASE_UNICODE_1
="#"
43700 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43701 COND_BUILD_RELEASE_UNICODE_1
=""
43704 COND_DEBUG_FLAG_1
="#"
43705 if test "x$DEBUG_FLAG" = "x1" ; then
43706 COND_DEBUG_FLAG_1
=""
43709 COND_DEBUG_INFO_0
="#"
43710 if test "x$DEBUG_INFO" = "x0" ; then
43711 COND_DEBUG_INFO_0
=""
43714 COND_DEBUG_INFO_1
="#"
43715 if test "x$DEBUG_INFO" = "x1" ; then
43716 COND_DEBUG_INFO_1
=""
43719 COND_DEPS_TRACKING_0
="#"
43720 if test "x$DEPS_TRACKING" = "x0" ; then
43721 COND_DEPS_TRACKING_0
=""
43724 COND_DEPS_TRACKING_1
="#"
43725 if test "x$DEPS_TRACKING" = "x1" ; then
43726 COND_DEPS_TRACKING_1
=""
43730 if test "x$GCC_PCH" = "x1" ; then
43734 COND_MONOLITHIC_0
="#"
43735 if test "x$MONOLITHIC" = "x0" ; then
43736 COND_MONOLITHIC_0
=""
43739 COND_MONOLITHIC_0_SHARED_0
="#"
43740 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43741 COND_MONOLITHIC_0_SHARED_0
=""
43744 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
43745 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43746 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
43749 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
43750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43751 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
43754 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
43755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43756 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
43759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
43760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
43764 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
43765 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43766 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
43769 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
43770 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43771 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
43774 COND_MONOLITHIC_0_SHARED_1
="#"
43775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43776 COND_MONOLITHIC_0_SHARED_1
=""
43779 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
43780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43781 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
43784 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
43785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43786 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
43789 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
43790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43791 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
43794 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
43795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
43799 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
43800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43801 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
43804 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
43805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43806 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
43809 COND_MONOLITHIC_0_USE_ODBC_1
="#"
43810 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43811 COND_MONOLITHIC_0_USE_ODBC_1
=""
43814 COND_MONOLITHIC_1
="#"
43815 if test "x$MONOLITHIC" = "x1" ; then
43816 COND_MONOLITHIC_1
=""
43819 COND_MONOLITHIC_1_SHARED_0
="#"
43820 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43821 COND_MONOLITHIC_1_SHARED_0
=""
43824 COND_MONOLITHIC_1_SHARED_1
="#"
43825 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43826 COND_MONOLITHIC_1_SHARED_1
=""
43829 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
43830 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43831 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
43834 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
43835 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43836 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
43839 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
43840 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43841 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
43844 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
43845 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43846 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
43849 COND_PLATFORM_MACOSX_1
="#"
43850 if test "x$PLATFORM_MACOSX" = "x1" ; then
43851 COND_PLATFORM_MACOSX_1
=""
43854 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
43855 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43856 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
43859 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
43860 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43861 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
43864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
43865 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
43869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
43870 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
43874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
43875 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43876 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
43879 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43880 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43881 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43884 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
43885 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43886 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
43889 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
43890 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43891 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
43894 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
43895 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43896 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
43899 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
43900 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43901 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
43904 COND_PLATFORM_MACOS_1
="#"
43905 if test "x$PLATFORM_MACOS" = "x1" ; then
43906 COND_PLATFORM_MACOS_1
=""
43909 COND_PLATFORM_MAC_1
="#"
43910 if test "x$PLATFORM_MAC" = "x1" ; then
43911 COND_PLATFORM_MAC_1
=""
43914 COND_PLATFORM_MSDOS_1
="#"
43915 if test "x$PLATFORM_MSDOS" = "x1" ; then
43916 COND_PLATFORM_MSDOS_1
=""
43919 COND_PLATFORM_OS2_1
="#"
43920 if test "x$PLATFORM_OS2" = "x1" ; then
43921 COND_PLATFORM_OS2_1
=""
43924 COND_PLATFORM_UNIX_0
="#"
43925 if test "x$PLATFORM_UNIX" = "x0" ; then
43926 COND_PLATFORM_UNIX_0
=""
43929 COND_PLATFORM_UNIX_1
="#"
43930 if test "x$PLATFORM_UNIX" = "x1" ; then
43931 COND_PLATFORM_UNIX_1
=""
43934 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
43935 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43936 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
43939 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
43940 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43941 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
43944 COND_PLATFORM_WIN32_0
="#"
43945 if test "x$PLATFORM_WIN32" = "x0" ; then
43946 COND_PLATFORM_WIN32_0
=""
43949 COND_PLATFORM_WIN32_1
="#"
43950 if test "x$PLATFORM_WIN32" = "x1" ; then
43951 COND_PLATFORM_WIN32_1
=""
43955 if test "x$SHARED" = "x0" ; then
43959 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
43960 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43961 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
43964 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
43965 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43966 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43969 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43970 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43971 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43974 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43975 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43976 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43979 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43980 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43981 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43984 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43985 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43986 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43989 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43990 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43991 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43994 COND_SHARED_0_USE_XRC_1
="#"
43995 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43996 COND_SHARED_0_USE_XRC_1
=""
43999 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
44000 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
44001 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
44004 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
44005 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
44006 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
44009 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
44010 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
44011 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
44014 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
44015 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
44016 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
44020 if test "x$SHARED" = "x1" ; then
44024 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
44025 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
44026 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
44029 COND_SHARED_1_USE_XRC_1
="#"
44030 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
44031 COND_SHARED_1_USE_XRC_1
=""
44035 if test "x$TOOLKIT" = "x" ; then
44039 COND_TOOLKIT_COCOA
="#"
44040 if test "x$TOOLKIT" = "xCOCOA" ; then
44041 COND_TOOLKIT_COCOA
=""
44044 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
44045 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
44046 COND_TOOLKIT_COCOA_USE_GUI_1
=""
44049 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
44050 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44051 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
44054 COND_TOOLKIT_GTK
="#"
44055 if test "x$TOOLKIT" = "xGTK" ; then
44056 COND_TOOLKIT_GTK
=""
44059 COND_TOOLKIT_GTK_USE_GUI_1
="#"
44060 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
44061 COND_TOOLKIT_GTK_USE_GUI_1
=""
44064 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
44065 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44066 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
44069 COND_TOOLKIT_MAC
="#"
44070 if test "x$TOOLKIT" = "xMAC" ; then
44071 COND_TOOLKIT_MAC
=""
44074 COND_TOOLKIT_MAC_USE_GUI_1
="#"
44075 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44076 COND_TOOLKIT_MAC_USE_GUI_1
=""
44079 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
44080 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44081 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
44084 COND_TOOLKIT_MGL
="#"
44085 if test "x$TOOLKIT" = "xMGL" ; then
44086 COND_TOOLKIT_MGL
=""
44089 COND_TOOLKIT_MGL_USE_GUI_1
="#"
44090 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
44091 COND_TOOLKIT_MGL_USE_GUI_1
=""
44094 COND_TOOLKIT_MOTIF
="#"
44095 if test "x$TOOLKIT" = "xMOTIF" ; then
44096 COND_TOOLKIT_MOTIF
=""
44099 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
44100 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
44101 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
44104 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
44105 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44106 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
44109 COND_TOOLKIT_MSW
="#"
44110 if test "x$TOOLKIT" = "xMSW" ; then
44111 COND_TOOLKIT_MSW
=""
44114 COND_TOOLKIT_MSW_USE_GUI_1
="#"
44115 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
44116 COND_TOOLKIT_MSW_USE_GUI_1
=""
44119 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
44120 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44121 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
44124 COND_TOOLKIT_PM
="#"
44125 if test "x$TOOLKIT" = "xPM" ; then
44129 COND_TOOLKIT_PM_USE_GUI_1
="#"
44130 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44131 COND_TOOLKIT_PM_USE_GUI_1
=""
44134 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
44135 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44136 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
44139 COND_TOOLKIT_WINCE
="#"
44140 if test "x$TOOLKIT" = "xWINCE" ; then
44141 COND_TOOLKIT_WINCE
=""
44144 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
44145 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44146 COND_TOOLKIT_WINCE_USE_GUI_1
=""
44149 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
44150 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44151 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
44154 COND_TOOLKIT_X11
="#"
44155 if test "x$TOOLKIT" = "xX11" ; then
44156 COND_TOOLKIT_X11
=""
44159 COND_TOOLKIT_X11_USE_GUI_1
="#"
44160 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44161 COND_TOOLKIT_X11_USE_GUI_1
=""
44165 if test "x$UNICODE" = "x1" ; then
44169 COND_USE_EXCEPTIONS_0
="#"
44170 if test "x$USE_EXCEPTIONS" = "x0" ; then
44171 COND_USE_EXCEPTIONS_0
=""
44174 COND_USE_EXCEPTIONS_1
="#"
44175 if test "x$USE_EXCEPTIONS" = "x1" ; then
44176 COND_USE_EXCEPTIONS_1
=""
44180 if test "x$USE_GUI" = "x0" ; then
44185 if test "x$USE_GUI" = "x1" ; then
44189 COND_USE_GUI_1_WXUNIV_0
="#"
44190 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44191 COND_USE_GUI_1_WXUNIV_0
=""
44194 COND_USE_GUI_1_WXUNIV_1
="#"
44195 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44196 COND_USE_GUI_1_WXUNIV_1
=""
44199 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
44200 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44201 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
44204 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
44205 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44206 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
44209 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
44210 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44211 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
44214 COND_USE_ODBC_1
="#"
44215 if test "x$USE_ODBC" = "x1" ; then
44219 COND_USE_OPENGL_1
="#"
44220 if test "x$USE_OPENGL" = "x1" ; then
44221 COND_USE_OPENGL_1
=""
44224 COND_USE_PLUGINS_0
="#"
44225 if test "x$USE_PLUGINS" = "x0" ; then
44226 COND_USE_PLUGINS_0
=""
44229 COND_USE_RTTI_0
="#"
44230 if test "x$USE_RTTI" = "x0" ; then
44234 COND_USE_RTTI_1
="#"
44235 if test "x$USE_RTTI" = "x1" ; then
44239 COND_USE_SOSYMLINKS_1
="#"
44240 if test "x$USE_SOSYMLINKS" = "x1" ; then
44241 COND_USE_SOSYMLINKS_1
=""
44244 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
44245 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44246 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
44249 COND_USE_SOVERLINUX_1
="#"
44250 if test "x$USE_SOVERLINUX" = "x1" ; then
44251 COND_USE_SOVERLINUX_1
=""
44254 COND_USE_SOVERSION_0
="#"
44255 if test "x$USE_SOVERSION" = "x0" ; then
44256 COND_USE_SOVERSION_0
=""
44259 COND_USE_SOVERSOLARIS_1
="#"
44260 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44261 COND_USE_SOVERSOLARIS_1
=""
44264 COND_USE_THREADS_0
="#"
44265 if test "x$USE_THREADS" = "x0" ; then
44266 COND_USE_THREADS_0
=""
44269 COND_USE_THREADS_1
="#"
44270 if test "x$USE_THREADS" = "x1" ; then
44271 COND_USE_THREADS_1
=""
44275 if test "x$USE_XRC" = "x1" ; then
44279 COND_WINDOWS_IMPLIB_1
="#"
44280 if test "x$WINDOWS_IMPLIB" = "x1" ; then
44281 COND_WINDOWS_IMPLIB_1
=""
44284 COND_WITH_PLUGIN_SDL_1
="#"
44285 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44286 COND_WITH_PLUGIN_SDL_1
=""
44290 if test "x$WXUNIV" = "x0" ; then
44295 if test "x$WXUNIV" = "x1" ; then
44299 COND_WXUSE_EXPAT_BUILTIN
="#"
44300 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44301 COND_WXUSE_EXPAT_BUILTIN
=""
44304 COND_WXUSE_LIBJPEG_BUILTIN
="#"
44305 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44306 COND_WXUSE_LIBJPEG_BUILTIN
=""
44309 COND_WXUSE_LIBPNG_BUILTIN
="#"
44310 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44311 COND_WXUSE_LIBPNG_BUILTIN
=""
44314 COND_WXUSE_LIBTIFF_BUILTIN
="#"
44315 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44316 COND_WXUSE_LIBTIFF_BUILTIN
=""
44319 COND_WXUSE_ODBC_BUILTIN
="#"
44320 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44321 COND_WXUSE_ODBC_BUILTIN
=""
44324 COND_WXUSE_REGEX_BUILTIN
="#"
44325 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44326 COND_WXUSE_REGEX_BUILTIN
=""
44329 COND_WXUSE_ZLIB_BUILTIN
="#"
44330 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44331 COND_WXUSE_ZLIB_BUILTIN
=""
44336 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
44337 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
44338 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
44339 { (exit 1); exit 1; }; }
44342 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44343 { { 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
44344 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;}
44345 { (exit 1); exit 1; }; }
44349 if test "$wxUSE_WINE" = "yes"; then
44353 if test "$wxUSE_SHARED" = "yes"; then
44355 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
44356 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
44359 *-pc-os2_emx | *-pc-os2-emx )
44360 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44361 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44362 cp -p ${srcdir}/src
/os
2/dllnames.sh .
44363 cp -p ${srcdir}/src
/os
2/dllar.sh .
44368 EXE_LINKER
="$CXX -o"
44371 if test "$wxUSE_OMF" = "yes"; then
44373 *-pc-os2_emx | *-pc-os2-emx )
44374 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
44375 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44376 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44381 GCC_PRAGMA_FLAGS
=""
44384 if test $GCC_PCH = 1 ; then
44385 PCH_FLAGS
="-DWX_PRECOMP"
44386 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44388 if test "$GCC" = yes; then
44389 echo "$as_me:$LINENO: checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA" >&5
44390 echo $ECHO_N "checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44391 cat >conftest.
$ac_ext <<_ACEOF
44394 cat confdefs.h
>>conftest.
$ac_ext
44395 cat >>conftest.
$ac_ext <<_ACEOF
44396 /* end confdefs.h. */
44402 #error "Not GCC 4.0 or greater"
44409 rm -f conftest.
$ac_objext
44410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44411 (eval $ac_compile) 2>conftest.er1
44413 grep -v '^ *+' conftest.er1
>conftest.err
44415 cat conftest.err
>&5
44416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44417 (exit $ac_status); } &&
44418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44420 (eval $ac_try) 2>&5
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); }; } &&
44424 { ac_try
='test -s conftest.$ac_objext'
44425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44426 (eval $ac_try) 2>&5
44428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44429 (exit $ac_status); }; }; then
44430 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44431 echo "$as_me:$LINENO: result: yes" >&5
44432 echo "${ECHO_T}yes" >&6
44434 echo "$as_me: failed program was:" >&5
44435 sed 's/^/| /' conftest.
$ac_ext >&5
44437 echo "$as_me:$LINENO: result: no" >&5
44438 echo "${ECHO_T}no" >&6
44441 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44444 if test "$wxUSE_STL" = "yes" -o \
44445 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44446 "$wxUSE_NO_RTTI" != "yes"; then
44447 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44448 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44449 cat >conftest.
$ac_ext <<_ACEOF
44452 cat confdefs.h
>>conftest.
$ac_ext
44453 cat >>conftest.
$ac_ext <<_ACEOF
44454 /* end confdefs.h. */
44459 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44460 #error "Not GCC 3.2 or greater"
44467 rm -f conftest.
$ac_objext
44468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44469 (eval $ac_compile) 2>conftest.er1
44471 grep -v '^ *+' conftest.er1
>conftest.err
44473 cat conftest.err
>&5
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); } &&
44476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44478 (eval $ac_try) 2>&5
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); }; } &&
44482 { ac_try
='test -s conftest.$ac_objext'
44483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44484 (eval $ac_try) 2>&5
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); }; }; then
44488 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44489 echo "$as_me:$LINENO: result: yes" >&5
44490 echo "${ECHO_T}yes" >&6
44492 echo "$as_me: failed program was:" >&5
44493 sed 's/^/| /' conftest.
$ac_ext >&5
44495 echo "$as_me:$LINENO: result: no" >&5
44496 echo "${ECHO_T}no" >&6
44498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44501 *-pc-os2_emx | *-pc-os2-emx )
44502 if test "$wxUSE_STL" = "yes"; then
44503 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44504 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44505 cat >conftest.
$ac_ext <<_ACEOF
44508 cat confdefs.h
>>conftest.
$ac_ext
44509 cat >>conftest.
$ac_ext <<_ACEOF
44510 /* end confdefs.h. */
44515 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44516 #error "Not GCC 3.2 or greater"
44523 rm -f conftest.
$ac_objext
44524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44525 (eval $ac_compile) 2>conftest.er1
44527 grep -v '^ *+' conftest.er1
>conftest.err
44529 cat conftest.err
>&5
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); } &&
44532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44534 (eval $ac_try) 2>&5
44536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537 (exit $ac_status); }; } &&
44538 { ac_try
='test -s conftest.$ac_objext'
44539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44540 (eval $ac_try) 2>&5
44542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44543 (exit $ac_status); }; }; then
44544 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44545 echo "$as_me:$LINENO: result: yes" >&5
44546 echo "${ECHO_T}yes" >&6
44548 echo "$as_me: failed program was:" >&5
44549 sed 's/^/| /' conftest.
$ac_ext >&5
44551 echo "$as_me:$LINENO: result: no" >&5
44552 echo "${ECHO_T}no" >&6
44554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44563 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44566 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44630 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44631 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44632 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
44633 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44634 echo $ECHO_N "(cached) $ECHO_C" >&6
44636 cat >conftest.
make <<\_ACEOF
44638 @
echo 'ac_maketemp="$(MAKE)"'
44640 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44641 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44642 if test -n "$ac_maketemp"; then
44643 eval ac_cv_prog_make_
${ac_make}_set
=yes
44645 eval ac_cv_prog_make_
${ac_make}_set
=no
44647 rm -f conftest.
make
44649 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44650 echo "$as_me:$LINENO: result: yes" >&5
44651 echo "${ECHO_T}yes" >&6
44654 echo "$as_me:$LINENO: result: no" >&5
44655 echo "${ECHO_T}no" >&6
44656 SET_MAKE
="MAKE=${MAKE-make}"
44661 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44664 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44667 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44670 ac_config_files
="$ac_config_files version-script Makefile"
44673 ac_config_commands
="$ac_config_commands wx-config
44679 if test "$wxUSE_GUI" = "yes"; then
44680 SUBDIRS
="samples demos utils contrib"
44681 else SUBDIRS
="samples utils"
44686 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44687 if test "${with_cppunit_prefix+set}" = set; then
44688 withval
="$with_cppunit_prefix"
44689 cppunit_config_prefix
="$withval"
44691 cppunit_config_prefix
=""
44694 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44695 if test "${with_cppunit_exec_prefix+set}" = set; then
44696 withval
="$with_cppunit_exec_prefix"
44697 cppunit_config_exec_prefix
="$withval"
44699 cppunit_config_exec_prefix
=""
44702 if test x
$cppunit_config_exec_prefix != x
; then
44703 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44704 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44705 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
44708 if test x
$cppunit_config_prefix != x
; then
44709 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
44710 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44711 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
44715 # Extract the first word of "cppunit-config", so it can be a program name with args.
44716 set dummy cppunit
-config; ac_word
=$2
44717 echo "$as_me:$LINENO: checking for $ac_word" >&5
44718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44719 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44720 echo $ECHO_N "(cached) $ECHO_C" >&6
44722 case $CPPUNIT_CONFIG in
44724 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44728 for as_dir
in $PATH
44731 test -z "$as_dir" && as_dir
=.
44732 for ac_exec_ext
in '' $ac_executable_extensions; do
44733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44734 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44741 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
44745 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
44747 if test -n "$CPPUNIT_CONFIG"; then
44748 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44749 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44751 echo "$as_me:$LINENO: result: no" >&5
44752 echo "${ECHO_T}no" >&6
44755 cppunit_version_min
=1.8.0
44757 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44758 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44760 if test "$CPPUNIT_CONFIG" = "no" ; then
44763 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
44764 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
44765 cppunit_version
=`$CPPUNIT_CONFIG --version`
44767 cppunit_major_version
=`echo $cppunit_version | \
44768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44769 cppunit_minor_version
=`echo $cppunit_version | \
44770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44771 cppunit_micro_version
=`echo $cppunit_version | \
44772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44774 cppunit_major_min
=`echo $cppunit_version_min | \
44775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44776 cppunit_minor_min
=`echo $cppunit_version_min | \
44777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44778 cppunit_micro_min
=`echo $cppunit_version_min | \
44779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44781 cppunit_version_proper
=`expr \
44782 $cppunit_major_version \> $cppunit_major_min \| \
44783 $cppunit_major_version \= $cppunit_major_min \& \
44784 $cppunit_minor_version \> $cppunit_minor_min \| \
44785 $cppunit_major_version \= $cppunit_major_min \& \
44786 $cppunit_minor_version \= $cppunit_minor_min \& \
44787 $cppunit_micro_version \>= $cppunit_micro_min `
44789 if test "$cppunit_version_proper" = "1" ; then
44790 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44791 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44793 echo "$as_me:$LINENO: result: no" >&5
44794 echo "${ECHO_T}no" >&6
44799 if test "x$no_cppunit" = x
; then
44800 SUBDIRS
="$SUBDIRS tests"
44811 for subdir
in `echo $SUBDIRS`; do
44812 if test -d ${srcdir}/${subdir} ; then
44813 if test "$wxUSE_GUI" = "yes"; then
44814 if test ${subdir} = "samples"; then
44815 makefiles
="samples/Makefile.in $makefiles"
44816 for sample
in `echo $SAMPLES_SUBDIRS`; do
44817 if test -d $srcdir/samples
/$sample; then
44818 makefiles
="samples/$sample/Makefile.in $makefiles"
44822 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
44823 eval "disabled=\$$disabled_var"
44824 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
44825 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44827 else if test ${subdir} = "samples"; then
44828 makefiles
="samples/Makefile.in samples/console/Makefile.in"
44829 elif test ${subdir} = "utils"; then
44831 for util
in HelpGen tex2rtf
; do
44832 if test -d $srcdir/utils
/$util ; then
44833 makefiles
="utils/$util/Makefile.in \
44834 utils/$util/src/Makefile.in \
44838 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
44842 for mkin
in $makefiles ; do
44843 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44844 ac_config_files
="$ac_config_files $mk"
44851 cat >confcache
<<\_ACEOF
44852 # This file is a shell script that caches the results of configure
44853 # tests run on this system so they can be shared between configure
44854 # scripts and configure runs, see configure's option --config-cache.
44855 # It is not useful on other systems. If it contains results you don't
44856 # want to keep, you may remove or edit it.
44858 # config.status only pays attention to the cache file if you give it
44859 # the --recheck option to rerun configure.
44861 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44862 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44863 # following values.
44867 # The following way of writing the cache mishandles newlines in values,
44868 # but we know of no workaround that is simple, portable, and efficient.
44869 # So, don't put newlines in cache variables' values.
44870 # Ultrix sh set writes to stderr and can't be redirected directly,
44871 # and sets the high bit in the cache file unless we assign to the vars.
44874 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44876 # `set' does not quote correctly, so add quotes (double-quote
44877 # substitution turns \\\\ into \\, and sed turns \\ into \).
44880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44883 # `set' quotes correctly as required by POSIX, so do not add quotes.
44885 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44892 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44894 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44896 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
44897 if test -w $cache_file; then
44898 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44899 cat confcache
>$cache_file
44901 echo "not updating unwritable cache $cache_file"
44906 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
44907 # Let make expand exec_prefix.
44908 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
44910 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44911 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44912 # trailing colons and then remove the whole line if VPATH becomes empty
44913 # (actually we leave an empty line to preserve line numbers).
44914 if test "x$srcdir" = x.
; then
44915 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
44916 s/:*\$(srcdir):*/:/;
44917 s/:*\${srcdir}:*/:/;
44919 s/^\([^=]*=[ ]*\):*/\1/;
44925 DEFS
=-DHAVE_CONFIG_H
44929 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
44930 # 1. Remove the extension, and $U if already installed.
44931 ac_i
=`echo "$ac_i" |
44932 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44934 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
44935 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
44937 LIBOBJS
=$ac_libobjs
44939 LTLIBOBJS
=$ac_ltlibobjs
44943 : ${CONFIG_STATUS=./config.status}
44944 ac_clean_files_save
=$ac_clean_files
44945 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
44946 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44947 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44948 cat >$CONFIG_STATUS <<_ACEOF
44950 # Generated by $as_me.
44951 # Run this file to recreate the current configuration.
44952 # Compiler output produced by configure, useful for debugging
44953 # configure, is in config.log if it exists.
44956 ac_cs_recheck=false
44958 SHELL=\${CONFIG_SHELL-$SHELL}
44961 cat >>$CONFIG_STATUS <<\_ACEOF
44962 ## --------------------- ##
44963 ## M4sh Initialization. ##
44964 ## --------------------- ##
44966 # Be Bourne compatible
44967 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
44970 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44971 # is contrary to our usage. Disable this feature.
44972 alias -g '${1+"$@"}'='"$@"'
44973 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
44976 DUALCASE
=1; export DUALCASE
# for MKS sh
44978 # Support unset when possible.
44979 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
44986 # Work around bugs in pre-3.0 UWIN ksh.
44987 $as_unset ENV MAIL MAILPATH
44994 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44995 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44996 LC_TELEPHONE LC_TIME
44998 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44999 eval $as_var=C
; export $as_var
45005 # Required to use basename.
45006 if expr a
: '\(a\)' >/dev
/null
2>&1; then
45012 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
45013 as_basename
=basename
45019 # Name of the executable.
45020 as_me
=`$as_basename "$0" ||
45021 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
45022 X"$0" : 'X\(//\)$' \| \
45023 X"$0" : 'X\(/\)$' \| \
45024 . : '\(.\)' 2>/dev/null ||
45026 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
45027 /^X\/\(\/\/\)$/{ s//\1/; q; }
45028 /^X\/\(\/\).*/{ s//\1/; q; }
45032 # PATH needs CR, and LINENO needs CR and PATH.
45033 # Avoid depending upon Character Ranges.
45034 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
45035 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
45036 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
45037 as_cr_digits
='0123456789'
45038 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45040 # The user is always right.
45041 if test "${PATH_SEPARATOR+set}" != set; then
45042 echo "#! /bin/sh" >conf$$.sh
45043 echo "exit 0" >>conf$$.sh
45045 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
45054 as_lineno_1
=$LINENO
45055 as_lineno_2
=$LINENO
45056 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
45057 test "x$as_lineno_1" != "x$as_lineno_2" &&
45058 test "x$as_lineno_3" = "x$as_lineno_2" || {
45059 # Find who we are. Look in the path if we contain no path at all
45062 *[\\/]* ) as_myself
=$0 ;;
45063 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45064 for as_dir
in $PATH
45067 test -z "$as_dir" && as_dir
=.
45068 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
45073 # We did not find ourselves, most probably we were run as `sh COMMAND'
45074 # in which case we are not to be found in the path.
45075 if test "x$as_myself" = x
; then
45078 if test ! -f "$as_myself"; then
45079 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
45080 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
45081 { (exit 1); exit 1; }; }
45083 case $CONFIG_SHELL in
45085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45086 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
45089 test -z "$as_dir" && as_dir
=.
45090 for as_base
in sh bash ksh sh5
; do
45093 if ("$as_dir/$as_base" -c '
45094 as_lineno_1=$LINENO
45095 as_lineno_2=$LINENO
45096 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45097 test "x$as_lineno_1" != "x$as_lineno_2" &&
45098 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
45099 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
45100 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
45101 CONFIG_SHELL
=$as_dir/$as_base
45102 export CONFIG_SHELL
45103 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
45111 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45112 # uniformly replaced by the line number. The first 'sed' inserts a
45113 # line-number line before each line; the second 'sed' does the real
45114 # work. The second script uses 'N' to pair each line-number line
45115 # with the numbered line, and appends trailing '-' during
45116 # substitution so that $LINENO is not a special case at line end.
45117 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45118 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
45119 sed '=' <$as_myself |
45124 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
45127 s,^['$as_cr_digits']*\n,,
45128 ' >$as_me.lineno
&&
45129 chmod +x
$as_me.lineno
||
45130 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
45131 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
45132 { (exit 1); exit 1; }; }
45134 # Don't try to exec as it changes $[0], causing all sort of problems
45135 # (the dirname of $[0] is not the place where we might find the
45136 # original and so on. Autoconf is especially sensible to this).
45138 # Exit status is that of the last command.
45143 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
45144 *c
*,-n*) ECHO_N
= ECHO_C
='
45146 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
45147 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
45150 if expr a
: '\(a\)' >/dev
/null
2>&1; then
45156 rm -f conf$$ conf$$.exe conf$$.
file
45158 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
45159 # We could just check for DJGPP; but this test a) works b) is more generic
45160 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45161 if test -f conf$$.exe
; then
45162 # Don't use ln at all; we don't have any links
45167 elif ln conf$$.
file conf$$
2>/dev
/null
; then
45172 rm -f conf$$ conf$$.exe conf$$.
file
45174 if mkdir -p .
2>/dev
/null
; then
45177 test -d .
/-p && rmdir .
/-p
45181 as_executable_p
="test -f"
45183 # Sed expression to map a string onto a valid CPP name.
45184 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45186 # Sed expression to map a string onto a valid variable name.
45187 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45191 # We need space, tab and new line, in precisely that order.
45201 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45202 # report actual input values of CONFIG_FILES etc. instead of their
45203 # values after options handling. Logging --version etc. is OK.
45207 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45208 ## Running $as_me. ##
45213 This file was extended by wxWidgets $as_me 2.6.2, which was
45214 generated by GNU Autoconf 2.59. Invocation command line was
45216 CONFIG_FILES = $CONFIG_FILES
45217 CONFIG_HEADERS = $CONFIG_HEADERS
45218 CONFIG_LINKS = $CONFIG_LINKS
45219 CONFIG_COMMANDS = $CONFIG_COMMANDS
45223 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45227 # Files that config.status was made for.
45228 if test -n "$ac_config_files"; then
45229 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45232 if test -n "$ac_config_headers"; then
45233 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45236 if test -n "$ac_config_links"; then
45237 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45240 if test -n "$ac_config_commands"; then
45241 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45244 cat >>$CONFIG_STATUS <<\_ACEOF
45247 \`$as_me' instantiates files from templates according to the
45248 current configuration.
45250 Usage: $0 [OPTIONS] [FILE]...
45252 -h, --help print this help, then exit
45253 -V, --version print version number, then exit
45254 -q, --quiet do not print progress messages
45255 -d, --debug don't remove temporary files
45256 --recheck update $as_me by reconfiguring in the same conditions
45257 --file=FILE[:TEMPLATE]
45258 instantiate the configuration file FILE
45259 --header=FILE[:TEMPLATE]
45260 instantiate the configuration header FILE
45262 Configuration files:
45265 Configuration headers:
45268 Configuration commands:
45271 Report bugs to <bug-autoconf@gnu.org>."
45274 cat >>$CONFIG_STATUS <<_ACEOF
45276 wxWidgets config.status 2.6.2
45277 configured by $0, generated by GNU Autoconf 2.59,
45278 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45280 Copyright (C) 2003 Free Software Foundation, Inc.
45281 This config.status script is free software; the Free Software Foundation
45282 gives unlimited permission to copy, distribute and modify it."
45287 cat >>$CONFIG_STATUS <<\_ACEOF
45288 # If no file are specified by the user, then we need to provide default
45289 # value. By we need to know if files were specified by the user.
45295 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
45296 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
45304 *) # This is not an option, so the user has probably given explicit
45307 ac_need_defaults
=false
;;
45311 # Handling of the options.
45313 cat >>$CONFIG_STATUS <<\_ACEOF
45314 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45316 --version | --vers* | -V )
45317 echo "$ac_cs_version"; exit 0 ;;
45319 # Conflict between --help and --header
45320 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45321 Try \`$0 --help' for more information." >&5
45322 echo "$as_me: error: ambiguous option: $1
45323 Try \`$0 --help' for more information." >&2;}
45324 { (exit 1); exit 1; }; };;
45325 --help | --hel | -h )
45326 echo "$ac_cs_usage"; exit 0 ;;
45327 --debug | --d* | -d )
45329 --file | --fil | --fi | --f )
45331 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
45332 ac_need_defaults
=false
;;
45333 --header | --heade | --head | --hea )
45335 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
45336 ac_need_defaults
=false
;;
45337 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45338 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45341 # This is an error.
45342 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45343 Try \`$0 --help' for more information." >&5
45344 echo "$as_me: error: unrecognized option: $1
45345 Try \`$0 --help' for more information." >&2;}
45346 { (exit 1); exit 1; }; } ;;
45348 *) ac_config_targets
="$ac_config_targets $1" ;;
45354 ac_configure_extra_args
=
45356 if $ac_cs_silent; then
45358 ac_configure_extra_args
="$ac_configure_extra_args --silent"
45362 cat >>$CONFIG_STATUS <<_ACEOF
45363 if \$ac_cs_recheck; then
45364 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45365 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45370 cat >>$CONFIG_STATUS <<_ACEOF
45372 # INIT-COMMANDS section.
45375 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45376 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45377 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45385 cat >>$CONFIG_STATUS <<\_ACEOF
45386 for ac_config_target
in $ac_config_targets
45388 case "$ac_config_target" in
45389 # Handling of arguments.
45390 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45391 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45392 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
45393 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
45394 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
45395 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
45396 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45397 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45398 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45399 { (exit 1); exit 1; }; };;
45403 # If the user did not use the arguments to specify the items to instantiate,
45404 # then the envvar interface is used. Set only those that are not.
45405 # We use the long form for the default assignment because of an extremely
45406 # bizarre bug on SunOS 4.1.3.
45407 if $ac_need_defaults; then
45408 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
45409 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
45410 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
45413 # Have a temporary directory for convenience. Make it in the build tree
45414 # simply because there is no reason to put it here, and in addition,
45415 # creating and moving files from /tmp can sometimes cause problems.
45416 # Create a temporary directory, and hook for its removal unless debugging.
45419 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45420 trap '{ (exit 1); exit 1; }' 1 2 13 15
45423 # Create a (secure) tmp directory for tmp files.
45426 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45427 test -n "$tmp" && test -d "$tmp"
45430 tmp
=.
/confstat$$
-$RANDOM
45431 (umask 077 && mkdir $tmp)
45434 echo "$me: cannot create a temporary directory in ." >&2
45435 { (exit 1); exit 1; }
45440 cat >>$CONFIG_STATUS <<_ACEOF
45443 # CONFIG_FILES section.
45446 # No need to generate the scripts if there are no CONFIG_FILES.
45447 # This happens for instance when ./config.status config.h
45448 if test -n "\$CONFIG_FILES"; then
45449 # Protect against being on the right side of a sed subst in config.status.
45450 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45451 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45452 s,@SHELL@,$SHELL,;t t
45453 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45454 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45455 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45456 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45457 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45458 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45459 s,@exec_prefix@,$exec_prefix,;t t
45460 s,@prefix@,$prefix,;t t
45461 s,@program_transform_name@,$program_transform_name,;t t
45462 s,@bindir@,$bindir,;t t
45463 s,@sbindir@,$sbindir,;t t
45464 s,@libexecdir@,$libexecdir,;t t
45465 s,@datadir@,$datadir,;t t
45466 s,@sysconfdir@,$sysconfdir,;t t
45467 s,@sharedstatedir@,$sharedstatedir,;t t
45468 s,@localstatedir@,$localstatedir,;t t
45469 s,@libdir@,$libdir,;t t
45470 s,@includedir@,$includedir,;t t
45471 s,@oldincludedir@,$oldincludedir,;t t
45472 s,@infodir@,$infodir,;t t
45473 s,@mandir@,$mandir,;t t
45474 s,@build_alias@,$build_alias,;t t
45475 s,@host_alias@,$host_alias,;t t
45476 s,@target_alias@,$target_alias,;t t
45477 s,@DEFS@,$DEFS,;t t
45478 s,@ECHO_C@,$ECHO_C,;t t
45479 s,@ECHO_N@,$ECHO_N,;t t
45480 s,@ECHO_T@,$ECHO_T,;t t
45481 s,@LIBS@,$LIBS,;t t
45482 s,@build@,$build,;t t
45483 s,@build_cpu@,$build_cpu,;t t
45484 s,@build_vendor@,$build_vendor,;t t
45485 s,@build_os@,$build_os,;t t
45486 s,@host@,$host,;t t
45487 s,@host_cpu@,$host_cpu,;t t
45488 s,@host_vendor@,$host_vendor,;t t
45489 s,@host_os@,$host_os,;t t
45490 s,@target@,$target,;t t
45491 s,@target_cpu@,$target_cpu,;t t
45492 s,@target_vendor@,$target_vendor,;t t
45493 s,@target_os@,$target_os,;t t
45495 s,@CFLAGS@,$CFLAGS,;t t
45496 s,@LDFLAGS@,$LDFLAGS,;t t
45497 s,@CPPFLAGS@,$CPPFLAGS,;t t
45498 s,@ac_ct_CC@,$ac_ct_CC,;t t
45499 s,@EXEEXT@,$EXEEXT,;t t
45500 s,@OBJEXT@,$OBJEXT,;t t
45502 s,@EGREP@,$EGREP,;t t
45504 s,@CXXFLAGS@,$CXXFLAGS,;t t
45505 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45506 s,@RANLIB@,$RANLIB,;t t
45507 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45509 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45510 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45511 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45512 s,@STRIP@,$STRIP,;t t
45513 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45514 s,@LN_S@,$LN_S,;t t
45515 s,@CXXCPP@,$CXXCPP,;t t
45516 s,@subdirs@,$subdirs,;t t
45517 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45518 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45519 s,@GTK_LIBS@,$GTK_LIBS,;t t
45520 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45521 s,@X_CFLAGS@,$X_CFLAGS,;t t
45522 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45523 s,@X_LIBS@,$X_LIBS,;t t
45524 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45525 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45526 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45527 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45528 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45529 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45530 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45531 s,@RESCOMP@,$RESCOMP,;t t
45532 s,@DEREZ@,$DEREZ,;t t
45533 s,@SETFILE@,$SETFILE,;t t
45534 s,@LIBICONV@,$LIBICONV,;t t
45535 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45536 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45537 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45538 s,@SDL_LIBS@,$SDL_LIBS,;t t
45539 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45540 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45541 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45542 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45543 s,@GST_INSPECT@,$GST_INSPECT,;t t
45544 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45545 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45546 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45547 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45548 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45549 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45550 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45551 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45552 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45553 s,@VENDOR@,$VENDOR,;t t
45554 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45555 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45556 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45557 s,@WXUNIV@,$WXUNIV,;t t
45558 s,@MONOLITHIC@,$MONOLITHIC,;t t
45559 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45560 s,@EXTRALIBS@,$EXTRALIBS,;t t
45561 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45562 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45563 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45564 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45565 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45566 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45567 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45568 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45569 s,@UNICODE@,$UNICODE,;t t
45570 s,@BUILD@,$BUILD,;t t
45571 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45572 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45573 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45574 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45575 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45576 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45577 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45578 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45579 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45580 s,@SET_MAKE@,$SET_MAKE,;t t
45581 s,@MAKE_SET@,$MAKE_SET,;t t
45582 s,@ac_ct_AR@,$ac_ct_AR,;t t
45583 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45585 s,@ac_ct_NM@,$ac_ct_NM,;t t
45586 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45587 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45588 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45589 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45590 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45591 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45592 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45593 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45594 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45595 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45596 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45597 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45598 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45599 s,@LIBPREFIX@,$LIBPREFIX,;t t
45600 s,@LIBEXT@,$LIBEXT,;t t
45601 s,@DLLPREFIX@,$DLLPREFIX,;t t
45602 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45603 s,@dlldir@,$dlldir,;t t
45604 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45605 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45606 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45607 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45608 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45609 s,@PIC_FLAG@,$PIC_FLAG,;t t
45610 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
45611 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45612 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45613 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45614 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
45615 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45616 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45617 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45618 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45619 s,@GCC_PCH@,$GCC_PCH,;t t
45620 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45621 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45622 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45623 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45624 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45625 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45626 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45627 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45628 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45629 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45630 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45631 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45632 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45633 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45634 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45635 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45636 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45637 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45638 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
45639 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
45640 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
45641 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45642 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45643 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45644 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45645 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
45646 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
45647 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
45648 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45649 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45650 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45651 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45652 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45653 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45654 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45655 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45656 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
45657 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45658 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45659 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45660 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45661 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45662 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45663 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45664 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
45665 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45666 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45667 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45668 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45669 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45670 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45671 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45672 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45673 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45674 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45675 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45676 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45677 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45678 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45679 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45680 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45681 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45682 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45683 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45684 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45685 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45686 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45687 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45688 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45689 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45690 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45691 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45692 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45693 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45694 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45695 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45696 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45697 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45698 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45699 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45700 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45701 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45702 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45703 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45704 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45705 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45706 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45707 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45708 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45709 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45710 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45711 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45712 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45713 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45714 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45715 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45716 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45717 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45718 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45719 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45720 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45721 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45722 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45723 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45724 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45725 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45726 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45727 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45728 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45729 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45730 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45731 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45732 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45733 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45734 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45735 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45736 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45737 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
45738 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45739 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45740 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45741 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45742 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45743 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45744 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
45745 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45746 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45747 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45748 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45749 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45750 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45751 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45752 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45753 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45754 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45755 s,@SHARED@,$SHARED,;t t
45756 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45757 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45758 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45759 s,@USE_GUI@,$USE_GUI,;t t
45760 s,@AFMINSTALL@,$AFMINSTALL,;t t
45761 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45762 s,@TOOLKIT@,$TOOLKIT,;t t
45763 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45764 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45765 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45766 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45767 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45768 s,@cross_compiling@,$cross_compiling,;t t
45769 s,@WIDGET_SET@,$WIDGET_SET,;t t
45770 s,@WX_RELEASE@,$WX_RELEASE,;t t
45771 s,@WX_VERSION@,$WX_VERSION,;t t
45772 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45773 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45774 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45775 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45776 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45777 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45778 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45779 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45780 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45781 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45782 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45783 s,@EXE_LINKER@,$EXE_LINKER,;t t
45784 s,@GUIDIST@,$GUIDIST,;t t
45785 s,@DISTDIR@,$DISTDIR,;t t
45786 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45787 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45788 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45789 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45790 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45791 s,@RESFLAGS@,$RESFLAGS,;t t
45792 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45793 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45794 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45795 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45796 s,@MACRESCOMP@,$MACRESCOMP,;t t
45797 s,@MACSETFILE@,$MACSETFILE,;t t
45798 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45800 s,@DLLTOOL@,$DLLTOOL,;t t
45801 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45802 s,@LIBOBJS@,$LIBOBJS,;t t
45803 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45808 cat >>$CONFIG_STATUS <<\_ACEOF
45809 # Split the substitutions into bite-sized pieces for seds with
45810 # small command number limits, like on Digital OSF/1 and HP-UX.
45811 ac_max_sed_lines
=48
45812 ac_sed_frag
=1 # Number of current file.
45813 ac_beg
=1 # First line for current file.
45814 ac_end
=$ac_max_sed_lines # Line after last line for current file.
45817 while $ac_more_lines; do
45818 if test $ac_beg -gt 1; then
45819 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45821 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45823 if test ! -s $tmp/subs.frag
; then
45824 ac_more_lines
=false
45826 # The purpose of the label and of the branching condition is to
45827 # speed up the sed processing (if there are no `@' at all, there
45828 # is no need to browse any of the substitutions).
45829 # These are the two extra sed commands mentioned above.
45831 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
45832 if test -z "$ac_sed_cmds"; then
45833 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
45835 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45837 ac_sed_frag
=`expr $ac_sed_frag + 1`
45839 ac_end
=`expr $ac_end + $ac_max_sed_lines`
45842 if test -z "$ac_sed_cmds"; then
45845 fi # test -n "$CONFIG_FILES"
45848 cat >>$CONFIG_STATUS <<\_ACEOF
45849 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
45850 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45852 - | *:- | *:-:* ) # input from stdin
45854 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45855 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45856 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45857 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45858 * ) ac_file_in
=$ac_file.
in ;;
45861 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45862 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45863 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45864 X"$ac_file" : 'X\(//\)[^/]' \| \
45865 X"$ac_file" : 'X\(//\)$' \| \
45866 X"$ac_file" : 'X\(/\)' \| \
45867 . : '\(.\)' 2>/dev/null ||
45869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45871 /^X\(\/\/\)$/{ s//\1/; q; }
45872 /^X\(\/\).*/{ s//\1/; q; }
45874 { if $as_mkdir_p; then
45879 while test ! -d "$as_dir"; do
45880 as_dirs
="$as_dir $as_dirs"
45881 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45883 X"$as_dir" : 'X\(//\)[^/]' \| \
45884 X"$as_dir" : 'X\(//\)$' \| \
45885 X"$as_dir" : 'X\(/\)' \| \
45886 . : '\(.\)' 2>/dev/null ||
45888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45889 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45890 /^X\(\/\/\)$/{ s//\1/; q; }
45891 /^X\(\/\).*/{ s//\1/; q; }
45894 test ! -n "$as_dirs" || mkdir $as_dirs
45895 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45896 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45897 { (exit 1); exit 1; }; }; }
45901 if test "$ac_dir" != .
; then
45902 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45903 # A "../" for each directory in $ac_dir_suffix.
45904 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45906 ac_dir_suffix
= ac_top_builddir
=
45910 .
) # No --srcdir option. We are building in place.
45912 if test -z "$ac_top_builddir"; then
45915 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45917 [\\/]* | ?
:[\\/]* ) # Absolute path.
45918 ac_srcdir
=$srcdir$ac_dir_suffix;
45919 ac_top_srcdir
=$srcdir ;;
45920 *) # Relative path.
45921 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45922 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45925 # Do not use `cd foo && pwd` to compute absolute paths, because
45926 # the directories may not exist.
45928 .
) ac_abs_builddir
="$ac_dir";;
45931 .
) ac_abs_builddir
=`pwd`;;
45932 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45933 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45936 case $ac_abs_builddir in
45937 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45939 case ${ac_top_builddir}.
in
45940 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45941 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45942 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45945 case $ac_abs_builddir in
45946 .
) ac_abs_srcdir
=$ac_srcdir;;
45949 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45950 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45951 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45954 case $ac_abs_builddir in
45955 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45957 case $ac_top_srcdir in
45958 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45959 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45960 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45966 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
45967 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
45970 # Let's still pretend it is `configure' which instantiates (i.e., don't
45971 # use $as_me), people would be surprised to read:
45972 # /* config.h. Generated by config.status. */
45973 if test x
"$ac_file" = x
-; then
45976 configure_input
="$ac_file. "
45978 configure_input
=$configure_input"Generated from `echo $ac_file_in |
45979 sed 's,.*/,,'` by configure."
45981 # First look for the input files in the build tree, otherwise in the
45983 ac_file_inputs
=`IFS=:
45984 for f in $ac_file_in; do
45986 -) echo $tmp/stdin ;;
45988 # Absolute (can't be DOS-style, as IFS=:)
45989 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45990 echo "$as_me: error: cannot find input file: $f" >&2;}
45991 { (exit 1); exit 1; }; }
45994 if test -f "$f"; then
45997 elif test -f "$srcdir/$f"; then
46002 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46003 echo "$as_me: error: cannot find input file: $f" >&2;}
46004 { (exit 1); exit 1; }; }
46007 done` || { (exit 1); exit 1; }
46009 if test x
"$ac_file" != x
-; then
46010 { echo "$as_me:$LINENO: creating $ac_file" >&5
46011 echo "$as_me: creating $ac_file" >&6;}
46015 cat >>$CONFIG_STATUS <<_ACEOF
46019 cat >>$CONFIG_STATUS <<\_ACEOF
46021 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
46022 s
,@configure_input@
,$configure_input,;t t
46023 s
,@srcdir@
,$ac_srcdir,;t t
46024 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
46025 s
,@top_srcdir@
,$ac_top_srcdir,;t t
46026 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
46027 s
,@builddir@
,$ac_builddir,;t t
46028 s
,@abs_builddir@
,$ac_abs_builddir,;t t
46029 s
,@top_builddir@
,$ac_top_builddir,;t t
46030 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
46031 s
,@INSTALL@
,$ac_INSTALL,;t t
46032 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
46034 if test x"$ac_file" != x-; then
46035 mv $tmp/out $ac_file
46041 # Run the commands associated with the file.
46043 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
46044 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
46048 cat >>$CONFIG_STATUS <<\_ACEOF
46051 # CONFIG_HEADER section.
46054 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
46055 # NAME is the cpp macro being defined and VALUE is the value it is being given.
46057 # ac_d sets the value in "#define NAME VALUE" lines.
46058 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
46059 ac_dB
='[ ].*$,\1#\2'
46062 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
46063 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
46064 ac_uB
='$,\1#\2define\3'
46068 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
46069 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46071 - | *:- | *:-:* ) # input from stdin
46073 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46074 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46075 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46076 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46077 * ) ac_file_in
=$ac_file.
in ;;
46080 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
46081 echo "$as_me: creating $ac_file" >&6;}
46083 # First look for the input files in the build tree, otherwise in the
46085 ac_file_inputs
=`IFS=:
46086 for f in $ac_file_in; do
46088 -) echo $tmp/stdin ;;
46090 # Absolute (can't be DOS-style, as IFS=:)
46091 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46092 echo "$as_me: error: cannot find input file: $f" >&2;}
46093 { (exit 1); exit 1; }; }
46094 # Do quote $f, to prevent DOS paths from being IFS'd.
46097 if test -f "$f"; then
46100 elif test -f "$srcdir/$f"; then
46105 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46106 echo "$as_me: error: cannot find input file: $f" >&2;}
46107 { (exit 1); exit 1; }; }
46110 done` || { (exit 1); exit 1; }
46111 # Remove the trailing spaces.
46112 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
46116 # Transform confdefs.h into two sed scripts, `conftest.defines' and
46117 # `conftest.undefs', that substitutes the proper values into
46118 # config.h.in to produce config.h. The first handles `#define'
46119 # templates, and the second `#undef' templates.
46120 # And first: Protect against being on the right side of a sed subst in
46121 # config.status. Protect against being in an unquoted here document
46122 # in config.status.
46123 rm -f conftest.defines conftest.undefs
46124 # Using a here document instead of a string reduces the quoting nightmare.
46125 # Putting comments in sed scripts is not portable.
46127 # `end' is used to avoid that the second main sed command (meant for
46128 # 0-ary CPP macros) applies to n-ary macro definitions.
46129 # See the Autoconf documentation for `clear'.
46130 cat >confdef2sed.
sed <<\_ACEOF
46135 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
46137 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
46140 # If some macros were called several times there might be several times
46141 # the same #defines, which is useless. Nevertheless, we may not want to
46142 # sort them, since we want the *last* AC-DEFINE to be honored.
46143 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
46144 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
46145 rm -f confdef2sed.sed
46147 # This sed command replaces #undef with comments. This is necessary, for
46148 # example, in the case of _POSIX_SOURCE, which is predefined and required
46149 # on some systems where configure will not decide to define it.
46150 cat >>conftest.undefs <<\_ACEOF
46151 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
46154 # Break up conftest.defines because some shells have a limit on the size
46155 # of here documents, and old seds have small limits too (100 cmds).
46156 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
46157 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
46158 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
46159 echo ' :' >>$CONFIG_STATUS
46160 rm -f conftest.tail
46161 while grep . conftest.defines >/dev/null
46163 # Write a limited-size here document to $tmp/defines.sed.
46164 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
46165 # Speed up: don't consider the non `#define' lines.
46166 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
46167 # Work around the forget-to-reset-the-flag bug.
46168 echo 't clr' >>$CONFIG_STATUS
46169 echo ': clr' >>$CONFIG_STATUS
46170 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
46172 sed -f $tmp/defines.sed $tmp/in >$tmp/out
46174 mv $tmp/out $tmp/in
46176 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
46177 rm -f conftest.defines
46178 mv conftest.
tail conftest.defines
46180 rm -f conftest.defines
46181 echo ' fi # grep' >>$CONFIG_STATUS
46182 echo >>$CONFIG_STATUS
46184 # Break up conftest.undefs because some shells have a limit on the size
46185 # of here documents, and old seds have small limits too (100 cmds).
46186 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
46187 rm -f conftest.
tail
46188 while grep . conftest.undefs
>/dev
/null
46190 # Write a limited-size here document to $tmp/undefs.sed.
46191 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
46192 # Speed up: don't consider the non
`#undef'
46193 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
46194 # Work around the forget-to-reset-the-flag bug.
46195 echo 't clr' >>$CONFIG_STATUS
46196 echo ': clr' >>$CONFIG_STATUS
46197 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
46199 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
46201 mv $tmp/out $tmp/in
46203 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46204 rm -f conftest.undefs
46205 mv conftest.tail conftest.undefs
46207 rm -f conftest.undefs
46209 cat >>$CONFIG_STATUS <<\_ACEOF
46210 # Let's still pretend it is `configure
' which instantiates (i.e., don't
46211 # use $as_me), people would be surprised to read:
46212 # /* config.h. Generated by config.status. */
46213 if test x
"$ac_file" = x
-; then
46214 echo "/* Generated by configure. */" >$tmp/config.h
46216 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46218 cat $tmp/in >>$tmp/config.h
46220 if test x
"$ac_file" != x
-; then
46221 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
46222 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46223 echo "$as_me: $ac_file is unchanged" >&6;}
46225 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46226 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46227 X"$ac_file" : 'X\(//\)[^/]' \| \
46228 X"$ac_file" : 'X\(//\)$' \| \
46229 X"$ac_file" : 'X\(/\)' \| \
46230 . : '\(.\)' 2>/dev/null ||
46232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46233 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46234 /^X\(\/\/\)$/{ s//\1/; q; }
46235 /^X\(\/\).*/{ s//\1/; q; }
46237 { if $as_mkdir_p; then
46242 while test ! -d "$as_dir"; do
46243 as_dirs
="$as_dir $as_dirs"
46244 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46245 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46246 X"$as_dir" : 'X\(//\)[^/]' \| \
46247 X"$as_dir" : 'X\(//\)$' \| \
46248 X"$as_dir" : 'X\(/\)' \| \
46249 . : '\(.\)' 2>/dev/null ||
46251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46253 /^X\(\/\/\)$/{ s//\1/; q; }
46254 /^X\(\/\).*/{ s//\1/; q; }
46257 test ! -n "$as_dirs" || mkdir $as_dirs
46258 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46259 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46260 { (exit 1); exit 1; }; }; }
46263 mv $tmp/config.h
$ac_file
46267 rm -f $tmp/config.h
46271 cat >>$CONFIG_STATUS <<\_ACEOF
46274 # CONFIG_COMMANDS section.
46276 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
46277 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
46278 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46279 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
46280 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46281 X"$ac_dest" : 'X\(//\)[^/]' \| \
46282 X"$ac_dest" : 'X\(//\)$' \| \
46283 X"$ac_dest" : 'X\(/\)' \| \
46284 . : '\(.\)' 2>/dev/null ||
46286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46288 /^X\(\/\/\)$/{ s//\1/; q; }
46289 /^X\(\/\).*/{ s//\1/; q; }
46291 { if $as_mkdir_p; then
46296 while test ! -d "$as_dir"; do
46297 as_dirs
="$as_dir $as_dirs"
46298 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46300 X"$as_dir" : 'X\(//\)[^/]' \| \
46301 X"$as_dir" : 'X\(//\)$' \| \
46302 X"$as_dir" : 'X\(/\)' \| \
46303 . : '\(.\)' 2>/dev/null ||
46305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46307 /^X\(\/\/\)$/{ s//\1/; q; }
46308 /^X\(\/\).*/{ s//\1/; q; }
46311 test ! -n "$as_dirs" || mkdir $as_dirs
46312 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46313 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46314 { (exit 1); exit 1; }; }; }
46318 if test "$ac_dir" != .
; then
46319 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46320 # A "../" for each directory in $ac_dir_suffix.
46321 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46323 ac_dir_suffix
= ac_top_builddir
=
46327 .
) # No --srcdir option. We are building in place.
46329 if test -z "$ac_top_builddir"; then
46332 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46334 [\\/]* | ?
:[\\/]* ) # Absolute path.
46335 ac_srcdir
=$srcdir$ac_dir_suffix;
46336 ac_top_srcdir
=$srcdir ;;
46337 *) # Relative path.
46338 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46339 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46342 # Do not use `cd foo && pwd` to compute absolute paths, because
46343 # the directories may not exist.
46345 .
) ac_abs_builddir
="$ac_dir";;
46348 .
) ac_abs_builddir
=`pwd`;;
46349 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46350 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46353 case $ac_abs_builddir in
46354 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46356 case ${ac_top_builddir}.
in
46357 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46358 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46359 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46362 case $ac_abs_builddir in
46363 .
) ac_abs_srcdir
=$ac_srcdir;;
46366 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46367 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46368 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46371 case $ac_abs_builddir in
46372 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46374 case $ac_top_srcdir in
46375 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46376 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46377 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46382 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46383 echo "$as_me: executing $ac_dest commands" >&6;}
46385 wx
-config ) rm -f wx
-config
46386 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
46392 cat >>$CONFIG_STATUS <<\_ACEOF
46394 { (exit 0); exit 0; }
46396 chmod +x
$CONFIG_STATUS
46397 ac_clean_files
=$ac_clean_files_save
46400 # configure is writing to config.log, and then calls config.status.
46401 # config.status does its own redirection, appending to config.log.
46402 # Unfortunately, on DOS this fails, as config.log is still kept open
46403 # by configure, so config.status won't be able to write to it; its
46404 # output is simply discarded. So we exec the FD to /dev/null,
46405 # effectively closing config.log, so it can be properly (re)opened and
46406 # appended to by config.status. When coming back to configure, we
46407 # need to make the FD available again.
46408 if test "$no_create" != yes; then
46410 ac_config_status_args
=
46411 test "$silent" = yes &&
46412 ac_config_status_args
="$ac_config_status_args --quiet"
46414 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
46416 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46417 # would make configure fail if this is the last instruction.
46418 $ac_cs_success || { (exit 1); exit 1; }
46422 # CONFIG_SUBDIRS section.
46424 if test "$no_recursion" != yes; then
46426 # Remove --cache-file and --srcdir arguments so they do not pile up.
46427 ac_sub_configure_args
=
46429 for ac_arg
in $ac_configure_args; do
46430 if test -n "$ac_prev"; then
46435 -cache-file | --cache-file | --cache-fil | --cache-fi \
46436 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46437 ac_prev
=cache_file
;;
46438 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46439 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46442 --config-cache | -C)
46444 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46446 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46448 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46450 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46452 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
46456 # Always prepend --prefix to ensure using the same prefix
46457 # in subdir configurations.
46458 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
46461 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
46463 # Do not complain, so a configure script can configure whichever
46464 # parts of a large source tree are present.
46465 test -d $srcdir/$ac_dir || continue
46467 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46468 echo "$as_me: configuring in $ac_dir" >&6;}
46469 { if $as_mkdir_p; then
46474 while test ! -d "$as_dir"; do
46475 as_dirs
="$as_dir $as_dirs"
46476 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46478 X"$as_dir" : 'X\(//\)[^/]' \| \
46479 X"$as_dir" : 'X\(//\)$' \| \
46480 X"$as_dir" : 'X\(/\)' \| \
46481 . : '\(.\)' 2>/dev/null ||
46483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46484 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46485 /^X\(\/\/\)$/{ s//\1/; q; }
46486 /^X\(\/\).*/{ s//\1/; q; }
46489 test ! -n "$as_dirs" || mkdir $as_dirs
46490 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46491 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46492 { (exit 1); exit 1; }; }; }
46496 if test "$ac_dir" != .
; then
46497 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46498 # A "../" for each directory in $ac_dir_suffix.
46499 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46501 ac_dir_suffix
= ac_top_builddir
=
46505 .
) # No --srcdir option. We are building in place.
46507 if test -z "$ac_top_builddir"; then
46510 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46512 [\\/]* | ?
:[\\/]* ) # Absolute path.
46513 ac_srcdir
=$srcdir$ac_dir_suffix;
46514 ac_top_srcdir
=$srcdir ;;
46515 *) # Relative path.
46516 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46517 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46520 # Do not use `cd foo && pwd` to compute absolute paths, because
46521 # the directories may not exist.
46523 .
) ac_abs_builddir
="$ac_dir";;
46526 .
) ac_abs_builddir
=`pwd`;;
46527 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46528 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46531 case $ac_abs_builddir in
46532 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46534 case ${ac_top_builddir}.
in
46535 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46536 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46537 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46540 case $ac_abs_builddir in
46541 .
) ac_abs_srcdir
=$ac_srcdir;;
46544 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46545 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46546 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46549 case $ac_abs_builddir in
46550 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46552 case $ac_top_srcdir in
46553 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46554 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46555 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46562 # Check for guested configure; otherwise get Cygnus style configure.
46563 if test -f $ac_srcdir/configure.gnu
; then
46564 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
46565 elif test -f $ac_srcdir/configure
; then
46566 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
46567 elif test -f $ac_srcdir/configure.
in; then
46568 ac_sub_configure
=$ac_configure
46570 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46571 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46575 # The recursion is here.
46576 if test -n "$ac_sub_configure"; then
46577 # Make the cache file name correct relative to the subdirectory.
46578 case $cache_file in
46579 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
46580 *) # Relative path.
46581 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
46584 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46585 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46586 # The eval makes quoting arguments work.
46587 eval $ac_sub_configure $ac_sub_configure_args \
46588 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46589 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46590 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46591 { (exit 1); exit 1; }; }
46600 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46602 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46603 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46605 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46606 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46607 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46609 echo " What level of wxWidgets compatibility should be enabled?"
46610 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46611 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46613 echo " Which libraries should wxWidgets use?"
46614 echo " jpeg ${wxUSE_LIBJPEG-none}"
46615 echo " png ${wxUSE_LIBPNG-none}"
46616 echo " regex ${wxUSE_REGEX}"
46617 echo " tiff ${wxUSE_LIBTIFF-none}"
46618 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46619 echo " xpm ${wxUSE_LIBXPM-none}"
46621 echo " zlib ${wxUSE_ZLIB}"
46622 echo " odbc ${wxUSE_ODBC}"
46623 echo " expat ${wxUSE_EXPAT}"
46624 echo " libmspack ${wxUSE_LIBMSPACK}"
46625 echo " sdl ${wxUSE_LIBSDL}"
46626 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"