2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.6.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.6.1'
274 PACKAGE_STRING
='wxWidgets 2.6.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.6.1 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.6.1:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Windows only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images
(GIF
file format
)
1038 --enable-pcx use pcx images
(PCX
file format
)
1039 --enable-iff use iff images
(IFF
file format
)
1040 --enable-pnm use pnm images
(PNM
file format
)
1041 --enable-xpm use xpm images
(XPM
file format
)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1044 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1045 --disable-largefile omit support
for large files
1046 --disable-gtktest do not try to compile and run a
test GTK
+ program
1047 --disable-gtktest Do not try to compile and run a
test GTK program
1048 --disable-sdltest Do not try to compile and run a
test SDL program
1049 --enable-omf use OMF object format
(OS
/2)
1050 --disable-precomp-headers
1051 don
't use precompiled headers even if compiler can
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1101 Use these variables to override the choices made by `configure' or to
help
1102 it to
find libraries and programs with nonstandard names
/locations.
1104 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1111 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1112 test -d $ac_dir || continue
1115 if test "$ac_dir" != .
; then
1116 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 ac_dir_suffix
= ac_top_builddir
=
1124 .
) # No --srcdir option. We are building in place.
1126 if test -z "$ac_top_builddir"; then
1129 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1131 [\\/]* | ?
:[\\/]* ) # Absolute path.
1132 ac_srcdir
=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir
=$srcdir ;;
1135 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1142 .
) ac_abs_builddir
="$ac_dir";;
1145 .
) ac_abs_builddir
=`pwd`;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1147 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1153 case ${ac_top_builddir}.
in
1154 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1156 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1159 case $ac_abs_builddir in
1160 .
) ac_abs_srcdir
=$ac_srcdir;;
1163 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1164 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1165 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1168 case $ac_abs_builddir in
1169 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1171 case $ac_top_srcdir in
1172 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1173 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu
; then
1182 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1183 elif test -f $ac_srcdir/configure
; then
1185 $SHELL $ac_srcdir/configure
--help=recursive
1186 elif test -f $ac_srcdir/configure.ac
||
1187 test -f $ac_srcdir/configure.
in; then
1189 $ac_configure --help
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1200 wxWidgets configure
2.6.1
1201 generated by GNU Autoconf
2.59
1203 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1204 This configure
script is free software
; the Free Software Foundation
1205 gives unlimited permission to copy
, distribute and modify it.
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1214 It was created by wxWidgets $as_me 2.6.1, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1249 test -z "$as_dir" && as_dir
=.
1250 echo "PATH: $as_dir"
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1274 ac_must_keep_next
=false
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1288 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1290 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true
; then
1292 ac_must_keep_next
=false
# Got value, back to normal.
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1303 -* ) ac_must_keep_next
=true
;;
1306 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1313 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1314 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1332 # The following way of writing the cache mishandles newlines in values,
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1355 for ac_var in $ac_subst_vars
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -n "$ac_subst_files"; then
1369 for ac_var in $ac_subst_files
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1377 if test -s confdefs.h; then
1384 sed "/^$/d" confdefs.h | sort
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1395 for ac_signal
in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest
* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1405 # Predefined preprocessor variables.
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1417 cat >>confdefs.h
<<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1422 cat >>confdefs.h
<<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1427 cat >>confdefs.h
<<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE
; then
1436 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1438 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1441 for ac_site_file
in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1457 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1458 *) . .
/$cache_file;;
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1467 # Check that the precious variables saved in the cache have kept the same
1469 ac_cache_corrupted
=false
1470 for ac_var
in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1473 eval ac_new_set
=\
$ac_env_${ac_var}_set
1474 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val
="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted
=: ;;
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted
=: ;;
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted
=:
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg
=$ac_var=$ac_new_val ;;
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1519 ac_cpp
='$CPP $CPPFLAGS'
1520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1554 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1555 if test -f $ac_dir/install-sh; then
1557 ac_install_sh
="$ac_aux_dir/install-sh -c"
1559 elif test -f $ac_dir/install.sh
; then
1561 ac_install_sh
="$ac_aux_dir/install.sh -c"
1563 elif test -f $ac_dir/shtool
; then
1565 ac_install_sh
="$ac_aux_dir/shtool install -c"
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1574 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 ac_cv_build_alias
=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias
=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1605 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 ac_cv_host_alias
=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias
=$ac_cv_build_alias
1618 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1627 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 ac_cv_target_alias
=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias
=$ac_cv_host_alias
1640 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target
=$ac_cv_target
1649 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1659 program_prefix
=${target_alias}-
1663 wx_major_version_number
=2
1664 wx_minor_version_number
=6
1666 wx_subrelease_number
=0
1668 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1669 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1670 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1672 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1688 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1694 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1702 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1704 DEFAULT_wxUSE_COCOA
=0
1708 DEFAULT_wxUSE_MICROWIN
=0
1709 DEFAULT_wxUSE_MOTIF
=0
1714 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1715 DEFAULT_DEFAULT_wxUSE_GTK
=0
1716 DEFAULT_DEFAULT_wxUSE_MAC
=0
1717 DEFAULT_DEFAULT_wxUSE_MGL
=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1720 DEFAULT_DEFAULT_wxUSE_MSW
=0
1721 DEFAULT_DEFAULT_wxUSE_PM
=0
1722 DEFAULT_DEFAULT_wxUSE_X11
=0
1727 SAMPLES_RPATH_POSTLINK
=
1729 DEFAULT_STD_FLAG
=yes
1734 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1737 cat >>confdefs.h
<<\_ACEOF
1744 cat >>confdefs.h
<<\_ACEOF
1749 if test "x$TMP" = "xalpha"; then
1751 cat >>confdefs.h
<<\_ACEOF
1756 DEFAULT_DEFAULT_wxUSE_GTK
=1
1758 *-*-gnu* | *-*-k*bsd
*-gnu )
1761 if test "x$TMP" = "xalpha"; then
1763 cat >>confdefs.h
<<\_ACEOF
1768 DEFAULT_DEFAULT_wxUSE_GTK
=1
1770 *-*-irix5* | *-*-irix6* )
1773 cat >>confdefs.h
<<\_ACEOF
1777 cat >>confdefs.h
<<\_ACEOF
1781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1787 cat >>confdefs.h
<<\_ACEOF
1791 cat >>confdefs.h
<<\_ACEOF
1792 #define __SOLARIS__ 1
1795 cat >>confdefs.h
<<\_ACEOF
1799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1800 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1806 cat >>confdefs.h
<<\_ACEOF
1810 cat >>confdefs.h
<<\_ACEOF
1814 cat >>confdefs.h
<<\_ACEOF
1818 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1823 cat >>confdefs.h
<<\_ACEOF
1824 #define __FREEBSD__ 1
1827 cat >>confdefs.h
<<\_ACEOF
1831 DEFAULT_DEFAULT_wxUSE_GTK
=1
1836 cat >>confdefs.h
<<\_ACEOF
1837 #define __OPENBSD__ 1
1840 cat >>confdefs.h
<<\_ACEOF
1844 DEFAULT_DEFAULT_wxUSE_GTK
=1
1849 cat >>confdefs.h
<<\_ACEOF
1850 #define __NETBSD__ 1
1853 cat >>confdefs.h
<<\_ACEOF
1857 DEFAULT_DEFAULT_wxUSE_GTK
=1
1862 cat >>confdefs.h
<<\_ACEOF
1866 cat >>confdefs.h
<<\_ACEOF
1870 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1876 cat >>confdefs.h
<<\_ACEOF
1880 cat >>confdefs.h
<<\_ACEOF
1884 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1889 cat >>confdefs.h
<<\_ACEOF
1893 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 cat >>confdefs.h
<<\_ACEOF
1908 cat >>confdefs.h
<<\_ACEOF
1912 cat >>confdefs.h
<<\_ACEOF
1916 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1923 cat >>confdefs.h
<<\_ACEOF
1924 #define __UNIXWARE__ 1
1929 *-*-cygwin* | *-*-mingw32* )
1933 DEFAULT_DEFAULT_wxUSE_MSW
=1
1940 cat >>confdefs.h
<<\_ACEOF
1945 DEFAULT_DEFAULT_wxUSE_MGL
=1
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h
<<\_ACEOF
1954 cat >>confdefs.h
<<\_ACEOF
1959 DEFAULT_DEFAULT_wxUSE_PM
=1
1961 LDFLAGS
="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions
=".exe"
1963 export ac_executable_extensions
1967 for ac_dir
in $PATH; do
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH
="$ac_dir"
1972 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1975 export PATH
="$ac_TEMP_PATH"
1984 cat >>confdefs.h
<<\_ACEOF
1988 cat >>confdefs.h
<<\_ACEOF
1989 #define __DARWIN__ 1
1992 cat >>confdefs.h
<<\_ACEOF
1993 #define TARGET_CARBON 1
1996 DEFAULT_DEFAULT_wxUSE_MAC
=1
1999 powerpc
-apple-macos* )
2001 ac_cv_c_bigendian
=yes
2003 DEFAULT_DEFAULT_wxUSE_MAC
=1
2009 cat >>confdefs.h
<<\_ACEOF
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2024 wx_arg_cache_file
="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL
=no
2034 DEFAULT_wxUSE_STL
=no
2036 DEFAULT_wxUSE_NANOX
=no
2038 DEFAULT_wxUSE_THREADS
=yes
2040 DEFAULT_wxUSE_SHARED
=yes
2041 DEFAULT_wxUSE_OPTIMISE
=no
2042 DEFAULT_wxUSE_PROFILE
=no
2043 DEFAULT_wxUSE_NO_DEPS
=no
2044 DEFAULT_wxUSE_NO_RTTI
=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2046 DEFAULT_wxUSE_RPATH
=yes
2047 DEFAULT_wxUSE_PERMISSIVE
=no
2048 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2049 DEFAULT_wxUSE_DEBUG_INFO
=yes
2050 DEFAULT_wxUSE_DEBUG_GDB
=yes
2051 DEFAULT_wxUSE_MEM_TRACING
=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2053 DEFAULT_wxUSE_DMALLOC
=no
2054 DEFAULT_wxUSE_APPLE_IEEE
=no
2056 DEFAULT_wxUSE_EXCEPTIONS
=no
2057 DEFAULT_wxUSE_LOG
=yes
2058 DEFAULT_wxUSE_LOGWINDOW
=no
2059 DEFAULT_wxUSE_LOGGUI
=no
2060 DEFAULT_wxUSE_LOGDIALOG
=no
2062 DEFAULT_wxUSE_GUI
=yes
2063 DEFAULT_wxUSE_CONTROLS
=no
2065 DEFAULT_wxUSE_REGEX
=no
2066 DEFAULT_wxUSE_XML
=no
2067 DEFAULT_wxUSE_EXPAT
=no
2068 DEFAULT_wxUSE_ZLIB
=no
2069 DEFAULT_wxUSE_LIBPNG
=no
2070 DEFAULT_wxUSE_LIBJPEG
=no
2071 DEFAULT_wxUSE_LIBTIFF
=no
2072 DEFAULT_wxUSE_LIBXPM
=no
2073 DEFAULT_wxUSE_LIBMSPACK
=no
2074 DEFAULT_wxUSE_LIBSDL
=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2076 DEFAULT_wxUSE_ODBC
=no
2077 DEFAULT_wxUSE_OPENGL
=no
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2080 DEFAULT_wxUSE_STACKWALKER
=no
2081 DEFAULT_wxUSE_DEBUGREPORT
=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2083 DEFAULT_wxUSE_STD_IOSTREAM
=no
2084 DEFAULT_wxUSE_STD_STRING
=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2086 DEFAULT_wxUSE_DATETIME
=no
2087 DEFAULT_wxUSE_TIMER
=no
2088 DEFAULT_wxUSE_STOPWATCH
=no
2089 DEFAULT_wxUSE_FILE
=no
2090 DEFAULT_wxUSE_FFILE
=no
2091 DEFAULT_wxUSE_STDPATHS
=no
2092 DEFAULT_wxUSE_TEXTBUFFER
=no
2093 DEFAULT_wxUSE_TEXTFILE
=no
2094 DEFAULT_wxUSE_SOUND
=no
2095 DEFAULT_wxUSE_MEDIACTRL
=no
2096 DEFAULT_wxUSE_INTL
=no
2097 DEFAULT_wxUSE_CONFIG
=no
2098 DEFAULT_wxUSE_FONTMAP
=no
2099 DEFAULT_wxUSE_STREAMS
=no
2100 DEFAULT_wxUSE_SOCKETS
=no
2101 DEFAULT_wxUSE_OLE
=no
2102 DEFAULT_wxUSE_DATAOBJ
=no
2103 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2104 DEFAULT_wxUSE_JOYSTICK
=no
2105 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2106 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2107 DEFAULT_wxUSE_LONGLONG
=no
2108 DEFAULT_wxUSE_GEOMETRY
=no
2110 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2111 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2112 DEFAULT_wxUSE_POSTSCRIPT
=no
2114 DEFAULT_wxUSE_CLIPBOARD
=no
2115 DEFAULT_wxUSE_TOOLTIPS
=no
2116 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2117 DEFAULT_wxUSE_DRAGIMAGE
=no
2118 DEFAULT_wxUSE_SPLINES
=no
2119 DEFAULT_wxUSE_MOUSEWHEEL
=no
2121 DEFAULT_wxUSE_MDI
=no
2122 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2123 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2124 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2126 DEFAULT_wxUSE_RESOURCES
=no
2127 DEFAULT_wxUSE_CONSTRAINTS
=no
2128 DEFAULT_wxUSE_IPC
=no
2129 DEFAULT_wxUSE_HELP
=no
2130 DEFAULT_wxUSE_MS_HTML_HELP
=no
2131 DEFAULT_wxUSE_WXHTML_HELP
=no
2132 DEFAULT_wxUSE_TREELAYOUT
=no
2133 DEFAULT_wxUSE_METAFILE
=no
2134 DEFAULT_wxUSE_MIMETYPE
=no
2135 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2136 DEFAULT_wxUSE_PROTOCOL
=no
2137 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2138 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2139 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2140 DEFAULT_wxUSE_URL
=no
2142 DEFAULT_wxUSE_COMMONDLGS
=no
2143 DEFAULT_wxUSE_CHOICEDLG
=no
2144 DEFAULT_wxUSE_COLOURDLG
=no
2145 DEFAULT_wxUSE_DIRDLG
=no
2146 DEFAULT_wxUSE_FILEDLG
=no
2147 DEFAULT_wxUSE_FINDREPLDLG
=no
2148 DEFAULT_wxUSE_FONTDLG
=no
2149 DEFAULT_wxUSE_MSGDLG
=no
2150 DEFAULT_wxUSE_NUMBERDLG
=no
2151 DEFAULT_wxUSE_TEXTDLG
=no
2152 DEFAULT_wxUSE_SPLASH
=no
2153 DEFAULT_wxUSE_STARTUP_TIPS
=no
2154 DEFAULT_wxUSE_PROGRESSDLG
=no
2155 DEFAULT_wxUSE_WIZARDDLG
=no
2157 DEFAULT_wxUSE_MENUS
=no
2158 DEFAULT_wxUSE_MINIFRAME
=no
2159 DEFAULT_wxUSE_HTML
=no
2160 DEFAULT_wxUSE_XRC
=no
2161 DEFAULT_wxUSE_WEBKIT
=no
2162 DEFAULT_wxUSE_FILESYSTEM
=no
2163 DEFAULT_wxUSE_FS_INET
=no
2164 DEFAULT_wxUSE_FS_ZIP
=no
2165 DEFAULT_wxUSE_BUSYINFO
=no
2166 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2167 DEFAULT_wxUSE_ZIPSTREAM
=no
2168 DEFAULT_wxUSE_VALIDATORS
=no
2170 DEFAULT_wxUSE_ACCEL
=no
2171 DEFAULT_wxUSE_BUTTON
=no
2172 DEFAULT_wxUSE_BMPBUTTON
=no
2173 DEFAULT_wxUSE_CALCTRL
=no
2174 DEFAULT_wxUSE_CARET
=no
2175 DEFAULT_wxUSE_CHECKBOX
=no
2176 DEFAULT_wxUSE_CHECKLST
=no
2177 DEFAULT_wxUSE_CHOICE
=no
2178 DEFAULT_wxUSE_CHOICEBOOK
=no
2179 DEFAULT_wxUSE_COMBOBOX
=no
2180 DEFAULT_wxUSE_DATEPICKCTRL
=no
2181 DEFAULT_wxUSE_DISPLAY
=no
2182 DEFAULT_wxUSE_GAUGE
=no
2183 DEFAULT_wxUSE_GRID
=no
2184 DEFAULT_wxUSE_IMAGLIST
=no
2185 DEFAULT_wxUSE_LISTBOOK
=no
2186 DEFAULT_wxUSE_LISTBOX
=no
2187 DEFAULT_wxUSE_LISTCTRL
=no
2188 DEFAULT_wxUSE_NOTEBOOK
=no
2189 DEFAULT_wxUSE_RADIOBOX
=no
2190 DEFAULT_wxUSE_RADIOBTN
=no
2191 DEFAULT_wxUSE_SASH
=no
2192 DEFAULT_wxUSE_SCROLLBAR
=no
2193 DEFAULT_wxUSE_SLIDER
=no
2194 DEFAULT_wxUSE_SPINBTN
=no
2195 DEFAULT_wxUSE_SPINCTRL
=no
2196 DEFAULT_wxUSE_SPLITTER
=no
2197 DEFAULT_wxUSE_STATBMP
=no
2198 DEFAULT_wxUSE_STATBOX
=no
2199 DEFAULT_wxUSE_STATLINE
=no
2200 DEFAULT_wxUSE_STATTEXT
=no
2201 DEFAULT_wxUSE_STATUSBAR
=yes
2202 DEFAULT_wxUSE_TABDIALOG
=no
2203 DEFAULT_wxUSE_TEXTCTRL
=no
2204 DEFAULT_wxUSE_TOGGLEBTN
=no
2205 DEFAULT_wxUSE_TOOLBAR
=no
2206 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2207 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2208 DEFAULT_wxUSE_TREECTRL
=no
2209 DEFAULT_wxUSE_POPUPWIN
=no
2210 DEFAULT_wxUSE_TIPWINDOW
=no
2212 DEFAULT_wxUSE_UNICODE
=no
2213 DEFAULT_wxUSE_UNICODE_MSLU
=no
2214 DEFAULT_wxUSE_WCSRTOMBS
=no
2216 DEFAULT_wxUSE_PALETTE
=no
2217 DEFAULT_wxUSE_IMAGE
=no
2218 DEFAULT_wxUSE_GIF
=no
2219 DEFAULT_wxUSE_PCX
=no
2220 DEFAULT_wxUSE_PNM
=no
2221 DEFAULT_wxUSE_IFF
=no
2222 DEFAULT_wxUSE_XPM
=no
2223 DEFAULT_wxUSE_ICO_CUR
=no
2224 DEFAULT_wxUSE_ACCESSIBILITY
=no
2226 DEFAULT_wxUSE_MONOLITHIC
=no
2227 DEFAULT_wxUSE_PLUGINS
=no
2228 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2230 DEFAULT_wxUSE_UNIVERSAL
=no
2231 DEFAULT_wxUSE_STL
=no
2233 DEFAULT_wxUSE_NANOX
=no
2235 DEFAULT_wxUSE_THREADS
=yes
2237 DEFAULT_wxUSE_SHARED
=yes
2238 DEFAULT_wxUSE_OPTIMISE
=yes
2239 DEFAULT_wxUSE_PROFILE
=no
2240 DEFAULT_wxUSE_NO_DEPS
=no
2241 DEFAULT_wxUSE_NO_RTTI
=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2243 DEFAULT_wxUSE_RPATH
=yes
2244 DEFAULT_wxUSE_PERMISSIVE
=no
2245 DEFAULT_wxUSE_DEBUG_FLAG
=no
2246 DEFAULT_wxUSE_DEBUG_INFO
=no
2247 DEFAULT_wxUSE_DEBUG_GDB
=no
2248 DEFAULT_wxUSE_MEM_TRACING
=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2250 DEFAULT_wxUSE_DMALLOC
=no
2251 DEFAULT_wxUSE_APPLE_IEEE
=yes
2253 DEFAULT_wxUSE_EXCEPTIONS
=yes
2254 DEFAULT_wxUSE_LOG
=yes
2255 DEFAULT_wxUSE_LOGWINDOW
=yes
2256 DEFAULT_wxUSE_LOGGUI
=yes
2257 DEFAULT_wxUSE_LOGDIALOG
=yes
2259 DEFAULT_wxUSE_GUI
=yes
2261 DEFAULT_wxUSE_REGEX
=yes
2262 DEFAULT_wxUSE_XML
=yes
2263 DEFAULT_wxUSE_EXPAT
=yes
2264 DEFAULT_wxUSE_ZLIB
=yes
2265 DEFAULT_wxUSE_LIBPNG
=yes
2266 DEFAULT_wxUSE_LIBJPEG
=yes
2267 DEFAULT_wxUSE_LIBTIFF
=yes
2268 DEFAULT_wxUSE_LIBXPM
=yes
2269 DEFAULT_wxUSE_LIBMSPACK
=yes
2270 DEFAULT_wxUSE_LIBSDL
=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2272 DEFAULT_wxUSE_ODBC
=no
2273 DEFAULT_wxUSE_OPENGL
=no
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2276 DEFAULT_wxUSE_STACKWALKER
=yes
2277 DEFAULT_wxUSE_DEBUGREPORT
=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2280 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2282 DEFAULT_wxUSE_DATETIME
=yes
2283 DEFAULT_wxUSE_TIMER
=yes
2284 DEFAULT_wxUSE_STOPWATCH
=yes
2285 DEFAULT_wxUSE_FILE
=yes
2286 DEFAULT_wxUSE_FFILE
=yes
2287 DEFAULT_wxUSE_STDPATHS
=yes
2288 DEFAULT_wxUSE_TEXTBUFFER
=yes
2289 DEFAULT_wxUSE_TEXTFILE
=yes
2290 DEFAULT_wxUSE_SOUND
=yes
2291 DEFAULT_wxUSE_MEDIACTRL
=no
2292 DEFAULT_wxUSE_INTL
=yes
2293 DEFAULT_wxUSE_CONFIG
=yes
2294 DEFAULT_wxUSE_FONTMAP
=yes
2295 DEFAULT_wxUSE_STREAMS
=yes
2296 DEFAULT_wxUSE_SOCKETS
=yes
2297 DEFAULT_wxUSE_OLE
=yes
2298 DEFAULT_wxUSE_DATAOBJ
=yes
2299 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2300 DEFAULT_wxUSE_JOYSTICK
=yes
2301 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2302 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2303 DEFAULT_wxUSE_LONGLONG
=yes
2304 DEFAULT_wxUSE_GEOMETRY
=yes
2306 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2307 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2308 DEFAULT_wxUSE_POSTSCRIPT
=yes
2310 DEFAULT_wxUSE_CLIPBOARD
=yes
2311 DEFAULT_wxUSE_TOOLTIPS
=yes
2312 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2313 DEFAULT_wxUSE_DRAGIMAGE
=yes
2314 DEFAULT_wxUSE_SPLINES
=yes
2315 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2317 DEFAULT_wxUSE_MDI
=yes
2318 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2319 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2320 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2322 DEFAULT_wxUSE_RESOURCES
=no
2323 DEFAULT_wxUSE_CONSTRAINTS
=yes
2324 DEFAULT_wxUSE_IPC
=yes
2325 DEFAULT_wxUSE_HELP
=yes
2326 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2327 DEFAULT_wxUSE_WXHTML_HELP
=yes
2328 DEFAULT_wxUSE_TREELAYOUT
=yes
2329 DEFAULT_wxUSE_METAFILE
=yes
2330 DEFAULT_wxUSE_MIMETYPE
=yes
2331 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2332 DEFAULT_wxUSE_PROTOCOL
=yes
2333 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2334 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2335 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2336 DEFAULT_wxUSE_URL
=yes
2338 DEFAULT_wxUSE_COMMONDLGS
=yes
2339 DEFAULT_wxUSE_CHOICEDLG
=yes
2340 DEFAULT_wxUSE_COLOURDLG
=yes
2341 DEFAULT_wxUSE_DIRDLG
=yes
2342 DEFAULT_wxUSE_FILEDLG
=yes
2343 DEFAULT_wxUSE_FINDREPLDLG
=yes
2344 DEFAULT_wxUSE_FONTDLG
=yes
2345 DEFAULT_wxUSE_MSGDLG
=yes
2346 DEFAULT_wxUSE_NUMBERDLG
=yes
2347 DEFAULT_wxUSE_TEXTDLG
=yes
2348 DEFAULT_wxUSE_SPLASH
=yes
2349 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2350 DEFAULT_wxUSE_PROGRESSDLG
=yes
2351 DEFAULT_wxUSE_WIZARDDLG
=yes
2353 DEFAULT_wxUSE_MENUS
=yes
2354 DEFAULT_wxUSE_MINIFRAME
=yes
2355 DEFAULT_wxUSE_HTML
=yes
2356 DEFAULT_wxUSE_XRC
=yes
2357 DEFAULT_wxUSE_WEBKIT
=yes
2358 DEFAULT_wxUSE_FILESYSTEM
=yes
2359 DEFAULT_wxUSE_FS_INET
=yes
2360 DEFAULT_wxUSE_FS_ZIP
=yes
2361 DEFAULT_wxUSE_BUSYINFO
=yes
2362 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2363 DEFAULT_wxUSE_ZIPSTREAM
=yes
2364 DEFAULT_wxUSE_VALIDATORS
=yes
2366 DEFAULT_wxUSE_ACCEL
=yes
2367 DEFAULT_wxUSE_BUTTON
=yes
2368 DEFAULT_wxUSE_BMPBUTTON
=yes
2369 DEFAULT_wxUSE_CALCTRL
=yes
2370 DEFAULT_wxUSE_CARET
=yes
2371 DEFAULT_wxUSE_CHECKBOX
=yes
2372 DEFAULT_wxUSE_CHECKLST
=yes
2373 DEFAULT_wxUSE_CHOICE
=yes
2374 DEFAULT_wxUSE_CHOICEBOOK
=yes
2375 DEFAULT_wxUSE_COMBOBOX
=yes
2376 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2377 DEFAULT_wxUSE_DISPLAY
=yes
2378 DEFAULT_wxUSE_GAUGE
=yes
2379 DEFAULT_wxUSE_GRID
=yes
2380 DEFAULT_wxUSE_IMAGLIST
=yes
2381 DEFAULT_wxUSE_LISTBOOK
=yes
2382 DEFAULT_wxUSE_LISTBOX
=yes
2383 DEFAULT_wxUSE_LISTCTRL
=yes
2384 DEFAULT_wxUSE_NOTEBOOK
=yes
2385 DEFAULT_wxUSE_RADIOBOX
=yes
2386 DEFAULT_wxUSE_RADIOBTN
=yes
2387 DEFAULT_wxUSE_SASH
=yes
2388 DEFAULT_wxUSE_SCROLLBAR
=yes
2389 DEFAULT_wxUSE_SLIDER
=yes
2390 DEFAULT_wxUSE_SPINBTN
=yes
2391 DEFAULT_wxUSE_SPINCTRL
=yes
2392 DEFAULT_wxUSE_SPLITTER
=yes
2393 DEFAULT_wxUSE_STATBMP
=yes
2394 DEFAULT_wxUSE_STATBOX
=yes
2395 DEFAULT_wxUSE_STATLINE
=yes
2396 DEFAULT_wxUSE_STATTEXT
=yes
2397 DEFAULT_wxUSE_STATUSBAR
=yes
2398 DEFAULT_wxUSE_TABDIALOG
=no
2399 DEFAULT_wxUSE_TEXTCTRL
=yes
2400 DEFAULT_wxUSE_TOGGLEBTN
=yes
2401 DEFAULT_wxUSE_TOOLBAR
=yes
2402 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2403 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2404 DEFAULT_wxUSE_TREECTRL
=yes
2405 DEFAULT_wxUSE_POPUPWIN
=yes
2406 DEFAULT_wxUSE_TIPWINDOW
=yes
2408 DEFAULT_wxUSE_UNICODE
=no
2409 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2410 DEFAULT_wxUSE_WCSRTOMBS
=no
2412 DEFAULT_wxUSE_PALETTE
=yes
2413 DEFAULT_wxUSE_IMAGE
=yes
2414 DEFAULT_wxUSE_GIF
=yes
2415 DEFAULT_wxUSE_PCX
=yes
2416 DEFAULT_wxUSE_IFF
=no
2417 DEFAULT_wxUSE_PNM
=yes
2418 DEFAULT_wxUSE_XPM
=yes
2419 DEFAULT_wxUSE_ICO_CUR
=yes
2420 DEFAULT_wxUSE_ACCESSIBILITY
=no
2422 DEFAULT_wxUSE_MONOLITHIC
=no
2423 DEFAULT_wxUSE_PLUGINS
=no
2424 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2426 DEFAULT_wxUSE_GTK2
=yes
2432 for toolkit
in `echo $ALL_TOOLKITS`; do
2433 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2434 if test "x$LINE" != "x" ; then
2435 has_toolkit_in_cache
=1
2436 eval "DEFAULT_$LINE"
2437 eval "CACHE_$toolkit=1"
2439 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 eval "DEFAULT_$LINE"
2449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2450 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2452 # Check whether --enable-gui or --disable-gui was given.
2453 if test "${enable_gui+set}" = set; then
2454 enableval
="$enable_gui"
2456 if test "$enableval" = yes; then
2457 ac_cv_use_gui
='wxUSE_GUI=yes'
2459 ac_cv_use_gui
='wxUSE_GUI=no'
2464 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x
; then
2466 eval "DEFAULT_$LINE"
2471 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2475 eval "$ac_cv_use_gui"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2480 if test "$wxUSE_GUI" = yes; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2493 # Check whether --enable-monolithic or --disable-monolithic was given.
2494 if test "${enable_monolithic+set}" = set; then
2495 enableval
="$enable_monolithic"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2500 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2505 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x
; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2516 eval "$ac_cv_use_monolithic"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_MONOLITHIC" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2534 # Check whether --enable-plugins or --disable-plugins was given.
2535 if test "${enable_plugins+set}" = set; then
2536 enableval
="$enable_plugins"
2538 if test "$enableval" = yes; then
2539 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2541 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2546 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x
; then
2548 eval "DEFAULT_$LINE"
2553 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2557 eval "$ac_cv_use_plugins"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2562 if test "$wxUSE_PLUGINS" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2571 if test "$wxUSE_GUI" = "yes"; then
2575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2576 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2578 # Check whether --enable-universal or --disable-universal was given.
2579 if test "${enable_universal+set}" = set; then
2580 enableval
="$enable_universal"
2582 if test "$enableval" = yes; then
2583 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2585 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2590 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x
; then
2592 eval "DEFAULT_$LINE"
2597 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2601 eval "$ac_cv_use_universal"
2602 if test "$no_cache" != 1; then
2603 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2606 if test "$wxUSE_UNIVERSAL" = yes; then
2607 echo "$as_me:$LINENO: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2615 # Check whether --with-gtk or --without-gtk was given.
2616 if test "${with_gtk+set}" = set; then
2618 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2621 # Check whether --with-motif or --without-motif was given.
2622 if test "${with_motif+set}" = set; then
2623 withval
="$with_motif"
2624 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2627 # Check whether --with-mac or --without-mac was given.
2628 if test "${with_mac+set}" = set; then
2630 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2633 # Check whether --with-cocoa or --without-cocoa was given.
2634 if test "${with_cocoa+set}" = set; then
2635 withval
="$with_cocoa"
2636 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2639 # Check whether --with-wine or --without-wine was given.
2640 if test "${with_wine+set}" = set; then
2641 withval
="$with_wine"
2642 wxUSE_WINE
="$withval" CACHE_WINE
=1
2645 # Check whether --with-msw or --without-msw was given.
2646 if test "${with_msw+set}" = set; then
2648 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2651 # Check whether --with-pm or --without-pm was given.
2652 if test "${with_pm+set}" = set; then
2654 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2657 # Check whether --with-mgl or --without-mgl was given.
2658 if test "${with_mgl+set}" = set; then
2660 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2663 # Check whether --with-microwin or --without-microwin was given.
2664 if test "${with_microwin+set}" = set; then
2665 withval
="$with_microwin"
2666 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2669 # Check whether --with-x11 or --without-x11 was given.
2670 if test "${with_x11+set}" = set; then
2672 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2679 # Check whether --enable-nanox or --disable-nanox was given.
2680 if test "${enable_nanox+set}" = set; then
2681 enableval
="$enable_nanox"
2683 if test "$enableval" = yes; then
2684 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2686 ac_cv_use_nanox
='wxUSE_NANOX=no'
2691 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x
; then
2693 eval "DEFAULT_$LINE"
2698 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2702 eval "$ac_cv_use_nanox"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2707 if test "$wxUSE_NANOX" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2716 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2717 if test "${enable_gtk2+set}" = set; then
2718 enableval
="$enable_gtk2"
2719 wxUSE_GTK2
="$enableval"
2723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2724 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2726 # Check whether --enable-gpe or --disable-gpe was given.
2727 if test "${enable_gpe+set}" = set; then
2728 enableval
="$enable_gpe"
2730 if test "$enableval" = yes; then
2731 ac_cv_use_gpe
='wxUSE_GPE=yes'
2733 ac_cv_use_gpe
='wxUSE_GPE=no'
2738 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x
; then
2740 eval "DEFAULT_$LINE"
2745 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2749 eval "$ac_cv_use_gpe"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2754 if test "$wxUSE_GPE" = yes; then
2755 echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6
2758 echo "$as_me:$LINENO: result: no" >&5
2759 echo "${ECHO_T}no" >&6
2764 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2765 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2768 # Check whether --with-libpng or --without-libpng was given.
2769 if test "${with_libpng+set}" = set; then
2770 withval
="$with_libpng"
2772 if test "$withval" = yes; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2774 elif test "$withval" = no
; then
2775 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2776 elif test "$withval" = sys
; then
2777 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2778 elif test "$withval" = builtin; then
2779 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2782 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2783 { (exit 1); exit 1; }; }
2788 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2799 eval "$ac_cv_use_libpng"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2804 if test "$wxUSE_LIBPNG" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 elif test "$wxUSE_LIBPNG" = no
; then
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 elif test "$wxUSE_LIBPNG" = sys
; then
2811 echo "$as_me:$LINENO: result: system version" >&5
2812 echo "${ECHO_T}system version" >&6
2813 elif test "$wxUSE_LIBPNG" = builtin; then
2814 echo "$as_me:$LINENO: result: builtin version" >&5
2815 echo "${ECHO_T}builtin version" >&6
2817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2818 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2819 { (exit 1); exit 1; }; }
2823 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2824 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2827 # Check whether --with-libjpeg or --without-libjpeg was given.
2828 if test "${with_libjpeg+set}" = set; then
2829 withval
="$with_libjpeg"
2831 if test "$withval" = yes; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2833 elif test "$withval" = no
; then
2834 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2835 elif test "$withval" = sys
; then
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2837 elif test "$withval" = builtin; then
2838 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2840 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2841 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2842 { (exit 1); exit 1; }; }
2847 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2848 if test "x$LINE" != x
; then
2849 eval "DEFAULT_$LINE"
2854 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2858 eval "$ac_cv_use_libjpeg"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2863 if test "$wxUSE_LIBJPEG" = yes; then
2864 echo "$as_me:$LINENO: result: yes" >&5
2865 echo "${ECHO_T}yes" >&6
2866 elif test "$wxUSE_LIBJPEG" = no
; then
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2869 elif test "$wxUSE_LIBJPEG" = sys
; then
2870 echo "$as_me:$LINENO: result: system version" >&5
2871 echo "${ECHO_T}system version" >&6
2872 elif test "$wxUSE_LIBJPEG" = builtin; then
2873 echo "$as_me:$LINENO: result: builtin version" >&5
2874 echo "${ECHO_T}builtin version" >&6
2876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2877 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2878 { (exit 1); exit 1; }; }
2882 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2883 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2886 # Check whether --with-libtiff or --without-libtiff was given.
2887 if test "${with_libtiff+set}" = set; then
2888 withval
="$with_libtiff"
2890 if test "$withval" = yes; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2892 elif test "$withval" = no
; then
2893 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2894 elif test "$withval" = sys
; then
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2896 elif test "$withval" = builtin; then
2897 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2899 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2901 { (exit 1); exit 1; }; }
2906 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x
; then
2908 eval "DEFAULT_$LINE"
2913 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2917 eval "$ac_cv_use_libtiff"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_LIBTIFF" = yes; then
2923 echo "$as_me:$LINENO: result: yes" >&5
2924 echo "${ECHO_T}yes" >&6
2925 elif test "$wxUSE_LIBTIFF" = no
; then
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2928 elif test "$wxUSE_LIBTIFF" = sys
; then
2929 echo "$as_me:$LINENO: result: system version" >&5
2930 echo "${ECHO_T}system version" >&6
2931 elif test "$wxUSE_LIBTIFF" = builtin; then
2932 echo "$as_me:$LINENO: result: builtin version" >&5
2933 echo "${ECHO_T}builtin version" >&6
2935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2936 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2937 { (exit 1); exit 1; }; }
2941 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2942 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2945 # Check whether --with-libxpm or --without-libxpm was given.
2946 if test "${with_libxpm+set}" = set; then
2947 withval
="$with_libxpm"
2949 if test "$withval" = yes; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2951 elif test "$withval" = no
; then
2952 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2953 elif test "$withval" = sys
; then
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2955 elif test "$withval" = builtin; then
2956 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2958 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2960 { (exit 1); exit 1; }; }
2965 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2966 if test "x$LINE" != x
; then
2967 eval "DEFAULT_$LINE"
2972 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2976 eval "$ac_cv_use_libxpm"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2981 if test "$wxUSE_LIBXPM" = yes; then
2982 echo "$as_me:$LINENO: result: yes" >&5
2983 echo "${ECHO_T}yes" >&6
2984 elif test "$wxUSE_LIBXPM" = no
; then
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2987 elif test "$wxUSE_LIBXPM" = sys
; then
2988 echo "$as_me:$LINENO: result: system version" >&5
2989 echo "${ECHO_T}system version" >&6
2990 elif test "$wxUSE_LIBXPM" = builtin; then
2991 echo "$as_me:$LINENO: result: builtin version" >&5
2992 echo "${ECHO_T}builtin version" >&6
2994 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2995 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2996 { (exit 1); exit 1; }; }
3000 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3001 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3004 # Check whether --with-libmspack or --without-libmspack was given.
3005 if test "${with_libmspack+set}" = set; then
3006 withval
="$with_libmspack"
3008 if test "$withval" = yes; then
3009 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3011 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3016 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x
; then
3018 eval "DEFAULT_$LINE"
3023 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3027 eval "$ac_cv_use_libmspack"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3032 if test "$wxUSE_LIBMSPACK" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3041 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3042 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3045 # Check whether --with-sdl or --without-sdl was given.
3046 if test "${with_sdl+set}" = set; then
3049 if test "$withval" = yes; then
3050 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3052 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3057 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x
; then
3059 eval "DEFAULT_$LINE"
3064 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3068 eval "$ac_cv_use_sdl"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_LIBSDL" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3082 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3083 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3086 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3087 if test "${with_gnomeprint+set}" = set; then
3088 withval
="$with_gnomeprint"
3090 if test "$withval" = yes; then
3091 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3093 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3098 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x
; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3109 eval "$ac_cv_use_gnomeprint"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3123 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3124 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3127 # Check whether --with-opengl or --without-opengl was given.
3128 if test "${with_opengl+set}" = set; then
3129 withval
="$with_opengl"
3131 if test "$withval" = yes; then
3132 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3134 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3139 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x
; then
3141 eval "DEFAULT_$LINE"
3146 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3150 eval "$ac_cv_use_opengl"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_OPENGL" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3167 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3168 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3171 # Check whether --with-dmalloc or --without-dmalloc was given.
3172 if test "${with_dmalloc+set}" = set; then
3173 withval
="$with_dmalloc"
3175 if test "$withval" = yes; then
3176 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3178 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3183 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x
; then
3185 eval "DEFAULT_$LINE"
3190 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3194 eval "$ac_cv_use_dmalloc"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_DMALLOC" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3208 echo "$as_me:$LINENO: checking for --with-regex" >&5
3209 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3212 # Check whether --with-regex or --without-regex was given.
3213 if test "${with_regex+set}" = set; then
3214 withval
="$with_regex"
3216 if test "$withval" = yes; then
3217 ac_cv_use_regex
='wxUSE_REGEX=yes'
3218 elif test "$withval" = no
; then
3219 ac_cv_use_regex
='wxUSE_REGEX=no'
3220 elif test "$withval" = sys
; then
3221 ac_cv_use_regex
='wxUSE_REGEX=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3232 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x
; then
3234 eval "DEFAULT_$LINE"
3239 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3243 eval "$ac_cv_use_regex"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3248 if test "$wxUSE_REGEX" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_REGEX" = no
; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_REGEX" = sys
; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_REGEX" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3267 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3268 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3271 # Check whether --with-zlib or --without-zlib was given.
3272 if test "${with_zlib+set}" = set; then
3273 withval
="$with_zlib"
3275 if test "$withval" = yes; then
3276 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3277 elif test "$withval" = no
; then
3278 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3279 elif test "$withval" = sys
; then
3280 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3291 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x
; then
3293 eval "DEFAULT_$LINE"
3298 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3302 eval "$ac_cv_use_zlib"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_ZLIB" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ZLIB" = no
; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ZLIB" = sys
; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ZLIB" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3326 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3327 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3330 # Check whether --with-odbc or --without-odbc was given.
3331 if test "${with_odbc+set}" = set; then
3332 withval
="$with_odbc"
3334 if test "$withval" = yes; then
3335 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3336 elif test "$withval" = no
; then
3337 ac_cv_use_odbc
='wxUSE_ODBC=no'
3338 elif test "$withval" = sys
; then
3339 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3350 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x
; then
3352 eval "DEFAULT_$LINE"
3357 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3361 eval "$ac_cv_use_odbc"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3366 if test "$wxUSE_ODBC" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_ODBC" = no
; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_ODBC" = sys
; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_ODBC" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3385 echo "$as_me:$LINENO: checking for --with-expat" >&5
3386 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3389 # Check whether --with-expat or --without-expat was given.
3390 if test "${with_expat+set}" = set; then
3391 withval
="$with_expat"
3393 if test "$withval" = yes; then
3394 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3395 elif test "$withval" = no
; then
3396 ac_cv_use_expat
='wxUSE_EXPAT=no'
3397 elif test "$withval" = sys
; then
3398 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3399 elif test "$withval" = builtin; then
3400 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3402 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3403 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3404 { (exit 1); exit 1; }; }
3409 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x
; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3420 eval "$ac_cv_use_expat"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3425 if test "$wxUSE_EXPAT" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3428 elif test "$wxUSE_EXPAT" = no
; then
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3431 elif test "$wxUSE_EXPAT" = sys
; then
3432 echo "$as_me:$LINENO: result: system version" >&5
3433 echo "${ECHO_T}system version" >&6
3434 elif test "$wxUSE_EXPAT" = builtin; then
3435 echo "$as_me:$LINENO: result: builtin version" >&5
3436 echo "${ECHO_T}builtin version" >&6
3438 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3439 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3440 { (exit 1); exit 1; }; }
3447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3448 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3450 # Check whether --enable-shared or --disable-shared was given.
3451 if test "${enable_shared+set}" = set; then
3452 enableval
="$enable_shared"
3454 if test "$enableval" = yes; then
3455 ac_cv_use_shared
='wxUSE_SHARED=yes'
3457 ac_cv_use_shared
='wxUSE_SHARED=no'
3462 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x
; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3473 eval "$ac_cv_use_shared"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3478 if test "$wxUSE_SHARED" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3491 # Check whether --enable-optimise or --disable-optimise was given.
3492 if test "${enable_optimise+set}" = set; then
3493 enableval
="$enable_optimise"
3495 if test "$enableval" = yes; then
3496 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3498 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3503 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x
; then
3505 eval "DEFAULT_$LINE"
3510 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3514 eval "$ac_cv_use_optimise"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3519 if test "$wxUSE_OPTIMISE" = yes; then
3520 echo "$as_me:$LINENO: result: yes" >&5
3521 echo "${ECHO_T}yes" >&6
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3530 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3532 # Check whether --enable-debug or --disable-debug was given.
3533 if test "${enable_debug+set}" = set; then
3534 enableval
="$enable_debug"
3536 if test "$enableval" = yes; then
3537 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3539 ac_cv_use_debug
='wxUSE_DEBUG=no'
3544 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x
; then
3546 eval "DEFAULT_$LINE"
3551 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3555 eval "$ac_cv_use_debug"
3556 if test "$no_cache" != 1; then
3557 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3560 if test "$wxUSE_DEBUG" = yes; then
3561 echo "$as_me:$LINENO: result: yes" >&5
3562 echo "${ECHO_T}yes" >&6
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3573 # Check whether --enable-stl or --disable-stl was given.
3574 if test "${enable_stl+set}" = set; then
3575 enableval
="$enable_stl"
3577 if test "$enableval" = yes; then
3578 ac_cv_use_stl
='wxUSE_STL=yes'
3580 ac_cv_use_stl
='wxUSE_STL=no'
3585 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x
; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3596 eval "$ac_cv_use_stl"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_STL" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3609 if test "$USE_OS2" = "1"; then
3610 DEFAULT_wxUSE_OMF
=no
3613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3614 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3616 # Check whether --enable-omf or --disable-omf was given.
3617 if test "${enable_omf+set}" = set; then
3618 enableval
="$enable_omf"
3620 if test "$enableval" = yes; then
3621 ac_cv_use_omf
='wxUSE_OMF=yes'
3623 ac_cv_use_omf
='wxUSE_OMF=no'
3628 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x
; then
3630 eval "DEFAULT_$LINE"
3635 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3639 eval "$ac_cv_use_omf"
3640 if test "$no_cache" != 1; then
3641 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3644 if test "$wxUSE_OMF" = yes; then
3645 echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3654 if test "$wxUSE_DEBUG" = "yes"; then
3655 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3656 DEFAULT_wxUSE_DEBUG_INFO
=yes
3658 elif test "$wxUSE_DEBUG" = "no"; then
3659 DEFAULT_wxUSE_DEBUG_FLAG
=no
3660 DEFAULT_wxUSE_DEBUG_INFO
=no
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3669 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3670 if test "${enable_debug_flag+set}" = set; then
3671 enableval
="$enable_debug_flag"
3673 if test "$enableval" = yes; then
3674 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3676 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3681 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x
; then
3683 eval "DEFAULT_$LINE"
3688 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3692 eval "$ac_cv_use_debug_flag"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_DEBUG_FLAG" = yes; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3710 # Check whether --enable-debug_info or --disable-debug_info was given.
3711 if test "${enable_debug_info+set}" = set; then
3712 enableval
="$enable_debug_info"
3714 if test "$enableval" = yes; then
3715 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3717 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3722 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x
; then
3724 eval "DEFAULT_$LINE"
3729 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3733 eval "$ac_cv_use_debug_info"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_DEBUG_INFO" = yes; then
3739 echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6
3742 echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6
3748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3749 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3751 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3752 if test "${enable_debug_gdb+set}" = set; then
3753 enableval
="$enable_debug_gdb"
3755 if test "$enableval" = yes; then
3756 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3758 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3763 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x
; then
3765 eval "DEFAULT_$LINE"
3770 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3774 eval "$ac_cv_use_debug_gdb"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_DEBUG_GDB" = yes; then
3780 echo "$as_me:$LINENO: result: yes" >&5
3781 echo "${ECHO_T}yes" >&6
3783 echo "$as_me:$LINENO: result: no" >&5
3784 echo "${ECHO_T}no" >&6
3789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3792 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3793 if test "${enable_debug_cntxt+set}" = set; then
3794 enableval
="$enable_debug_cntxt"
3796 if test "$enableval" = yes; then
3797 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3799 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3804 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3805 if test "x$LINE" != x
; then
3806 eval "DEFAULT_$LINE"
3811 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3815 eval "$ac_cv_use_debug_cntxt"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3820 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3821 echo "$as_me:$LINENO: result: yes" >&5
3822 echo "${ECHO_T}yes" >&6
3824 echo "$as_me:$LINENO: result: no" >&5
3825 echo "${ECHO_T}no" >&6
3830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3831 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3833 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3834 if test "${enable_mem_tracing+set}" = set; then
3835 enableval
="$enable_mem_tracing"
3837 if test "$enableval" = yes; then
3838 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3840 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3845 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x
; then
3847 eval "DEFAULT_$LINE"
3852 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3856 eval "$ac_cv_use_mem_tracing"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3861 if test "$wxUSE_MEM_TRACING" = yes; then
3862 echo "$as_me:$LINENO: result: yes" >&5
3863 echo "${ECHO_T}yes" >&6
3865 echo "$as_me:$LINENO: result: no" >&5
3866 echo "${ECHO_T}no" >&6
3871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3872 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3874 # Check whether --enable-profile or --disable-profile was given.
3875 if test "${enable_profile+set}" = set; then
3876 enableval
="$enable_profile"
3878 if test "$enableval" = yes; then
3879 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3881 ac_cv_use_profile
='wxUSE_PROFILE=no'
3886 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x
; then
3888 eval "DEFAULT_$LINE"
3893 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3897 eval "$ac_cv_use_profile"
3898 if test "$no_cache" != 1; then
3899 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3902 if test "$wxUSE_PROFILE" = yes; then
3903 echo "$as_me:$LINENO: result: yes" >&5
3904 echo "${ECHO_T}yes" >&6
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3913 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3915 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3916 if test "${enable_no_rtti+set}" = set; then
3917 enableval
="$enable_no_rtti"
3919 if test "$enableval" = yes; then
3920 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3922 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3927 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x
; then
3929 eval "DEFAULT_$LINE"
3934 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3938 eval "$ac_cv_use_no_rtti"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3943 if test "$wxUSE_NO_RTTI" = yes; then
3944 echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3954 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3956 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3957 if test "${enable_no_exceptions+set}" = set; then
3958 enableval
="$enable_no_exceptions"
3960 if test "$enableval" = yes; then
3961 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3963 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3968 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x
; then
3970 eval "DEFAULT_$LINE"
3975 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3979 eval "$ac_cv_use_no_exceptions"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3985 echo "$as_me:$LINENO: result: yes" >&5
3986 echo "${ECHO_T}yes" >&6
3988 echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6
3994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3995 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3997 # Check whether --enable-permissive or --disable-permissive was given.
3998 if test "${enable_permissive+set}" = set; then
3999 enableval
="$enable_permissive"
4001 if test "$enableval" = yes; then
4002 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4004 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4009 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x
; then
4011 eval "DEFAULT_$LINE"
4016 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4020 eval "$ac_cv_use_permissive"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4025 if test "$wxUSE_PERMISSIVE" = yes; then
4026 echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4036 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4038 # Check whether --enable-no_deps or --disable-no_deps was given.
4039 if test "${enable_no_deps+set}" = set; then
4040 enableval
="$enable_no_deps"
4042 if test "$enableval" = yes; then
4043 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4045 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4050 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4051 if test "x$LINE" != x
; then
4052 eval "DEFAULT_$LINE"
4057 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4061 eval "$ac_cv_use_no_deps"
4062 if test "$no_cache" != 1; then
4063 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4066 if test "$wxUSE_NO_DEPS" = yes; then
4067 echo "$as_me:$LINENO: result: yes" >&5
4068 echo "${ECHO_T}yes" >&6
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4078 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4080 # Check whether --enable-compat22 or --disable-compat22 was given.
4081 if test "${enable_compat22+set}" = set; then
4082 enableval
="$enable_compat22"
4084 if test "$enableval" = yes; then
4085 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4087 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4092 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x
; then
4094 eval "DEFAULT_$LINE"
4099 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4103 eval "$ac_cv_use_compat22"
4104 if test "$no_cache" != 1; then
4105 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4108 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4109 echo "$as_me:$LINENO: result: yes" >&5
4110 echo "${ECHO_T}yes" >&6
4112 echo "$as_me:$LINENO: result: no" >&5
4113 echo "${ECHO_T}no" >&6
4117 enablestring
=disable
4118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4119 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4121 # Check whether --enable-compat24 or --disable-compat24 was given.
4122 if test "${enable_compat24+set}" = set; then
4123 enableval
="$enable_compat24"
4125 if test "$enableval" = yes; then
4126 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4128 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4133 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x
; then
4135 eval "DEFAULT_$LINE"
4140 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4144 eval "$ac_cv_use_compat24"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4149 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4150 echo "$as_me:$LINENO: result: yes" >&5
4151 echo "${ECHO_T}yes" >&6
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4163 # Check whether --enable-rpath or --disable-rpath was given.
4164 if test "${enable_rpath+set}" = set; then
4165 enableval
="$enable_rpath"
4167 if test "$enableval" = yes; then
4168 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4170 ac_cv_use_rpath
='wxUSE_RPATH=no'
4175 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x
; then
4177 eval "DEFAULT_$LINE"
4182 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4186 eval "$ac_cv_use_rpath"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4191 if test "$wxUSE_RPATH" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4207 # Check whether --enable-intl or --disable-intl was given.
4208 if test "${enable_intl+set}" = set; then
4209 enableval
="$enable_intl"
4211 if test "$enableval" = yes; then
4212 ac_cv_use_intl
='wxUSE_INTL=yes'
4214 ac_cv_use_intl
='wxUSE_INTL=no'
4219 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x
; then
4221 eval "DEFAULT_$LINE"
4226 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4230 eval "$ac_cv_use_intl"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4235 if test "$wxUSE_INTL" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4248 # Check whether --enable-config or --disable-config was given.
4249 if test "${enable_config+set}" = set; then
4250 enableval
="$enable_config"
4252 if test "$enableval" = yes; then
4253 ac_cv_use_config
='wxUSE_CONFIG=yes'
4255 ac_cv_use_config
='wxUSE_CONFIG=no'
4260 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x
; then
4262 eval "DEFAULT_$LINE"
4267 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4271 eval "$ac_cv_use_config"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4276 if test "$wxUSE_CONFIG" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4288 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4290 # Check whether --enable-protocols or --disable-protocols was given.
4291 if test "${enable_protocols+set}" = set; then
4292 enableval
="$enable_protocols"
4294 if test "$enableval" = yes; then
4295 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4297 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4302 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4309 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4313 eval "$ac_cv_use_protocols"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4318 if test "$wxUSE_PROTOCOL" = yes; then
4319 echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6
4322 echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6
4328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4329 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4331 # Check whether --enable-ftp or --disable-ftp was given.
4332 if test "${enable_ftp+set}" = set; then
4333 enableval
="$enable_ftp"
4335 if test "$enableval" = yes; then
4336 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4338 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4343 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x
; then
4345 eval "DEFAULT_$LINE"
4350 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4354 eval "$ac_cv_use_ftp"
4355 if test "$no_cache" != 1; then
4356 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4359 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4360 echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6
4363 echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6
4369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4372 # Check whether --enable-http or --disable-http was given.
4373 if test "${enable_http+set}" = set; then
4374 enableval
="$enable_http"
4376 if test "$enableval" = yes; then
4377 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4379 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4384 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4391 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4395 eval "$ac_cv_use_http"
4396 if test "$no_cache" != 1; then
4397 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4400 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4401 echo "$as_me:$LINENO: result: yes" >&5
4402 echo "${ECHO_T}yes" >&6
4404 echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6
4410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4411 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4413 # Check whether --enable-fileproto or --disable-fileproto was given.
4414 if test "${enable_fileproto+set}" = set; then
4415 enableval
="$enable_fileproto"
4417 if test "$enableval" = yes; then
4418 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4420 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4425 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x
; then
4427 eval "DEFAULT_$LINE"
4432 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4436 eval "$ac_cv_use_fileproto"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4441 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4442 echo "$as_me:$LINENO: result: yes" >&5
4443 echo "${ECHO_T}yes" >&6
4445 echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6
4451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4452 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4454 # Check whether --enable-sockets or --disable-sockets was given.
4455 if test "${enable_sockets+set}" = set; then
4456 enableval
="$enable_sockets"
4458 if test "$enableval" = yes; then
4459 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4461 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4466 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x
; then
4468 eval "DEFAULT_$LINE"
4473 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4477 eval "$ac_cv_use_sockets"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4482 if test "$wxUSE_SOCKETS" = yes; then
4483 echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4495 # Check whether --enable-ole or --disable-ole was given.
4496 if test "${enable_ole+set}" = set; then
4497 enableval
="$enable_ole"
4499 if test "$enableval" = yes; then
4500 ac_cv_use_ole
='wxUSE_OLE=yes'
4502 ac_cv_use_ole
='wxUSE_OLE=no'
4507 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x
; then
4509 eval "DEFAULT_$LINE"
4514 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4518 eval "$ac_cv_use_ole"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4523 if test "$wxUSE_OLE" = yes; then
4524 echo "$as_me:$LINENO: result: yes" >&5
4525 echo "${ECHO_T}yes" >&6
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4536 # Check whether --enable-dataobj or --disable-dataobj was given.
4537 if test "${enable_dataobj+set}" = set; then
4538 enableval
="$enable_dataobj"
4540 if test "$enableval" = yes; then
4541 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4543 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4548 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x
; then
4550 eval "DEFAULT_$LINE"
4555 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4559 eval "$ac_cv_use_dataobj"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_DATAOBJ" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4576 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4578 # Check whether --enable-ipc or --disable-ipc was given.
4579 if test "${enable_ipc+set}" = set; then
4580 enableval
="$enable_ipc"
4582 if test "$enableval" = yes; then
4583 ac_cv_use_ipc
='wxUSE_IPC=yes'
4585 ac_cv_use_ipc
='wxUSE_IPC=no'
4590 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x
; then
4592 eval "DEFAULT_$LINE"
4597 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4601 eval "$ac_cv_use_ipc"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4606 if test "$wxUSE_IPC" = yes; then
4607 echo "$as_me:$LINENO: result: yes" >&5
4608 echo "${ECHO_T}yes" >&6
4610 echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4620 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4621 if test "${enable_apple_ieee+set}" = set; then
4622 enableval
="$enable_apple_ieee"
4624 if test "$enableval" = yes; then
4625 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4627 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4632 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x
; then
4634 eval "DEFAULT_$LINE"
4639 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4643 eval "$ac_cv_use_apple_ieee"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4648 if test "$wxUSE_APPLE_IEEE" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4661 # Check whether --enable-arcstream or --disable-arcstream was given.
4662 if test "${enable_arcstream+set}" = set; then
4663 enableval
="$enable_arcstream"
4665 if test "$enableval" = yes; then
4666 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4668 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4673 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x
; then
4675 eval "DEFAULT_$LINE"
4680 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4684 eval "$ac_cv_use_arcstream"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4689 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4702 # Check whether --enable-backtrace or --disable-backtrace was given.
4703 if test "${enable_backtrace+set}" = set; then
4704 enableval
="$enable_backtrace"
4706 if test "$enableval" = yes; then
4707 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4709 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4714 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x
; then
4716 eval "DEFAULT_$LINE"
4721 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4725 eval "$ac_cv_use_backtrace"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4730 if test "$wxUSE_STACKWALKER" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4743 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4744 if test "${enable_catch_segvs+set}" = set; then
4745 enableval
="$enable_catch_segvs"
4747 if test "$enableval" = yes; then
4748 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4750 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4755 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x
; then
4757 eval "DEFAULT_$LINE"
4762 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4766 eval "$ac_cv_use_catch_segvs"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4771 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4775 echo "$as_me:$LINENO: result: no" >&5
4776 echo "${ECHO_T}no" >&6
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4784 # Check whether --enable-cmdline or --disable-cmdline was given.
4785 if test "${enable_cmdline+set}" = set; then
4786 enableval
="$enable_cmdline"
4788 if test "$enableval" = yes; then
4789 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4791 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4796 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x
; then
4798 eval "DEFAULT_$LINE"
4803 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4807 eval "$ac_cv_use_cmdline"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4812 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814 echo "${ECHO_T}yes" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4825 # Check whether --enable-datetime or --disable-datetime was given.
4826 if test "${enable_datetime+set}" = set; then
4827 enableval
="$enable_datetime"
4829 if test "$enableval" = yes; then
4830 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4832 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4837 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x
; then
4839 eval "DEFAULT_$LINE"
4844 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4848 eval "$ac_cv_use_datetime"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_DATETIME" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855 echo "${ECHO_T}yes" >&6
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4866 # Check whether --enable-debugreport or --disable-debugreport was given.
4867 if test "${enable_debugreport+set}" = set; then
4868 enableval
="$enable_debugreport"
4870 if test "$enableval" = yes; then
4871 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4873 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4878 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x
; then
4880 eval "DEFAULT_$LINE"
4885 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4889 eval "$ac_cv_use_debugreport"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4894 if test "$wxUSE_DEBUGREPORT" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896 echo "${ECHO_T}yes" >&6
4898 echo "$as_me:$LINENO: result: no" >&5
4899 echo "${ECHO_T}no" >&6
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4907 # Check whether --enable-dialupman or --disable-dialupman was given.
4908 if test "${enable_dialupman+set}" = set; then
4909 enableval
="$enable_dialupman"
4911 if test "$enableval" = yes; then
4912 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4914 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4919 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x
; then
4921 eval "DEFAULT_$LINE"
4926 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4930 eval "$ac_cv_use_dialupman"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4935 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4948 # Check whether --enable-dynlib or --disable-dynlib was given.
4949 if test "${enable_dynlib+set}" = set; then
4950 enableval
="$enable_dynlib"
4952 if test "$enableval" = yes; then
4953 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4955 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4960 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x
; then
4962 eval "DEFAULT_$LINE"
4967 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4971 eval "$ac_cv_use_dynlib"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4976 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4989 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4990 if test "${enable_dynamicloader+set}" = set; then
4991 enableval
="$enable_dynamicloader"
4993 if test "$enableval" = yes; then
4994 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4996 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5001 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x
; then
5003 eval "DEFAULT_$LINE"
5008 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5012 eval "$ac_cv_use_dynamicloader"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5017 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5030 # Check whether --enable-exceptions or --disable-exceptions was given.
5031 if test "${enable_exceptions+set}" = set; then
5032 enableval
="$enable_exceptions"
5034 if test "$enableval" = yes; then
5035 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5037 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5042 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x
; then
5044 eval "DEFAULT_$LINE"
5049 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5053 eval "$ac_cv_use_exceptions"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5058 if test "$wxUSE_EXCEPTIONS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060 echo "${ECHO_T}yes" >&6
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5071 # Check whether --enable-ffile or --disable-ffile was given.
5072 if test "${enable_ffile+set}" = set; then
5073 enableval
="$enable_ffile"
5075 if test "$enableval" = yes; then
5076 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5078 ac_cv_use_ffile
='wxUSE_FFILE=no'
5083 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x
; then
5085 eval "DEFAULT_$LINE"
5090 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5094 eval "$ac_cv_use_ffile"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5099 if test "$wxUSE_FFILE" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101 echo "${ECHO_T}yes" >&6
5103 echo "$as_me:$LINENO: result: no" >&5
5104 echo "${ECHO_T}no" >&6
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5112 # Check whether --enable-file or --disable-file was given.
5113 if test "${enable_file+set}" = set; then
5114 enableval
="$enable_file"
5116 if test "$enableval" = yes; then
5117 ac_cv_use_file
='wxUSE_FILE=yes'
5119 ac_cv_use_file
='wxUSE_FILE=no'
5124 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x
; then
5126 eval "DEFAULT_$LINE"
5131 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5135 eval "$ac_cv_use_file"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5140 if test "$wxUSE_FILE" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142 echo "${ECHO_T}yes" >&6
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5151 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5153 # Check whether --enable-filesystem or --disable-filesystem was given.
5154 if test "${enable_filesystem+set}" = set; then
5155 enableval
="$enable_filesystem"
5157 if test "$enableval" = yes; then
5158 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5160 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5165 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x
; then
5167 eval "DEFAULT_$LINE"
5172 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5176 eval "$ac_cv_use_filesystem"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5181 if test "$wxUSE_FILESYSTEM" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5192 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5194 # Check whether --enable-fontmap or --disable-fontmap was given.
5195 if test "${enable_fontmap+set}" = set; then
5196 enableval
="$enable_fontmap"
5198 if test "$enableval" = yes; then
5199 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5201 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5206 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x
; then
5208 eval "DEFAULT_$LINE"
5213 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5217 eval "$ac_cv_use_fontmap"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5222 if test "$wxUSE_FONTMAP" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224 echo "${ECHO_T}yes" >&6
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5235 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5236 if test "${enable_fs_inet+set}" = set; then
5237 enableval
="$enable_fs_inet"
5239 if test "$enableval" = yes; then
5240 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5242 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5247 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x
; then
5249 eval "DEFAULT_$LINE"
5254 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5258 eval "$ac_cv_use_fs_inet"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5263 if test "$wxUSE_FS_INET" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265 echo "${ECHO_T}yes" >&6
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5276 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5277 if test "${enable_fs_zip+set}" = set; then
5278 enableval
="$enable_fs_zip"
5280 if test "$enableval" = yes; then
5281 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5283 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5288 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x
; then
5290 eval "DEFAULT_$LINE"
5295 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5299 eval "$ac_cv_use_fs_zip"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5304 if test "$wxUSE_FS_ZIP" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5317 # Check whether --enable-geometry or --disable-geometry was given.
5318 if test "${enable_geometry+set}" = set; then
5319 enableval
="$enable_geometry"
5321 if test "$enableval" = yes; then
5322 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5324 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5329 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x
; then
5331 eval "DEFAULT_$LINE"
5336 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5340 eval "$ac_cv_use_geometry"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5345 if test "$wxUSE_GEOMETRY" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5358 # Check whether --enable-log or --disable-log was given.
5359 if test "${enable_log+set}" = set; then
5360 enableval
="$enable_log"
5362 if test "$enableval" = yes; then
5363 ac_cv_use_log
='wxUSE_LOG=yes'
5365 ac_cv_use_log
='wxUSE_LOG=no'
5370 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x
; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5381 eval "$ac_cv_use_log"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5386 if test "$wxUSE_LOG" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388 echo "${ECHO_T}yes" >&6
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5399 # Check whether --enable-longlong or --disable-longlong was given.
5400 if test "${enable_longlong+set}" = set; then
5401 enableval
="$enable_longlong"
5403 if test "$enableval" = yes; then
5404 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5406 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5411 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x
; then
5413 eval "DEFAULT_$LINE"
5418 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5422 eval "$ac_cv_use_longlong"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5427 if test "$wxUSE_LONGLONG" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429 echo "${ECHO_T}yes" >&6
5431 echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5440 # Check whether --enable-mimetype or --disable-mimetype was given.
5441 if test "${enable_mimetype+set}" = set; then
5442 enableval
="$enable_mimetype"
5444 if test "$enableval" = yes; then
5445 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5447 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5452 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x
; then
5454 eval "DEFAULT_$LINE"
5459 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5463 eval "$ac_cv_use_mimetype"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5468 if test "$wxUSE_MIMETYPE" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470 echo "${ECHO_T}yes" >&6
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5481 # Check whether --enable-mslu or --disable-mslu was given.
5482 if test "${enable_mslu+set}" = set; then
5483 enableval
="$enable_mslu"
5485 if test "$enableval" = yes; then
5486 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5488 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5493 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x
; then
5495 eval "DEFAULT_$LINE"
5500 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5504 eval "$ac_cv_use_mslu"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5509 if test "$wxUSE_UNICODE_MSLU" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511 echo "${ECHO_T}yes" >&6
5513 echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6
5519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5522 # Check whether --enable-snglinst or --disable-snglinst was given.
5523 if test "${enable_snglinst+set}" = set; then
5524 enableval
="$enable_snglinst"
5526 if test "$enableval" = yes; then
5527 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5529 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5534 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x
; then
5536 eval "DEFAULT_$LINE"
5541 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5545 eval "$ac_cv_use_snglinst"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5550 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5551 echo "$as_me:$LINENO: result: yes" >&5
5552 echo "${ECHO_T}yes" >&6
5554 echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6
5560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5561 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5563 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5564 if test "${enable_std_iostreams+set}" = set; then
5565 enableval
="$enable_std_iostreams"
5567 if test "$enableval" = yes; then
5568 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5570 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5575 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x
; then
5577 eval "DEFAULT_$LINE"
5582 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5586 eval "$ac_cv_use_std_iostreams"
5587 if test "$no_cache" != 1; then
5588 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5591 if test "$wxUSE_STD_IOSTREAM" = yes; then
5592 echo "$as_me:$LINENO: result: yes" >&5
5593 echo "${ECHO_T}yes" >&6
5595 echo "$as_me:$LINENO: result: no" >&5
5596 echo "${ECHO_T}no" >&6
5601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5602 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5604 # Check whether --enable-std_string or --disable-std_string was given.
5605 if test "${enable_std_string+set}" = set; then
5606 enableval
="$enable_std_string"
5608 if test "$enableval" = yes; then
5609 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5611 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5616 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5617 if test "x$LINE" != x
; then
5618 eval "DEFAULT_$LINE"
5623 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5627 eval "$ac_cv_use_std_string"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5632 if test "$wxUSE_STD_STRING" = yes; then
5633 echo "$as_me:$LINENO: result: yes" >&5
5634 echo "${ECHO_T}yes" >&6
5636 echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6
5642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5645 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5646 if test "${enable_stdpaths+set}" = set; then
5647 enableval
="$enable_stdpaths"
5649 if test "$enableval" = yes; then
5650 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5652 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5657 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x
; then
5659 eval "DEFAULT_$LINE"
5664 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5668 eval "$ac_cv_use_stdpaths"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5673 if test "$wxUSE_STDPATHS" = yes; then
5674 echo "$as_me:$LINENO: result: yes" >&5
5675 echo "${ECHO_T}yes" >&6
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5686 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5687 if test "${enable_stopwatch+set}" = set; then
5688 enableval
="$enable_stopwatch"
5690 if test "$enableval" = yes; then
5691 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5693 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5698 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x
; then
5700 eval "DEFAULT_$LINE"
5705 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5709 eval "$ac_cv_use_stopwatch"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5714 if test "$wxUSE_STOPWATCH" = yes; then
5715 echo "$as_me:$LINENO: result: yes" >&5
5716 echo "${ECHO_T}yes" >&6
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5725 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5727 # Check whether --enable-streams or --disable-streams was given.
5728 if test "${enable_streams+set}" = set; then
5729 enableval
="$enable_streams"
5731 if test "$enableval" = yes; then
5732 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5734 ac_cv_use_streams
='wxUSE_STREAMS=no'
5739 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x
; then
5741 eval "DEFAULT_$LINE"
5746 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5750 eval "$ac_cv_use_streams"
5751 if test "$no_cache" != 1; then
5752 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5755 if test "$wxUSE_STREAMS" = yes; then
5756 echo "$as_me:$LINENO: result: yes" >&5
5757 echo "${ECHO_T}yes" >&6
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5768 # Check whether --enable-system_options or --disable-system_options was given.
5769 if test "${enable_system_options+set}" = set; then
5770 enableval
="$enable_system_options"
5772 if test "$enableval" = yes; then
5773 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5775 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5780 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x
; then
5782 eval "DEFAULT_$LINE"
5787 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5791 eval "$ac_cv_use_system_options"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5796 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5797 echo "$as_me:$LINENO: result: yes" >&5
5798 echo "${ECHO_T}yes" >&6
5800 echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6
5806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5809 # Check whether --enable-textbuf or --disable-textbuf was given.
5810 if test "${enable_textbuf+set}" = set; then
5811 enableval
="$enable_textbuf"
5813 if test "$enableval" = yes; then
5814 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5816 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5821 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x
; then
5823 eval "DEFAULT_$LINE"
5828 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5832 eval "$ac_cv_use_textbuf"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5837 if test "$wxUSE_TEXTBUFFER" = yes; then
5838 echo "$as_me:$LINENO: result: yes" >&5
5839 echo "${ECHO_T}yes" >&6
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5850 # Check whether --enable-textfile or --disable-textfile was given.
5851 if test "${enable_textfile+set}" = set; then
5852 enableval
="$enable_textfile"
5854 if test "$enableval" = yes; then
5855 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5857 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5862 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x
; then
5864 eval "DEFAULT_$LINE"
5869 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5873 eval "$ac_cv_use_textfile"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5878 if test "$wxUSE_TEXTFILE" = yes; then
5879 echo "$as_me:$LINENO: result: yes" >&5
5880 echo "${ECHO_T}yes" >&6
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5891 # Check whether --enable-timer or --disable-timer was given.
5892 if test "${enable_timer+set}" = set; then
5893 enableval
="$enable_timer"
5895 if test "$enableval" = yes; then
5896 ac_cv_use_timer
='wxUSE_TIMER=yes'
5898 ac_cv_use_timer
='wxUSE_TIMER=no'
5903 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x
; then
5905 eval "DEFAULT_$LINE"
5910 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5914 eval "$ac_cv_use_timer"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5919 if test "$wxUSE_TIMER" = yes; then
5920 echo "$as_me:$LINENO: result: yes" >&5
5921 echo "${ECHO_T}yes" >&6
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5932 # Check whether --enable-unicode or --disable-unicode was given.
5933 if test "${enable_unicode+set}" = set; then
5934 enableval
="$enable_unicode"
5936 if test "$enableval" = yes; then
5937 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5939 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5944 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x
; then
5946 eval "DEFAULT_$LINE"
5951 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5955 eval "$ac_cv_use_unicode"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5960 if test "$wxUSE_UNICODE" = yes; then
5961 echo "$as_me:$LINENO: result: yes" >&5
5962 echo "${ECHO_T}yes" >&6
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5973 # Check whether --enable-sound or --disable-sound was given.
5974 if test "${enable_sound+set}" = set; then
5975 enableval
="$enable_sound"
5977 if test "$enableval" = yes; then
5978 ac_cv_use_sound
='wxUSE_SOUND=yes'
5980 ac_cv_use_sound
='wxUSE_SOUND=no'
5985 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x
; then
5987 eval "DEFAULT_$LINE"
5992 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5996 eval "$ac_cv_use_sound"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6001 if test "$wxUSE_SOUND" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6
6005 echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6014 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6015 if test "${enable_mediactrl+set}" = set; then
6016 enableval
="$enable_mediactrl"
6018 if test "$enableval" = yes; then
6019 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6021 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6026 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x
; then
6028 eval "DEFAULT_$LINE"
6033 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6037 eval "$ac_cv_use_mediactrl"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6042 if test "$wxUSE_MEDIACTRL" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6055 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6056 if test "${enable_wxprintfv+set}" = set; then
6057 enableval
="$enable_wxprintfv"
6059 if test "$enableval" = yes; then
6060 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6062 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6067 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x
; then
6069 eval "DEFAULT_$LINE"
6074 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6078 eval "$ac_cv_use_wxprintfv"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6083 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6096 # Check whether --enable-zipstream or --disable-zipstream was given.
6097 if test "${enable_zipstream+set}" = set; then
6098 enableval
="$enable_zipstream"
6100 if test "$enableval" = yes; then
6101 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6103 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6108 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x
; then
6110 eval "DEFAULT_$LINE"
6115 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6119 eval "$ac_cv_use_zipstream"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6124 if test "$wxUSE_ZIPSTREAM" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6138 # Check whether --enable-url or --disable-url was given.
6139 if test "${enable_url+set}" = set; then
6140 enableval
="$enable_url"
6142 if test "$enableval" = yes; then
6143 ac_cv_use_url
='wxUSE_URL=yes'
6145 ac_cv_use_url
='wxUSE_URL=no'
6150 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x
; then
6152 eval "DEFAULT_$LINE"
6157 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6161 eval "$ac_cv_use_url"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_URL" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6179 # Check whether --enable-protocol or --disable-protocol was given.
6180 if test "${enable_protocol+set}" = set; then
6181 enableval
="$enable_protocol"
6183 if test "$enableval" = yes; then
6184 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6186 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6191 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x
; then
6193 eval "DEFAULT_$LINE"
6198 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6202 eval "$ac_cv_use_protocol"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6207 if test "$wxUSE_PROTOCOL" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6220 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6221 if test "${enable_protocol_http+set}" = set; then
6222 enableval
="$enable_protocol_http"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6227 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6232 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x
; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6243 eval "$ac_cv_use_protocol_http"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6248 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6261 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6262 if test "${enable_protocol_ftp+set}" = set; then
6263 enableval
="$enable_protocol_ftp"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6268 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6273 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x
; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6284 eval "$ac_cv_use_protocol_ftp"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6302 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6303 if test "${enable_protocol_file+set}" = set; then
6304 enableval
="$enable_protocol_file"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6309 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6314 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6325 eval "$ac_cv_use_protocol_file"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6330 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6346 # Check whether --enable-threads or --disable-threads was given.
6347 if test "${enable_threads+set}" = set; then
6348 enableval
="$enable_threads"
6350 if test "$enableval" = yes; then
6351 ac_cv_use_threads
='wxUSE_THREADS=yes'
6353 ac_cv_use_threads
='wxUSE_THREADS=no'
6358 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x
; then
6360 eval "DEFAULT_$LINE"
6365 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6369 eval "$ac_cv_use_threads"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_THREADS" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6383 if test "$wxUSE_GUI" = "yes"; then
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6391 # Check whether --enable-docview or --disable-docview was given.
6392 if test "${enable_docview+set}" = set; then
6393 enableval
="$enable_docview"
6395 if test "$enableval" = yes; then
6396 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6398 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6403 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x
; then
6405 eval "DEFAULT_$LINE"
6410 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6414 eval "$ac_cv_use_docview"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6419 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6432 # Check whether --enable-help or --disable-help was given.
6433 if test "${enable_help+set}" = set; then
6434 enableval
="$enable_help"
6436 if test "$enableval" = yes; then
6437 ac_cv_use_help
='wxUSE_HELP=yes'
6439 ac_cv_use_help
='wxUSE_HELP=no'
6444 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x
; then
6446 eval "DEFAULT_$LINE"
6451 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6455 eval "$ac_cv_use_help"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6460 if test "$wxUSE_HELP" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6473 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6474 if test "${enable_mshtmlhelp+set}" = set; then
6475 enableval
="$enable_mshtmlhelp"
6477 if test "$enableval" = yes; then
6478 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6480 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6485 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x
; then
6487 eval "DEFAULT_$LINE"
6492 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6496 eval "$ac_cv_use_mshtmlhelp"
6497 if test "$no_cache" != 1; then
6498 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6501 if test "$wxUSE_MS_HTML_HELP" = yes; then
6502 echo "$as_me:$LINENO: result: yes" >&5
6503 echo "${ECHO_T}yes" >&6
6505 echo "$as_me:$LINENO: result: no" >&5
6506 echo "${ECHO_T}no" >&6
6511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6512 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6514 # Check whether --enable-html or --disable-html was given.
6515 if test "${enable_html+set}" = set; then
6516 enableval
="$enable_html"
6518 if test "$enableval" = yes; then
6519 ac_cv_use_html
='wxUSE_HTML=yes'
6521 ac_cv_use_html
='wxUSE_HTML=no'
6526 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x
; then
6528 eval "DEFAULT_$LINE"
6533 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6537 eval "$ac_cv_use_html"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6542 if test "$wxUSE_HTML" = yes; then
6543 echo "$as_me:$LINENO: result: yes" >&5
6544 echo "${ECHO_T}yes" >&6
6546 echo "$as_me:$LINENO: result: no" >&5
6547 echo "${ECHO_T}no" >&6
6552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6555 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6556 if test "${enable_htmlhelp+set}" = set; then
6557 enableval
="$enable_htmlhelp"
6559 if test "$enableval" = yes; then
6560 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6562 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6567 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x
; then
6569 eval "DEFAULT_$LINE"
6574 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6578 eval "$ac_cv_use_htmlhelp"
6579 if test "$no_cache" != 1; then
6580 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6583 if test "$wxUSE_WXHTML_HELP" = yes; then
6584 echo "$as_me:$LINENO: result: yes" >&5
6585 echo "${ECHO_T}yes" >&6
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6596 # Check whether --enable-xrc or --disable-xrc was given.
6597 if test "${enable_xrc+set}" = set; then
6598 enableval
="$enable_xrc"
6600 if test "$enableval" = yes; then
6601 ac_cv_use_xrc
='wxUSE_XRC=yes'
6603 ac_cv_use_xrc
='wxUSE_XRC=no'
6608 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x
; then
6610 eval "DEFAULT_$LINE"
6615 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6619 eval "$ac_cv_use_xrc"
6620 if test "$no_cache" != 1; then
6621 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6624 if test "$wxUSE_XRC" = yes; then
6625 echo "$as_me:$LINENO: result: yes" >&5
6626 echo "${ECHO_T}yes" >&6
6628 echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6
6634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6637 # Check whether --enable-constraints or --disable-constraints was given.
6638 if test "${enable_constraints+set}" = set; then
6639 enableval
="$enable_constraints"
6641 if test "$enableval" = yes; then
6642 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6644 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6649 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x
; then
6651 eval "DEFAULT_$LINE"
6656 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6660 eval "$ac_cv_use_constraints"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6665 if test "$wxUSE_CONSTRAINTS" = yes; then
6666 echo "$as_me:$LINENO: result: yes" >&5
6667 echo "${ECHO_T}yes" >&6
6669 echo "$as_me:$LINENO: result: no" >&5
6670 echo "${ECHO_T}no" >&6
6675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6678 # Check whether --enable-printarch or --disable-printarch was given.
6679 if test "${enable_printarch+set}" = set; then
6680 enableval
="$enable_printarch"
6682 if test "$enableval" = yes; then
6683 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6685 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6690 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x
; then
6692 eval "DEFAULT_$LINE"
6697 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6701 eval "$ac_cv_use_printarch"
6702 if test "$no_cache" != 1; then
6703 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6706 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6707 echo "$as_me:$LINENO: result: yes" >&5
6708 echo "${ECHO_T}yes" >&6
6710 echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6719 # Check whether --enable-mdi or --disable-mdi was given.
6720 if test "${enable_mdi+set}" = set; then
6721 enableval
="$enable_mdi"
6723 if test "$enableval" = yes; then
6724 ac_cv_use_mdi
='wxUSE_MDI=yes'
6726 ac_cv_use_mdi
='wxUSE_MDI=no'
6731 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x
; then
6733 eval "DEFAULT_$LINE"
6738 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6742 eval "$ac_cv_use_mdi"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6747 if test "$wxUSE_MDI" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6760 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6761 if test "${enable_mdidoc+set}" = set; then
6762 enableval
="$enable_mdidoc"
6764 if test "$enableval" = yes; then
6765 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6767 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6772 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x
; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6783 eval "$ac_cv_use_mdidoc"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6788 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6801 # Check whether --enable-loggui or --disable-loggui was given.
6802 if test "${enable_loggui+set}" = set; then
6803 enableval
="$enable_loggui"
6805 if test "$enableval" = yes; then
6806 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6808 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6813 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x
; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6824 eval "$ac_cv_use_loggui"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6829 if test "$wxUSE_LOGGUI" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6842 # Check whether --enable-logwin or --disable-logwin was given.
6843 if test "${enable_logwin+set}" = set; then
6844 enableval
="$enable_logwin"
6846 if test "$enableval" = yes; then
6847 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6849 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6854 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x
; then
6856 eval "DEFAULT_$LINE"
6861 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6865 eval "$ac_cv_use_logwin"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6870 if test "$wxUSE_LOGWINDOW" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6883 # Check whether --enable-logdialog or --disable-logdialog was given.
6884 if test "${enable_logdialog+set}" = set; then
6885 enableval
="$enable_logdialog"
6887 if test "$enableval" = yes; then
6888 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6890 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6895 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x
; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6906 eval "$ac_cv_use_logdialog"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6911 if test "$wxUSE_LOGDIALOG" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6924 # Check whether --enable-webkit or --disable-webkit was given.
6925 if test "${enable_webkit+set}" = set; then
6926 enableval
="$enable_webkit"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6931 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6936 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x
; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6947 eval "$ac_cv_use_webkit"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_WEBKIT" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6966 # Check whether --enable-postscript or --disable-postscript was given.
6967 if test "${enable_postscript+set}" = set; then
6968 enableval
="$enable_postscript"
6970 if test "$enableval" = yes; then
6971 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6973 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6978 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x
; then
6980 eval "DEFAULT_$LINE"
6985 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6989 eval "$ac_cv_use_postscript"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_POSTSCRIPT" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7010 # Check whether --enable-prologio or --disable-prologio was given.
7011 if test "${enable_prologio+set}" = set; then
7012 enableval
="$enable_prologio"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7017 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7022 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7033 eval "$ac_cv_use_prologio"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_PROLOGIO" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7051 # Check whether --enable-resources or --disable-resources was given.
7052 if test "${enable_resources+set}" = set; then
7053 enableval
="$enable_resources"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7058 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7063 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7074 eval "$ac_cv_use_resources"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_RESOURCES" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7094 # Check whether --enable-clipboard or --disable-clipboard was given.
7095 if test "${enable_clipboard+set}" = set; then
7096 enableval
="$enable_clipboard"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7101 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7106 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7117 eval "$ac_cv_use_clipboard"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_CLIPBOARD" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7135 # Check whether --enable-dnd or --disable-dnd was given.
7136 if test "${enable_dnd+set}" = set; then
7137 enableval
="$enable_dnd"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7142 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7147 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7158 eval "$ac_cv_use_dnd"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7176 # Check whether --enable-metafile or --disable-metafile was given.
7177 if test "${enable_metafile+set}" = set; then
7178 enableval
="$enable_metafile"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7183 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7188 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7199 eval "$ac_cv_use_metafile"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_METAFILE" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7220 # Check whether --enable-controls or --disable-controls was given.
7221 if test "${enable_controls+set}" = set; then
7222 enableval
="$enable_controls"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7227 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7232 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x
; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7243 eval "$ac_cv_use_controls"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7248 if test "$wxUSE_CONTROLS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7257 if test "$wxUSE_CONTROLS" = "yes"; then
7258 DEFAULT_wxUSE_ACCEL
=yes
7259 DEFAULT_wxUSE_BMPBUTTON
=yes
7260 DEFAULT_wxUSE_BUTTON
=yes
7261 DEFAULT_wxUSE_CALCTRL
=yes
7262 DEFAULT_wxUSE_CARET
=yes
7263 DEFAULT_wxUSE_COMBOBOX
=yes
7264 DEFAULT_wxUSE_CHECKBOX
=yes
7265 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7266 DEFAULT_wxUSE_CHOICE
=yes
7267 DEFAULT_wxUSE_CHOICEBOOK
=yes
7268 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7269 DEFAULT_wxUSE_GAUGE
=yes
7270 DEFAULT_wxUSE_GRID
=yes
7271 DEFAULT_wxUSE_IMAGLIST
=yes
7272 DEFAULT_wxUSE_LISTBOOK
=yes
7273 DEFAULT_wxUSE_LISTBOX
=yes
7274 DEFAULT_wxUSE_LISTCTRL
=yes
7275 DEFAULT_wxUSE_NOTEBOOK
=yes
7276 DEFAULT_wxUSE_RADIOBOX
=yes
7277 DEFAULT_wxUSE_RADIOBTN
=yes
7278 DEFAULT_wxUSE_SASH
=yes
7279 DEFAULT_wxUSE_SCROLLBAR
=yes
7280 DEFAULT_wxUSE_SLIDER
=yes
7281 DEFAULT_wxUSE_SPINBTN
=yes
7282 DEFAULT_wxUSE_SPINCTRL
=yes
7283 DEFAULT_wxUSE_SPLITTER
=yes
7284 DEFAULT_wxUSE_STATBMP
=yes
7285 DEFAULT_wxUSE_STATBOX
=yes
7286 DEFAULT_wxUSE_STATLINE
=yes
7287 DEFAULT_wxUSE_STATUSBAR
=yes
7288 DEFAULT_wxUSE_TAB_DIALOG
=yes
7289 DEFAULT_wxUSE_TOGGLEBTN
=yes
7290 DEFAULT_wxUSE_TOOLBAR
=yes
7291 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7292 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7293 DEFAULT_wxUSE_TOOLTIPS
=yes
7294 DEFAULT_wxUSE_TREECTRL
=yes
7295 DEFAULT_wxUSE_POPUPWIN
=yes
7296 DEFAULT_wxUSE_TIPWINDOW
=yes
7297 elif test "$wxUSE_CONTROLS" = "no"; then
7298 DEFAULT_wxUSE_ACCEL
=no
7299 DEFAULT_wxUSE_BMPBUTTON
=no
7300 DEFAULT_wxUSE_BUTTON
=no
7301 DEFAULT_wxUSE_CALCTRL
=no
7302 DEFAULT_wxUSE_CARET
=no
7303 DEFAULT_wxUSE_COMBOBOX
=no
7304 DEFAULT_wxUSE_CHECKBOX
=no
7305 DEFAULT_wxUSE_CHECKLISTBOX
=no
7306 DEFAULT_wxUSE_CHOICE
=no
7307 DEFAULT_wxUSE_CHOICEBOOK
=no
7308 DEFAULT_wxUSE_DATEPICKCTRL
=no
7309 DEFAULT_wxUSE_GAUGE
=no
7310 DEFAULT_wxUSE_GRID
=no
7311 DEFAULT_wxUSE_IMAGLIST
=no
7312 DEFAULT_wxUSE_LISTBOOK
=no
7313 DEFAULT_wxUSE_LISTBOX
=no
7314 DEFAULT_wxUSE_LISTCTRL
=no
7315 DEFAULT_wxUSE_NOTEBOOK
=no
7316 DEFAULT_wxUSE_RADIOBOX
=no
7317 DEFAULT_wxUSE_RADIOBTN
=no
7318 DEFAULT_wxUSE_SASH
=no
7319 DEFAULT_wxUSE_SCROLLBAR
=no
7320 DEFAULT_wxUSE_SLIDER
=no
7321 DEFAULT_wxUSE_SPINBTN
=no
7322 DEFAULT_wxUSE_SPINCTRL
=no
7323 DEFAULT_wxUSE_SPLITTER
=no
7324 DEFAULT_wxUSE_STATBMP
=no
7325 DEFAULT_wxUSE_STATBOX
=no
7326 DEFAULT_wxUSE_STATLINE
=no
7327 DEFAULT_wxUSE_STATUSBAR
=no
7328 DEFAULT_wxUSE_TAB_DIALOG
=no
7329 DEFAULT_wxUSE_TOGGLEBTN
=no
7330 DEFAULT_wxUSE_TOOLBAR
=no
7331 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7332 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7333 DEFAULT_wxUSE_TOOLTIPS
=no
7334 DEFAULT_wxUSE_TREECTRL
=no
7335 DEFAULT_wxUSE_POPUPWIN
=no
7336 DEFAULT_wxUSE_TIPWINDOW
=no
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7344 # Check whether --enable-accel or --disable-accel was given.
7345 if test "${enable_accel+set}" = set; then
7346 enableval
="$enable_accel"
7348 if test "$enableval" = yes; then
7349 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7351 ac_cv_use_accel
='wxUSE_ACCEL=no'
7356 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x
; then
7358 eval "DEFAULT_$LINE"
7363 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7367 eval "$ac_cv_use_accel"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7372 if test "$wxUSE_ACCEL" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7385 # Check whether --enable-button or --disable-button was given.
7386 if test "${enable_button+set}" = set; then
7387 enableval
="$enable_button"
7389 if test "$enableval" = yes; then
7390 ac_cv_use_button
='wxUSE_BUTTON=yes'
7392 ac_cv_use_button
='wxUSE_BUTTON=no'
7397 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x
; then
7399 eval "DEFAULT_$LINE"
7404 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7408 eval "$ac_cv_use_button"
7409 if test "$no_cache" != 1; then
7410 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7413 if test "$wxUSE_BUTTON" = yes; then
7414 echo "$as_me:$LINENO: result: yes" >&5
7415 echo "${ECHO_T}yes" >&6
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7426 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7427 if test "${enable_bmpbutton+set}" = set; then
7428 enableval
="$enable_bmpbutton"
7430 if test "$enableval" = yes; then
7431 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7433 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7438 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7439 if test "x$LINE" != x
; then
7440 eval "DEFAULT_$LINE"
7445 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7449 eval "$ac_cv_use_bmpbutton"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7454 if test "$wxUSE_BMPBUTTON" = yes; then
7455 echo "$as_me:$LINENO: result: yes" >&5
7456 echo "${ECHO_T}yes" >&6
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7467 # Check whether --enable-calendar or --disable-calendar was given.
7468 if test "${enable_calendar+set}" = set; then
7469 enableval
="$enable_calendar"
7471 if test "$enableval" = yes; then
7472 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7474 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7479 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7480 if test "x$LINE" != x
; then
7481 eval "DEFAULT_$LINE"
7486 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7490 eval "$ac_cv_use_calendar"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7495 if test "$wxUSE_CALCTRL" = yes; then
7496 echo "$as_me:$LINENO: result: yes" >&5
7497 echo "${ECHO_T}yes" >&6
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7508 # Check whether --enable-caret or --disable-caret was given.
7509 if test "${enable_caret+set}" = set; then
7510 enableval
="$enable_caret"
7512 if test "$enableval" = yes; then
7513 ac_cv_use_caret
='wxUSE_CARET=yes'
7515 ac_cv_use_caret
='wxUSE_CARET=no'
7520 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x
; then
7522 eval "DEFAULT_$LINE"
7527 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7531 eval "$ac_cv_use_caret"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7536 if test "$wxUSE_CARET" = yes; then
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7540 echo "$as_me:$LINENO: result: no" >&5
7541 echo "${ECHO_T}no" >&6
7546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7549 # Check whether --enable-checkbox or --disable-checkbox was given.
7550 if test "${enable_checkbox+set}" = set; then
7551 enableval
="$enable_checkbox"
7553 if test "$enableval" = yes; then
7554 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7556 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7561 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x
; then
7563 eval "DEFAULT_$LINE"
7568 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7572 eval "$ac_cv_use_checkbox"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7577 if test "$wxUSE_CHECKBOX" = yes; then
7578 echo "$as_me:$LINENO: result: yes" >&5
7579 echo "${ECHO_T}yes" >&6
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7590 # Check whether --enable-checklst or --disable-checklst was given.
7591 if test "${enable_checklst+set}" = set; then
7592 enableval
="$enable_checklst"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7597 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7602 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x
; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7613 eval "$ac_cv_use_checklst"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7618 if test "$wxUSE_CHECKLST" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7631 # Check whether --enable-choice or --disable-choice was given.
7632 if test "${enable_choice+set}" = set; then
7633 enableval
="$enable_choice"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7638 ac_cv_use_choice
='wxUSE_CHOICE=no'
7643 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7654 eval "$ac_cv_use_choice"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_CHOICE" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7672 # Check whether --enable-choicebook or --disable-choicebook was given.
7673 if test "${enable_choicebook+set}" = set; then
7674 enableval
="$enable_choicebook"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7679 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7684 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x
; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7695 eval "$ac_cv_use_choicebook"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_CHOICEBOOK" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7713 # Check whether --enable-combobox or --disable-combobox was given.
7714 if test "${enable_combobox+set}" = set; then
7715 enableval
="$enable_combobox"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7720 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7725 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7736 eval "$ac_cv_use_combobox"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_COMBOBOX" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7754 # Check whether --enable-datepick or --disable-datepick was given.
7755 if test "${enable_datepick+set}" = set; then
7756 enableval
="$enable_datepick"
7758 if test "$enableval" = yes; then
7759 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7761 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7766 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x
; then
7768 eval "DEFAULT_$LINE"
7773 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7777 eval "$ac_cv_use_datepick"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7782 if test "$wxUSE_DATEPICKCTRL" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7795 # Check whether --enable-display or --disable-display was given.
7796 if test "${enable_display+set}" = set; then
7797 enableval
="$enable_display"
7799 if test "$enableval" = yes; then
7800 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7802 ac_cv_use_display
='wxUSE_DISPLAY=no'
7807 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x
; then
7809 eval "DEFAULT_$LINE"
7814 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7818 eval "$ac_cv_use_display"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7823 if test "$wxUSE_DISPLAY" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7836 # Check whether --enable-gauge or --disable-gauge was given.
7837 if test "${enable_gauge+set}" = set; then
7838 enableval
="$enable_gauge"
7840 if test "$enableval" = yes; then
7841 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7843 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7848 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x
; then
7850 eval "DEFAULT_$LINE"
7855 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7859 eval "$ac_cv_use_gauge"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7864 if test "$wxUSE_GAUGE" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7877 # Check whether --enable-grid or --disable-grid was given.
7878 if test "${enable_grid+set}" = set; then
7879 enableval
="$enable_grid"
7881 if test "$enableval" = yes; then
7882 ac_cv_use_grid
='wxUSE_GRID=yes'
7884 ac_cv_use_grid
='wxUSE_GRID=no'
7889 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x
; then
7891 eval "DEFAULT_$LINE"
7896 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7900 eval "$ac_cv_use_grid"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_GRID" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7918 # Check whether --enable-imaglist or --disable-imaglist was given.
7919 if test "${enable_imaglist+set}" = set; then
7920 enableval
="$enable_imaglist"
7922 if test "$enableval" = yes; then
7923 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7925 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7930 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x
; then
7932 eval "DEFAULT_$LINE"
7937 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7941 eval "$ac_cv_use_imaglist"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7946 if test "$wxUSE_IMAGLIST" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7959 # Check whether --enable-listbook or --disable-listbook was given.
7960 if test "${enable_listbook+set}" = set; then
7961 enableval
="$enable_listbook"
7963 if test "$enableval" = yes; then
7964 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7966 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7971 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x
; then
7973 eval "DEFAULT_$LINE"
7978 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7982 eval "$ac_cv_use_listbook"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7987 if test "$wxUSE_LISTBOOK" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8000 # Check whether --enable-listbox or --disable-listbox was given.
8001 if test "${enable_listbox+set}" = set; then
8002 enableval
="$enable_listbox"
8004 if test "$enableval" = yes; then
8005 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8007 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8012 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x
; then
8014 eval "DEFAULT_$LINE"
8019 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8023 eval "$ac_cv_use_listbox"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8028 if test "$wxUSE_LISTBOX" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8041 # Check whether --enable-listctrl or --disable-listctrl was given.
8042 if test "${enable_listctrl+set}" = set; then
8043 enableval
="$enable_listctrl"
8045 if test "$enableval" = yes; then
8046 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8048 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8053 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x
; then
8055 eval "DEFAULT_$LINE"
8060 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8064 eval "$ac_cv_use_listctrl"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8069 if test "$wxUSE_LISTCTRL" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8082 # Check whether --enable-notebook or --disable-notebook was given.
8083 if test "${enable_notebook+set}" = set; then
8084 enableval
="$enable_notebook"
8086 if test "$enableval" = yes; then
8087 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8089 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8094 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x
; then
8096 eval "DEFAULT_$LINE"
8101 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8105 eval "$ac_cv_use_notebook"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8110 if test "$wxUSE_NOTEBOOK" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8123 # Check whether --enable-radiobox or --disable-radiobox was given.
8124 if test "${enable_radiobox+set}" = set; then
8125 enableval
="$enable_radiobox"
8127 if test "$enableval" = yes; then
8128 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8130 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8135 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x
; then
8137 eval "DEFAULT_$LINE"
8142 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8146 eval "$ac_cv_use_radiobox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8151 if test "$wxUSE_RADIOBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8164 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8165 if test "${enable_radiobtn+set}" = set; then
8166 enableval
="$enable_radiobtn"
8168 if test "$enableval" = yes; then
8169 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8171 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8176 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x
; then
8178 eval "DEFAULT_$LINE"
8183 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8187 eval "$ac_cv_use_radiobtn"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8192 if test "$wxUSE_RADIOBTN" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8205 # Check whether --enable-sash or --disable-sash was given.
8206 if test "${enable_sash+set}" = set; then
8207 enableval
="$enable_sash"
8209 if test "$enableval" = yes; then
8210 ac_cv_use_sash
='wxUSE_SASH=yes'
8212 ac_cv_use_sash
='wxUSE_SASH=no'
8217 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x
; then
8219 eval "DEFAULT_$LINE"
8224 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8228 eval "$ac_cv_use_sash"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8233 if test "$wxUSE_SASH" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8246 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8247 if test "${enable_scrollbar+set}" = set; then
8248 enableval
="$enable_scrollbar"
8250 if test "$enableval" = yes; then
8251 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8253 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8258 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x
; then
8260 eval "DEFAULT_$LINE"
8265 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8269 eval "$ac_cv_use_scrollbar"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_SCROLLBAR" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8287 # Check whether --enable-slider or --disable-slider was given.
8288 if test "${enable_slider+set}" = set; then
8289 enableval
="$enable_slider"
8291 if test "$enableval" = yes; then
8292 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8294 ac_cv_use_slider
='wxUSE_SLIDER=no'
8299 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x
; then
8301 eval "DEFAULT_$LINE"
8306 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8310 eval "$ac_cv_use_slider"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8315 if test "$wxUSE_SLIDER" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8328 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8329 if test "${enable_spinbtn+set}" = set; then
8330 enableval
="$enable_spinbtn"
8332 if test "$enableval" = yes; then
8333 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8335 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8340 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x
; then
8342 eval "DEFAULT_$LINE"
8347 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8351 eval "$ac_cv_use_spinbtn"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8356 if test "$wxUSE_SPINBTN" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8369 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8370 if test "${enable_spinctrl+set}" = set; then
8371 enableval
="$enable_spinctrl"
8373 if test "$enableval" = yes; then
8374 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8376 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8381 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x
; then
8383 eval "DEFAULT_$LINE"
8388 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8392 eval "$ac_cv_use_spinctrl"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_SPINCTRL" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8410 # Check whether --enable-splitter or --disable-splitter was given.
8411 if test "${enable_splitter+set}" = set; then
8412 enableval
="$enable_splitter"
8414 if test "$enableval" = yes; then
8415 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8417 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8422 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x
; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8433 eval "$ac_cv_use_splitter"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8438 if test "$wxUSE_SPLITTER" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8451 # Check whether --enable-statbmp or --disable-statbmp was given.
8452 if test "${enable_statbmp+set}" = set; then
8453 enableval
="$enable_statbmp"
8455 if test "$enableval" = yes; then
8456 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8458 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8463 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x
; then
8465 eval "DEFAULT_$LINE"
8470 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8474 eval "$ac_cv_use_statbmp"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8479 if test "$wxUSE_STATBMP" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8492 # Check whether --enable-statbox or --disable-statbox was given.
8493 if test "${enable_statbox+set}" = set; then
8494 enableval
="$enable_statbox"
8496 if test "$enableval" = yes; then
8497 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8499 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8504 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x
; then
8506 eval "DEFAULT_$LINE"
8511 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8515 eval "$ac_cv_use_statbox"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8520 if test "$wxUSE_STATBOX" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8533 # Check whether --enable-statline or --disable-statline was given.
8534 if test "${enable_statline+set}" = set; then
8535 enableval
="$enable_statline"
8537 if test "$enableval" = yes; then
8538 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8540 ac_cv_use_statline
='wxUSE_STATLINE=no'
8545 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x
; then
8547 eval "DEFAULT_$LINE"
8552 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8556 eval "$ac_cv_use_statline"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8561 if test "$wxUSE_STATLINE" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8574 # Check whether --enable-stattext or --disable-stattext was given.
8575 if test "${enable_stattext+set}" = set; then
8576 enableval
="$enable_stattext"
8578 if test "$enableval" = yes; then
8579 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8581 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8586 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x
; then
8588 eval "DEFAULT_$LINE"
8593 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8597 eval "$ac_cv_use_stattext"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8602 if test "$wxUSE_STATTEXT" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8615 # Check whether --enable-statusbar or --disable-statusbar was given.
8616 if test "${enable_statusbar+set}" = set; then
8617 enableval
="$enable_statusbar"
8619 if test "$enableval" = yes; then
8620 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8622 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8627 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x
; then
8629 eval "DEFAULT_$LINE"
8634 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8638 eval "$ac_cv_use_statusbar"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8643 if test "$wxUSE_STATUSBAR" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8656 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8657 if test "${enable_tabdialog+set}" = set; then
8658 enableval
="$enable_tabdialog"
8660 if test "$enableval" = yes; then
8661 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8663 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8668 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x
; then
8670 eval "DEFAULT_$LINE"
8675 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8679 eval "$ac_cv_use_tabdialog"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8684 if test "$wxUSE_TABDIALOG" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8697 # Check whether --enable-textctrl or --disable-textctrl was given.
8698 if test "${enable_textctrl+set}" = set; then
8699 enableval
="$enable_textctrl"
8701 if test "$enableval" = yes; then
8702 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8704 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8709 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x
; then
8711 eval "DEFAULT_$LINE"
8716 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8720 eval "$ac_cv_use_textctrl"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8725 if test "$wxUSE_TEXTCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8738 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8739 if test "${enable_togglebtn+set}" = set; then
8740 enableval
="$enable_togglebtn"
8742 if test "$enableval" = yes; then
8743 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8745 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8750 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x
; then
8752 eval "DEFAULT_$LINE"
8757 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8761 eval "$ac_cv_use_togglebtn"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8766 if test "$wxUSE_TOGGLEBTN" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8779 # Check whether --enable-toolbar or --disable-toolbar was given.
8780 if test "${enable_toolbar+set}" = set; then
8781 enableval
="$enable_toolbar"
8783 if test "$enableval" = yes; then
8784 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8786 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8791 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x
; then
8793 eval "DEFAULT_$LINE"
8798 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8802 eval "$ac_cv_use_toolbar"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8807 if test "$wxUSE_TOOLBAR" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8820 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8821 if test "${enable_tbarnative+set}" = set; then
8822 enableval
="$enable_tbarnative"
8824 if test "$enableval" = yes; then
8825 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8827 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8832 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x
; then
8834 eval "DEFAULT_$LINE"
8839 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8843 eval "$ac_cv_use_tbarnative"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8848 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8861 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8862 if test "${enable_tbarsmpl+set}" = set; then
8863 enableval
="$enable_tbarsmpl"
8865 if test "$enableval" = yes; then
8866 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8868 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8873 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x
; then
8875 eval "DEFAULT_$LINE"
8880 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8884 eval "$ac_cv_use_tbarsmpl"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8889 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8902 # Check whether --enable-treectrl or --disable-treectrl was given.
8903 if test "${enable_treectrl+set}" = set; then
8904 enableval
="$enable_treectrl"
8906 if test "$enableval" = yes; then
8907 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8909 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8914 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x
; then
8916 eval "DEFAULT_$LINE"
8921 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8925 eval "$ac_cv_use_treectrl"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8930 if test "$wxUSE_TREECTRL" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8943 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8944 if test "${enable_tipwindow+set}" = set; then
8945 enableval
="$enable_tipwindow"
8947 if test "$enableval" = yes; then
8948 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8950 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8955 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x
; then
8957 eval "DEFAULT_$LINE"
8962 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8966 eval "$ac_cv_use_tipwindow"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8971 if test "$wxUSE_TIPWINDOW" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8984 # Check whether --enable-popupwin or --disable-popupwin was given.
8985 if test "${enable_popupwin+set}" = set; then
8986 enableval
="$enable_popupwin"
8988 if test "$enableval" = yes; then
8989 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8991 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8996 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x
; then
8998 eval "DEFAULT_$LINE"
9003 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9007 eval "$ac_cv_use_popupwin"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9012 if test "$wxUSE_POPUPWIN" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9027 # Check whether --enable-commondlg or --disable-commondlg was given.
9028 if test "${enable_commondlg+set}" = set; then
9029 enableval
="$enable_commondlg"
9031 if test "$enableval" = yes; then
9032 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9034 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9039 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x
; then
9041 eval "DEFAULT_$LINE"
9046 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9050 eval "$ac_cv_use_commondlg"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9055 if test "$wxUSE_COMMONDLGS" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9068 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9069 if test "${enable_choicedlg+set}" = set; then
9070 enableval
="$enable_choicedlg"
9072 if test "$enableval" = yes; then
9073 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9075 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9080 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x
; then
9082 eval "DEFAULT_$LINE"
9087 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9091 eval "$ac_cv_use_choicedlg"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9096 if test "$wxUSE_CHOICEDLG" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9109 # Check whether --enable-coldlg or --disable-coldlg was given.
9110 if test "${enable_coldlg+set}" = set; then
9111 enableval
="$enable_coldlg"
9113 if test "$enableval" = yes; then
9114 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9116 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9121 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x
; then
9123 eval "DEFAULT_$LINE"
9128 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9132 eval "$ac_cv_use_coldlg"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9137 if test "$wxUSE_COLOURDLG" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9150 # Check whether --enable-filedlg or --disable-filedlg was given.
9151 if test "${enable_filedlg+set}" = set; then
9152 enableval
="$enable_filedlg"
9154 if test "$enableval" = yes; then
9155 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9157 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9162 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x
; then
9164 eval "DEFAULT_$LINE"
9169 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9173 eval "$ac_cv_use_filedlg"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9178 if test "$wxUSE_FILEDLG" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9191 # Check whether --enable-finddlg or --disable-finddlg was given.
9192 if test "${enable_finddlg+set}" = set; then
9193 enableval
="$enable_finddlg"
9195 if test "$enableval" = yes; then
9196 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9198 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9203 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x
; then
9205 eval "DEFAULT_$LINE"
9210 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9214 eval "$ac_cv_use_finddlg"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9219 if test "$wxUSE_FINDREPLDLG" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9232 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9233 if test "${enable_fontdlg+set}" = set; then
9234 enableval
="$enable_fontdlg"
9236 if test "$enableval" = yes; then
9237 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9239 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9244 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x
; then
9246 eval "DEFAULT_$LINE"
9251 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9255 eval "$ac_cv_use_fontdlg"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9260 if test "$wxUSE_FONTDLG" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9273 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9274 if test "${enable_dirdlg+set}" = set; then
9275 enableval
="$enable_dirdlg"
9277 if test "$enableval" = yes; then
9278 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9280 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9285 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x
; then
9287 eval "DEFAULT_$LINE"
9292 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9296 eval "$ac_cv_use_dirdlg"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9301 if test "$wxUSE_DIRDLG" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9314 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9315 if test "${enable_msgdlg+set}" = set; then
9316 enableval
="$enable_msgdlg"
9318 if test "$enableval" = yes; then
9319 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9321 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9326 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x
; then
9328 eval "DEFAULT_$LINE"
9333 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9337 eval "$ac_cv_use_msgdlg"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9342 if test "$wxUSE_MSGDLG" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9355 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9356 if test "${enable_numberdlg+set}" = set; then
9357 enableval
="$enable_numberdlg"
9359 if test "$enableval" = yes; then
9360 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9362 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9367 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x
; then
9369 eval "DEFAULT_$LINE"
9374 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9378 eval "$ac_cv_use_numberdlg"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9383 if test "$wxUSE_NUMBERDLG" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9396 # Check whether --enable-splash or --disable-splash was given.
9397 if test "${enable_splash+set}" = set; then
9398 enableval
="$enable_splash"
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9403 ac_cv_use_splash
='wxUSE_SPLASH=no'
9408 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x
; then
9410 eval "DEFAULT_$LINE"
9415 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9419 eval "$ac_cv_use_splash"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9424 if test "$wxUSE_SPLASH" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9437 # Check whether --enable-textdlg or --disable-textdlg was given.
9438 if test "${enable_textdlg+set}" = set; then
9439 enableval
="$enable_textdlg"
9441 if test "$enableval" = yes; then
9442 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9444 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9449 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x
; then
9451 eval "DEFAULT_$LINE"
9456 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9460 eval "$ac_cv_use_textdlg"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9465 if test "$wxUSE_TEXTDLG" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9478 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9479 if test "${enable_tipdlg+set}" = set; then
9480 enableval
="$enable_tipdlg"
9482 if test "$enableval" = yes; then
9483 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9485 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9490 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x
; then
9492 eval "DEFAULT_$LINE"
9497 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9501 eval "$ac_cv_use_tipdlg"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9506 if test "$wxUSE_STARTUP_TIPS" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9519 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9520 if test "${enable_progressdlg+set}" = set; then
9521 enableval
="$enable_progressdlg"
9523 if test "$enableval" = yes; then
9524 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9526 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9531 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x
; then
9533 eval "DEFAULT_$LINE"
9538 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9542 eval "$ac_cv_use_progressdlg"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9547 if test "$wxUSE_PROGRESSDLG" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9560 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9561 if test "${enable_wizarddlg+set}" = set; then
9562 enableval
="$enable_wizarddlg"
9564 if test "$enableval" = yes; then
9565 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9567 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9572 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x
; then
9574 eval "DEFAULT_$LINE"
9579 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9583 eval "$ac_cv_use_wizarddlg"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9588 if test "$wxUSE_WIZARDDLG" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9603 # Check whether --enable-menus or --disable-menus was given.
9604 if test "${enable_menus+set}" = set; then
9605 enableval
="$enable_menus"
9607 if test "$enableval" = yes; then
9608 ac_cv_use_menus
='wxUSE_MENUS=yes'
9610 ac_cv_use_menus
='wxUSE_MENUS=no'
9615 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x
; then
9617 eval "DEFAULT_$LINE"
9622 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9626 eval "$ac_cv_use_menus"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9631 if test "$wxUSE_MENUS" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9644 # Check whether --enable-miniframe or --disable-miniframe was given.
9645 if test "${enable_miniframe+set}" = set; then
9646 enableval
="$enable_miniframe"
9648 if test "$enableval" = yes; then
9649 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9651 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9656 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x
; then
9658 eval "DEFAULT_$LINE"
9663 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9667 eval "$ac_cv_use_miniframe"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9672 if test "$wxUSE_MINIFRAME" = yes; then
9673 echo "$as_me:$LINENO: result: yes" >&5
9674 echo "${ECHO_T}yes" >&6
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9685 # Check whether --enable-tooltips or --disable-tooltips was given.
9686 if test "${enable_tooltips+set}" = set; then
9687 enableval
="$enable_tooltips"
9689 if test "$enableval" = yes; then
9690 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9692 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9697 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x
; then
9699 eval "DEFAULT_$LINE"
9704 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9708 eval "$ac_cv_use_tooltips"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9713 if test "$wxUSE_TOOLTIPS" = yes; then
9714 echo "$as_me:$LINENO: result: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9726 # Check whether --enable-splines or --disable-splines was given.
9727 if test "${enable_splines+set}" = set; then
9728 enableval
="$enable_splines"
9730 if test "$enableval" = yes; then
9731 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9733 ac_cv_use_splines
='wxUSE_SPLINES=no'
9738 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x
; then
9740 eval "DEFAULT_$LINE"
9745 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9749 eval "$ac_cv_use_splines"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9754 if test "$wxUSE_SPLINES" = yes; then
9755 echo "$as_me:$LINENO: result: yes" >&5
9756 echo "${ECHO_T}yes" >&6
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9767 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9768 if test "${enable_mousewheel+set}" = set; then
9769 enableval
="$enable_mousewheel"
9771 if test "$enableval" = yes; then
9772 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9774 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9779 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x
; then
9781 eval "DEFAULT_$LINE"
9786 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9790 eval "$ac_cv_use_mousewheel"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9795 if test "$wxUSE_MOUSEWHEEL" = yes; then
9796 echo "$as_me:$LINENO: result: yes" >&5
9797 echo "${ECHO_T}yes" >&6
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9808 # Check whether --enable-validators or --disable-validators was given.
9809 if test "${enable_validators+set}" = set; then
9810 enableval
="$enable_validators"
9812 if test "$enableval" = yes; then
9813 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9815 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9820 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x
; then
9822 eval "DEFAULT_$LINE"
9827 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9831 eval "$ac_cv_use_validators"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9836 if test "$wxUSE_VALIDATORS" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9849 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9850 if test "${enable_busyinfo+set}" = set; then
9851 enableval
="$enable_busyinfo"
9853 if test "$enableval" = yes; then
9854 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9856 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9861 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x
; then
9863 eval "DEFAULT_$LINE"
9868 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9872 eval "$ac_cv_use_busyinfo"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9877 if test "$wxUSE_BUSYINFO" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9890 # Check whether --enable-joystick or --disable-joystick was given.
9891 if test "${enable_joystick+set}" = set; then
9892 enableval
="$enable_joystick"
9894 if test "$enableval" = yes; then
9895 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9897 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9902 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x
; then
9904 eval "DEFAULT_$LINE"
9909 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9913 eval "$ac_cv_use_joystick"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9918 if test "$wxUSE_JOYSTICK" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9931 # Check whether --enable-metafile or --disable-metafile was given.
9932 if test "${enable_metafile+set}" = set; then
9933 enableval
="$enable_metafile"
9935 if test "$enableval" = yes; then
9936 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9938 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9943 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x
; then
9945 eval "DEFAULT_$LINE"
9950 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9954 eval "$ac_cv_use_metafile"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9959 if test "$wxUSE_METAFILE" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9972 # Check whether --enable-dragimage or --disable-dragimage was given.
9973 if test "${enable_dragimage+set}" = set; then
9974 enableval
="$enable_dragimage"
9976 if test "$enableval" = yes; then
9977 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9979 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9984 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x
; then
9986 eval "DEFAULT_$LINE"
9991 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9995 eval "$ac_cv_use_dragimage"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10000 if test "$wxUSE_DRAGIMAGE" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10013 # Check whether --enable-accessibility or --disable-accessibility was given.
10014 if test "${enable_accessibility+set}" = set; then
10015 enableval
="$enable_accessibility"
10017 if test "$enableval" = yes; then
10018 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10020 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10025 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x
; then
10027 eval "DEFAULT_$LINE"
10032 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10036 eval "$ac_cv_use_accessibility"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10041 if test "$wxUSE_ACCESSIBILITY" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10056 # Check whether --enable-palette or --disable-palette was given.
10057 if test "${enable_palette+set}" = set; then
10058 enableval
="$enable_palette"
10060 if test "$enableval" = yes; then
10061 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10063 ac_cv_use_palette
='wxUSE_PALETTE=no'
10068 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10069 if test "x$LINE" != x
; then
10070 eval "DEFAULT_$LINE"
10075 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10079 eval "$ac_cv_use_palette"
10080 if test "$no_cache" != 1; then
10081 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10084 if test "$wxUSE_PALETTE" = yes; then
10085 echo "$as_me:$LINENO: result: yes" >&5
10086 echo "${ECHO_T}yes" >&6
10088 echo "$as_me:$LINENO: result: no" >&5
10089 echo "${ECHO_T}no" >&6
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10097 # Check whether --enable-image or --disable-image was given.
10098 if test "${enable_image+set}" = set; then
10099 enableval
="$enable_image"
10101 if test "$enableval" = yes; then
10102 ac_cv_use_image
='wxUSE_IMAGE=yes'
10104 ac_cv_use_image
='wxUSE_IMAGE=no'
10109 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x
; then
10111 eval "DEFAULT_$LINE"
10116 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10120 eval "$ac_cv_use_image"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10125 if test "$wxUSE_IMAGE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10138 # Check whether --enable-gif or --disable-gif was given.
10139 if test "${enable_gif+set}" = set; then
10140 enableval
="$enable_gif"
10142 if test "$enableval" = yes; then
10143 ac_cv_use_gif
='wxUSE_GIF=yes'
10145 ac_cv_use_gif
='wxUSE_GIF=no'
10150 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x
; then
10152 eval "DEFAULT_$LINE"
10157 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10161 eval "$ac_cv_use_gif"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10166 if test "$wxUSE_GIF" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10179 # Check whether --enable-pcx or --disable-pcx was given.
10180 if test "${enable_pcx+set}" = set; then
10181 enableval
="$enable_pcx"
10183 if test "$enableval" = yes; then
10184 ac_cv_use_pcx
='wxUSE_PCX=yes'
10186 ac_cv_use_pcx
='wxUSE_PCX=no'
10191 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x
; then
10193 eval "DEFAULT_$LINE"
10198 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10202 eval "$ac_cv_use_pcx"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10207 if test "$wxUSE_PCX" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10220 # Check whether --enable-iff or --disable-iff was given.
10221 if test "${enable_iff+set}" = set; then
10222 enableval
="$enable_iff"
10224 if test "$enableval" = yes; then
10225 ac_cv_use_iff
='wxUSE_IFF=yes'
10227 ac_cv_use_iff
='wxUSE_IFF=no'
10232 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x
; then
10234 eval "DEFAULT_$LINE"
10239 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10243 eval "$ac_cv_use_iff"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10248 if test "$wxUSE_IFF" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10261 # Check whether --enable-pnm or --disable-pnm was given.
10262 if test "${enable_pnm+set}" = set; then
10263 enableval
="$enable_pnm"
10265 if test "$enableval" = yes; then
10266 ac_cv_use_pnm
='wxUSE_PNM=yes'
10268 ac_cv_use_pnm
='wxUSE_PNM=no'
10273 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x
; then
10275 eval "DEFAULT_$LINE"
10280 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10284 eval "$ac_cv_use_pnm"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10289 if test "$wxUSE_PNM" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10302 # Check whether --enable-xpm or --disable-xpm was given.
10303 if test "${enable_xpm+set}" = set; then
10304 enableval
="$enable_xpm"
10306 if test "$enableval" = yes; then
10307 ac_cv_use_xpm
='wxUSE_XPM=yes'
10309 ac_cv_use_xpm
='wxUSE_XPM=no'
10314 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x
; then
10316 eval "DEFAULT_$LINE"
10321 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10325 eval "$ac_cv_use_xpm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10330 if test "$wxUSE_XPM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10343 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10344 if test "${enable_ico_cur+set}" = set; then
10345 enableval
="$enable_ico_cur"
10347 if test "$enableval" = yes; then
10348 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10350 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10355 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x
; then
10357 eval "DEFAULT_$LINE"
10362 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10366 eval "$ac_cv_use_ico_cur"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10371 if test "$wxUSE_ICO_CUR" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10384 # Check whether --with-flavour or --without-flavour was given.
10385 if test "${with_flavour+set}" = set; then
10386 withval
="$with_flavour"
10387 WX_FLAVOUR
="$withval"
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10396 # Check whether --enable-official_build or --disable-official_build was given.
10397 if test "${enable_official_build+set}" = set; then
10398 enableval
="$enable_official_build"
10400 if test "$enableval" = yes; then
10401 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10403 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10408 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x
; then
10410 eval "DEFAULT_$LINE"
10415 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10419 eval "$ac_cv_use_official_build"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10424 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10432 # Check whether --enable-vendor or --disable-vendor was given.
10433 if test "${enable_vendor+set}" = set; then
10434 enableval
="$enable_vendor"
10435 VENDOR
="$enableval"
10437 if test "x$VENDOR" = "x"; then
10444 echo "saving argument cache $wx_arg_cache_file"
10445 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10449 echo "$as_me:$LINENO: checking for toolkit" >&5
10450 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10452 # In Wine, we need to default to MSW, not GTK or MOTIF
10453 if test "$wxUSE_WINE" = "yes"; then
10454 DEFAULT_DEFAULT_wxUSE_GTK
=0
10455 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10456 DEFAULT_DEFAULT_wxUSE_MSW
=1
10461 if test "$wxUSE_GUI" = "yes"; then
10463 if test "$USE_BEOS" = 1; then
10464 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10465 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10466 { (exit 1); exit 1; }; }
10469 if test "$TOOLKIT_GIVEN" = 1; then
10470 for toolkit
in `echo $ALL_TOOLKITS`; do
10472 eval "value=\$${var}"
10473 if test "x$value" = "xno"; then
10475 elif test "x$value" != "x"; then
10479 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10480 eval "wx${toolkit}_VERSION=$value"
10484 for toolkit
in `echo $ALL_TOOLKITS`; do
10485 if test "$has_toolkit_in_cache" != 1; then
10486 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10488 var
=DEFAULT_wxUSE_
$toolkit
10490 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10491 if test "x$version" != "x"; then
10492 eval "wx${toolkit}_VERSION=$version"
10495 eval "wxUSE_$toolkit=\$${var}"
10499 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10500 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10504 *-pc-os2_emx | *-pc-os2-emx )
10505 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10508 case "$NUM_TOOLKITS" in
10512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10514 { (exit 1); exit 1; }; }
10517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10518 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10519 { (exit 1); exit 1; }; }
10522 # to be removed when --disable-gtk2 isn't needed
10523 if test "x$wxUSE_GTK2" = "xyes"; then
10525 elif test "x$wxUSE_GTK2" = "xno"; then
10529 for toolkit
in `echo $ALL_TOOLKITS`; do
10531 eval "value=\$${var}"
10532 if test "x$value" != x
; then
10533 cache_var
=CACHE_
$toolkit
10534 eval "cache=\$${cache_var}"
10535 if test "$cache" = 1; then
10536 echo "$var=$value" >> ${wx_arg_cache_file}
10537 eval "version=\$wx${toolkit}_VERSION"
10538 if test "x$version" != "x"; then
10539 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10542 if test "$value" = 1; then
10543 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10544 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10545 echo "${ECHO_T}$toolkit_echo" >&6
10550 if test "x$host_alias" != "x"; then
10551 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10552 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10554 echo "$as_me:$LINENO: result: base only" >&5
10555 echo "${ECHO_T}base only" >&6
10560 doesnt_want_win32
=0
10563 if test "$wxUSE_MSW" = 1 ; then
10566 doesnt_want_win32
=1
10574 if test "$wxUSE_WINE" = "yes"; then
10579 LDFLAGS_GUI
="-mwindows"
10582 if test "$wants_win32" = 1 ; then
10585 cat >>confdefs.h
<<\_ACEOF
10586 #define __WIN32__ 1
10589 cat >>confdefs.h
<<\_ACEOF
10590 #define __WIN95__ 1
10593 cat >>confdefs.h
<<\_ACEOF
10594 #define __WINDOWS__ 1
10597 cat >>confdefs.h
<<\_ACEOF
10598 #define __GNUWIN32__ 1
10601 cat >>confdefs.h
<<\_ACEOF
10605 cat >>confdefs.h
<<\_ACEOF
10606 #define WINVER 0x0400
10610 if test "$doesnt_want_win32" = 1 ; then
10615 if test "$USE_UNIX" = 1 ; then
10617 cat >>confdefs.h
<<\_ACEOF
10624 cat >confcache
<<\_ACEOF
10625 # This file is a shell script that caches the results of configure
10626 # tests run on this system so they can be shared between configure
10627 # scripts and configure runs, see configure's option --config-cache.
10628 # It is not useful on other systems. If it contains results you don't
10629 # want to keep, you may remove or edit it.
10631 # config.status only pays attention to the cache file if you give it
10632 # the --recheck option to rerun configure.
10634 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10635 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10636 # following values.
10640 # The following way of writing the cache mishandles newlines in values,
10641 # but we know of no workaround that is simple, portable, and efficient.
10642 # So, don't put newlines in cache variables' values.
10643 # Ultrix sh set writes to stderr and can't be redirected directly,
10644 # and sets the high bit in the cache file unless we assign to the vars.
10647 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10649 # `set' does not quote correctly, so add quotes (double-quote
10650 # substitution turns \\\\ into \\, and sed turns \\ into \).
10653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10656 # `set' quotes correctly as required by POSIX, so do not add quotes.
10658 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10665 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10667 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10669 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10670 if test -w $cache_file; then
10671 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10672 cat confcache
>$cache_file
10674 echo "not updating unwritable cache $cache_file"
10679 if test "$build" != "$host" ; then
10680 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10682 CXX
=$host_alias-c++
10684 RANLIB
=$host_alias-ranlib
10685 DLLTOOL
=$host_alias-dlltool
10686 RESCOMP
=$host_alias-windres
10687 STRIP
=$host_alias-strip
10688 elif test "x$CC" '!=' "x"; then
10689 echo "You set CC, I assume you know what you are doing."
10691 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10692 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10693 { (exit 1); exit 1; }; }
10701 ac_cpp
='$CPP $CPPFLAGS'
10702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10705 if test -n "$ac_tool_prefix"; then
10706 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10707 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10708 echo "$as_me:$LINENO: checking for $ac_word" >&5
10709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10710 if test "${ac_cv_prog_CC+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 if test -n "$CC"; then
10714 ac_cv_prog_CC
="$CC" # Let the user override the test.
10716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10717 for as_dir
in $PATH
10720 test -z "$as_dir" && as_dir
=.
10721 for ac_exec_ext
in '' $ac_executable_extensions; do
10722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10723 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10733 if test -n "$CC"; then
10734 echo "$as_me:$LINENO: result: $CC" >&5
10735 echo "${ECHO_T}$CC" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10742 if test -z "$ac_cv_prog_CC"; then
10744 # Extract the first word of "gcc", so it can be a program name with args.
10745 set dummy gcc
; ac_word
=$2
10746 echo "$as_me:$LINENO: checking for $ac_word" >&5
10747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 if test -n "$ac_ct_CC"; then
10752 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10755 for as_dir
in $PATH
10758 test -z "$as_dir" && as_dir
=.
10759 for ac_exec_ext
in '' $ac_executable_extensions; do
10760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10761 ac_cv_prog_ac_ct_CC
="gcc"
10762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10770 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10771 if test -n "$ac_ct_CC"; then
10772 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10773 echo "${ECHO_T}$ac_ct_CC" >&6
10775 echo "$as_me:$LINENO: result: no" >&5
10776 echo "${ECHO_T}no" >&6
10781 CC
="$ac_cv_prog_CC"
10784 if test -z "$CC"; then
10785 if test -n "$ac_tool_prefix"; then
10786 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10787 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10788 echo "$as_me:$LINENO: checking for $ac_word" >&5
10789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10790 if test "${ac_cv_prog_CC+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 if test -n "$CC"; then
10794 ac_cv_prog_CC
="$CC" # Let the user override the test.
10796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10797 for as_dir
in $PATH
10800 test -z "$as_dir" && as_dir
=.
10801 for ac_exec_ext
in '' $ac_executable_extensions; do
10802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10803 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10813 if test -n "$CC"; then
10814 echo "$as_me:$LINENO: result: $CC" >&5
10815 echo "${ECHO_T}$CC" >&6
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10822 if test -z "$ac_cv_prog_CC"; then
10824 # Extract the first word of "cc", so it can be a program name with args.
10825 set dummy cc
; ac_word
=$2
10826 echo "$as_me:$LINENO: checking for $ac_word" >&5
10827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 if test -n "$ac_ct_CC"; then
10832 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10835 for as_dir
in $PATH
10838 test -z "$as_dir" && as_dir
=.
10839 for ac_exec_ext
in '' $ac_executable_extensions; do
10840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10841 ac_cv_prog_ac_ct_CC
="cc"
10842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10851 if test -n "$ac_ct_CC"; then
10852 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10853 echo "${ECHO_T}$ac_ct_CC" >&6
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10861 CC
="$ac_cv_prog_CC"
10865 if test -z "$CC"; then
10866 # Extract the first word of "cc", so it can be a program name with args.
10867 set dummy cc
; ac_word
=$2
10868 echo "$as_me:$LINENO: checking for $ac_word" >&5
10869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10870 if test "${ac_cv_prog_CC+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 if test -n "$CC"; then
10874 ac_cv_prog_CC
="$CC" # Let the user override the test.
10876 ac_prog_rejected
=no
10877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10878 for as_dir
in $PATH
10881 test -z "$as_dir" && as_dir
=.
10882 for ac_exec_ext
in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10885 ac_prog_rejected
=yes
10889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 if test $ac_prog_rejected = yes; then
10896 # We found a bogon in the path, so make sure we never use it.
10897 set dummy
$ac_cv_prog_CC
10899 if test $# != 0; then
10900 # We chose a different compiler from the bogus one.
10901 # However, it has the same basename, so the bogon will be chosen
10902 # first if we set CC to just the basename; use the full file name.
10904 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10910 if test -n "$CC"; then
10911 echo "$as_me:$LINENO: result: $CC" >&5
10912 echo "${ECHO_T}$CC" >&6
10914 echo "$as_me:$LINENO: result: no" >&5
10915 echo "${ECHO_T}no" >&6
10919 if test -z "$CC"; then
10920 if test -n "$ac_tool_prefix"; then
10923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10924 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10925 echo "$as_me:$LINENO: checking for $ac_word" >&5
10926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10927 if test "${ac_cv_prog_CC+set}" = set; then
10928 echo $ECHO_N "(cached) $ECHO_C" >&6
10930 if test -n "$CC"; then
10931 ac_cv_prog_CC
="$CC" # Let the user override the test.
10933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10934 for as_dir
in $PATH
10937 test -z "$as_dir" && as_dir
=.
10938 for ac_exec_ext
in '' $ac_executable_extensions; do
10939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10940 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10950 if test -n "$CC"; then
10951 echo "$as_me:$LINENO: result: $CC" >&5
10952 echo "${ECHO_T}$CC" >&6
10954 echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6
10958 test -n "$CC" && break
10961 if test -z "$CC"; then
10965 # Extract the first word of "$ac_prog", so it can be a program name with args.
10966 set dummy
$ac_prog; ac_word
=$2
10967 echo "$as_me:$LINENO: checking for $ac_word" >&5
10968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 if test -n "$ac_ct_CC"; then
10973 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10976 for as_dir
in $PATH
10979 test -z "$as_dir" && as_dir
=.
10980 for ac_exec_ext
in '' $ac_executable_extensions; do
10981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10982 ac_cv_prog_ac_ct_CC
="$ac_prog"
10983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10991 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10992 if test -n "$ac_ct_CC"; then
10993 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10994 echo "${ECHO_T}$ac_ct_CC" >&6
10996 echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6
11000 test -n "$ac_ct_CC" && break
11009 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11010 See \`config.log' for more details." >&5
11011 echo "$as_me: error: no acceptable C compiler found in \$PATH
11012 See \`config.log' for more details." >&2;}
11013 { (exit 1); exit 1; }; }
11015 # Provide some information about the compiler.
11016 echo "$as_me:$LINENO:" \
11017 "checking for C compiler version" >&5
11018 ac_compiler
=`set X $ac_compile; echo $2`
11019 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11020 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }
11024 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11025 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11030 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }
11035 cat >conftest.
$ac_ext <<_ACEOF
11038 cat confdefs.h
>>conftest.
$ac_ext
11039 cat >>conftest.
$ac_ext <<_ACEOF
11040 /* end confdefs.h. */
11050 ac_clean_files_save
=$ac_clean_files
11051 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11052 # Try to create an executable without -o first, disregard a.out.
11053 # It will help us diagnose broken compilers, and finding out an intuition
11055 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11056 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11057 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11058 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11059 (eval $ac_link_default) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; then
11063 # Find the output, starting from the most likely. This scheme is
11064 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11067 # Be careful to initialize this variable, since it used to be cached.
11068 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11070 # b.out is created by i960 compilers.
11071 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11073 test -f "$ac_file" || continue
11075 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11078 # This is the source file.
11081 # We found the default executable, but exeext='' is most
11085 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11086 # FIXME: I believe we export ac_cv_exeext for Libtool,
11087 # but it would be cool to find out if it's true. Does anybody
11088 # maintain Libtool? --akim.
11089 export ac_cv_exeext
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.
$ac_ext >&5
11099 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11100 See \`config.log' for more details." >&5
11101 echo "$as_me: error: C compiler cannot create executables
11102 See \`config.log' for more details." >&2;}
11103 { (exit 77); exit 77; }; }
11106 ac_exeext
=$ac_cv_exeext
11107 echo "$as_me:$LINENO: result: $ac_file" >&5
11108 echo "${ECHO_T}$ac_file" >&6
11110 # Check the compiler produces executables we can run. If not, either
11111 # the compiler is broken, or we cross compile.
11112 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11113 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11114 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11115 # If not cross compiling, check that we can run a simple program.
11116 if test "$cross_compiling" != yes; then
11117 if { ac_try
='./$ac_file'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; }; then
11125 if test "$cross_compiling" = maybe
; then
11126 cross_compiling
=yes
11128 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11129 If you meant to cross compile, use \`--host'.
11130 See \`config.log' for more details." >&5
11131 echo "$as_me: error: cannot run C compiled programs.
11132 If you meant to cross compile, use \`--host'.
11133 See \`config.log' for more details." >&2;}
11134 { (exit 1); exit 1; }; }
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11141 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11142 ac_clean_files
=$ac_clean_files_save
11143 # Check the compiler produces executables we can run. If not, either
11144 # the compiler is broken, or we cross compile.
11145 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11146 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11147 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11148 echo "${ECHO_T}$cross_compiling" >&6
11150 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11151 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11153 (eval $ac_link) 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; then
11157 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11158 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11159 # work properly (i.e., refer to `conftest.exe'), while it won't with
11161 for ac_file
in conftest.exe conftest conftest.
*; do
11162 test -f "$ac_file" || continue
11164 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11165 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11166 export ac_cv_exeext
11172 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11175 See \`config.log' for more details." >&2;}
11176 { (exit 1); exit 1; }; }
11179 rm -f conftest
$ac_cv_exeext
11180 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11181 echo "${ECHO_T}$ac_cv_exeext" >&6
11183 rm -f conftest.
$ac_ext
11184 EXEEXT
=$ac_cv_exeext
11186 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11187 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11188 if test "${ac_cv_objext+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 cat >conftest.
$ac_ext <<_ACEOF
11194 cat confdefs.h
>>conftest.
$ac_ext
11195 cat >>conftest.
$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11206 rm -f conftest.o conftest.obj
11207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11208 (eval $ac_compile) 2>&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; then
11212 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11214 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11215 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11220 echo "$as_me: failed program was:" >&5
11221 sed 's/^/| /' conftest.
$ac_ext >&5
11223 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11224 See \`config.log' for more details." >&5
11225 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11226 See \`config.log' for more details." >&2;}
11227 { (exit 1); exit 1; }; }
11230 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11232 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11233 echo "${ECHO_T}$ac_cv_objext" >&6
11234 OBJEXT
=$ac_cv_objext
11236 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11237 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11238 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 cat >conftest.
$ac_ext <<_ACEOF
11244 cat confdefs.h
>>conftest.
$ac_ext
11245 cat >>conftest.
$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11259 rm -f conftest.
$ac_objext
11260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11261 (eval $ac_compile) 2>conftest.er1
11263 grep -v '^ *+' conftest.er1
>conftest.err
11265 cat conftest.err
>&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try
='test -z "$ac_c_werror_flag"
11269 || test ! -s conftest.err'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; } &&
11275 { ac_try
='test -s conftest.$ac_objext'
11276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11277 (eval $ac_try) 2>&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); }; }; then
11281 ac_compiler_gnu
=yes
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.
$ac_ext >&5
11288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11289 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11292 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11293 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11294 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11295 ac_test_CFLAGS
=${CFLAGS+set}
11296 ac_save_CFLAGS
=$CFLAGS
11298 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11299 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11300 if test "${ac_cv_prog_cc_g+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 cat >conftest.
$ac_ext <<_ACEOF
11306 cat confdefs.h
>>conftest.
$ac_ext
11307 cat >>conftest.
$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11318 rm -f conftest.
$ac_objext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11320 (eval $ac_compile) 2>conftest.er1
11322 grep -v '^ *+' conftest.er1
>conftest.err
11324 cat conftest.err
>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try
='test -z "$ac_c_werror_flag"
11328 || test ! -s conftest.err'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; } &&
11334 { ac_try
='test -s conftest.$ac_objext'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; }; then
11340 ac_cv_prog_cc_g
=yes
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.
$ac_ext >&5
11347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11349 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11350 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11351 if test "$ac_test_CFLAGS" = set; then
11352 CFLAGS
=$ac_save_CFLAGS
11353 elif test $ac_cv_prog_cc_g = yes; then
11354 if test "$GCC" = yes; then
11360 if test "$GCC" = yes; then
11366 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11367 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11368 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11369 echo $ECHO_N "(cached) $ECHO_C" >&6
11371 ac_cv_prog_cc_stdc
=no
11373 cat >conftest.
$ac_ext <<_ACEOF
11376 cat confdefs.h
>>conftest.
$ac_ext
11377 cat >>conftest.
$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11379 #include <stdarg.h>
11381 #include <sys/types.h>
11382 #include <sys/stat.h>
11383 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11384 struct buf { int x; };
11385 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11386 static char *e (p, i)
11392 static char *f (char * (*g) (char **, int), char **p, ...)
11397 s = g (p, va_arg (v,int));
11402 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11403 function prototypes and stuff, but not '\xHH' hex character constants.
11404 These don't provoke an error unfortunately, instead are silently treated
11405 as 'x'. The following induces an error, until -std1 is added to get
11406 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11407 array size at least. It's necessary to write '\x00'==0 to get something
11408 that's true only with -std1. */
11409 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11411 int test (int i, double x);
11412 struct s1 {int (*f) (int a);};
11413 struct s2 {int (*f) (double a);};
11414 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11420 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11425 # Don't try gcc -ansi; that turns off useful extensions and
11426 # breaks some systems' header files.
11427 # AIX -qlanglvl=ansi
11428 # Ultrix and OSF/1 -std1
11429 # HP-UX 10.20 and later -Ae
11430 # HP-UX older versions -Aa -D_HPUX_SOURCE
11431 # SVR4 -Xc -D__EXTENSIONS__
11432 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11434 CC
="$ac_save_CC $ac_arg"
11435 rm -f conftest.
$ac_objext
11436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11437 (eval $ac_compile) 2>conftest.er1
11439 grep -v '^ *+' conftest.er1
>conftest.err
11441 cat conftest.err
>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } &&
11444 { ac_try
='test -z "$ac_c_werror_flag"
11445 || test ! -s conftest.err'
11446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11447 (eval $ac_try) 2>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); }; } &&
11451 { ac_try
='test -s conftest.$ac_objext'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; }; then
11457 ac_cv_prog_cc_stdc
=$ac_arg
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.
$ac_ext >&5
11464 rm -f conftest.err conftest.
$ac_objext
11466 rm -f conftest.
$ac_ext conftest.
$ac_objext
11471 case "x$ac_cv_prog_cc_stdc" in
11473 echo "$as_me:$LINENO: result: none needed" >&5
11474 echo "${ECHO_T}none needed" >&6 ;;
11476 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11477 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11478 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11481 # Some people use a C++ compiler to compile C. Since we use `exit',
11482 # in C++ we need to declare it. In case someone uses the same compiler
11483 # for both compiling C and C++ we need to have the C++ compiler decide
11484 # the declaration of exit, since it's the most demanding environment.
11485 cat >conftest.
$ac_ext <<_ACEOF
11486 #ifndef __cplusplus
11490 rm -f conftest.
$ac_objext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11492 (eval $ac_compile) 2>conftest.er1
11494 grep -v '^ *+' conftest.er1
>conftest.err
11496 cat conftest.err
>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } &&
11499 { ac_try
='test -z "$ac_c_werror_flag"
11500 || test ! -s conftest.err'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; } &&
11506 { ac_try
='test -s conftest.$ac_objext'
11507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 for ac_declaration
in \
11514 'extern "C" void std::exit (int) throw (); using std::exit;' \
11515 'extern "C" void std::exit (int); using std::exit;' \
11516 'extern "C" void exit (int) throw ();' \
11517 'extern "C" void exit (int);' \
11520 cat >conftest.
$ac_ext <<_ACEOF
11523 cat confdefs.h
>>conftest.
$ac_ext
11524 cat >>conftest.
$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11527 #include <stdlib.h>
11536 rm -f conftest.
$ac_objext
11537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11538 (eval $ac_compile) 2>conftest.er1
11540 grep -v '^ *+' conftest.er1
>conftest.err
11542 cat conftest.err
>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } &&
11545 { ac_try
='test -z "$ac_c_werror_flag"
11546 || test ! -s conftest.err'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; } &&
11552 { ac_try
='test -s conftest.$ac_objext'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; }; then
11560 echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.
$ac_ext >&5
11565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11566 cat >conftest.
$ac_ext <<_ACEOF
11569 cat confdefs.h
>>conftest.
$ac_ext
11570 cat >>conftest.
$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11581 rm -f conftest.
$ac_objext
11582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11583 (eval $ac_compile) 2>conftest.er1
11585 grep -v '^ *+' conftest.er1
>conftest.err
11587 cat conftest.err
>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } &&
11590 { ac_try
='test -z "$ac_c_werror_flag"
11591 || test ! -s conftest.err'
11592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593 (eval $ac_try) 2>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; } &&
11597 { ac_try
='test -s conftest.$ac_objext'
11598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11599 (eval $ac_try) 2>&5
11601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); }; }; then
11605 echo "$as_me: failed program was:" >&5
11606 sed 's/^/| /' conftest.
$ac_ext >&5
11609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11612 if test -n "$ac_declaration"; then
11613 echo '#ifdef __cplusplus' >>confdefs.h
11614 echo $ac_declaration >>confdefs.h
11615 echo '#endif' >>confdefs.h
11619 echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.
$ac_ext >&5
11623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11625 ac_cpp
='$CPP $CPPFLAGS'
11626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11630 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11631 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11632 if test "${wx_cv_c_exto+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 cat >conftest.
$ac_ext <<_ACEOF
11638 cat confdefs.h
>>conftest.
$ac_ext
11639 cat >>conftest.
$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11650 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11652 (eval $ac_compile) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; then
11656 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11658 conftest.
$ac_ext.o
)
11659 wx_cv_c_exto
="-ext o"
11666 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11667 See \`config.log' for more details." >&5
11668 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11669 See \`config.log' for more details." >&2;}
11670 { (exit 1); exit 1; }; }
11674 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11677 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11678 echo "${ECHO_T}$wx_cv_c_exto" >&6
11679 if test "x$wx_cv_c_exto" '!=' "x"; then
11680 if test "c" = "c"; then
11681 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11683 if test "c" = "cxx"; then
11684 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11688 if test "x$wx_cv_c_exto" '!=' "x"; then
11689 unset ac_cv_prog_cc_g
11690 ac_test_CFLAGS
=${CFLAGS+set}
11691 ac_save_CFLAGS
=$CFLAGS
11693 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11694 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11695 if test "${ac_cv_prog_cc_g+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 cat >conftest.
$ac_ext <<_ACEOF
11701 cat confdefs.h
>>conftest.
$ac_ext
11702 cat >>conftest.
$ac_ext <<_ACEOF
11703 /* end confdefs.h. */
11713 rm -f conftest.
$ac_objext
11714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11715 (eval $ac_compile) 2>conftest.er1
11717 grep -v '^ *+' conftest.er1
>conftest.err
11719 cat conftest.err
>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } &&
11722 { ac_try
='test -z "$ac_c_werror_flag"
11723 || test ! -s conftest.err'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; } &&
11729 { ac_try
='test -s conftest.$ac_objext'
11730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731 (eval $ac_try) 2>&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }; }; then
11735 ac_cv_prog_cc_g
=yes
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.
$ac_ext >&5
11742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11744 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11745 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11746 if test "$ac_test_CFLAGS" = set; then
11747 CFLAGS
=$ac_save_CFLAGS
11748 elif test $ac_cv_prog_cc_g = yes; then
11749 if test "$GCC" = yes; then
11755 if test "$GCC" = yes; then
11763 ac_cpp
='$CPP $CPPFLAGS'
11764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11768 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11769 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11770 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 cat >conftest.
$ac_ext <<_ACEOF
11776 cat confdefs.h
>>conftest.
$ac_ext
11777 cat >>conftest.
$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11791 rm -f conftest.
$ac_objext
11792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11793 (eval $ac_compile) 2>conftest.er1
11795 grep -v '^ *+' conftest.er1
>conftest.err
11797 cat conftest.err
>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); } &&
11800 { ac_try
='test -z "$ac_c_werror_flag"
11801 || test ! -s conftest.err'
11802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11803 (eval $ac_try) 2>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; } &&
11807 { ac_try
='test -s conftest.$ac_objext'
11808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809 (eval $ac_try) 2>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); }; }; then
11813 bakefile_compiler_mwerks
=yes
11815 echo "$as_me: failed program was:" >&5
11816 sed 's/^/| /' conftest.
$ac_ext >&5
11818 bakefile_compiler_mwerks
=no
11820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11821 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11824 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11825 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11827 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11829 ac_cpp
='$CPP $CPPFLAGS'
11830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11836 ac_cpp
='$CPP $CPPFLAGS'
11837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11841 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11842 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11843 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 cat >conftest.
$ac_ext <<_ACEOF
11849 cat confdefs.h
>>conftest.
$ac_ext
11850 cat >>conftest.
$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11864 rm -f conftest.
$ac_objext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11866 (eval $ac_compile) 2>conftest.er1
11868 grep -v '^ *+' conftest.er1
>conftest.err
11870 cat conftest.err
>&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); } &&
11873 { ac_try
='test -z "$ac_c_werror_flag"
11874 || test ! -s conftest.err'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; } &&
11880 { ac_try
='test -s conftest.$ac_objext'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; }; then
11886 wx_compiler_xlc
=yes
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.
$ac_ext >&5
11893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11894 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11897 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11898 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11900 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11902 ac_cpp
='$CPP $CPPFLAGS'
11903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11911 ac_cpp
='$CPP $CPPFLAGS'
11912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11915 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11916 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11917 # On Suns, sometimes $CPP names a directory.
11918 if test -n "$CPP" && test -d "$CPP"; then
11921 if test -z "$CPP"; then
11922 if test "${ac_cv_prog_CPP+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 # Double quotes because CPP needs to be expanded
11926 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11928 ac_preproc_ok
=false
11929 for ac_c_preproc_warn_flag
in '' yes
11931 # Use a header file that comes with gcc, so configuring glibc
11932 # with a fresh cross-compiler works.
11933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11934 # <limits.h> exists even on freestanding compilers.
11935 # On the NeXT, cc -E runs the code through the compiler's parser,
11936 # not just through cpp. "Syntax error" is here to catch this case.
11937 cat >conftest.
$ac_ext <<_ACEOF
11940 cat confdefs.h
>>conftest.
$ac_ext
11941 cat >>conftest.
$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11944 # include <limits.h>
11946 # include <assert.h>
11950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11953 grep -v '^ *+' conftest.er1
>conftest.err
11955 cat conftest.err
>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); } >/dev
/null
; then
11958 if test -s conftest.err
; then
11959 ac_cpp_err
=$ac_c_preproc_warn_flag
11960 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11967 if test -z "$ac_cpp_err"; then
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.
$ac_ext >&5
11973 # Broken: fails on valid input.
11976 rm -f conftest.err conftest.
$ac_ext
11978 # OK, works on sane cases. Now check whether non-existent headers
11979 # can be detected and how.
11980 cat >conftest.
$ac_ext <<_ACEOF
11983 cat confdefs.h
>>conftest.
$ac_ext
11984 cat >>conftest.
$ac_ext <<_ACEOF
11985 /* end confdefs.h. */
11986 #include <ac_nonexistent.h>
11988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11991 grep -v '^ *+' conftest.er1
>conftest.err
11993 cat conftest.err
>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); } >/dev
/null
; then
11996 if test -s conftest.err
; then
11997 ac_cpp_err
=$ac_c_preproc_warn_flag
11998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12005 if test -z "$ac_cpp_err"; then
12006 # Broken: success on invalid input.
12009 echo "$as_me: failed program was:" >&5
12010 sed 's/^/| /' conftest.
$ac_ext >&5
12012 # Passes both tests.
12016 rm -f conftest.err conftest.
$ac_ext
12019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12020 rm -f conftest.err conftest.
$ac_ext
12021 if $ac_preproc_ok; then
12026 ac_cv_prog_CPP
=$CPP
12029 CPP
=$ac_cv_prog_CPP
12031 ac_cv_prog_CPP
=$CPP
12033 echo "$as_me:$LINENO: result: $CPP" >&5
12034 echo "${ECHO_T}$CPP" >&6
12035 ac_preproc_ok
=false
12036 for ac_c_preproc_warn_flag
in '' yes
12038 # Use a header file that comes with gcc, so configuring glibc
12039 # with a fresh cross-compiler works.
12040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12041 # <limits.h> exists even on freestanding compilers.
12042 # On the NeXT, cc -E runs the code through the compiler's parser,
12043 # not just through cpp. "Syntax error" is here to catch this case.
12044 cat >conftest.
$ac_ext <<_ACEOF
12047 cat confdefs.h
>>conftest.
$ac_ext
12048 cat >>conftest.
$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12051 # include <limits.h>
12053 # include <assert.h>
12057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12060 grep -v '^ *+' conftest.er1
>conftest.err
12062 cat conftest.err
>&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); } >/dev
/null
; then
12065 if test -s conftest.err
; then
12066 ac_cpp_err
=$ac_c_preproc_warn_flag
12067 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12074 if test -z "$ac_cpp_err"; then
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.
$ac_ext >&5
12080 # Broken: fails on valid input.
12083 rm -f conftest.err conftest.
$ac_ext
12085 # OK, works on sane cases. Now check whether non-existent headers
12086 # can be detected and how.
12087 cat >conftest.
$ac_ext <<_ACEOF
12090 cat confdefs.h
>>conftest.
$ac_ext
12091 cat >>conftest.
$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12093 #include <ac_nonexistent.h>
12095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12096 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12098 grep -v '^ *+' conftest.er1
>conftest.err
12100 cat conftest.err
>&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); } >/dev
/null
; then
12103 if test -s conftest.err
; then
12104 ac_cpp_err
=$ac_c_preproc_warn_flag
12105 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12112 if test -z "$ac_cpp_err"; then
12113 # Broken: success on invalid input.
12116 echo "$as_me: failed program was:" >&5
12117 sed 's/^/| /' conftest.
$ac_ext >&5
12119 # Passes both tests.
12123 rm -f conftest.err conftest.
$ac_ext
12126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12127 rm -f conftest.err conftest.
$ac_ext
12128 if $ac_preproc_ok; then
12131 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12132 See \`config.log' for more details." >&5
12133 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12134 See \`config.log' for more details." >&2;}
12135 { (exit 1); exit 1; }; }
12139 ac_cpp
='$CPP $CPPFLAGS'
12140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12145 echo "$as_me:$LINENO: checking for egrep" >&5
12146 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12147 if test "${ac_cv_prog_egrep+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12151 then ac_cv_prog_egrep
='grep -E'
12152 else ac_cv_prog_egrep
='egrep'
12155 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12156 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12157 EGREP
=$ac_cv_prog_egrep
12160 if test $ac_cv_c_compiler_gnu = yes; then
12161 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12162 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12163 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12164 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 ac_pattern
="Autoconf.*'x'"
12167 cat >conftest.
$ac_ext <<_ACEOF
12170 cat confdefs.h
>>conftest.
$ac_ext
12171 cat >>conftest.
$ac_ext <<_ACEOF
12172 /* end confdefs.h. */
12176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12177 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12178 ac_cv_prog_gcc_traditional
=yes
12180 ac_cv_prog_gcc_traditional
=no
12185 if test $ac_cv_prog_gcc_traditional = no
; then
12186 cat >conftest.
$ac_ext <<_ACEOF
12189 cat confdefs.h
>>conftest.
$ac_ext
12190 cat >>conftest.
$ac_ext <<_ACEOF
12191 /* end confdefs.h. */
12192 #include <termio.h>
12195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12196 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12197 ac_cv_prog_gcc_traditional
=yes
12203 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12204 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12205 if test $ac_cv_prog_gcc_traditional = yes; then
12206 CC
="$CC -traditional"
12214 ac_cpp
='$CXXCPP $CPPFLAGS'
12215 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12216 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12217 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12220 CXXFLAGS
=${CXXFLAGS:=}
12224 ac_cpp
='$CXXCPP $CPPFLAGS'
12225 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12226 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12227 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12228 if test -n "$ac_tool_prefix"; then
12229 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12233 echo "$as_me:$LINENO: checking for $ac_word" >&5
12234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12235 if test "${ac_cv_prog_CXX+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 if test -n "$CXX"; then
12239 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12242 for as_dir
in $PATH
12245 test -z "$as_dir" && as_dir
=.
12246 for ac_exec_ext
in '' $ac_executable_extensions; do
12247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12248 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12257 CXX
=$ac_cv_prog_CXX
12258 if test -n "$CXX"; then
12259 echo "$as_me:$LINENO: result: $CXX" >&5
12260 echo "${ECHO_T}$CXX" >&6
12262 echo "$as_me:$LINENO: result: no" >&5
12263 echo "${ECHO_T}no" >&6
12266 test -n "$CXX" && break
12269 if test -z "$CXX"; then
12271 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12273 # Extract the first word of "$ac_prog", so it can be a program name with args.
12274 set dummy
$ac_prog; ac_word
=$2
12275 echo "$as_me:$LINENO: checking for $ac_word" >&5
12276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12277 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12278 echo $ECHO_N "(cached) $ECHO_C" >&6
12280 if test -n "$ac_ct_CXX"; then
12281 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12284 for as_dir
in $PATH
12287 test -z "$as_dir" && as_dir
=.
12288 for ac_exec_ext
in '' $ac_executable_extensions; do
12289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12290 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12299 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12300 if test -n "$ac_ct_CXX"; then
12301 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12302 echo "${ECHO_T}$ac_ct_CXX" >&6
12304 echo "$as_me:$LINENO: result: no" >&5
12305 echo "${ECHO_T}no" >&6
12308 test -n "$ac_ct_CXX" && break
12310 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12316 # Provide some information about the compiler.
12317 echo "$as_me:$LINENO:" \
12318 "checking for C++ compiler version" >&5
12319 ac_compiler
=`set X $ac_compile; echo $2`
12320 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12321 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }
12325 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12326 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }
12330 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12331 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }
12336 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12337 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12338 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12341 cat >conftest.
$ac_ext <<_ACEOF
12344 cat confdefs.h
>>conftest.
$ac_ext
12345 cat >>conftest.
$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12359 rm -f conftest.
$ac_objext
12360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12361 (eval $ac_compile) 2>conftest.er1
12363 grep -v '^ *+' conftest.er1
>conftest.err
12365 cat conftest.err
>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); } &&
12368 { ac_try
='test -z "$ac_cxx_werror_flag"
12369 || test ! -s conftest.err'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; } &&
12375 { ac_try
='test -s conftest.$ac_objext'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; }; then
12381 ac_compiler_gnu
=yes
12383 echo "$as_me: failed program was:" >&5
12384 sed 's/^/| /' conftest.
$ac_ext >&5
12388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12389 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12392 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12393 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12394 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12395 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12396 ac_save_CXXFLAGS
=$CXXFLAGS
12398 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12399 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12400 if test "${ac_cv_prog_cxx_g+set}" = set; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12403 cat >conftest.
$ac_ext <<_ACEOF
12406 cat confdefs.h
>>conftest.
$ac_ext
12407 cat >>conftest.
$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12418 rm -f conftest.
$ac_objext
12419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12420 (eval $ac_compile) 2>conftest.er1
12422 grep -v '^ *+' conftest.er1
>conftest.err
12424 cat conftest.err
>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } &&
12427 { ac_try
='test -z "$ac_cxx_werror_flag"
12428 || test ! -s conftest.err'
12429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430 (eval $ac_try) 2>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }; } &&
12434 { ac_try
='test -s conftest.$ac_objext'
12435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 (eval $ac_try) 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; }; then
12440 ac_cv_prog_cxx_g
=yes
12442 echo "$as_me: failed program was:" >&5
12443 sed 's/^/| /' conftest.
$ac_ext >&5
12445 ac_cv_prog_cxx_g
=no
12447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12449 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12450 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12451 if test "$ac_test_CXXFLAGS" = set; then
12452 CXXFLAGS
=$ac_save_CXXFLAGS
12453 elif test $ac_cv_prog_cxx_g = yes; then
12454 if test "$GXX" = yes; then
12460 if test "$GXX" = yes; then
12466 for ac_declaration
in \
12468 'extern "C" void std::exit (int) throw (); using std::exit;' \
12469 'extern "C" void std::exit (int); using std::exit;' \
12470 'extern "C" void exit (int) throw ();' \
12471 'extern "C" void exit (int);' \
12474 cat >conftest.
$ac_ext <<_ACEOF
12477 cat confdefs.h
>>conftest.
$ac_ext
12478 cat >>conftest.
$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12481 #include <stdlib.h>
12490 rm -f conftest.
$ac_objext
12491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12492 (eval $ac_compile) 2>conftest.er1
12494 grep -v '^ *+' conftest.er1
>conftest.err
12496 cat conftest.err
>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); } &&
12499 { ac_try
='test -z "$ac_cxx_werror_flag"
12500 || test ! -s conftest.err'
12501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 (eval $ac_try) 2>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }; } &&
12506 { ac_try
='test -s conftest.$ac_objext'
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 (eval $ac_try) 2>&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); }; }; then
12514 echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.
$ac_ext >&5
12519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12520 cat >conftest.
$ac_ext <<_ACEOF
12523 cat confdefs.h
>>conftest.
$ac_ext
12524 cat >>conftest.
$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12535 rm -f conftest.
$ac_objext
12536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12537 (eval $ac_compile) 2>conftest.er1
12539 grep -v '^ *+' conftest.er1
>conftest.err
12541 cat conftest.err
>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); } &&
12544 { ac_try
='test -z "$ac_cxx_werror_flag"
12545 || test ! -s conftest.err'
12546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12547 (eval $ac_try) 2>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); }; } &&
12551 { ac_try
='test -s conftest.$ac_objext'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; }; then
12559 echo "$as_me: failed program was:" >&5
12560 sed 's/^/| /' conftest.
$ac_ext >&5
12563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12566 if test -n "$ac_declaration"; then
12567 echo '#ifdef __cplusplus' >>confdefs.h
12568 echo $ac_declaration >>confdefs.h
12569 echo '#endif' >>confdefs.h
12573 ac_cpp
='$CXXCPP $CPPFLAGS'
12574 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12575 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12576 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12578 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12579 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12580 if test "${wx_cv_cxx_exto+set}" = set; then
12581 echo $ECHO_N "(cached) $ECHO_C" >&6
12583 cat >conftest.
$ac_ext <<_ACEOF
12586 cat confdefs.h
>>conftest.
$ac_ext
12587 cat >>conftest.
$ac_ext <<_ACEOF
12588 /* end confdefs.h. */
12598 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12600 (eval $ac_compile) 2>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); }; then
12604 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12606 conftest.
$ac_ext.o
)
12607 wx_cv_cxx_exto
="-ext o"
12614 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12615 See \`config.log' for more details." >&5
12616 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12617 See \`config.log' for more details." >&2;}
12618 { (exit 1); exit 1; }; }
12622 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12625 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12626 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12627 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12628 if test "cxx" = "c"; then
12629 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12631 if test "cxx" = "cxx"; then
12632 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12636 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12637 unset ac_cv_prog_cxx_g
12638 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12639 ac_save_CXXFLAGS
=$CXXFLAGS
12641 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12642 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12643 if test "${ac_cv_prog_cxx_g+set}" = set; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 cat >conftest.
$ac_ext <<_ACEOF
12649 cat confdefs.h
>>conftest.
$ac_ext
12650 cat >>conftest.
$ac_ext <<_ACEOF
12651 /* end confdefs.h. */
12661 rm -f conftest.
$ac_objext
12662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12663 (eval $ac_compile) 2>conftest.er1
12665 grep -v '^ *+' conftest.er1
>conftest.err
12667 cat conftest.err
>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); } &&
12670 { ac_try
='test -z "$ac_cxx_werror_flag"
12671 || test ! -s conftest.err'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; } &&
12677 { ac_try
='test -s conftest.$ac_objext'
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12679 (eval $ac_try) 2>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; }; then
12683 ac_cv_prog_cxx_g
=yes
12685 echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.
$ac_ext >&5
12688 ac_cv_prog_cxx_g
=no
12690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12692 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12693 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12694 if test "$ac_test_CXXFLAGS" = set; then
12695 CXXFLAGS
=$ac_save_CXXFLAGS
12696 elif test $ac_cv_prog_cxx_g = yes; then
12697 if test "$GXX" = yes; then
12703 if test "$GXX" = yes; then
12711 ac_cpp
='$CXXCPP $CPPFLAGS'
12712 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12713 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12714 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12716 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12717 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12718 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12721 cat >conftest.
$ac_ext <<_ACEOF
12724 cat confdefs.h
>>conftest.
$ac_ext
12725 cat >>conftest.
$ac_ext <<_ACEOF
12726 /* end confdefs.h. */
12739 rm -f conftest.
$ac_objext
12740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12741 (eval $ac_compile) 2>conftest.er1
12743 grep -v '^ *+' conftest.er1
>conftest.err
12745 cat conftest.err
>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } &&
12748 { ac_try
='test -z "$ac_cxx_werror_flag"
12749 || test ! -s conftest.err'
12750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12751 (eval $ac_try) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; } &&
12755 { ac_try
='test -s conftest.$ac_objext'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; }; then
12761 bakefile_compiler_mwerks
=yes
12763 echo "$as_me: failed program was:" >&5
12764 sed 's/^/| /' conftest.
$ac_ext >&5
12766 bakefile_compiler_mwerks
=no
12768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12769 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12772 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12773 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12775 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12777 ac_cpp
='$CXXCPP $CPPFLAGS'
12778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12784 ac_cpp
='$CXXCPP $CPPFLAGS'
12785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12789 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12790 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12791 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12792 echo $ECHO_N "(cached) $ECHO_C" >&6
12794 cat >conftest.
$ac_ext <<_ACEOF
12797 cat confdefs.h
>>conftest.
$ac_ext
12798 cat >>conftest.
$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12812 rm -f conftest.
$ac_objext
12813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12814 (eval $ac_compile) 2>conftest.er1
12816 grep -v '^ *+' conftest.er1
>conftest.err
12818 cat conftest.err
>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); } &&
12821 { ac_try
='test -z "$ac_cxx_werror_flag"
12822 || test ! -s conftest.err'
12823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12824 (eval $ac_try) 2>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); }; } &&
12828 { ac_try
='test -s conftest.$ac_objext'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; }; then
12834 wx_compiler_xlc
=yes
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.
$ac_ext >&5
12841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12842 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12845 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12846 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12848 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12850 ac_cpp
='$CXXCPP $CPPFLAGS'
12851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12859 ac_cpp
='$CPP $CPPFLAGS'
12860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12865 if test -n "$ac_tool_prefix"; then
12866 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12867 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12868 echo "$as_me:$LINENO: checking for $ac_word" >&5
12869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12870 if test "${ac_cv_prog_RANLIB+set}" = set; then
12871 echo $ECHO_N "(cached) $ECHO_C" >&6
12873 if test -n "$RANLIB"; then
12874 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12877 for as_dir
in $PATH
12880 test -z "$as_dir" && as_dir
=.
12881 for ac_exec_ext
in '' $ac_executable_extensions; do
12882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12883 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12892 RANLIB
=$ac_cv_prog_RANLIB
12893 if test -n "$RANLIB"; then
12894 echo "$as_me:$LINENO: result: $RANLIB" >&5
12895 echo "${ECHO_T}$RANLIB" >&6
12897 echo "$as_me:$LINENO: result: no" >&5
12898 echo "${ECHO_T}no" >&6
12902 if test -z "$ac_cv_prog_RANLIB"; then
12903 ac_ct_RANLIB
=$RANLIB
12904 # Extract the first word of "ranlib", so it can be a program name with args.
12905 set dummy ranlib
; ac_word
=$2
12906 echo "$as_me:$LINENO: checking for $ac_word" >&5
12907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12908 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12909 echo $ECHO_N "(cached) $ECHO_C" >&6
12911 if test -n "$ac_ct_RANLIB"; then
12912 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12915 for as_dir
in $PATH
12918 test -z "$as_dir" && as_dir
=.
12919 for ac_exec_ext
in '' $ac_executable_extensions; do
12920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12921 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12928 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12931 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12932 if test -n "$ac_ct_RANLIB"; then
12933 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12934 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12936 echo "$as_me:$LINENO: result: no" >&5
12937 echo "${ECHO_T}no" >&6
12940 RANLIB
=$ac_ct_RANLIB
12942 RANLIB
="$ac_cv_prog_RANLIB"
12946 # Extract the first word of "ar", so it can be a program name with args.
12947 set dummy
ar; ac_word
=$2
12948 echo "$as_me:$LINENO: checking for $ac_word" >&5
12949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12950 if test "${ac_cv_prog_AR+set}" = set; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 if test -n "$AR"; then
12954 ac_cv_prog_AR
="$AR" # Let the user override the test.
12956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12957 for as_dir
in $PATH
12960 test -z "$as_dir" && as_dir
=.
12961 for ac_exec_ext
in '' $ac_executable_extensions; do
12962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12973 if test -n "$AR"; then
12974 echo "$as_me:$LINENO: result: $AR" >&5
12975 echo "${ECHO_T}$AR" >&6
12977 echo "$as_me:$LINENO: result: no" >&5
12978 echo "${ECHO_T}no" >&6
12981 if test "x$AR" = "x" ; then
12982 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12983 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12984 { (exit 1); exit 1; }; }
12987 # Find a good install program. We prefer a C program (faster),
12988 # so one script is as good as another. But avoid the broken or
12989 # incompatible versions:
12990 # SysV /etc/install, /usr/sbin/install
12991 # SunOS /usr/etc/install
12992 # IRIX /sbin/install
12994 # AmigaOS /C/install, which installs bootblocks on floppy discs
12995 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12996 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12997 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12998 # OS/2's system install, which has a completely different semantic
12999 # ./install, which can be erroneously created by make from ./install.sh.
13000 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13001 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13002 if test -z "$INSTALL"; then
13003 if test "${ac_cv_path_install+set}" = set; then
13004 echo $ECHO_N "(cached) $ECHO_C" >&6
13006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13007 for as_dir
in $PATH
13010 test -z "$as_dir" && as_dir
=.
13011 # Account for people who put trailing slashes in PATH elements.
13013 .
/ | .
// | /cC
/* | \
13014 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13015 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13018 # OSF1 and SCO ODT 3.0 have their own names for install.
13019 # Don't use installbsd from OSF since it installs stuff as root
13021 for ac_prog
in ginstall scoinst
install; do
13022 for ac_exec_ext
in '' $ac_executable_extensions; do
13023 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13024 if test $ac_prog = install &&
13025 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13026 # AIX install. It has an incompatible calling convention.
13028 elif test $ac_prog = install &&
13029 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13030 # program-specific install script used by HP pwplus--don't use.
13033 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13045 if test "${ac_cv_path_install+set}" = set; then
13046 INSTALL
=$ac_cv_path_install
13048 # As a last resort, use the slow shell script. We don't cache a
13049 # path for INSTALL within a source directory, because that will
13050 # break other packages using the cache if that directory is
13051 # removed, or if the path is relative.
13052 INSTALL
=$ac_install_sh
13055 echo "$as_me:$LINENO: result: $INSTALL" >&5
13056 echo "${ECHO_T}$INSTALL" >&6
13058 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13059 # It thinks the first close brace ends the variable substitution.
13060 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13062 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13064 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13070 ?
:* ) # Drive letter, considered as absolute.
13073 INSTALL
=`pwd`/${INSTALL} ;;
13079 powerpc
-*-darwin* )
13080 INSTALL_PROGRAM
="cp -fp"
13081 INSTALL_DATA
="cp -fp"
13087 # Extract the first word of "strip", so it can be a program name with args.
13088 set dummy strip
; ac_word
=$2
13089 echo "$as_me:$LINENO: checking for $ac_word" >&5
13090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13091 if test "${ac_cv_prog_STRIP+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 if test -n "$STRIP"; then
13095 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13098 for as_dir
in $PATH
13101 test -z "$as_dir" && as_dir
=.
13102 for ac_exec_ext
in '' $ac_executable_extensions; do
13103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13104 ac_cv_prog_STRIP
="strip"
13105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13111 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13114 STRIP
=$ac_cv_prog_STRIP
13115 if test -n "$STRIP"; then
13116 echo "$as_me:$LINENO: result: $STRIP" >&5
13117 echo "${ECHO_T}$STRIP" >&6
13119 echo "$as_me:$LINENO: result: no" >&5
13120 echo "${ECHO_T}no" >&6
13124 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13125 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13126 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13130 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13131 egrep -s GNU
> /dev
/null
); then
13132 wx_cv_prog_makeisgnu
="yes"
13134 wx_cv_prog_makeisgnu
="no"
13138 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13139 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13141 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13149 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13150 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13151 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13152 if test "${wx_cv_prog_makevpath+set}" = set; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13156 cat - << EOF > confMake
13162 if test ! -d sub
; then
13165 echo dummy
> sub
/file
13166 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13168 rm -f sub
/file check final_file confMake
13170 if test "$RESULT" = 0; then
13171 wx_cv_prog_makevpath
="yes"
13173 wx_cv_prog_makevpath
="no"
13177 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13178 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13180 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13181 { { echo "$as_me:$LINENO: error:
13182 You need a make-utility that is able to use the variable
13184 If your version of make does not support VPATH correctly,
13185 please install GNU-make (possibly as gmake), and start
13186 configure with the following command:
13187 export MAKE=gmake; ./configure for sh-type shells
13188 setenv MAKE gmake; ./configure for csh-type shells
13189 Also please do remember to use gmake in this case every time
13190 you are trying to compile.
13192 echo "$as_me: error:
13193 You need a make-utility that is able to use the variable
13195 If your version of make does not support VPATH correctly,
13196 please install GNU-make (possibly as gmake), and start
13197 configure with the following command:
13198 export MAKE=gmake; ./configure for sh-type shells
13199 setenv MAKE gmake; ./configure for csh-type shells
13200 Also please do remember to use gmake in this case every time
13201 you are trying to compile.
13203 { (exit 1); exit 1; }; }
13205 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13206 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13208 if test "$LN_S" = "ln -s"; then
13209 echo "$as_me:$LINENO: result: yes" >&5
13210 echo "${ECHO_T}yes" >&6
13212 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13213 echo "${ECHO_T}no, using $LN_S" >&6
13218 if test "x$XLCXX" = "xyes"; then
13219 CXXFLAGS
="$CXXFLAGS -qunique"
13224 powerpc
-*-darwin* )
13225 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13226 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13227 cat >conftest.
$ac_ext <<_ACEOF
13230 cat confdefs.h
>>conftest.
$ac_ext
13231 cat >>conftest.
$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13237 #ifndef __POWERPC__
13238 choke me for lack of PowerPC
13245 rm -f conftest.
$ac_objext
13246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13247 (eval $ac_compile) 2>conftest.er1
13249 grep -v '^ *+' conftest.er1
>conftest.err
13251 cat conftest.err
>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); } &&
13254 { ac_try
='test -z "$ac_c_werror_flag"
13255 || test ! -s conftest.err'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; } &&
13261 { ac_try
='test -s conftest.$ac_objext'
13262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13263 (eval $ac_try) 2>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); }; }; then
13267 echo "$as_me:$LINENO: result: yes" >&5
13268 echo "${ECHO_T}yes" >&6
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.
$ac_ext >&5
13273 echo "$as_me:$LINENO: result: no" >&5
13274 echo "${ECHO_T}no" >&6
13275 cat >>confdefs.h
<<\_ACEOF
13276 #define __POWERPC__ 1
13281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13282 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13283 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13284 cat >conftest.
$ac_ext <<_ACEOF
13287 cat confdefs.h
>>conftest.
$ac_ext
13288 cat >>conftest.
$ac_ext <<_ACEOF
13289 /* end confdefs.h. */
13290 #include <CoreFoundation/CFBase.h>
13300 rm -f conftest.
$ac_objext
13301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13302 (eval $ac_compile) 2>conftest.er1
13304 grep -v '^ *+' conftest.er1
>conftest.err
13306 cat conftest.err
>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try
='test -z "$ac_c_werror_flag"
13310 || test ! -s conftest.err'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; } &&
13316 { ac_try
='test -s conftest.$ac_objext'
13317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13318 (eval $ac_try) 2>&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; }; then
13322 echo "$as_me:$LINENO: result: yes" >&5
13323 echo "${ECHO_T}yes" >&6
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.
$ac_ext >&5
13328 echo "$as_me:$LINENO: result: no" >&5
13329 echo "${ECHO_T}no" >&6
13330 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13331 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13332 cat >conftest.
$ac_ext <<_ACEOF
13335 cat confdefs.h
>>conftest.
$ac_ext
13336 cat >>conftest.
$ac_ext <<_ACEOF
13337 /* end confdefs.h. */
13338 #define __CF_USE_FRAMEWORK_INCLUDES__
13339 #include <CoreFoundation/CFBase.h>
13349 rm -f conftest.
$ac_objext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>conftest.er1
13353 grep -v '^ *+' conftest.er1
>conftest.err
13355 cat conftest.err
>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } &&
13358 { ac_try
='test -z "$ac_c_werror_flag"
13359 || test ! -s conftest.err'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; } &&
13365 { ac_try
='test -s conftest.$ac_objext'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; }; then
13371 echo "$as_me:$LINENO: result: yes" >&5
13372 echo "${ECHO_T}yes" >&6
13373 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13375 echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.
$ac_ext >&5
13378 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13379 See \`config.log' for more details." >&5
13380 echo "$as_me: error: no. CoreFoundation not available.
13381 See \`config.log' for more details." >&2;}
13382 { (exit 1); exit 1; }; }
13385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13394 *-pc-os2_emx | *-pc-os2-emx )
13395 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13396 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13397 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13398 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13399 echo $ECHO_N "(cached) $ECHO_C" >&6
13401 ac_check_lib_save_LIBS
=$LIBS
13402 LIBS
="-lcExt $LIBS"
13403 cat >conftest.
$ac_ext <<_ACEOF
13406 cat confdefs.h
>>conftest.
$ac_ext
13407 cat >>conftest.
$ac_ext <<_ACEOF
13408 /* end confdefs.h. */
13410 /* Override any gcc2 internal prototype to avoid an error. */
13414 /* We use char because int might match the return type of a gcc2
13415 builtin and then its argument prototype would still apply. */
13425 rm -f conftest.
$ac_objext conftest
$ac_exeext
13426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13427 (eval $ac_link) 2>conftest.er1
13429 grep -v '^ *+' conftest.er1
>conftest.err
13431 cat conftest.err
>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); } &&
13434 { ac_try
='test -z "$ac_c_werror_flag"
13435 || test ! -s conftest.err'
13436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437 (eval $ac_try) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); }; } &&
13441 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
13447 ac_cv_lib_cExt_drand48
=yes
13449 echo "$as_me: failed program was:" >&5
13450 sed 's/^/| /' conftest.
$ac_ext >&5
13452 ac_cv_lib_cExt_drand48
=no
13454 rm -f conftest.err conftest.
$ac_objext \
13455 conftest
$ac_exeext conftest.
$ac_ext
13456 LIBS
=$ac_check_lib_save_LIBS
13458 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13459 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13460 if test $ac_cv_lib_cExt_drand48 = yes; then
13461 LIBS
="$LIBS -lcExt"
13465 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13467 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13468 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13469 if test "${wx_cv_gccversion+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13473 if test "$cross_compiling" = yes; then
13474 wx_cv_gccversion
="EMX2"
13477 cat >conftest.
$ac_ext <<_ACEOF
13480 cat confdefs.h
>>conftest.
$ac_ext
13481 cat >>conftest.
$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13488 FILE *f=fopen("conftestval", "w");
13493 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13495 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13505 rm -f conftest
$ac_exeext
13506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13507 (eval $ac_link) 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; }; then
13516 wx_cv_gccversion
=`cat conftestval`
13518 echo "$as_me: program exited with status $ac_status" >&5
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.
$ac_ext >&5
13522 ( exit $ac_status )
13523 wx_cv_gccversion
="EMX2"
13525 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13529 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13530 echo "${ECHO_T}$wx_cv_gccversion" >&6
13531 if test "$wx_cv_gccversion" = "EMX2"; then
13532 LIBS
="$LIBS -lstdcpp"
13533 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13535 if test "$wx_cv_gccversion" = "EMX3"; then
13536 LIBS
="$LIBS -lstdcxx"
13537 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13539 LIBS
="$LIBS -lstdc++"
13542 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13543 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13544 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13554 ac_cpp
='$CXXCPP $CPPFLAGS'
13555 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13556 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13557 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13560 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13561 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13562 if test "${ac_cv_string_strcasecmp+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13566 cat >conftest.
$ac_ext <<_ACEOF
13569 cat confdefs.h
>>conftest.
$ac_ext
13570 cat >>conftest.
$ac_ext <<_ACEOF
13571 /* end confdefs.h. */
13573 #include <string.h>
13579 strcasecmp("foo", "bar");
13585 rm -f conftest.
$ac_objext conftest
$ac_exeext
13586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13587 (eval $ac_link) 2>conftest.er1
13589 grep -v '^ *+' conftest.er1
>conftest.err
13591 cat conftest.err
>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } &&
13594 { ac_try
='test -z "$ac_cxx_werror_flag"
13595 || test ! -s conftest.err'
13596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13597 (eval $ac_try) 2>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); }; } &&
13601 { ac_try
='test -s conftest$ac_exeext'
13602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13603 (eval $ac_try) 2>&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); }; }; then
13607 ac_cv_string_strcasecmp
=yes
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.
$ac_ext >&5
13612 ac_cv_string_strcasecmp
=no
13615 rm -f conftest.err conftest.
$ac_objext \
13616 conftest
$ac_exeext conftest.
$ac_ext
13619 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13620 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13622 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13623 cat >>confdefs.h
<<\_ACEOF
13624 #define HAVE_STRCASECMP_IN_STRING_H 1
13628 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13629 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13630 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13631 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 cat >conftest.
$ac_ext <<_ACEOF
13637 cat confdefs.h
>>conftest.
$ac_ext
13638 cat >>conftest.
$ac_ext <<_ACEOF
13639 /* end confdefs.h. */
13641 #include <strings.h>
13647 strcasecmp("foo", "bar");
13653 rm -f conftest.
$ac_objext conftest
$ac_exeext
13654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13655 (eval $ac_link) 2>conftest.er1
13657 grep -v '^ *+' conftest.er1
>conftest.err
13659 cat conftest.err
>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); } &&
13662 { ac_try
='test -z "$ac_cxx_werror_flag"
13663 || test ! -s conftest.err'
13664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13665 (eval $ac_try) 2>&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); }; } &&
13669 { ac_try
='test -s conftest$ac_exeext'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; }; then
13675 ac_cv_strings_strcasecmp
=yes
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.
$ac_ext >&5
13680 ac_cv_strings_strcasecmp
=no
13683 rm -f conftest.err conftest.
$ac_objext \
13684 conftest
$ac_exeext conftest.
$ac_ext
13687 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13688 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13690 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13691 cat >>confdefs.h
<<\_ACEOF
13692 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13696 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13697 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13698 { (exit 1); exit 1; }; }
13703 ac_cpp
='$CPP $CPPFLAGS'
13704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13712 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13713 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13714 if test "${ac_cv_header_stdc+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 cat >conftest.
$ac_ext <<_ACEOF
13720 cat confdefs.h
>>conftest.
$ac_ext
13721 cat >>conftest.
$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 #include <stdlib.h>
13724 #include <stdarg.h>
13725 #include <string.h>
13736 rm -f conftest.
$ac_objext
13737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13738 (eval $ac_compile) 2>conftest.er1
13740 grep -v '^ *+' conftest.er1
>conftest.err
13742 cat conftest.err
>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); } &&
13745 { ac_try
='test -z "$ac_c_werror_flag"
13746 || test ! -s conftest.err'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; } &&
13752 { ac_try
='test -s conftest.$ac_objext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13758 ac_cv_header_stdc
=yes
13760 echo "$as_me: failed program was:" >&5
13761 sed 's/^/| /' conftest.
$ac_ext >&5
13763 ac_cv_header_stdc
=no
13765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13767 if test $ac_cv_header_stdc = yes; then
13768 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13769 cat >conftest.
$ac_ext <<_ACEOF
13772 cat confdefs.h
>>conftest.
$ac_ext
13773 cat >>conftest.
$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 #include <string.h>
13778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13779 $EGREP "memchr" >/dev
/null
2>&1; then
13782 ac_cv_header_stdc
=no
13788 if test $ac_cv_header_stdc = yes; then
13789 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13790 cat >conftest.
$ac_ext <<_ACEOF
13793 cat confdefs.h
>>conftest.
$ac_ext
13794 cat >>conftest.
$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 #include <stdlib.h>
13799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13800 $EGREP "free" >/dev
/null
2>&1; then
13803 ac_cv_header_stdc
=no
13809 if test $ac_cv_header_stdc = yes; then
13810 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13811 if test "$cross_compiling" = yes; then
13814 cat >conftest.
$ac_ext <<_ACEOF
13817 cat confdefs.h
>>conftest.
$ac_ext
13818 cat >>conftest.
$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13821 #if ((' ' & 0x0FF) == 0x020)
13822 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13823 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13825 # define ISLOWER(c) \
13826 (('a' <= (c) && (c) <= 'i') \
13827 || ('j' <= (c) && (c) <= 'r') \
13828 || ('s' <= (c) && (c) <= 'z'))
13829 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13832 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13837 for (i = 0; i < 256; i++)
13838 if (XOR (islower (i), ISLOWER (i))
13839 || toupper (i) != TOUPPER (i))
13844 rm -f conftest
$ac_exeext
13845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13846 (eval $ac_link) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
13857 echo "$as_me: program exited with status $ac_status" >&5
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.
$ac_ext >&5
13861 ( exit $ac_status )
13862 ac_cv_header_stdc
=no
13864 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13868 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13869 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13870 if test $ac_cv_header_stdc = yes; then
13872 cat >>confdefs.h
<<\_ACEOF
13873 #define STDC_HEADERS 1
13878 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13888 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13889 inttypes.h stdint.h unistd.h
13891 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13892 echo "$as_me:$LINENO: checking for $ac_header" >&5
13893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13895 echo $ECHO_N "(cached) $ECHO_C" >&6
13897 cat >conftest.
$ac_ext <<_ACEOF
13900 cat confdefs.h
>>conftest.
$ac_ext
13901 cat >>conftest.
$ac_ext <<_ACEOF
13902 /* end confdefs.h. */
13903 $ac_includes_default
13905 #include <$ac_header>
13907 rm -f conftest.
$ac_objext
13908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13909 (eval $ac_compile) 2>conftest.er1
13911 grep -v '^ *+' conftest.er1
>conftest.err
13913 cat conftest.err
>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } &&
13916 { ac_try
='test -z "$ac_c_werror_flag"
13917 || test ! -s conftest.err'
13918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13919 (eval $ac_try) 2>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }; } &&
13923 { ac_try
='test -s conftest.$ac_objext'
13924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13925 (eval $ac_try) 2>&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); }; }; then
13929 eval "$as_ac_Header=yes"
13931 echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.
$ac_ext >&5
13934 eval "$as_ac_Header=no"
13936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13941 cat >>confdefs.h
<<_ACEOF
13942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13951 for ac_header
in stdlib.h
13953 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13955 echo "$as_me:$LINENO: checking for $ac_header" >&5
13956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13963 # Is the header compilable?
13964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13966 cat >conftest.
$ac_ext <<_ACEOF
13969 cat confdefs.h
>>conftest.
$ac_ext
13970 cat >>conftest.
$ac_ext <<_ACEOF
13971 /* end confdefs.h. */
13972 $ac_includes_default
13973 #include <$ac_header>
13975 rm -f conftest.
$ac_objext
13976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13977 (eval $ac_compile) 2>conftest.er1
13979 grep -v '^ *+' conftest.er1
>conftest.err
13981 cat conftest.err
>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } &&
13984 { ac_try
='test -z "$ac_c_werror_flag"
13985 || test ! -s conftest.err'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; } &&
13991 { ac_try
='test -s conftest.$ac_objext'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; }; then
13997 ac_header_compiler
=yes
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.
$ac_ext >&5
14002 ac_header_compiler
=no
14004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14006 echo "${ECHO_T}$ac_header_compiler" >&6
14008 # Is the header present?
14009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14011 cat >conftest.
$ac_ext <<_ACEOF
14014 cat confdefs.h
>>conftest.
$ac_ext
14015 cat >>conftest.
$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14017 #include <$ac_header>
14019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14022 grep -v '^ *+' conftest.er1
>conftest.err
14024 cat conftest.err
>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } >/dev
/null
; then
14027 if test -s conftest.err
; then
14028 ac_cpp_err
=$ac_c_preproc_warn_flag
14029 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14036 if test -z "$ac_cpp_err"; then
14037 ac_header_preproc
=yes
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.
$ac_ext >&5
14042 ac_header_preproc
=no
14044 rm -f conftest.err conftest.
$ac_ext
14045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14046 echo "${ECHO_T}$ac_header_preproc" >&6
14048 # So? What about this header?
14049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14055 ac_header_preproc
=yes
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14072 ## ----------------------------------------- ##
14073 ## Report this to wx-dev@lists.wxwidgets.org ##
14074 ## ----------------------------------------- ##
14077 sed "s/^/$as_me: WARNING: /" >&2
14080 echo "$as_me:$LINENO: checking for $ac_header" >&5
14081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 eval "$as_ac_Header=\$ac_header_preproc"
14087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14092 cat >>confdefs.h
<<_ACEOF
14093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14101 for ac_header
in malloc.h
14103 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14105 echo "$as_me:$LINENO: checking for $ac_header" >&5
14106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14108 echo $ECHO_N "(cached) $ECHO_C" >&6
14110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14113 # Is the header compilable?
14114 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14116 cat >conftest.
$ac_ext <<_ACEOF
14119 cat confdefs.h
>>conftest.
$ac_ext
14120 cat >>conftest.
$ac_ext <<_ACEOF
14121 /* end confdefs.h. */
14122 $ac_includes_default
14123 #include <$ac_header>
14125 rm -f conftest.
$ac_objext
14126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14127 (eval $ac_compile) 2>conftest.er1
14129 grep -v '^ *+' conftest.er1
>conftest.err
14131 cat conftest.err
>&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); } &&
14134 { ac_try
='test -z "$ac_c_werror_flag"
14135 || test ! -s conftest.err'
14136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14137 (eval $ac_try) 2>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); }; } &&
14141 { ac_try
='test -s conftest.$ac_objext'
14142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14143 (eval $ac_try) 2>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); }; }; then
14147 ac_header_compiler
=yes
14149 echo "$as_me: failed program was:" >&5
14150 sed 's/^/| /' conftest.
$ac_ext >&5
14152 ac_header_compiler
=no
14154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14156 echo "${ECHO_T}$ac_header_compiler" >&6
14158 # Is the header present?
14159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14161 cat >conftest.
$ac_ext <<_ACEOF
14164 cat confdefs.h
>>conftest.
$ac_ext
14165 cat >>conftest.
$ac_ext <<_ACEOF
14166 /* end confdefs.h. */
14167 #include <$ac_header>
14169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14170 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14172 grep -v '^ *+' conftest.er1
>conftest.err
14174 cat conftest.err
>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } >/dev
/null
; then
14177 if test -s conftest.err
; then
14178 ac_cpp_err
=$ac_c_preproc_warn_flag
14179 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14186 if test -z "$ac_cpp_err"; then
14187 ac_header_preproc
=yes
14189 echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.
$ac_ext >&5
14192 ac_header_preproc
=no
14194 rm -f conftest.err conftest.
$ac_ext
14195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14196 echo "${ECHO_T}$ac_header_preproc" >&6
14198 # So? What about this header?
14199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14204 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14205 ac_header_preproc
=yes
14208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14212 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14213 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14214 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14215 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14222 ## ----------------------------------------- ##
14223 ## Report this to wx-dev@lists.wxwidgets.org ##
14224 ## ----------------------------------------- ##
14227 sed "s/^/$as_me: WARNING: /" >&2
14230 echo "$as_me:$LINENO: checking for $ac_header" >&5
14231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 eval "$as_ac_Header=\$ac_header_preproc"
14237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14242 cat >>confdefs.h
<<_ACEOF
14243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14251 for ac_header
in unistd.h
14253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14255 echo "$as_me:$LINENO: checking for $ac_header" >&5
14256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14263 # Is the header compilable?
14264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14266 cat >conftest.
$ac_ext <<_ACEOF
14269 cat confdefs.h
>>conftest.
$ac_ext
14270 cat >>conftest.
$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14272 $ac_includes_default
14273 #include <$ac_header>
14275 rm -f conftest.
$ac_objext
14276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14277 (eval $ac_compile) 2>conftest.er1
14279 grep -v '^ *+' conftest.er1
>conftest.err
14281 cat conftest.err
>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } &&
14284 { ac_try
='test -z "$ac_c_werror_flag"
14285 || test ! -s conftest.err'
14286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14287 (eval $ac_try) 2>&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); }; } &&
14291 { ac_try
='test -s conftest.$ac_objext'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; }; then
14297 ac_header_compiler
=yes
14299 echo "$as_me: failed program was:" >&5
14300 sed 's/^/| /' conftest.
$ac_ext >&5
14302 ac_header_compiler
=no
14304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14306 echo "${ECHO_T}$ac_header_compiler" >&6
14308 # Is the header present?
14309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14311 cat >conftest.
$ac_ext <<_ACEOF
14314 cat confdefs.h
>>conftest.
$ac_ext
14315 cat >>conftest.
$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14317 #include <$ac_header>
14319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14322 grep -v '^ *+' conftest.er1
>conftest.err
14324 cat conftest.err
>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); } >/dev
/null
; then
14327 if test -s conftest.err
; then
14328 ac_cpp_err
=$ac_c_preproc_warn_flag
14329 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14336 if test -z "$ac_cpp_err"; then
14337 ac_header_preproc
=yes
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.
$ac_ext >&5
14342 ac_header_preproc
=no
14344 rm -f conftest.err conftest.
$ac_ext
14345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14346 echo "${ECHO_T}$ac_header_preproc" >&6
14348 # So? What about this header?
14349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14354 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14355 ac_header_preproc
=yes
14358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14362 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14363 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14364 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14365 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14372 ## ----------------------------------------- ##
14373 ## Report this to wx-dev@lists.wxwidgets.org ##
14374 ## ----------------------------------------- ##
14377 sed "s/^/$as_me: WARNING: /" >&2
14380 echo "$as_me:$LINENO: checking for $ac_header" >&5
14381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14383 echo $ECHO_N "(cached) $ECHO_C" >&6
14385 eval "$as_ac_Header=\$ac_header_preproc"
14387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14392 cat >>confdefs.h
<<_ACEOF
14393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14401 for ac_header
in wchar.h
14403 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14405 echo "$as_me:$LINENO: checking for $ac_header" >&5
14406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14408 echo $ECHO_N "(cached) $ECHO_C" >&6
14410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14413 # Is the header compilable?
14414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14416 cat >conftest.
$ac_ext <<_ACEOF
14419 cat confdefs.h
>>conftest.
$ac_ext
14420 cat >>conftest.
$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14422 $ac_includes_default
14423 #include <$ac_header>
14425 rm -f conftest.
$ac_objext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>conftest.er1
14429 grep -v '^ *+' conftest.er1
>conftest.err
14431 cat conftest.err
>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try
='test -z "$ac_c_werror_flag"
14435 || test ! -s conftest.err'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; } &&
14441 { ac_try
='test -s conftest.$ac_objext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_header_compiler
=yes
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.
$ac_ext >&5
14452 ac_header_compiler
=no
14454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14456 echo "${ECHO_T}$ac_header_compiler" >&6
14458 # Is the header present?
14459 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14461 cat >conftest.
$ac_ext <<_ACEOF
14464 cat confdefs.h
>>conftest.
$ac_ext
14465 cat >>conftest.
$ac_ext <<_ACEOF
14466 /* end confdefs.h. */
14467 #include <$ac_header>
14469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14470 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14472 grep -v '^ *+' conftest.er1
>conftest.err
14474 cat conftest.err
>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } >/dev
/null
; then
14477 if test -s conftest.err
; then
14478 ac_cpp_err
=$ac_c_preproc_warn_flag
14479 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14486 if test -z "$ac_cpp_err"; then
14487 ac_header_preproc
=yes
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.
$ac_ext >&5
14492 ac_header_preproc
=no
14494 rm -f conftest.err conftest.
$ac_ext
14495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14496 echo "${ECHO_T}$ac_header_preproc" >&6
14498 # So? What about this header?
14499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14501 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14502 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14504 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14505 ac_header_preproc
=yes
14508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14512 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14513 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14514 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14515 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14517 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14518 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14519 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14522 ## ----------------------------------------- ##
14523 ## Report this to wx-dev@lists.wxwidgets.org ##
14524 ## ----------------------------------------- ##
14527 sed "s/^/$as_me: WARNING: /" >&2
14530 echo "$as_me:$LINENO: checking for $ac_header" >&5
14531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14533 echo $ECHO_N "(cached) $ECHO_C" >&6
14535 eval "$as_ac_Header=\$ac_header_preproc"
14537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14542 cat >>confdefs.h
<<_ACEOF
14543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14551 if test "$ac_cv_header_wchar_h" != "yes"; then
14553 for ac_header
in wcstr.h
14555 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14557 echo "$as_me:$LINENO: checking for $ac_header" >&5
14558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14565 # Is the header compilable?
14566 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14567 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14568 cat >conftest.
$ac_ext <<_ACEOF
14571 cat confdefs.h
>>conftest.
$ac_ext
14572 cat >>conftest.
$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574 $ac_includes_default
14575 #include <$ac_header>
14577 rm -f conftest.
$ac_objext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>conftest.er1
14581 grep -v '^ *+' conftest.er1
>conftest.err
14583 cat conftest.err
>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try
='test -z "$ac_c_werror_flag"
14587 || test ! -s conftest.err'
14588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14589 (eval $ac_try) 2>&5
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); }; } &&
14593 { ac_try
='test -s conftest.$ac_objext'
14594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14595 (eval $ac_try) 2>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); }; }; then
14599 ac_header_compiler
=yes
14601 echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.
$ac_ext >&5
14604 ac_header_compiler
=no
14606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14608 echo "${ECHO_T}$ac_header_compiler" >&6
14610 # Is the header present?
14611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14613 cat >conftest.
$ac_ext <<_ACEOF
14616 cat confdefs.h
>>conftest.
$ac_ext
14617 cat >>conftest.
$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14619 #include <$ac_header>
14621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14622 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14624 grep -v '^ *+' conftest.er1
>conftest.err
14626 cat conftest.err
>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); } >/dev
/null
; then
14629 if test -s conftest.err
; then
14630 ac_cpp_err
=$ac_c_preproc_warn_flag
14631 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14638 if test -z "$ac_cpp_err"; then
14639 ac_header_preproc
=yes
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.
$ac_ext >&5
14644 ac_header_preproc
=no
14646 rm -f conftest.err conftest.
$ac_ext
14647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14648 echo "${ECHO_T}$ac_header_preproc" >&6
14650 # So? What about this header?
14651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14657 ac_header_preproc
=yes
14660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14674 ## ----------------------------------------- ##
14675 ## Report this to wx-dev@lists.wxwidgets.org ##
14676 ## ----------------------------------------- ##
14679 sed "s/^/$as_me: WARNING: /" >&2
14682 echo "$as_me:$LINENO: checking for $ac_header" >&5
14683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14685 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 eval "$as_ac_Header=\$ac_header_preproc"
14689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14694 cat >>confdefs.h
<<_ACEOF
14695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14705 for ac_header
in fnmatch.h
14707 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14709 echo "$as_me:$LINENO: checking for $ac_header" >&5
14710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14717 # Is the header compilable?
14718 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14720 cat >conftest.
$ac_ext <<_ACEOF
14723 cat confdefs.h
>>conftest.
$ac_ext
14724 cat >>conftest.
$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 $ac_includes_default
14727 #include <$ac_header>
14729 rm -f conftest.
$ac_objext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>conftest.er1
14733 grep -v '^ *+' conftest.er1
>conftest.err
14735 cat conftest.err
>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try
='test -z "$ac_c_werror_flag"
14739 || test ! -s conftest.err'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; } &&
14745 { ac_try
='test -s conftest.$ac_objext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 ac_header_compiler
=yes
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.
$ac_ext >&5
14756 ac_header_compiler
=no
14758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14760 echo "${ECHO_T}$ac_header_compiler" >&6
14762 # Is the header present?
14763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14765 cat >conftest.
$ac_ext <<_ACEOF
14768 cat confdefs.h
>>conftest.
$ac_ext
14769 cat >>conftest.
$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14771 #include <$ac_header>
14773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14774 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14776 grep -v '^ *+' conftest.er1
>conftest.err
14778 cat conftest.err
>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } >/dev
/null
; then
14781 if test -s conftest.err
; then
14782 ac_cpp_err
=$ac_c_preproc_warn_flag
14783 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14790 if test -z "$ac_cpp_err"; then
14791 ac_header_preproc
=yes
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.
$ac_ext >&5
14796 ac_header_preproc
=no
14798 rm -f conftest.err conftest.
$ac_ext
14799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14800 echo "${ECHO_T}$ac_header_preproc" >&6
14802 # So? What about this header?
14803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14809 ac_header_preproc
=yes
14812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14826 ## ----------------------------------------- ##
14827 ## Report this to wx-dev@lists.wxwidgets.org ##
14828 ## ----------------------------------------- ##
14831 sed "s/^/$as_me: WARNING: /" >&2
14834 echo "$as_me:$LINENO: checking for $ac_header" >&5
14835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 eval "$as_ac_Header=\$ac_header_preproc"
14841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14846 cat >>confdefs.h
<<_ACEOF
14847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14855 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14857 for ac_func
in fnmatch
14859 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14860 echo "$as_me:$LINENO: checking for $ac_func" >&5
14861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14862 if eval "test \"\${$as_ac_var+set}\" = set"; then
14863 echo $ECHO_N "(cached) $ECHO_C" >&6
14865 cat >conftest.
$ac_ext <<_ACEOF
14868 cat confdefs.h
>>conftest.
$ac_ext
14869 cat >>conftest.
$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14873 #define $ac_func innocuous_$ac_func
14875 /* System header to define __stub macros and hopefully few prototypes,
14876 which can conflict with char $ac_func (); below.
14877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14878 <limits.h> exists even on freestanding compilers. */
14881 # include <limits.h>
14883 # include <assert.h>
14888 /* Override any gcc2 internal prototype to avoid an error. */
14893 /* We use char because int might match the return type of a gcc2
14894 builtin and then its argument prototype would still apply. */
14896 /* The GNU C library defines this for functions which it implements
14897 to always fail with ENOSYS. Some functions are actually named
14898 something starting with __ and the normal name is an alias. */
14899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14902 char (*f) () = $ac_func;
14911 return f != $ac_func;
14916 rm -f conftest.
$ac_objext conftest
$ac_exeext
14917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14918 (eval $ac_link) 2>conftest.er1
14920 grep -v '^ *+' conftest.er1
>conftest.err
14922 cat conftest.err
>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); } &&
14925 { ac_try
='test -z "$ac_c_werror_flag"
14926 || test ! -s conftest.err'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; } &&
14932 { ac_try
='test -s conftest$ac_exeext'
14933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14934 (eval $ac_try) 2>&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); }; }; then
14938 eval "$as_ac_var=yes"
14940 echo "$as_me: failed program was:" >&5
14941 sed 's/^/| /' conftest.
$ac_ext >&5
14943 eval "$as_ac_var=no"
14945 rm -f conftest.err conftest.
$ac_objext \
14946 conftest
$ac_exeext conftest.
$ac_ext
14948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14950 if test `eval echo '${'$as_ac_var'}'` = yes; then
14951 cat >>confdefs.h
<<_ACEOF
14952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14961 for ac_header
in langinfo.h
14963 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14965 echo "$as_me:$LINENO: checking for $ac_header" >&5
14966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14968 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14973 # Is the header compilable?
14974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14976 cat >conftest.
$ac_ext <<_ACEOF
14979 cat confdefs.h
>>conftest.
$ac_ext
14980 cat >>conftest.
$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14982 $ac_includes_default
14983 #include <$ac_header>
14985 rm -f conftest.
$ac_objext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>conftest.er1
14989 grep -v '^ *+' conftest.er1
>conftest.err
14991 cat conftest.err
>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } &&
14994 { ac_try
='test -z "$ac_c_werror_flag"
14995 || test ! -s conftest.err'
14996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14997 (eval $ac_try) 2>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); }; } &&
15001 { ac_try
='test -s conftest.$ac_objext'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; }; then
15007 ac_header_compiler
=yes
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.
$ac_ext >&5
15012 ac_header_compiler
=no
15014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15016 echo "${ECHO_T}$ac_header_compiler" >&6
15018 # Is the header present?
15019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15021 cat >conftest.
$ac_ext <<_ACEOF
15024 cat confdefs.h
>>conftest.
$ac_ext
15025 cat >>conftest.
$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15027 #include <$ac_header>
15029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15032 grep -v '^ *+' conftest.er1
>conftest.err
15034 cat conftest.err
>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } >/dev
/null
; then
15037 if test -s conftest.err
; then
15038 ac_cpp_err
=$ac_c_preproc_warn_flag
15039 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15046 if test -z "$ac_cpp_err"; then
15047 ac_header_preproc
=yes
15049 echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.
$ac_ext >&5
15052 ac_header_preproc
=no
15054 rm -f conftest.err conftest.
$ac_ext
15055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15056 echo "${ECHO_T}$ac_header_preproc" >&6
15058 # So? What about this header?
15059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15065 ac_header_preproc
=yes
15068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15082 ## ----------------------------------------- ##
15083 ## Report this to wx-dev@lists.wxwidgets.org ##
15084 ## ----------------------------------------- ##
15087 sed "s/^/$as_me: WARNING: /" >&2
15090 echo "$as_me:$LINENO: checking for $ac_header" >&5
15091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15093 echo $ECHO_N "(cached) $ECHO_C" >&6
15095 eval "$as_ac_Header=\$ac_header_preproc"
15097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15102 cat >>confdefs.h
<<_ACEOF
15103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15112 *-pc-os2_emx | *-pc-os2-emx )
15113 if test $ac_cv_header_langinfo_h = "yes" \
15114 -a \
( "$wx_cv_gccversion" = "EMX2" \
15115 -o "$wx_cv_gccversion" = "EMX3" \
15116 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15117 LIBS
="$LIBS -lintl"
15122 if test "$wxUSE_GUI" = "yes"; then
15123 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15125 for ac_header
in X
11/Xlib.h
15127 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15129 echo "$as_me:$LINENO: checking for $ac_header" >&5
15130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15132 echo $ECHO_N "(cached) $ECHO_C" >&6
15134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15137 # Is the header compilable?
15138 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15140 cat >conftest.
$ac_ext <<_ACEOF
15143 cat confdefs.h
>>conftest.
$ac_ext
15144 cat >>conftest.
$ac_ext <<_ACEOF
15145 /* end confdefs.h. */
15146 $ac_includes_default
15147 #include <$ac_header>
15149 rm -f conftest.
$ac_objext
15150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15151 (eval $ac_compile) 2>conftest.er1
15153 grep -v '^ *+' conftest.er1
>conftest.err
15155 cat conftest.err
>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } &&
15158 { ac_try
='test -z "$ac_c_werror_flag"
15159 || test ! -s conftest.err'
15160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161 (eval $ac_try) 2>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); }; } &&
15165 { ac_try
='test -s conftest.$ac_objext'
15166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15167 (eval $ac_try) 2>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); }; }; then
15171 ac_header_compiler
=yes
15173 echo "$as_me: failed program was:" >&5
15174 sed 's/^/| /' conftest.
$ac_ext >&5
15176 ac_header_compiler
=no
15178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15180 echo "${ECHO_T}$ac_header_compiler" >&6
15182 # Is the header present?
15183 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15185 cat >conftest.
$ac_ext <<_ACEOF
15188 cat confdefs.h
>>conftest.
$ac_ext
15189 cat >>conftest.
$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191 #include <$ac_header>
15193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15194 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15196 grep -v '^ *+' conftest.er1
>conftest.err
15198 cat conftest.err
>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); } >/dev
/null
; then
15201 if test -s conftest.err
; then
15202 ac_cpp_err
=$ac_c_preproc_warn_flag
15203 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15210 if test -z "$ac_cpp_err"; then
15211 ac_header_preproc
=yes
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.
$ac_ext >&5
15216 ac_header_preproc
=no
15218 rm -f conftest.err conftest.
$ac_ext
15219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15220 echo "${ECHO_T}$ac_header_preproc" >&6
15222 # So? What about this header?
15223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15229 ac_header_preproc
=yes
15232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15246 ## ----------------------------------------- ##
15247 ## Report this to wx-dev@lists.wxwidgets.org ##
15248 ## ----------------------------------------- ##
15251 sed "s/^/$as_me: WARNING: /" >&2
15254 echo "$as_me:$LINENO: checking for $ac_header" >&5
15255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 eval "$as_ac_Header=\$ac_header_preproc"
15261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15266 cat >>confdefs.h
<<_ACEOF
15267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15275 for ac_header
in X
11/XKBlib.h
15277 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15278 echo "$as_me:$LINENO: checking for $ac_header" >&5
15279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15281 echo $ECHO_N "(cached) $ECHO_C" >&6
15283 cat >conftest.
$ac_ext <<_ACEOF
15286 cat confdefs.h
>>conftest.
$ac_ext
15287 cat >>conftest.
$ac_ext <<_ACEOF
15288 /* end confdefs.h. */
15290 #if HAVE_X11_XLIB_H
15291 #include <X11/Xlib.h>
15295 #include <$ac_header>
15297 rm -f conftest.
$ac_objext
15298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15299 (eval $ac_compile) 2>conftest.er1
15301 grep -v '^ *+' conftest.er1
>conftest.err
15303 cat conftest.err
>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); } &&
15306 { ac_try
='test -z "$ac_c_werror_flag"
15307 || test ! -s conftest.err'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; } &&
15313 { ac_try
='test -s conftest.$ac_objext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319 eval "$as_ac_Header=yes"
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.
$ac_ext >&5
15324 eval "$as_ac_Header=no"
15326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15331 cat >>confdefs.h
<<_ACEOF
15332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15343 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15344 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15345 if test "${ac_cv_c_const+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 cat >conftest.
$ac_ext <<_ACEOF
15351 cat confdefs.h
>>conftest.
$ac_ext
15352 cat >>conftest.
$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15358 /* FIXME: Include the comments suggested by Paul. */
15359 #ifndef __cplusplus
15360 /* Ultrix mips cc rejects this. */
15361 typedef int charset[2];
15363 /* SunOS 4.1.1 cc rejects this. */
15364 char const *const *ccp;
15366 /* NEC SVR4.0.2 mips cc rejects this. */
15367 struct point {int x, y;};
15368 static struct point const zero = {0,0};
15369 /* AIX XL C 1.02.0.0 rejects this.
15370 It does not let you subtract one const X* pointer from another in
15371 an arm of an if-expression whose if-part is not a constant
15373 const char *g = "string";
15374 ccp = &g + (g ? g-g : 0);
15375 /* HPUX 7.0 cc rejects these. */
15378 ccp = (char const *const *) p;
15379 { /* SCO 3.2v4 cc rejects this. */
15381 char const *s = 0 ? (char *) 0 : (char const *) 0;
15385 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15386 int x[] = {25, 17};
15387 const int *foo = &x[0];
15390 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15391 typedef const int *iptr;
15395 { /* AIX XL C 1.02.0.0 rejects this saying
15396 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15397 struct s { int j; const int *ap[3]; };
15398 struct s *b; b->j = 5;
15400 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15401 const int foo = 10;
15409 rm -f conftest.
$ac_objext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15411 (eval $ac_compile) 2>conftest.er1
15413 grep -v '^ *+' conftest.er1
>conftest.err
15415 cat conftest.err
>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try
='test -z "$ac_c_werror_flag"
15419 || test ! -s conftest.err'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; } &&
15425 { ac_try
='test -s conftest.$ac_objext'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; }; then
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.
$ac_ext >&5
15438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15440 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15441 echo "${ECHO_T}$ac_cv_c_const" >&6
15442 if test $ac_cv_c_const = no
; then
15444 cat >>confdefs.h
<<\_ACEOF
15450 echo "$as_me:$LINENO: checking for inline" >&5
15451 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15452 if test "${ac_cv_c_inline+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 for ac_kw
in inline __inline__ __inline
; do
15457 cat >conftest.
$ac_ext <<_ACEOF
15460 cat confdefs.h
>>conftest.
$ac_ext
15461 cat >>conftest.
$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15463 #ifndef __cplusplus
15465 static $ac_kw foo_t static_foo () {return 0; }
15466 $ac_kw foo_t foo () {return 0; }
15470 rm -f conftest.
$ac_objext
15471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15472 (eval $ac_compile) 2>conftest.er1
15474 grep -v '^ *+' conftest.er1
>conftest.err
15476 cat conftest.err
>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } &&
15479 { ac_try
='test -z "$ac_c_werror_flag"
15480 || test ! -s conftest.err'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; } &&
15486 { ac_try
='test -s conftest.$ac_objext'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; }; then
15492 ac_cv_c_inline
=$ac_kw; break
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.
$ac_ext >&5
15498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15502 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15503 echo "${ECHO_T}$ac_cv_c_inline" >&6
15506 case $ac_cv_c_inline in
15509 case $ac_cv_c_inline in
15511 *) ac_val
=$ac_cv_c_inline;;
15513 cat >>confdefs.h
<<_ACEOF
15514 #ifndef __cplusplus
15515 #define inline $ac_val
15522 echo "$as_me:$LINENO: checking for char" >&5
15523 echo $ECHO_N "checking for char... $ECHO_C" >&6
15524 if test "${ac_cv_type_char+set}" = set; then
15525 echo $ECHO_N "(cached) $ECHO_C" >&6
15527 cat >conftest.
$ac_ext <<_ACEOF
15530 cat confdefs.h
>>conftest.
$ac_ext
15531 cat >>conftest.
$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 $ac_includes_default
15545 rm -f conftest.
$ac_objext
15546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15547 (eval $ac_compile) 2>conftest.er1
15549 grep -v '^ *+' conftest.er1
>conftest.err
15551 cat conftest.err
>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); } &&
15554 { ac_try
='test -z "$ac_c_werror_flag"
15555 || test ! -s conftest.err'
15556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15557 (eval $ac_try) 2>&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); }; } &&
15561 { ac_try
='test -s conftest.$ac_objext'
15562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; }; then
15567 ac_cv_type_char
=yes
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.
$ac_ext >&5
15574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15576 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15577 echo "${ECHO_T}$ac_cv_type_char" >&6
15579 echo "$as_me:$LINENO: checking size of char" >&5
15580 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15581 if test "${ac_cv_sizeof_char+set}" = set; then
15582 echo $ECHO_N "(cached) $ECHO_C" >&6
15584 if test "$ac_cv_type_char" = yes; then
15585 # The cast to unsigned long works around a bug in the HP C Compiler
15586 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15587 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15588 # This bug is HP SR number 8606223364.
15589 if test "$cross_compiling" = yes; then
15590 # Depending upon the size, compute the lo and hi bounds.
15591 cat >conftest.
$ac_ext <<_ACEOF
15594 cat confdefs.h
>>conftest.
$ac_ext
15595 cat >>conftest.
$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15597 $ac_includes_default
15601 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15608 rm -f conftest.
$ac_objext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15610 (eval $ac_compile) 2>conftest.er1
15612 grep -v '^ *+' conftest.er1
>conftest.err
15614 cat conftest.err
>&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } &&
15617 { ac_try
='test -z "$ac_c_werror_flag"
15618 || test ! -s conftest.err'
15619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15620 (eval $ac_try) 2>&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); }; } &&
15624 { ac_try
='test -s conftest.$ac_objext'
15625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15626 (eval $ac_try) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }; }; then
15632 cat >conftest.
$ac_ext <<_ACEOF
15635 cat confdefs.h
>>conftest.
$ac_ext
15636 cat >>conftest.
$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638 $ac_includes_default
15642 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15649 rm -f conftest.
$ac_objext
15650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15651 (eval $ac_compile) 2>conftest.er1
15653 grep -v '^ *+' conftest.er1
>conftest.err
15655 cat conftest.err
>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } &&
15658 { ac_try
='test -z "$ac_c_werror_flag"
15659 || test ! -s conftest.err'
15660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15661 (eval $ac_try) 2>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); }; } &&
15665 { ac_try
='test -s conftest.$ac_objext'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; }; then
15671 ac_hi
=$ac_mid; break
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.
$ac_ext >&5
15676 ac_lo
=`expr $ac_mid + 1`
15677 if test $ac_lo -le $ac_mid; then
15681 ac_mid
=`expr 2 '*' $ac_mid + 1`
15683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15686 echo "$as_me: failed program was:" >&5
15687 sed 's/^/| /' conftest.
$ac_ext >&5
15689 cat >conftest.
$ac_ext <<_ACEOF
15692 cat confdefs.h
>>conftest.
$ac_ext
15693 cat >>conftest.
$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695 $ac_includes_default
15699 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15706 rm -f conftest.
$ac_objext
15707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15708 (eval $ac_compile) 2>conftest.er1
15710 grep -v '^ *+' conftest.er1
>conftest.err
15712 cat conftest.err
>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); } &&
15715 { ac_try
='test -z "$ac_c_werror_flag"
15716 || test ! -s conftest.err'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; } &&
15722 { ac_try
='test -s conftest.$ac_objext'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; }; then
15730 cat >conftest.
$ac_ext <<_ACEOF
15733 cat confdefs.h
>>conftest.
$ac_ext
15734 cat >>conftest.
$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15736 $ac_includes_default
15740 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15747 rm -f conftest.
$ac_objext
15748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15749 (eval $ac_compile) 2>conftest.er1
15751 grep -v '^ *+' conftest.er1
>conftest.err
15753 cat conftest.err
>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); } &&
15756 { ac_try
='test -z "$ac_c_werror_flag"
15757 || test ! -s conftest.err'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; } &&
15763 { ac_try
='test -s conftest.$ac_objext'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; }; then
15769 ac_lo
=$ac_mid; break
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.
$ac_ext >&5
15774 ac_hi
=`expr '(' $ac_mid ')' - 1`
15775 if test $ac_mid -le $ac_hi; then
15779 ac_mid
=`expr 2 '*' $ac_mid`
15781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.
$ac_ext >&5
15789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15792 # Binary search between lo and hi bounds.
15793 while test "x$ac_lo" != "x$ac_hi"; do
15794 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15795 cat >conftest.
$ac_ext <<_ACEOF
15798 cat confdefs.h
>>conftest.
$ac_ext
15799 cat >>conftest.
$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801 $ac_includes_default
15805 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15812 rm -f conftest.
$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>conftest.er1
15816 grep -v '^ *+' conftest.er1
>conftest.err
15818 cat conftest.err
>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try
='test -z "$ac_c_werror_flag"
15822 || test ! -s conftest.err'
15823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15824 (eval $ac_try) 2>&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); }; } &&
15828 { ac_try
='test -s conftest.$ac_objext'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; }; then
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.
$ac_ext >&5
15839 ac_lo
=`expr '(' $ac_mid ')' + 1`
15841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15844 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15845 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15846 See \`config.log' for more details." >&5
15847 echo "$as_me: error: cannot compute sizeof (char), 77
15848 See \`config.log' for more details." >&2;}
15849 { (exit 1); exit 1; }; } ;;
15852 if test "$cross_compiling" = yes; then
15853 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15854 See \`config.log' for more details." >&5
15855 echo "$as_me: error: cannot run test program while cross compiling
15856 See \`config.log' for more details." >&2;}
15857 { (exit 1); exit 1; }; }
15859 cat >conftest.
$ac_ext <<_ACEOF
15862 cat confdefs.h
>>conftest.
$ac_ext
15863 cat >>conftest.
$ac_ext <<_ACEOF
15864 /* end confdefs.h. */
15865 $ac_includes_default
15866 long longval () { return (long) (sizeof (char)); }
15867 unsigned long ulongval () { return (long) (sizeof (char)); }
15869 #include <stdlib.h>
15874 FILE *f = fopen ("conftest.val", "w");
15877 if (((long) (sizeof (char))) < 0)
15879 long i = longval ();
15880 if (i != ((long) (sizeof (char))))
15882 fprintf (f, "%ld\n", i);
15886 unsigned long i = ulongval ();
15887 if (i != ((long) (sizeof (char))))
15889 fprintf (f, "%lu\n", i);
15891 exit (ferror (f) || fclose (f) != 0);
15897 rm -f conftest
$ac_exeext
15898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15899 (eval $ac_link) 2>&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; }; then
15908 ac_cv_sizeof_char
=`cat conftest.val`
15910 echo "$as_me: program exited with status $ac_status" >&5
15911 echo "$as_me: failed program was:" >&5
15912 sed 's/^/| /' conftest.
$ac_ext >&5
15914 ( exit $ac_status )
15915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15916 See \`config.log' for more details." >&5
15917 echo "$as_me: error: cannot compute sizeof (char), 77
15918 See \`config.log' for more details." >&2;}
15919 { (exit 1); exit 1; }; }
15921 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15926 ac_cv_sizeof_char
=0
15929 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15930 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15931 cat >>confdefs.h
<<_ACEOF
15932 #define SIZEOF_CHAR $ac_cv_sizeof_char
15936 echo "$as_me:$LINENO: checking for short" >&5
15937 echo $ECHO_N "checking for short... $ECHO_C" >&6
15938 if test "${ac_cv_type_short+set}" = set; then
15939 echo $ECHO_N "(cached) $ECHO_C" >&6
15941 cat >conftest.
$ac_ext <<_ACEOF
15944 cat confdefs.h
>>conftest.
$ac_ext
15945 cat >>conftest.
$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15947 $ac_includes_default
15953 if (sizeof (short))
15959 rm -f conftest.
$ac_objext
15960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15961 (eval $ac_compile) 2>conftest.er1
15963 grep -v '^ *+' conftest.er1
>conftest.err
15965 cat conftest.err
>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try
='test -z "$ac_c_werror_flag"
15969 || test ! -s conftest.err'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; } &&
15975 { ac_try
='test -s conftest.$ac_objext'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; }; then
15981 ac_cv_type_short
=yes
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.
$ac_ext >&5
15986 ac_cv_type_short
=no
15988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15990 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15991 echo "${ECHO_T}$ac_cv_type_short" >&6
15993 echo "$as_me:$LINENO: checking size of short" >&5
15994 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15995 if test "${ac_cv_sizeof_short+set}" = set; then
15996 echo $ECHO_N "(cached) $ECHO_C" >&6
15998 if test "$ac_cv_type_short" = yes; then
15999 # The cast to unsigned long works around a bug in the HP C Compiler
16000 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16001 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16002 # This bug is HP SR number 8606223364.
16003 if test "$cross_compiling" = yes; then
16004 # Depending upon the size, compute the lo and hi bounds.
16005 cat >conftest.
$ac_ext <<_ACEOF
16008 cat confdefs.h
>>conftest.
$ac_ext
16009 cat >>conftest.
$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16011 $ac_includes_default
16015 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16022 rm -f conftest.
$ac_objext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16024 (eval $ac_compile) 2>conftest.er1
16026 grep -v '^ *+' conftest.er1
>conftest.err
16028 cat conftest.err
>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } &&
16031 { ac_try
='test -z "$ac_c_werror_flag"
16032 || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try
='test -s conftest.$ac_objext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16046 cat >conftest.
$ac_ext <<_ACEOF
16049 cat confdefs.h
>>conftest.
$ac_ext
16050 cat >>conftest.
$ac_ext <<_ACEOF
16051 /* end confdefs.h. */
16052 $ac_includes_default
16056 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16063 rm -f conftest.
$ac_objext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16065 (eval $ac_compile) 2>conftest.er1
16067 grep -v '^ *+' conftest.er1
>conftest.err
16069 cat conftest.err
>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try
='test -z "$ac_c_werror_flag"
16073 || test ! -s conftest.err'
16074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16075 (eval $ac_try) 2>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }; } &&
16079 { ac_try
='test -s conftest.$ac_objext'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; }; then
16085 ac_hi
=$ac_mid; break
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.
$ac_ext >&5
16090 ac_lo
=`expr $ac_mid + 1`
16091 if test $ac_lo -le $ac_mid; then
16095 ac_mid
=`expr 2 '*' $ac_mid + 1`
16097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.
$ac_ext >&5
16103 cat >conftest.
$ac_ext <<_ACEOF
16106 cat confdefs.h
>>conftest.
$ac_ext
16107 cat >>conftest.
$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 $ac_includes_default
16113 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16120 rm -f conftest.
$ac_objext
16121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16122 (eval $ac_compile) 2>conftest.er1
16124 grep -v '^ *+' conftest.er1
>conftest.err
16126 cat conftest.err
>&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); } &&
16129 { ac_try
='test -z "$ac_c_werror_flag"
16130 || 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
16144 cat >conftest.
$ac_ext <<_ACEOF
16147 cat confdefs.h
>>conftest.
$ac_ext
16148 cat >>conftest.
$ac_ext <<_ACEOF
16149 /* end confdefs.h. */
16150 $ac_includes_default
16154 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16161 rm -f conftest.
$ac_objext
16162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16163 (eval $ac_compile) 2>conftest.er1
16165 grep -v '^ *+' conftest.er1
>conftest.err
16167 cat conftest.err
>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); } &&
16170 { ac_try
='test -z "$ac_c_werror_flag"
16171 || test ! -s conftest.err'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); }; } &&
16177 { ac_try
='test -s conftest.$ac_objext'
16178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179 (eval $ac_try) 2>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }; }; then
16183 ac_lo
=$ac_mid; break
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.
$ac_ext >&5
16188 ac_hi
=`expr '(' $ac_mid ')' - 1`
16189 if test $ac_mid -le $ac_hi; then
16193 ac_mid
=`expr 2 '*' $ac_mid`
16195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16198 echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.
$ac_ext >&5
16203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16206 # Binary search between lo and hi bounds.
16207 while test "x$ac_lo" != "x$ac_hi"; do
16208 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16209 cat >conftest.
$ac_ext <<_ACEOF
16212 cat confdefs.h
>>conftest.
$ac_ext
16213 cat >>conftest.
$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 $ac_includes_default
16219 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16226 rm -f conftest.
$ac_objext
16227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16228 (eval $ac_compile) 2>conftest.er1
16230 grep -v '^ *+' conftest.er1
>conftest.err
16232 cat conftest.err
>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } &&
16235 { ac_try
='test -z "$ac_c_werror_flag"
16236 || test ! -s conftest.err'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; } &&
16242 { ac_try
='test -s conftest.$ac_objext'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; }; then
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.
$ac_ext >&5
16253 ac_lo
=`expr '(' $ac_mid ')' + 1`
16255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16258 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16259 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16260 See \`config.log' for more details." >&5
16261 echo "$as_me: error: cannot compute sizeof (short), 77
16262 See \`config.log' for more details." >&2;}
16263 { (exit 1); exit 1; }; } ;;
16266 if test "$cross_compiling" = yes; then
16267 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16268 See \`config.log' for more details." >&5
16269 echo "$as_me: error: cannot run test program while cross compiling
16270 See \`config.log' for more details." >&2;}
16271 { (exit 1); exit 1; }; }
16273 cat >conftest.
$ac_ext <<_ACEOF
16276 cat confdefs.h
>>conftest.
$ac_ext
16277 cat >>conftest.
$ac_ext <<_ACEOF
16278 /* end confdefs.h. */
16279 $ac_includes_default
16280 long longval () { return (long) (sizeof (short)); }
16281 unsigned long ulongval () { return (long) (sizeof (short)); }
16283 #include <stdlib.h>
16288 FILE *f = fopen ("conftest.val", "w");
16291 if (((long) (sizeof (short))) < 0)
16293 long i = longval ();
16294 if (i != ((long) (sizeof (short))))
16296 fprintf (f, "%ld\n", i);
16300 unsigned long i = ulongval ();
16301 if (i != ((long) (sizeof (short))))
16303 fprintf (f, "%lu\n", i);
16305 exit (ferror (f) || fclose (f) != 0);
16311 rm -f conftest
$ac_exeext
16312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16313 (eval $ac_link) 2>&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; }; then
16322 ac_cv_sizeof_short
=`cat conftest.val`
16324 echo "$as_me: program exited with status $ac_status" >&5
16325 echo "$as_me: failed program was:" >&5
16326 sed 's/^/| /' conftest.
$ac_ext >&5
16328 ( exit $ac_status )
16329 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16330 See \`config.log' for more details." >&5
16331 echo "$as_me: error: cannot compute sizeof (short), 77
16332 See \`config.log' for more details." >&2;}
16333 { (exit 1); exit 1; }; }
16335 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16340 ac_cv_sizeof_short
=0
16343 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16344 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16345 cat >>confdefs.h
<<_ACEOF
16346 #define SIZEOF_SHORT $ac_cv_sizeof_short
16350 echo "$as_me:$LINENO: checking for void *" >&5
16351 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16352 if test "${ac_cv_type_void_p+set}" = set; then
16353 echo $ECHO_N "(cached) $ECHO_C" >&6
16355 cat >conftest.
$ac_ext <<_ACEOF
16358 cat confdefs.h
>>conftest.
$ac_ext
16359 cat >>conftest.
$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16361 $ac_includes_default
16367 if (sizeof (void *))
16373 rm -f conftest.
$ac_objext
16374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16375 (eval $ac_compile) 2>conftest.er1
16377 grep -v '^ *+' conftest.er1
>conftest.err
16379 cat conftest.err
>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } &&
16382 { ac_try
='test -z "$ac_c_werror_flag"
16383 || test ! -s conftest.err'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; } &&
16389 { ac_try
='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_cv_type_void_p
=yes
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.
$ac_ext >&5
16400 ac_cv_type_void_p
=no
16402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16404 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16405 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16407 echo "$as_me:$LINENO: checking size of void *" >&5
16408 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16409 if test "${ac_cv_sizeof_void_p+set}" = set; then
16410 echo $ECHO_N "(cached) $ECHO_C" >&6
16412 if test "$ac_cv_type_void_p" = yes; then
16413 # The cast to unsigned long works around a bug in the HP C Compiler
16414 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16415 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16416 # This bug is HP SR number 8606223364.
16417 if test "$cross_compiling" = yes; then
16418 # Depending upon the size, compute the lo and hi bounds.
16419 cat >conftest.
$ac_ext <<_ACEOF
16422 cat confdefs.h
>>conftest.
$ac_ext
16423 cat >>conftest.
$ac_ext <<_ACEOF
16424 /* end confdefs.h. */
16425 $ac_includes_default
16429 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16436 rm -f conftest.
$ac_objext
16437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16438 (eval $ac_compile) 2>conftest.er1
16440 grep -v '^ *+' conftest.er1
>conftest.err
16442 cat conftest.err
>&5
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try
='test -z "$ac_c_werror_flag"
16446 || test ! -s conftest.err'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; } &&
16452 { ac_try
='test -s conftest.$ac_objext'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; }; then
16460 cat >conftest.
$ac_ext <<_ACEOF
16463 cat confdefs.h
>>conftest.
$ac_ext
16464 cat >>conftest.
$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 $ac_includes_default
16470 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16477 rm -f conftest.
$ac_objext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16479 (eval $ac_compile) 2>conftest.er1
16481 grep -v '^ *+' conftest.er1
>conftest.err
16483 cat conftest.err
>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try
='test -z "$ac_c_werror_flag"
16487 || test ! -s conftest.err'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; } &&
16493 { ac_try
='test -s conftest.$ac_objext'
16494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495 (eval $ac_try) 2>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }; }; then
16499 ac_hi
=$ac_mid; break
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.
$ac_ext >&5
16504 ac_lo
=`expr $ac_mid + 1`
16505 if test $ac_lo -le $ac_mid; then
16509 ac_mid
=`expr 2 '*' $ac_mid + 1`
16511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16514 echo "$as_me: failed program was:" >&5
16515 sed 's/^/| /' conftest.
$ac_ext >&5
16517 cat >conftest.
$ac_ext <<_ACEOF
16520 cat confdefs.h
>>conftest.
$ac_ext
16521 cat >>conftest.
$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16523 $ac_includes_default
16527 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16534 rm -f conftest.
$ac_objext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16536 (eval $ac_compile) 2>conftest.er1
16538 grep -v '^ *+' conftest.er1
>conftest.err
16540 cat conftest.err
>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try
='test -z "$ac_c_werror_flag"
16544 || test ! -s conftest.err'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; } &&
16550 { ac_try
='test -s conftest.$ac_objext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16558 cat >conftest.
$ac_ext <<_ACEOF
16561 cat confdefs.h
>>conftest.
$ac_ext
16562 cat >>conftest.
$ac_ext <<_ACEOF
16563 /* end confdefs.h. */
16564 $ac_includes_default
16568 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16575 rm -f conftest.
$ac_objext
16576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16577 (eval $ac_compile) 2>conftest.er1
16579 grep -v '^ *+' conftest.er1
>conftest.err
16581 cat conftest.err
>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); } &&
16584 { ac_try
='test -z "$ac_c_werror_flag"
16585 || test ! -s conftest.err'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; } &&
16591 { ac_try
='test -s conftest.$ac_objext'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; }; then
16597 ac_lo
=$ac_mid; break
16599 echo "$as_me: failed program was:" >&5
16600 sed 's/^/| /' conftest.
$ac_ext >&5
16602 ac_hi
=`expr '(' $ac_mid ')' - 1`
16603 if test $ac_mid -le $ac_hi; then
16607 ac_mid
=`expr 2 '*' $ac_mid`
16609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16612 echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.
$ac_ext >&5
16617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16620 # Binary search between lo and hi bounds.
16621 while test "x$ac_lo" != "x$ac_hi"; do
16622 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16623 cat >conftest.
$ac_ext <<_ACEOF
16626 cat confdefs.h
>>conftest.
$ac_ext
16627 cat >>conftest.
$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 $ac_includes_default
16633 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16640 rm -f conftest.
$ac_objext
16641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16642 (eval $ac_compile) 2>conftest.er1
16644 grep -v '^ *+' conftest.er1
>conftest.err
16646 cat conftest.err
>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); } &&
16649 { ac_try
='test -z "$ac_c_werror_flag"
16650 || test ! -s conftest.err'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; } &&
16656 { ac_try
='test -s conftest.$ac_objext'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.
$ac_ext >&5
16667 ac_lo
=`expr '(' $ac_mid ')' + 1`
16669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16672 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16673 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16674 See \`config.log' for more details." >&5
16675 echo "$as_me: error: cannot compute sizeof (void *), 77
16676 See \`config.log' for more details." >&2;}
16677 { (exit 1); exit 1; }; } ;;
16680 if test "$cross_compiling" = yes; then
16681 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16682 See \`config.log' for more details." >&5
16683 echo "$as_me: error: cannot run test program while cross compiling
16684 See \`config.log' for more details." >&2;}
16685 { (exit 1); exit 1; }; }
16687 cat >conftest.
$ac_ext <<_ACEOF
16690 cat confdefs.h
>>conftest.
$ac_ext
16691 cat >>conftest.
$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16693 $ac_includes_default
16694 long longval () { return (long) (sizeof (void *)); }
16695 unsigned long ulongval () { return (long) (sizeof (void *)); }
16697 #include <stdlib.h>
16702 FILE *f = fopen ("conftest.val", "w");
16705 if (((long) (sizeof (void *))) < 0)
16707 long i = longval ();
16708 if (i != ((long) (sizeof (void *))))
16710 fprintf (f, "%ld\n", i);
16714 unsigned long i = ulongval ();
16715 if (i != ((long) (sizeof (void *))))
16717 fprintf (f, "%lu\n", i);
16719 exit (ferror (f) || fclose (f) != 0);
16725 rm -f conftest
$ac_exeext
16726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16727 (eval $ac_link) 2>&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; }; then
16736 ac_cv_sizeof_void_p
=`cat conftest.val`
16738 echo "$as_me: program exited with status $ac_status" >&5
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.
$ac_ext >&5
16742 ( exit $ac_status )
16743 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16744 See \`config.log' for more details." >&5
16745 echo "$as_me: error: cannot compute sizeof (void *), 77
16746 See \`config.log' for more details." >&2;}
16747 { (exit 1); exit 1; }; }
16749 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16754 ac_cv_sizeof_void_p
=0
16757 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16758 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16759 cat >>confdefs.h
<<_ACEOF
16760 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16764 echo "$as_me:$LINENO: checking for int" >&5
16765 echo $ECHO_N "checking for int... $ECHO_C" >&6
16766 if test "${ac_cv_type_int+set}" = set; then
16767 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 cat >conftest.
$ac_ext <<_ACEOF
16772 cat confdefs.h
>>conftest.
$ac_ext
16773 cat >>conftest.
$ac_ext <<_ACEOF
16774 /* end confdefs.h. */
16775 $ac_includes_default
16787 rm -f conftest.
$ac_objext
16788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16789 (eval $ac_compile) 2>conftest.er1
16791 grep -v '^ *+' conftest.er1
>conftest.err
16793 cat conftest.err
>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } &&
16796 { ac_try
='test -z "$ac_c_werror_flag"
16797 || test ! -s conftest.err'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; } &&
16803 { ac_try
='test -s conftest.$ac_objext'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; }; then
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.
$ac_ext >&5
16816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16818 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16819 echo "${ECHO_T}$ac_cv_type_int" >&6
16821 echo "$as_me:$LINENO: checking size of int" >&5
16822 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16823 if test "${ac_cv_sizeof_int+set}" = set; then
16824 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 if test "$ac_cv_type_int" = yes; then
16827 # The cast to unsigned long works around a bug in the HP C Compiler
16828 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16829 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16830 # This bug is HP SR number 8606223364.
16831 if test "$cross_compiling" = yes; then
16832 # Depending upon the size, compute the lo and hi bounds.
16833 cat >conftest.
$ac_ext <<_ACEOF
16836 cat confdefs.h
>>conftest.
$ac_ext
16837 cat >>conftest.
$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 $ac_includes_default
16843 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16850 rm -f conftest.
$ac_objext
16851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16852 (eval $ac_compile) 2>conftest.er1
16854 grep -v '^ *+' conftest.er1
>conftest.err
16856 cat conftest.err
>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } &&
16859 { ac_try
='test -z "$ac_c_werror_flag"
16860 || test ! -s conftest.err'
16861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16862 (eval $ac_try) 2>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; } &&
16866 { ac_try
='test -s conftest.$ac_objext'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; }; then
16874 cat >conftest.
$ac_ext <<_ACEOF
16877 cat confdefs.h
>>conftest.
$ac_ext
16878 cat >>conftest.
$ac_ext <<_ACEOF
16879 /* end confdefs.h. */
16880 $ac_includes_default
16884 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16891 rm -f conftest.
$ac_objext
16892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16893 (eval $ac_compile) 2>conftest.er1
16895 grep -v '^ *+' conftest.er1
>conftest.err
16897 cat conftest.err
>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } &&
16900 { ac_try
='test -z "$ac_c_werror_flag"
16901 || test ! -s conftest.err'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; } &&
16907 { ac_try
='test -s conftest.$ac_objext'
16908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16909 (eval $ac_try) 2>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); }; }; then
16913 ac_hi
=$ac_mid; break
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.
$ac_ext >&5
16918 ac_lo
=`expr $ac_mid + 1`
16919 if test $ac_lo -le $ac_mid; then
16923 ac_mid
=`expr 2 '*' $ac_mid + 1`
16925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.
$ac_ext >&5
16931 cat >conftest.
$ac_ext <<_ACEOF
16934 cat confdefs.h
>>conftest.
$ac_ext
16935 cat >>conftest.
$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 $ac_includes_default
16941 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16948 rm -f conftest.
$ac_objext
16949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16950 (eval $ac_compile) 2>conftest.er1
16952 grep -v '^ *+' conftest.er1
>conftest.err
16954 cat conftest.err
>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } &&
16957 { ac_try
='test -z "$ac_c_werror_flag"
16958 || test ! -s conftest.err'
16959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960 (eval $ac_try) 2>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); }; } &&
16964 { ac_try
='test -s conftest.$ac_objext'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16972 cat >conftest.
$ac_ext <<_ACEOF
16975 cat confdefs.h
>>conftest.
$ac_ext
16976 cat >>conftest.
$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 $ac_includes_default
16982 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16989 rm -f conftest.
$ac_objext
16990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16991 (eval $ac_compile) 2>conftest.er1
16993 grep -v '^ *+' conftest.er1
>conftest.err
16995 cat conftest.err
>&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } &&
16998 { ac_try
='test -z "$ac_c_werror_flag"
16999 || test ! -s conftest.err'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; } &&
17005 { ac_try
='test -s conftest.$ac_objext'
17006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17007 (eval $ac_try) 2>&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); }; }; then
17011 ac_lo
=$ac_mid; break
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.
$ac_ext >&5
17016 ac_hi
=`expr '(' $ac_mid ')' - 1`
17017 if test $ac_mid -le $ac_hi; then
17021 ac_mid
=`expr 2 '*' $ac_mid`
17023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.
$ac_ext >&5
17031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17034 # Binary search between lo and hi bounds.
17035 while test "x$ac_lo" != "x$ac_hi"; do
17036 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17037 cat >conftest.
$ac_ext <<_ACEOF
17040 cat confdefs.h
>>conftest.
$ac_ext
17041 cat >>conftest.
$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 $ac_includes_default
17047 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17054 rm -f conftest.
$ac_objext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17056 (eval $ac_compile) 2>conftest.er1
17058 grep -v '^ *+' conftest.er1
>conftest.err
17060 cat conftest.err
>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try
='test -z "$ac_c_werror_flag"
17064 || test ! -s conftest.err'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; } &&
17070 { ac_try
='test -s conftest.$ac_objext'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; }; then
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.
$ac_ext >&5
17081 ac_lo
=`expr '(' $ac_mid ')' + 1`
17083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17086 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17087 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17088 See \`config.log' for more details." >&5
17089 echo "$as_me: error: cannot compute sizeof (int), 77
17090 See \`config.log' for more details." >&2;}
17091 { (exit 1); exit 1; }; } ;;
17094 if test "$cross_compiling" = yes; then
17095 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17096 See \`config.log' for more details." >&5
17097 echo "$as_me: error: cannot run test program while cross compiling
17098 See \`config.log' for more details." >&2;}
17099 { (exit 1); exit 1; }; }
17101 cat >conftest.
$ac_ext <<_ACEOF
17104 cat confdefs.h
>>conftest.
$ac_ext
17105 cat >>conftest.
$ac_ext <<_ACEOF
17106 /* end confdefs.h. */
17107 $ac_includes_default
17108 long longval () { return (long) (sizeof (int)); }
17109 unsigned long ulongval () { return (long) (sizeof (int)); }
17111 #include <stdlib.h>
17116 FILE *f = fopen ("conftest.val", "w");
17119 if (((long) (sizeof (int))) < 0)
17121 long i = longval ();
17122 if (i != ((long) (sizeof (int))))
17124 fprintf (f, "%ld\n", i);
17128 unsigned long i = ulongval ();
17129 if (i != ((long) (sizeof (int))))
17131 fprintf (f, "%lu\n", i);
17133 exit (ferror (f) || fclose (f) != 0);
17139 rm -f conftest
$ac_exeext
17140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17141 (eval $ac_link) 2>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17146 (eval $ac_try) 2>&5
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); }; }; then
17150 ac_cv_sizeof_int
=`cat conftest.val`
17152 echo "$as_me: program exited with status $ac_status" >&5
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.
$ac_ext >&5
17156 ( exit $ac_status )
17157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17158 See \`config.log' for more details." >&5
17159 echo "$as_me: error: cannot compute sizeof (int), 77
17160 See \`config.log' for more details." >&2;}
17161 { (exit 1); exit 1; }; }
17163 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17171 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17172 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17173 cat >>confdefs.h
<<_ACEOF
17174 #define SIZEOF_INT $ac_cv_sizeof_int
17178 echo "$as_me:$LINENO: checking for long" >&5
17179 echo $ECHO_N "checking for long... $ECHO_C" >&6
17180 if test "${ac_cv_type_long+set}" = set; then
17181 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 cat >conftest.
$ac_ext <<_ACEOF
17186 cat confdefs.h
>>conftest.
$ac_ext
17187 cat >>conftest.
$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 $ac_includes_default
17201 rm -f conftest.
$ac_objext
17202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17203 (eval $ac_compile) 2>conftest.er1
17205 grep -v '^ *+' conftest.er1
>conftest.err
17207 cat conftest.err
>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } &&
17210 { ac_try
='test -z "$ac_c_werror_flag"
17211 || test ! -s conftest.err'
17212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17213 (eval $ac_try) 2>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); }; } &&
17217 { ac_try
='test -s conftest.$ac_objext'
17218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17219 (eval $ac_try) 2>&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); }; }; then
17223 ac_cv_type_long
=yes
17225 echo "$as_me: failed program was:" >&5
17226 sed 's/^/| /' conftest.
$ac_ext >&5
17230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17232 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17233 echo "${ECHO_T}$ac_cv_type_long" >&6
17235 echo "$as_me:$LINENO: checking size of long" >&5
17236 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17237 if test "${ac_cv_sizeof_long+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 if test "$ac_cv_type_long" = yes; then
17241 # The cast to unsigned long works around a bug in the HP C Compiler
17242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17244 # This bug is HP SR number 8606223364.
17245 if test "$cross_compiling" = yes; then
17246 # Depending upon the size, compute the lo and hi bounds.
17247 cat >conftest.
$ac_ext <<_ACEOF
17250 cat confdefs.h
>>conftest.
$ac_ext
17251 cat >>conftest.
$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253 $ac_includes_default
17257 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17264 rm -f conftest.
$ac_objext
17265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17266 (eval $ac_compile) 2>conftest.er1
17268 grep -v '^ *+' conftest.er1
>conftest.err
17270 cat conftest.err
>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); } &&
17273 { ac_try
='test -z "$ac_c_werror_flag"
17274 || test ! -s conftest.err'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; } &&
17280 { ac_try
='test -s conftest.$ac_objext'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; }; then
17288 cat >conftest.
$ac_ext <<_ACEOF
17291 cat confdefs.h
>>conftest.
$ac_ext
17292 cat >>conftest.
$ac_ext <<_ACEOF
17293 /* end confdefs.h. */
17294 $ac_includes_default
17298 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17305 rm -f conftest.
$ac_objext
17306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17307 (eval $ac_compile) 2>conftest.er1
17309 grep -v '^ *+' conftest.er1
>conftest.err
17311 cat conftest.err
>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } &&
17314 { ac_try
='test -z "$ac_c_werror_flag"
17315 || test ! -s conftest.err'
17316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17317 (eval $ac_try) 2>&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); }; } &&
17321 { ac_try
='test -s conftest.$ac_objext'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; }; then
17327 ac_hi
=$ac_mid; break
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.
$ac_ext >&5
17332 ac_lo
=`expr $ac_mid + 1`
17333 if test $ac_lo -le $ac_mid; then
17337 ac_mid
=`expr 2 '*' $ac_mid + 1`
17339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.
$ac_ext >&5
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17355 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17362 rm -f conftest.
$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>conftest.er1
17366 grep -v '^ *+' conftest.er1
>conftest.err
17368 cat conftest.err
>&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } &&
17371 { ac_try
='test -z "$ac_c_werror_flag"
17372 || test ! -s conftest.err'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; } &&
17378 { ac_try
='test -s conftest.$ac_objext'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; }; then
17386 cat >conftest.
$ac_ext <<_ACEOF
17389 cat confdefs.h
>>conftest.
$ac_ext
17390 cat >>conftest.
$ac_ext <<_ACEOF
17391 /* end confdefs.h. */
17392 $ac_includes_default
17396 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17403 rm -f conftest.
$ac_objext
17404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17405 (eval $ac_compile) 2>conftest.er1
17407 grep -v '^ *+' conftest.er1
>conftest.err
17409 cat conftest.err
>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } &&
17412 { ac_try
='test -z "$ac_c_werror_flag"
17413 || test ! -s conftest.err'
17414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415 (eval $ac_try) 2>&5
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }; } &&
17419 { ac_try
='test -s conftest.$ac_objext'
17420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17421 (eval $ac_try) 2>&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); }; }; then
17425 ac_lo
=$ac_mid; break
17427 echo "$as_me: failed program was:" >&5
17428 sed 's/^/| /' conftest.
$ac_ext >&5
17430 ac_hi
=`expr '(' $ac_mid ')' - 1`
17431 if test $ac_mid -le $ac_hi; then
17435 ac_mid
=`expr 2 '*' $ac_mid`
17437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17440 echo "$as_me: failed program was:" >&5
17441 sed 's/^/| /' conftest.
$ac_ext >&5
17445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17448 # Binary search between lo and hi bounds.
17449 while test "x$ac_lo" != "x$ac_hi"; do
17450 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17451 cat >conftest.
$ac_ext <<_ACEOF
17454 cat confdefs.h
>>conftest.
$ac_ext
17455 cat >>conftest.
$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17457 $ac_includes_default
17461 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17468 rm -f conftest.
$ac_objext
17469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17470 (eval $ac_compile) 2>conftest.er1
17472 grep -v '^ *+' conftest.er1
>conftest.err
17474 cat conftest.err
>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); } &&
17477 { ac_try
='test -z "$ac_c_werror_flag"
17478 || test ! -s conftest.err'
17479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17480 (eval $ac_try) 2>&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; } &&
17484 { ac_try
='test -s conftest.$ac_objext'
17485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17486 (eval $ac_try) 2>&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); }; }; then
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.
$ac_ext >&5
17495 ac_lo
=`expr '(' $ac_mid ')' + 1`
17497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17500 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17501 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17502 See \`config.log' for more details." >&5
17503 echo "$as_me: error: cannot compute sizeof (long), 77
17504 See \`config.log' for more details." >&2;}
17505 { (exit 1); exit 1; }; } ;;
17508 if test "$cross_compiling" = yes; then
17509 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17510 See \`config.log' for more details." >&5
17511 echo "$as_me: error: cannot run test program while cross compiling
17512 See \`config.log' for more details." >&2;}
17513 { (exit 1); exit 1; }; }
17515 cat >conftest.
$ac_ext <<_ACEOF
17518 cat confdefs.h
>>conftest.
$ac_ext
17519 cat >>conftest.
$ac_ext <<_ACEOF
17520 /* end confdefs.h. */
17521 $ac_includes_default
17522 long longval () { return (long) (sizeof (long)); }
17523 unsigned long ulongval () { return (long) (sizeof (long)); }
17525 #include <stdlib.h>
17530 FILE *f = fopen ("conftest.val", "w");
17533 if (((long) (sizeof (long))) < 0)
17535 long i = longval ();
17536 if (i != ((long) (sizeof (long))))
17538 fprintf (f, "%ld\n", i);
17542 unsigned long i = ulongval ();
17543 if (i != ((long) (sizeof (long))))
17545 fprintf (f, "%lu\n", i);
17547 exit (ferror (f) || fclose (f) != 0);
17553 rm -f conftest
$ac_exeext
17554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17555 (eval $ac_link) 2>&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17564 ac_cv_sizeof_long
=`cat conftest.val`
17566 echo "$as_me: program exited with status $ac_status" >&5
17567 echo "$as_me: failed program was:" >&5
17568 sed 's/^/| /' conftest.
$ac_ext >&5
17570 ( exit $ac_status )
17571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17572 See \`config.log' for more details." >&5
17573 echo "$as_me: error: cannot compute sizeof (long), 77
17574 See \`config.log' for more details." >&2;}
17575 { (exit 1); exit 1; }; }
17577 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17582 ac_cv_sizeof_long
=0
17585 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17586 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17587 cat >>confdefs.h
<<_ACEOF
17588 #define SIZEOF_LONG $ac_cv_sizeof_long
17592 echo "$as_me:$LINENO: checking for size_t" >&5
17593 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17594 if test "${ac_cv_type_size_t+set}" = set; then
17595 echo $ECHO_N "(cached) $ECHO_C" >&6
17597 cat >conftest.
$ac_ext <<_ACEOF
17600 cat confdefs.h
>>conftest.
$ac_ext
17601 cat >>conftest.
$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 $ac_includes_default
17609 if (sizeof (size_t))
17615 rm -f conftest.
$ac_objext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17617 (eval $ac_compile) 2>conftest.er1
17619 grep -v '^ *+' conftest.er1
>conftest.err
17621 cat conftest.err
>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try
='test -z "$ac_c_werror_flag"
17625 || test ! -s conftest.err'
17626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17627 (eval $ac_try) 2>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }; } &&
17631 { ac_try
='test -s conftest.$ac_objext'
17632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17633 (eval $ac_try) 2>&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); }; }; then
17637 ac_cv_type_size_t
=yes
17639 echo "$as_me: failed program was:" >&5
17640 sed 's/^/| /' conftest.
$ac_ext >&5
17642 ac_cv_type_size_t
=no
17644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17646 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17647 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17649 echo "$as_me:$LINENO: checking size of size_t" >&5
17650 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17651 if test "${ac_cv_sizeof_size_t+set}" = set; then
17652 echo $ECHO_N "(cached) $ECHO_C" >&6
17654 if test "$ac_cv_type_size_t" = yes; then
17655 # The cast to unsigned long works around a bug in the HP C Compiler
17656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17657 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17658 # This bug is HP SR number 8606223364.
17659 if test "$cross_compiling" = yes; then
17660 # Depending upon the size, compute the lo and hi bounds.
17661 cat >conftest.
$ac_ext <<_ACEOF
17664 cat confdefs.h
>>conftest.
$ac_ext
17665 cat >>conftest.
$ac_ext <<_ACEOF
17666 /* end confdefs.h. */
17667 $ac_includes_default
17671 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17678 rm -f conftest.
$ac_objext
17679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17680 (eval $ac_compile) 2>conftest.er1
17682 grep -v '^ *+' conftest.er1
>conftest.err
17684 cat conftest.err
>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } &&
17687 { ac_try
='test -z "$ac_c_werror_flag"
17688 || test ! -s conftest.err'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; } &&
17694 { ac_try
='test -s conftest.$ac_objext'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; }; then
17702 cat >conftest.
$ac_ext <<_ACEOF
17705 cat confdefs.h
>>conftest.
$ac_ext
17706 cat >>conftest.
$ac_ext <<_ACEOF
17707 /* end confdefs.h. */
17708 $ac_includes_default
17712 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17719 rm -f conftest.
$ac_objext
17720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17721 (eval $ac_compile) 2>conftest.er1
17723 grep -v '^ *+' conftest.er1
>conftest.err
17725 cat conftest.err
>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); } &&
17728 { ac_try
='test -z "$ac_c_werror_flag"
17729 || test ! -s conftest.err'
17730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17731 (eval $ac_try) 2>&5
17733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734 (exit $ac_status); }; } &&
17735 { ac_try
='test -s conftest.$ac_objext'
17736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17737 (eval $ac_try) 2>&5
17739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740 (exit $ac_status); }; }; then
17741 ac_hi
=$ac_mid; break
17743 echo "$as_me: failed program was:" >&5
17744 sed 's/^/| /' conftest.
$ac_ext >&5
17746 ac_lo
=`expr $ac_mid + 1`
17747 if test $ac_lo -le $ac_mid; then
17751 ac_mid
=`expr 2 '*' $ac_mid + 1`
17753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17756 echo "$as_me: failed program was:" >&5
17757 sed 's/^/| /' conftest.
$ac_ext >&5
17759 cat >conftest.
$ac_ext <<_ACEOF
17762 cat confdefs.h
>>conftest.
$ac_ext
17763 cat >>conftest.
$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 $ac_includes_default
17769 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17776 rm -f conftest.
$ac_objext
17777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17778 (eval $ac_compile) 2>conftest.er1
17780 grep -v '^ *+' conftest.er1
>conftest.err
17782 cat conftest.err
>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } &&
17785 { ac_try
='test -z "$ac_c_werror_flag"
17786 || test ! -s conftest.err'
17787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17788 (eval $ac_try) 2>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }; } &&
17792 { ac_try
='test -s conftest.$ac_objext'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; }; then
17800 cat >conftest.
$ac_ext <<_ACEOF
17803 cat confdefs.h
>>conftest.
$ac_ext
17804 cat >>conftest.
$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 $ac_includes_default
17810 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17817 rm -f conftest.
$ac_objext
17818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17819 (eval $ac_compile) 2>conftest.er1
17821 grep -v '^ *+' conftest.er1
>conftest.err
17823 cat conftest.err
>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } &&
17826 { ac_try
='test -z "$ac_c_werror_flag"
17827 || test ! -s conftest.err'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; } &&
17833 { ac_try
='test -s conftest.$ac_objext'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; }; then
17839 ac_lo
=$ac_mid; break
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.
$ac_ext >&5
17844 ac_hi
=`expr '(' $ac_mid ')' - 1`
17845 if test $ac_mid -le $ac_hi; then
17849 ac_mid
=`expr 2 '*' $ac_mid`
17851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.
$ac_ext >&5
17859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17862 # Binary search between lo and hi bounds.
17863 while test "x$ac_lo" != "x$ac_hi"; do
17864 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17865 cat >conftest.
$ac_ext <<_ACEOF
17868 cat confdefs.h
>>conftest.
$ac_ext
17869 cat >>conftest.
$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 $ac_includes_default
17875 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17882 rm -f conftest.
$ac_objext
17883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17884 (eval $ac_compile) 2>conftest.er1
17886 grep -v '^ *+' conftest.er1
>conftest.err
17888 cat conftest.err
>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); } &&
17891 { ac_try
='test -z "$ac_c_werror_flag"
17892 || test ! -s conftest.err'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; } &&
17898 { ac_try
='test -s conftest.$ac_objext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.
$ac_ext >&5
17909 ac_lo
=`expr '(' $ac_mid ')' + 1`
17911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17914 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17915 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17916 See \`config.log' for more details." >&5
17917 echo "$as_me: error: cannot compute sizeof (size_t), 77
17918 See \`config.log' for more details." >&2;}
17919 { (exit 1); exit 1; }; } ;;
17922 if test "$cross_compiling" = yes; then
17923 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17924 See \`config.log' for more details." >&5
17925 echo "$as_me: error: cannot run test program while cross compiling
17926 See \`config.log' for more details." >&2;}
17927 { (exit 1); exit 1; }; }
17929 cat >conftest.
$ac_ext <<_ACEOF
17932 cat confdefs.h
>>conftest.
$ac_ext
17933 cat >>conftest.
$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17935 $ac_includes_default
17936 long longval () { return (long) (sizeof (size_t)); }
17937 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17939 #include <stdlib.h>
17944 FILE *f = fopen ("conftest.val", "w");
17947 if (((long) (sizeof (size_t))) < 0)
17949 long i = longval ();
17950 if (i != ((long) (sizeof (size_t))))
17952 fprintf (f, "%ld\n", i);
17956 unsigned long i = ulongval ();
17957 if (i != ((long) (sizeof (size_t))))
17959 fprintf (f, "%lu\n", i);
17961 exit (ferror (f) || fclose (f) != 0);
17967 rm -f conftest
$ac_exeext
17968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17969 (eval $ac_link) 2>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; }; then
17978 ac_cv_sizeof_size_t
=`cat conftest.val`
17980 echo "$as_me: program exited with status $ac_status" >&5
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.
$ac_ext >&5
17984 ( exit $ac_status )
17985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17986 See \`config.log' for more details." >&5
17987 echo "$as_me: error: cannot compute sizeof (size_t), 77
17988 See \`config.log' for more details." >&2;}
17989 { (exit 1); exit 1; }; }
17991 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17996 ac_cv_sizeof_size_t
=0
17999 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18000 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18001 cat >>confdefs.h
<<_ACEOF
18002 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18009 echo "$as_me:$LINENO: checking for long long" >&5
18010 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18011 if test "${ac_cv_type_long_long+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 cat >conftest.
$ac_ext <<_ACEOF
18017 cat confdefs.h
>>conftest.
$ac_ext
18018 cat >>conftest.
$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18020 $ac_includes_default
18024 if ((long long *) 0)
18026 if (sizeof (long long))
18032 rm -f conftest.
$ac_objext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18034 (eval $ac_compile) 2>conftest.er1
18036 grep -v '^ *+' conftest.er1
>conftest.err
18038 cat conftest.err
>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } &&
18041 { ac_try
='test -z "$ac_c_werror_flag"
18042 || test ! -s conftest.err'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; } &&
18048 { ac_try
='test -s conftest.$ac_objext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18054 ac_cv_type_long_long
=yes
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.
$ac_ext >&5
18059 ac_cv_type_long_long
=no
18061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18063 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18064 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18066 echo "$as_me:$LINENO: checking size of long long" >&5
18067 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18068 if test "${ac_cv_sizeof_long_long+set}" = set; then
18069 echo $ECHO_N "(cached) $ECHO_C" >&6
18071 if test "$ac_cv_type_long_long" = yes; then
18072 # The cast to unsigned long works around a bug in the HP C Compiler
18073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18075 # This bug is HP SR number 8606223364.
18076 if test "$cross_compiling" = yes; then
18077 # Depending upon the size, compute the lo and hi bounds.
18078 cat >conftest.
$ac_ext <<_ACEOF
18081 cat confdefs.h
>>conftest.
$ac_ext
18082 cat >>conftest.
$ac_ext <<_ACEOF
18083 /* end confdefs.h. */
18084 $ac_includes_default
18088 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18095 rm -f conftest.
$ac_objext
18096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18097 (eval $ac_compile) 2>conftest.er1
18099 grep -v '^ *+' conftest.er1
>conftest.err
18101 cat conftest.err
>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); } &&
18104 { ac_try
='test -z "$ac_c_werror_flag"
18105 || test ! -s conftest.err'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; } &&
18111 { ac_try
='test -s conftest.$ac_objext'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18119 cat >conftest.
$ac_ext <<_ACEOF
18122 cat confdefs.h
>>conftest.
$ac_ext
18123 cat >>conftest.
$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 $ac_includes_default
18129 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18136 rm -f conftest.
$ac_objext
18137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18138 (eval $ac_compile) 2>conftest.er1
18140 grep -v '^ *+' conftest.er1
>conftest.err
18142 cat conftest.err
>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); } &&
18145 { ac_try
='test -z "$ac_c_werror_flag"
18146 || test ! -s conftest.err'
18147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148 (eval $ac_try) 2>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; } &&
18152 { ac_try
='test -s conftest.$ac_objext'
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154 (eval $ac_try) 2>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); }; }; then
18158 ac_hi
=$ac_mid; break
18160 echo "$as_me: failed program was:" >&5
18161 sed 's/^/| /' conftest.
$ac_ext >&5
18163 ac_lo
=`expr $ac_mid + 1`
18164 if test $ac_lo -le $ac_mid; then
18168 ac_mid
=`expr 2 '*' $ac_mid + 1`
18170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.
$ac_ext >&5
18176 cat >conftest.
$ac_ext <<_ACEOF
18179 cat confdefs.h
>>conftest.
$ac_ext
18180 cat >>conftest.
$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182 $ac_includes_default
18186 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18193 rm -f conftest.
$ac_objext
18194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18195 (eval $ac_compile) 2>conftest.er1
18197 grep -v '^ *+' conftest.er1
>conftest.err
18199 cat conftest.err
>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } &&
18202 { ac_try
='test -z "$ac_c_werror_flag"
18203 || test ! -s conftest.err'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; } &&
18209 { ac_try
='test -s conftest.$ac_objext'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18217 cat >conftest.
$ac_ext <<_ACEOF
18220 cat confdefs.h
>>conftest.
$ac_ext
18221 cat >>conftest.
$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223 $ac_includes_default
18227 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18234 rm -f conftest.
$ac_objext
18235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18236 (eval $ac_compile) 2>conftest.er1
18238 grep -v '^ *+' conftest.er1
>conftest.err
18240 cat conftest.err
>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } &&
18243 { ac_try
='test -z "$ac_c_werror_flag"
18244 || test ! -s conftest.err'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; } &&
18250 { ac_try
='test -s conftest.$ac_objext'
18251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; }; then
18256 ac_lo
=$ac_mid; break
18258 echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.
$ac_ext >&5
18261 ac_hi
=`expr '(' $ac_mid ')' - 1`
18262 if test $ac_mid -le $ac_hi; then
18266 ac_mid
=`expr 2 '*' $ac_mid`
18268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.
$ac_ext >&5
18276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18279 # Binary search between lo and hi bounds.
18280 while test "x$ac_lo" != "x$ac_hi"; do
18281 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18282 cat >conftest.
$ac_ext <<_ACEOF
18285 cat confdefs.h
>>conftest.
$ac_ext
18286 cat >>conftest.
$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 $ac_includes_default
18292 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18299 rm -f conftest.
$ac_objext
18300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18301 (eval $ac_compile) 2>conftest.er1
18303 grep -v '^ *+' conftest.er1
>conftest.err
18305 cat conftest.err
>&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } &&
18308 { ac_try
='test -z "$ac_c_werror_flag"
18309 || test ! -s conftest.err'
18310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18311 (eval $ac_try) 2>&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); }; } &&
18315 { ac_try
='test -s conftest.$ac_objext'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; }; then
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.
$ac_ext >&5
18326 ac_lo
=`expr '(' $ac_mid ')' + 1`
18328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18331 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18332 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18333 See \`config.log' for more details." >&5
18334 echo "$as_me: error: cannot compute sizeof (long long), 77
18335 See \`config.log' for more details." >&2;}
18336 { (exit 1); exit 1; }; } ;;
18339 if test "$cross_compiling" = yes; then
18340 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18341 See \`config.log' for more details." >&5
18342 echo "$as_me: error: cannot run test program while cross compiling
18343 See \`config.log' for more details." >&2;}
18344 { (exit 1); exit 1; }; }
18346 cat >conftest.
$ac_ext <<_ACEOF
18349 cat confdefs.h
>>conftest.
$ac_ext
18350 cat >>conftest.
$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18352 $ac_includes_default
18353 long longval () { return (long) (sizeof (long long)); }
18354 unsigned long ulongval () { return (long) (sizeof (long long)); }
18356 #include <stdlib.h>
18361 FILE *f = fopen ("conftest.val", "w");
18364 if (((long) (sizeof (long long))) < 0)
18366 long i = longval ();
18367 if (i != ((long) (sizeof (long long))))
18369 fprintf (f, "%ld\n", i);
18373 unsigned long i = ulongval ();
18374 if (i != ((long) (sizeof (long long))))
18376 fprintf (f, "%lu\n", i);
18378 exit (ferror (f) || fclose (f) != 0);
18384 rm -f conftest
$ac_exeext
18385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18386 (eval $ac_link) 2>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; }; then
18395 ac_cv_sizeof_long_long
=`cat conftest.val`
18397 echo "$as_me: program exited with status $ac_status" >&5
18398 echo "$as_me: failed program was:" >&5
18399 sed 's/^/| /' conftest.
$ac_ext >&5
18401 ( exit $ac_status )
18402 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18403 See \`config.log' for more details." >&5
18404 echo "$as_me: error: cannot compute sizeof (long long), 77
18405 See \`config.log' for more details." >&2;}
18406 { (exit 1); exit 1; }; }
18408 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18413 ac_cv_sizeof_long_long
=0
18416 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18417 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18418 cat >>confdefs.h
<<_ACEOF
18419 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18425 echo "$as_me:$LINENO: checking for long long" >&5
18426 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18427 if test "${ac_cv_type_long_long+set}" = set; then
18428 echo $ECHO_N "(cached) $ECHO_C" >&6
18430 cat >conftest.
$ac_ext <<_ACEOF
18433 cat confdefs.h
>>conftest.
$ac_ext
18434 cat >>conftest.
$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18436 $ac_includes_default
18440 if ((long long *) 0)
18442 if (sizeof (long long))
18448 rm -f conftest.
$ac_objext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18450 (eval $ac_compile) 2>conftest.er1
18452 grep -v '^ *+' conftest.er1
>conftest.err
18454 cat conftest.err
>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } &&
18457 { ac_try
='test -z "$ac_c_werror_flag"
18458 || test ! -s conftest.err'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; } &&
18464 { ac_try
='test -s conftest.$ac_objext'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; }; then
18470 ac_cv_type_long_long
=yes
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.
$ac_ext >&5
18475 ac_cv_type_long_long
=no
18477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18479 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18480 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18482 echo "$as_me:$LINENO: checking size of long long" >&5
18483 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18484 if test "${ac_cv_sizeof_long_long+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 if test "$ac_cv_type_long_long" = yes; then
18488 # The cast to unsigned long works around a bug in the HP C Compiler
18489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18491 # This bug is HP SR number 8606223364.
18492 if test "$cross_compiling" = yes; then
18493 # Depending upon the size, compute the lo and hi bounds.
18494 cat >conftest.
$ac_ext <<_ACEOF
18497 cat confdefs.h
>>conftest.
$ac_ext
18498 cat >>conftest.
$ac_ext <<_ACEOF
18499 /* end confdefs.h. */
18500 $ac_includes_default
18504 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18511 rm -f conftest.
$ac_objext
18512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18513 (eval $ac_compile) 2>conftest.er1
18515 grep -v '^ *+' conftest.er1
>conftest.err
18517 cat conftest.err
>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } &&
18520 { ac_try
='test -z "$ac_c_werror_flag"
18521 || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try
='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18535 cat >conftest.
$ac_ext <<_ACEOF
18538 cat confdefs.h
>>conftest.
$ac_ext
18539 cat >>conftest.
$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 $ac_includes_default
18545 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18552 rm -f conftest.
$ac_objext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>conftest.er1
18556 grep -v '^ *+' conftest.er1
>conftest.err
18558 cat conftest.err
>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try
='test -z "$ac_c_werror_flag"
18562 || test ! -s conftest.err'
18563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564 (eval $ac_try) 2>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); }; } &&
18568 { ac_try
='test -s conftest.$ac_objext'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; }; then
18574 ac_hi
=$ac_mid; break
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.
$ac_ext >&5
18579 ac_lo
=`expr $ac_mid + 1`
18580 if test $ac_lo -le $ac_mid; then
18584 ac_mid
=`expr 2 '*' $ac_mid + 1`
18586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.
$ac_ext >&5
18592 cat >conftest.
$ac_ext <<_ACEOF
18595 cat confdefs.h
>>conftest.
$ac_ext
18596 cat >>conftest.
$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18602 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18609 rm -f conftest.
$ac_objext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18611 (eval $ac_compile) 2>conftest.er1
18613 grep -v '^ *+' conftest.er1
>conftest.err
18615 cat conftest.err
>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } &&
18618 { ac_try
='test -z "$ac_c_werror_flag"
18619 || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try
='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18633 cat >conftest.
$ac_ext <<_ACEOF
18636 cat confdefs.h
>>conftest.
$ac_ext
18637 cat >>conftest.
$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18639 $ac_includes_default
18643 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18650 rm -f conftest.
$ac_objext
18651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18652 (eval $ac_compile) 2>conftest.er1
18654 grep -v '^ *+' conftest.er1
>conftest.err
18656 cat conftest.err
>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } &&
18659 { ac_try
='test -z "$ac_c_werror_flag"
18660 || test ! -s conftest.err'
18661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18662 (eval $ac_try) 2>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; } &&
18666 { ac_try
='test -s conftest.$ac_objext'
18667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18668 (eval $ac_try) 2>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; }; then
18672 ac_lo
=$ac_mid; break
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.
$ac_ext >&5
18677 ac_hi
=`expr '(' $ac_mid ')' - 1`
18678 if test $ac_mid -le $ac_hi; then
18682 ac_mid
=`expr 2 '*' $ac_mid`
18684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18687 echo "$as_me: failed program was:" >&5
18688 sed 's/^/| /' conftest.
$ac_ext >&5
18692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18695 # Binary search between lo and hi bounds.
18696 while test "x$ac_lo" != "x$ac_hi"; do
18697 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18698 cat >conftest.
$ac_ext <<_ACEOF
18701 cat confdefs.h
>>conftest.
$ac_ext
18702 cat >>conftest.
$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18708 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18715 rm -f conftest.
$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18719 grep -v '^ *+' conftest.er1
>conftest.err
18721 cat conftest.err
>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try
='test -z "$ac_c_werror_flag"
18725 || test ! -s conftest.err'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; } &&
18731 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.
$ac_ext >&5
18742 ac_lo
=`expr '(' $ac_mid ')' + 1`
18744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18747 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18748 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18749 See \`config.log' for more details." >&5
18750 echo "$as_me: error: cannot compute sizeof (long long), 77
18751 See \`config.log' for more details." >&2;}
18752 { (exit 1); exit 1; }; } ;;
18755 if test "$cross_compiling" = yes; then
18756 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18757 See \`config.log' for more details." >&5
18758 echo "$as_me: error: cannot run test program while cross compiling
18759 See \`config.log' for more details." >&2;}
18760 { (exit 1); exit 1; }; }
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 $ac_includes_default
18769 long longval () { return (long) (sizeof (long long)); }
18770 unsigned long ulongval () { return (long) (sizeof (long long)); }
18772 #include <stdlib.h>
18777 FILE *f = fopen ("conftest.val", "w");
18780 if (((long) (sizeof (long long))) < 0)
18782 long i = longval ();
18783 if (i != ((long) (sizeof (long long))))
18785 fprintf (f, "%ld\n", i);
18789 unsigned long i = ulongval ();
18790 if (i != ((long) (sizeof (long long))))
18792 fprintf (f, "%lu\n", i);
18794 exit (ferror (f) || fclose (f) != 0);
18800 rm -f conftest
$ac_exeext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18802 (eval $ac_link) 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; }; then
18811 ac_cv_sizeof_long_long
=`cat conftest.val`
18813 echo "$as_me: program exited with status $ac_status" >&5
18814 echo "$as_me: failed program was:" >&5
18815 sed 's/^/| /' conftest.
$ac_ext >&5
18817 ( exit $ac_status )
18818 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18819 See \`config.log' for more details." >&5
18820 echo "$as_me: error: cannot compute sizeof (long long), 77
18821 See \`config.log' for more details." >&2;}
18822 { (exit 1); exit 1; }; }
18824 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18829 ac_cv_sizeof_long_long
=0
18832 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18833 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18834 cat >>confdefs.h
<<_ACEOF
18835 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18839 if test "$ac_cv_sizeof_long_long" != "0"; then
18840 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18844 echo "$as_me:$LINENO: checking for long long" >&5
18845 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18846 if test "${ac_cv_type_long_long+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 cat >conftest.
$ac_ext <<_ACEOF
18852 cat confdefs.h
>>conftest.
$ac_ext
18853 cat >>conftest.
$ac_ext <<_ACEOF
18854 /* end confdefs.h. */
18855 $ac_includes_default
18859 if ((long long *) 0)
18861 if (sizeof (long long))
18867 rm -f conftest.
$ac_objext
18868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18869 (eval $ac_compile) 2>conftest.er1
18871 grep -v '^ *+' conftest.er1
>conftest.err
18873 cat conftest.err
>&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } &&
18876 { ac_try
='test -z "$ac_c_werror_flag"
18877 || test ! -s conftest.err'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; } &&
18883 { ac_try
='test -s conftest.$ac_objext'
18884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18885 (eval $ac_try) 2>&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); }; }; then
18889 ac_cv_type_long_long
=yes
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.
$ac_ext >&5
18894 ac_cv_type_long_long
=no
18896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18898 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18899 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18901 echo "$as_me:$LINENO: checking size of long long" >&5
18902 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18903 if test "${ac_cv_sizeof_long_long+set}" = set; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18906 if test "$ac_cv_type_long_long" = yes; then
18907 # The cast to unsigned long works around a bug in the HP C Compiler
18908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18910 # This bug is HP SR number 8606223364.
18911 if test "$cross_compiling" = yes; then
18912 # Depending upon the size, compute the lo and hi bounds.
18913 cat >conftest.
$ac_ext <<_ACEOF
18916 cat confdefs.h
>>conftest.
$ac_ext
18917 cat >>conftest.
$ac_ext <<_ACEOF
18918 /* end confdefs.h. */
18919 $ac_includes_default
18923 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18930 rm -f conftest.
$ac_objext
18931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18932 (eval $ac_compile) 2>conftest.er1
18934 grep -v '^ *+' conftest.er1
>conftest.err
18936 cat conftest.err
>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } &&
18939 { ac_try
='test -z "$ac_c_werror_flag"
18940 || test ! -s conftest.err'
18941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18942 (eval $ac_try) 2>&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); }; } &&
18946 { ac_try
='test -s conftest.$ac_objext'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; }; then
18954 cat >conftest.
$ac_ext <<_ACEOF
18957 cat confdefs.h
>>conftest.
$ac_ext
18958 cat >>conftest.
$ac_ext <<_ACEOF
18959 /* end confdefs.h. */
18960 $ac_includes_default
18964 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18971 rm -f conftest.
$ac_objext
18972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18973 (eval $ac_compile) 2>conftest.er1
18975 grep -v '^ *+' conftest.er1
>conftest.err
18977 cat conftest.err
>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); } &&
18980 { ac_try
='test -z "$ac_c_werror_flag"
18981 || test ! -s conftest.err'
18982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18983 (eval $ac_try) 2>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); }; } &&
18987 { ac_try
='test -s conftest.$ac_objext'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; }; then
18993 ac_hi
=$ac_mid; break
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.
$ac_ext >&5
18998 ac_lo
=`expr $ac_mid + 1`
18999 if test $ac_lo -le $ac_mid; then
19003 ac_mid
=`expr 2 '*' $ac_mid + 1`
19005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.
$ac_ext >&5
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19021 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19028 rm -f conftest.
$ac_objext
19029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19030 (eval $ac_compile) 2>conftest.er1
19032 grep -v '^ *+' conftest.er1
>conftest.err
19034 cat conftest.err
>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } &&
19037 { ac_try
='test -z "$ac_c_werror_flag"
19038 || 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"
19079 || test ! -s conftest.err'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; } &&
19085 { ac_try
='test -s conftest.$ac_objext'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; }; then
19091 ac_lo
=$ac_mid; break
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.
$ac_ext >&5
19096 ac_hi
=`expr '(' $ac_mid ')' - 1`
19097 if test $ac_mid -le $ac_hi; then
19101 ac_mid
=`expr 2 '*' $ac_mid`
19103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.
$ac_ext >&5
19111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19114 # Binary search between lo and hi bounds.
19115 while test "x$ac_lo" != "x$ac_hi"; do
19116 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19117 cat >conftest.
$ac_ext <<_ACEOF
19120 cat confdefs.h
>>conftest.
$ac_ext
19121 cat >>conftest.
$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19127 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19134 rm -f conftest.
$ac_objext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19136 (eval $ac_compile) 2>conftest.er1
19138 grep -v '^ *+' conftest.er1
>conftest.err
19140 cat conftest.err
>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try
='test -z "$ac_c_werror_flag"
19144 || test ! -s conftest.err'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; } &&
19150 { ac_try
='test -s conftest.$ac_objext'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; }; then
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.
$ac_ext >&5
19161 ac_lo
=`expr '(' $ac_mid ')' + 1`
19163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19166 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19167 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19168 See \`config.log' for more details." >&5
19169 echo "$as_me: error: cannot compute sizeof (long long), 77
19170 See \`config.log' for more details." >&2;}
19171 { (exit 1); exit 1; }; } ;;
19174 if test "$cross_compiling" = yes; then
19175 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19176 See \`config.log' for more details." >&5
19177 echo "$as_me: error: cannot run test program while cross compiling
19178 See \`config.log' for more details." >&2;}
19179 { (exit 1); exit 1; }; }
19181 cat >conftest.
$ac_ext <<_ACEOF
19184 cat confdefs.h
>>conftest.
$ac_ext
19185 cat >>conftest.
$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19188 long longval () { return (long) (sizeof (long long)); }
19189 unsigned long ulongval () { return (long) (sizeof (long long)); }
19191 #include <stdlib.h>
19196 FILE *f = fopen ("conftest.val", "w");
19199 if (((long) (sizeof (long long))) < 0)
19201 long i = longval ();
19202 if (i != ((long) (sizeof (long long))))
19204 fprintf (f, "%ld\n", i);
19208 unsigned long i = ulongval ();
19209 if (i != ((long) (sizeof (long long))))
19211 fprintf (f, "%lu\n", i);
19213 exit (ferror (f) || fclose (f) != 0);
19219 rm -f conftest
$ac_exeext
19220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19221 (eval $ac_link) 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 ac_cv_sizeof_long_long
=`cat conftest.val`
19232 echo "$as_me: program exited with status $ac_status" >&5
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.
$ac_ext >&5
19236 ( exit $ac_status )
19237 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19238 See \`config.log' for more details." >&5
19239 echo "$as_me: error: cannot compute sizeof (long long), 77
19240 See \`config.log' for more details." >&2;}
19241 { (exit 1); exit 1; }; }
19243 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19248 ac_cv_sizeof_long_long
=0
19251 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19252 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19253 cat >>confdefs.h
<<_ACEOF
19254 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19260 echo "$as_me:$LINENO: checking for wchar_t" >&5
19261 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19262 if test "${ac_cv_type_wchar_t+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 cat >conftest.
$ac_ext <<_ACEOF
19268 cat confdefs.h
>>conftest.
$ac_ext
19269 cat >>conftest.
$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19272 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19273 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19274 # error "fake wchar_t"
19276 #ifdef HAVE_WCHAR_H
19278 # include <stddef.h>
19280 # include <wchar.h>
19282 #ifdef HAVE_STDLIB_H
19283 # include <stdlib.h>
19294 if (sizeof (wchar_t))
19300 rm -f conftest.
$ac_objext
19301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19302 (eval $ac_compile) 2>conftest.er1
19304 grep -v '^ *+' conftest.er1
>conftest.err
19306 cat conftest.err
>&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); } &&
19309 { ac_try
='test -z "$ac_c_werror_flag"
19310 || test ! -s conftest.err'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; } &&
19316 { ac_try
='test -s conftest.$ac_objext'
19317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 (eval $ac_try) 2>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; }; then
19322 ac_cv_type_wchar_t
=yes
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.
$ac_ext >&5
19327 ac_cv_type_wchar_t
=no
19329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19331 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19332 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19334 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19335 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19336 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19337 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 if test "$ac_cv_type_wchar_t" = yes; then
19340 # The cast to unsigned long works around a bug in the HP C Compiler
19341 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19342 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19343 # This bug is HP SR number 8606223364.
19344 if test "$cross_compiling" = yes; then
19345 # Depending upon the size, compute the lo and hi bounds.
19346 cat >conftest.
$ac_ext <<_ACEOF
19349 cat confdefs.h
>>conftest.
$ac_ext
19350 cat >>conftest.
$ac_ext <<_ACEOF
19351 /* end confdefs.h. */
19353 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19354 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19355 # error "fake wchar_t"
19357 #ifdef HAVE_WCHAR_H
19359 # include <stddef.h>
19361 # include <wchar.h>
19363 #ifdef HAVE_STDLIB_H
19364 # include <stdlib.h>
19373 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19380 rm -f conftest.
$ac_objext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19382 (eval $ac_compile) 2>conftest.er1
19384 grep -v '^ *+' conftest.er1
>conftest.err
19386 cat conftest.err
>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try
='test -z "$ac_c_werror_flag"
19390 || test ! -s conftest.err'
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); }; } &&
19396 { ac_try
='test -s conftest.$ac_objext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19404 cat >conftest.
$ac_ext <<_ACEOF
19407 cat confdefs.h
>>conftest.
$ac_ext
19408 cat >>conftest.
$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19411 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19412 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19413 # error "fake wchar_t"
19415 #ifdef HAVE_WCHAR_H
19417 # include <stddef.h>
19419 # include <wchar.h>
19421 #ifdef HAVE_STDLIB_H
19422 # include <stdlib.h>
19431 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19438 rm -f conftest.
$ac_objext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19440 (eval $ac_compile) 2>conftest.er1
19442 grep -v '^ *+' conftest.er1
>conftest.err
19444 cat conftest.err
>&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); } &&
19447 { ac_try
='test -z "$ac_c_werror_flag"
19448 || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try
='test -s conftest.$ac_objext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 ac_hi
=$ac_mid; break
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.
$ac_ext >&5
19465 ac_lo
=`expr $ac_mid + 1`
19466 if test $ac_lo -le $ac_mid; then
19470 ac_mid
=`expr 2 '*' $ac_mid + 1`
19472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.
$ac_ext >&5
19478 cat >conftest.
$ac_ext <<_ACEOF
19481 cat confdefs.h
>>conftest.
$ac_ext
19482 cat >>conftest.
$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19485 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19486 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19487 # error "fake wchar_t"
19489 #ifdef HAVE_WCHAR_H
19491 # include <stddef.h>
19493 # include <wchar.h>
19495 #ifdef HAVE_STDLIB_H
19496 # include <stdlib.h>
19505 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19512 rm -f conftest.
$ac_objext
19513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19514 (eval $ac_compile) 2>conftest.er1
19516 grep -v '^ *+' conftest.er1
>conftest.err
19518 cat conftest.err
>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } &&
19521 { ac_try
='test -z "$ac_c_werror_flag"
19522 || test ! -s conftest.err'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; } &&
19528 { ac_try
='test -s conftest.$ac_objext'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; }; then
19536 cat >conftest.
$ac_ext <<_ACEOF
19539 cat confdefs.h
>>conftest.
$ac_ext
19540 cat >>conftest.
$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19543 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19544 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19545 # error "fake wchar_t"
19547 #ifdef HAVE_WCHAR_H
19549 # include <stddef.h>
19551 # include <wchar.h>
19553 #ifdef HAVE_STDLIB_H
19554 # include <stdlib.h>
19563 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19570 rm -f conftest.
$ac_objext
19571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19572 (eval $ac_compile) 2>conftest.er1
19574 grep -v '^ *+' conftest.er1
>conftest.err
19576 cat conftest.err
>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try
='test -z "$ac_c_werror_flag"
19580 || test ! -s conftest.err'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try
='test -s conftest.$ac_objext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 ac_lo
=$ac_mid; break
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.
$ac_ext >&5
19597 ac_hi
=`expr '(' $ac_mid ')' - 1`
19598 if test $ac_mid -le $ac_hi; then
19602 ac_mid
=`expr 2 '*' $ac_mid`
19604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.
$ac_ext >&5
19612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19615 # Binary search between lo and hi bounds.
19616 while test "x$ac_lo" != "x$ac_hi"; do
19617 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19618 cat >conftest.
$ac_ext <<_ACEOF
19621 cat confdefs.h
>>conftest.
$ac_ext
19622 cat >>conftest.
$ac_ext <<_ACEOF
19623 /* end confdefs.h. */
19625 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19626 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19627 # error "fake wchar_t"
19629 #ifdef HAVE_WCHAR_H
19631 # include <stddef.h>
19633 # include <wchar.h>
19635 #ifdef HAVE_STDLIB_H
19636 # include <stdlib.h>
19645 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19652 rm -f conftest.
$ac_objext
19653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19654 (eval $ac_compile) 2>conftest.er1
19656 grep -v '^ *+' conftest.er1
>conftest.err
19658 cat conftest.err
>&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } &&
19661 { ac_try
='test -z "$ac_c_werror_flag"
19662 || test ! -s conftest.err'
19663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19664 (eval $ac_try) 2>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); }; } &&
19668 { ac_try
='test -s conftest.$ac_objext'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; }; then
19676 echo "$as_me: failed program was:" >&5
19677 sed 's/^/| /' conftest.
$ac_ext >&5
19679 ac_lo
=`expr '(' $ac_mid ')' + 1`
19681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19684 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19685 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19686 See \`config.log' for more details." >&5
19687 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19688 See \`config.log' for more details." >&2;}
19689 { (exit 1); exit 1; }; } ;;
19692 if test "$cross_compiling" = yes; then
19693 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19694 See \`config.log' for more details." >&5
19695 echo "$as_me: error: cannot run test program while cross compiling
19696 See \`config.log' for more details." >&2;}
19697 { (exit 1); exit 1; }; }
19699 cat >conftest.
$ac_ext <<_ACEOF
19702 cat confdefs.h
>>conftest.
$ac_ext
19703 cat >>conftest.
$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19706 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19707 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19708 # error "fake wchar_t"
19710 #ifdef HAVE_WCHAR_H
19712 # include <stddef.h>
19714 # include <wchar.h>
19716 #ifdef HAVE_STDLIB_H
19717 # include <stdlib.h>
19723 long longval () { return (long) (sizeof (wchar_t)); }
19724 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19726 #include <stdlib.h>
19731 FILE *f = fopen ("conftest.val", "w");
19734 if (((long) (sizeof (wchar_t))) < 0)
19736 long i = longval ();
19737 if (i != ((long) (sizeof (wchar_t))))
19739 fprintf (f, "%ld\n", i);
19743 unsigned long i = ulongval ();
19744 if (i != ((long) (sizeof (wchar_t))))
19746 fprintf (f, "%lu\n", i);
19748 exit (ferror (f) || fclose (f) != 0);
19754 rm -f conftest
$ac_exeext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19756 (eval $ac_link) 2>&5
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19761 (eval $ac_try) 2>&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); }; }; then
19765 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19767 echo "$as_me: program exited with status $ac_status" >&5
19768 echo "$as_me: failed program was:" >&5
19769 sed 's/^/| /' conftest.
$ac_ext >&5
19771 ( exit $ac_status )
19772 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19773 See \`config.log' for more details." >&5
19774 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19775 See \`config.log' for more details." >&2;}
19776 { (exit 1); exit 1; }; }
19778 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19783 ac_cv_sizeof_wchar_t
=0
19786 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19787 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19788 cat >>confdefs.h
<<_ACEOF
19789 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19793 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19799 echo "$as_me:$LINENO: checking for va_copy" >&5
19800 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19801 if test "${wx_cv_func_va_copy+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 cat >conftest.
$ac_ext <<_ACEOF
19807 #include <stdarg.h>
19808 void foo(char *f, ...)
19822 rm -f conftest.
$ac_objext conftest
$ac_exeext
19823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19824 (eval $ac_link) 2>conftest.er1
19826 grep -v '^ *+' conftest.er1
>conftest.err
19828 cat conftest.err
>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } &&
19831 { ac_try
='test -z "$ac_c_werror_flag"
19832 || test ! -s conftest.err'
19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; } &&
19838 { ac_try
='test -s conftest$ac_exeext'
19839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840 (eval $ac_try) 2>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); }; }; then
19844 wx_cv_func_va_copy
=yes
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.
$ac_ext >&5
19849 wx_cv_func_va_copy
=no
19852 rm -f conftest.err conftest.
$ac_objext \
19853 conftest
$ac_exeext conftest.
$ac_ext
19857 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19858 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19860 if test $wx_cv_func_va_copy = "yes"; then
19861 cat >>confdefs.h
<<\_ACEOF
19862 #define HAVE_VA_COPY 1
19866 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19867 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19868 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19869 echo $ECHO_N "(cached) $ECHO_C" >&6
19872 if test "$cross_compiling" = yes; then
19873 wx_cv_type_va_list_lvalue
=yes
19876 cat >conftest.
$ac_ext <<_ACEOF
19878 #include <stdarg.h>
19879 int foo(char *f, ...)
19884 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19892 return foo("hi", 17);
19895 rm -f conftest
$ac_exeext
19896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19897 (eval $ac_link) 2>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19902 (eval $ac_try) 2>&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; }; then
19906 wx_cv_type_va_list_lvalue
=yes
19908 echo "$as_me: program exited with status $ac_status" >&5
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.
$ac_ext >&5
19912 ( exit $ac_status )
19913 wx_cv_type_va_list_lvalue
=no
19915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19920 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19921 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19923 if test $wx_cv_type_va_list_lvalue != "yes"; then
19924 cat >>confdefs.h
<<\_ACEOF
19925 #define VA_LIST_IS_ARRAY 1
19931 # Check whether --enable-largefile or --disable-largefile was given.
19932 if test "${enable_largefile+set}" = set; then
19933 enableval
="$enable_largefile"
19936 if test "$enable_largefile" != no
; then
19939 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19940 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19941 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 cat >conftest.
$ac_ext <<_ACEOF
19948 cat confdefs.h
>>conftest.
$ac_ext
19949 cat >>conftest.
$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 #define _FILE_OFFSET_BITS 64
19952 #include <sys/types.h>
19957 unsigned int field: sizeof(off_t) == 8;
19964 rm -f conftest.
$ac_objext
19965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19966 (eval $ac_compile) 2>conftest.er1
19968 grep -v '^ *+' conftest.er1
>conftest.err
19970 cat conftest.err
>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } &&
19973 { ac_try
='test -z "$ac_c_werror_flag"
19974 || test ! -s conftest.err'
19975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976 (eval $ac_try) 2>&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); }; } &&
19980 { ac_try
='test -s conftest.$ac_objext'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; }; then
19986 ac_cv_sys_file_offset_bits
=64
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.
$ac_ext >&5
19991 ac_cv_sys_file_offset_bits
=no
19993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19997 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19998 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20000 if test "$ac_cv_sys_file_offset_bits" != no
; then
20002 cat >>confdefs.h
<<_ACEOF
20003 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20008 if test "x$wx_largefile" != "xyes"; then
20010 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20011 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20012 if test "${ac_cv_sys_large_files+set}" = set; then
20013 echo $ECHO_N "(cached) $ECHO_C" >&6
20016 cat >conftest.
$ac_ext <<_ACEOF
20019 cat confdefs.h
>>conftest.
$ac_ext
20020 cat >>conftest.
$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 #define _LARGE_FILES 1
20023 #include <sys/types.h>
20028 unsigned int field: sizeof(off_t) == 8;
20035 rm -f conftest.
$ac_objext
20036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20037 (eval $ac_compile) 2>conftest.er1
20039 grep -v '^ *+' conftest.er1
>conftest.err
20041 cat conftest.err
>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); } &&
20044 { ac_try
='test -z "$ac_c_werror_flag"
20045 || test ! -s conftest.err'
20046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20047 (eval $ac_try) 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); }; } &&
20051 { ac_try
='test -s conftest.$ac_objext'
20052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053 (eval $ac_try) 2>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; }; then
20057 ac_cv_sys_large_files
=1
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.
$ac_ext >&5
20062 ac_cv_sys_large_files
=no
20064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20068 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20069 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20071 if test "$ac_cv_sys_large_files" != no
; then
20073 cat >>confdefs.h
<<_ACEOF
20074 #define _LARGE_FILES $ac_cv_sys_large_files
20081 echo "$as_me:$LINENO: checking if large file support is available" >&5
20082 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20083 if test "x$wx_largefile" = "xyes"; then
20084 cat >>confdefs.h
<<\_ACEOF
20085 #define HAVE_LARGEFILE_SUPPORT 1
20089 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20090 echo "${ECHO_T}$wx_largefile" >&6
20094 if test "x$wx_largefile" = "xyes"; then
20095 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20096 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20098 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20100 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20101 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20102 if test "${ac_cv_sys_largefile_source+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 ac_cv_sys_largefile_source
=no
20107 cat >conftest.
$ac_ext <<_ACEOF
20110 cat confdefs.h
>>conftest.
$ac_ext
20111 cat >>conftest.
$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20122 rm -f conftest.
$ac_objext
20123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20124 (eval $ac_compile) 2>conftest.er1
20126 grep -v '^ *+' conftest.er1
>conftest.err
20128 cat conftest.err
>&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); } &&
20131 { ac_try
='test -z "$ac_c_werror_flag"
20132 || test ! -s conftest.err'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; } &&
20138 { ac_try
='test -s conftest.$ac_objext'
20139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20140 (eval $ac_try) 2>&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); }; }; then
20146 echo "$as_me: failed program was:" >&5
20147 sed 's/^/| /' conftest.
$ac_ext >&5
20150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20151 cat >conftest.
$ac_ext <<_ACEOF
20154 cat confdefs.h
>>conftest.
$ac_ext
20155 cat >>conftest.
$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 #define _LARGEFILE_SOURCE 1
20167 rm -f conftest.
$ac_objext
20168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20169 (eval $ac_compile) 2>conftest.er1
20171 grep -v '^ *+' conftest.er1
>conftest.err
20173 cat conftest.err
>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } &&
20176 { ac_try
='test -z "$ac_c_werror_flag"
20177 || test ! -s conftest.err'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; } &&
20183 { ac_try
='test -s conftest.$ac_objext'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; }; then
20189 ac_cv_sys_largefile_source
=1; break
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.
$ac_ext >&5
20195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20199 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20200 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20201 if test "$ac_cv_sys_largefile_source" != no
; then
20203 cat >>confdefs.h
<<_ACEOF
20204 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20210 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20211 # in glibc 2.1.3, but that breaks too many other things.
20212 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20213 echo "$as_me:$LINENO: checking for fseeko" >&5
20214 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20215 if test "${ac_cv_func_fseeko+set}" = set; then
20216 echo $ECHO_N "(cached) $ECHO_C" >&6
20218 cat >conftest.
$ac_ext <<_ACEOF
20221 cat confdefs.h
>>conftest.
$ac_ext
20222 cat >>conftest.
$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20228 return fseeko && fseeko (stdin, 0, 0);
20233 rm -f conftest.
$ac_objext conftest
$ac_exeext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20235 (eval $ac_link) 2>conftest.er1
20237 grep -v '^ *+' conftest.er1
>conftest.err
20239 cat conftest.err
>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try
='test -z "$ac_c_werror_flag"
20243 || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try
='test -s conftest$ac_exeext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_cv_func_fseeko
=yes
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.
$ac_ext >&5
20260 ac_cv_func_fseeko
=no
20262 rm -f conftest.err conftest.
$ac_objext \
20263 conftest
$ac_exeext conftest.
$ac_ext
20265 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20266 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20267 if test $ac_cv_func_fseeko = yes; then
20269 cat >>confdefs.h
<<\_ACEOF
20270 #define HAVE_FSEEKO 1
20275 if test "$ac_cv_sys_largefile_source" != no
; then
20276 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20278 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20281 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20282 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20283 if test "${ac_cv_c_bigendian+set}" = set; then
20284 echo $ECHO_N "(cached) $ECHO_C" >&6
20286 ac_cv_c_bigendian
=unknown
20287 # See if sys/param.h defines the BYTE_ORDER macro.
20288 cat >conftest.
$ac_ext <<_ACEOF
20291 cat confdefs.h
>>conftest.
$ac_ext
20292 cat >>conftest.
$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20294 #include <sys/types.h>
20295 #include <sys/param.h>
20300 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20301 bogus endian macros
20307 rm -f conftest.
$ac_objext
20308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20309 (eval $ac_compile) 2>conftest.er1
20311 grep -v '^ *+' conftest.er1
>conftest.err
20313 cat conftest.err
>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } &&
20316 { ac_try
='test -z "$ac_c_werror_flag"
20317 || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try
='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 # It does; now see whether it defined to BIG_ENDIAN or not.
20330 cat >conftest.
$ac_ext <<_ACEOF
20333 cat confdefs.h
>>conftest.
$ac_ext
20334 cat >>conftest.
$ac_ext <<_ACEOF
20335 /* end confdefs.h. */
20336 #include <sys/types.h>
20337 #include <sys/param.h>
20342 #if BYTE_ORDER != BIG_ENDIAN
20349 rm -f conftest.
$ac_objext
20350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20351 (eval $ac_compile) 2>conftest.er1
20353 grep -v '^ *+' conftest.er1
>conftest.err
20355 cat conftest.err
>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
20358 { ac_try
='test -z "$ac_c_werror_flag"
20359 || test ! -s conftest.err'
20360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20361 (eval $ac_try) 2>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; } &&
20365 { ac_try
='test -s conftest.$ac_objext'
20366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367 (eval $ac_try) 2>&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; }; then
20371 ac_cv_c_bigendian
=yes
20373 echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.
$ac_ext >&5
20376 ac_cv_c_bigendian
=no
20378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20380 echo "$as_me: failed program was:" >&5
20381 sed 's/^/| /' conftest.
$ac_ext >&5
20384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20385 if test $ac_cv_c_bigendian = unknown
; then
20386 if test "$cross_compiling" = yes; then
20387 ac_cv_c_bigendian
=unknown
20389 cat >conftest.
$ac_ext <<_ACEOF
20392 cat confdefs.h
>>conftest.
$ac_ext
20393 cat >>conftest.
$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20396 /* Are we little or big endian? From Harbison&Steele. */
20400 char c[sizeof (long)];
20403 exit (u.c[sizeof (long) - 1] == 1);
20406 rm -f conftest
$ac_exeext
20407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20408 (eval $ac_link) 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413 (eval $ac_try) 2>&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; }; then
20417 ac_cv_c_bigendian
=no
20419 echo "$as_me: program exited with status $ac_status" >&5
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.
$ac_ext >&5
20423 ( exit $ac_status )
20424 ac_cv_c_bigendian
=yes
20426 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20430 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20431 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20432 if test $ac_cv_c_bigendian = unknown
; then
20433 { 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
20434 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;}
20436 if test $ac_cv_c_bigendian = yes; then
20437 cat >>confdefs.h
<<\_ACEOF
20438 #define WORDS_BIGENDIAN 1
20445 ac_cpp
='$CXXCPP $CPPFLAGS'
20446 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20447 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20448 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20449 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20450 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20451 if test -z "$CXXCPP"; then
20452 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 # Double quotes because CXXCPP needs to be expanded
20456 for CXXCPP
in "$CXX -E" "/lib/cpp"
20458 ac_preproc_ok
=false
20459 for ac_cxx_preproc_warn_flag
in '' yes
20461 # Use a header file that comes with gcc, so configuring glibc
20462 # with a fresh cross-compiler works.
20463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20464 # <limits.h> exists even on freestanding compilers.
20465 # On the NeXT, cc -E runs the code through the compiler's parser,
20466 # not just through cpp. "Syntax error" is here to catch this case.
20467 cat >conftest.
$ac_ext <<_ACEOF
20470 cat confdefs.h
>>conftest.
$ac_ext
20471 cat >>conftest.
$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20474 # include <limits.h>
20476 # include <assert.h>
20480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20483 grep -v '^ *+' conftest.er1
>conftest.err
20485 cat conftest.err
>&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } >/dev
/null
; then
20488 if test -s conftest.err
; then
20489 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20490 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20497 if test -z "$ac_cpp_err"; then
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.
$ac_ext >&5
20503 # Broken: fails on valid input.
20506 rm -f conftest.err conftest.
$ac_ext
20508 # OK, works on sane cases. Now check whether non-existent headers
20509 # can be detected and how.
20510 cat >conftest.
$ac_ext <<_ACEOF
20513 cat confdefs.h
>>conftest.
$ac_ext
20514 cat >>conftest.
$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 #include <ac_nonexistent.h>
20518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20521 grep -v '^ *+' conftest.er1
>conftest.err
20523 cat conftest.err
>&5
20524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525 (exit $ac_status); } >/dev
/null
; then
20526 if test -s conftest.err
; then
20527 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20528 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20535 if test -z "$ac_cpp_err"; then
20536 # Broken: success on invalid input.
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.
$ac_ext >&5
20542 # Passes both tests.
20546 rm -f conftest.err conftest.
$ac_ext
20549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20550 rm -f conftest.err conftest.
$ac_ext
20551 if $ac_preproc_ok; then
20556 ac_cv_prog_CXXCPP
=$CXXCPP
20559 CXXCPP
=$ac_cv_prog_CXXCPP
20561 ac_cv_prog_CXXCPP
=$CXXCPP
20563 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20564 echo "${ECHO_T}$CXXCPP" >&6
20565 ac_preproc_ok
=false
20566 for ac_cxx_preproc_warn_flag
in '' yes
20568 # Use a header file that comes with gcc, so configuring glibc
20569 # with a fresh cross-compiler works.
20570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20571 # <limits.h> exists even on freestanding compilers.
20572 # On the NeXT, cc -E runs the code through the compiler's parser,
20573 # not just through cpp. "Syntax error" is here to catch this case.
20574 cat >conftest.
$ac_ext <<_ACEOF
20577 cat confdefs.h
>>conftest.
$ac_ext
20578 cat >>conftest.
$ac_ext <<_ACEOF
20579 /* end confdefs.h. */
20581 # include <limits.h>
20583 # include <assert.h>
20587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20590 grep -v '^ *+' conftest.er1
>conftest.err
20592 cat conftest.err
>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } >/dev
/null
; then
20595 if test -s conftest.err
; then
20596 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20597 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20604 if test -z "$ac_cpp_err"; then
20607 echo "$as_me: failed program was:" >&5
20608 sed 's/^/| /' conftest.
$ac_ext >&5
20610 # Broken: fails on valid input.
20613 rm -f conftest.err conftest.
$ac_ext
20615 # OK, works on sane cases. Now check whether non-existent headers
20616 # can be detected and how.
20617 cat >conftest.
$ac_ext <<_ACEOF
20620 cat confdefs.h
>>conftest.
$ac_ext
20621 cat >>conftest.
$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623 #include <ac_nonexistent.h>
20625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20628 grep -v '^ *+' conftest.er1
>conftest.err
20630 cat conftest.err
>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } >/dev
/null
; then
20633 if test -s conftest.err
; then
20634 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20635 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20642 if test -z "$ac_cpp_err"; then
20643 # Broken: success on invalid input.
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.
$ac_ext >&5
20649 # Passes both tests.
20653 rm -f conftest.err conftest.
$ac_ext
20656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20657 rm -f conftest.err conftest.
$ac_ext
20658 if $ac_preproc_ok; then
20661 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20662 See \`config.log' for more details." >&5
20663 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20664 See \`config.log' for more details." >&2;}
20665 { (exit 1); exit 1; }; }
20669 ac_cpp
='$CXXCPP $CPPFLAGS'
20670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20679 ac_cpp
='$CXXCPP $CPPFLAGS'
20680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20686 for ac_header
in iostream
20688 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20690 echo "$as_me:$LINENO: checking for $ac_header" >&5
20691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20698 # Is the header compilable?
20699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20701 cat >conftest.
$ac_ext <<_ACEOF
20704 cat confdefs.h
>>conftest.
$ac_ext
20705 cat >>conftest.
$ac_ext <<_ACEOF
20706 /* end confdefs.h. */
20707 $ac_includes_default
20708 #include <$ac_header>
20710 rm -f conftest.
$ac_objext
20711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20712 (eval $ac_compile) 2>conftest.er1
20714 grep -v '^ *+' conftest.er1
>conftest.err
20716 cat conftest.err
>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); } &&
20719 { ac_try
='test -z "$ac_cxx_werror_flag"
20720 || test ! -s conftest.err'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; } &&
20726 { ac_try
='test -s conftest.$ac_objext'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; }; then
20732 ac_header_compiler
=yes
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.
$ac_ext >&5
20737 ac_header_compiler
=no
20739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20741 echo "${ECHO_T}$ac_header_compiler" >&6
20743 # Is the header present?
20744 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20746 cat >conftest.
$ac_ext <<_ACEOF
20749 cat confdefs.h
>>conftest.
$ac_ext
20750 cat >>conftest.
$ac_ext <<_ACEOF
20751 /* end confdefs.h. */
20752 #include <$ac_header>
20754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20757 grep -v '^ *+' conftest.er1
>conftest.err
20759 cat conftest.err
>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); } >/dev
/null
; then
20762 if test -s conftest.err
; then
20763 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20764 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20771 if test -z "$ac_cpp_err"; then
20772 ac_header_preproc
=yes
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.
$ac_ext >&5
20777 ac_header_preproc
=no
20779 rm -f conftest.err conftest.
$ac_ext
20780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20781 echo "${ECHO_T}$ac_header_preproc" >&6
20783 # So? What about this header?
20784 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20786 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20789 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20790 ac_header_preproc
=yes
20793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20796 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20797 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20798 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20799 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20800 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20803 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20807 ## ----------------------------------------- ##
20808 ## Report this to wx-dev@lists.wxwidgets.org ##
20809 ## ----------------------------------------- ##
20812 sed "s/^/$as_me: WARNING: /" >&2
20815 echo "$as_me:$LINENO: checking for $ac_header" >&5
20816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 eval "$as_ac_Header=\$ac_header_preproc"
20822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20827 cat >>confdefs.h
<<_ACEOF
20828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20836 if test "$ac_cv_header_iostream" = "yes" ; then
20839 cat >>confdefs.h
<<\_ACEOF
20840 #define wxUSE_IOSTREAMH 1
20846 ac_cpp
='$CPP $CPPFLAGS'
20847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20854 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20855 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20856 if test "${wx_cv_cpp_bool+set}" = set; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20863 ac_cpp
='$CXXCPP $CPPFLAGS'
20864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20869 cat >conftest.
$ac_ext <<_ACEOF
20872 cat confdefs.h
>>conftest.
$ac_ext
20873 cat >>conftest.
$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20889 rm -f conftest.
$ac_objext
20890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20891 (eval $ac_compile) 2>conftest.er1
20893 grep -v '^ *+' conftest.er1
>conftest.err
20895 cat conftest.err
>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); } &&
20898 { ac_try
='test -z "$ac_cxx_werror_flag"
20899 || test ! -s conftest.err'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; } &&
20905 { ac_try
='test -s conftest.$ac_objext'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; }; then
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.
$ac_ext >&5
20923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20926 ac_cpp
='$CPP $CPPFLAGS'
20927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20933 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20934 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20936 if test "$wx_cv_cpp_bool" = "yes"; then
20937 cat >>confdefs.h
<<\_ACEOF
20938 #define HAVE_BOOL 1
20945 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20946 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20947 if test "${wx_cv_explicit+set}" = set; then
20948 echo $ECHO_N "(cached) $ECHO_C" >&6
20954 ac_cpp
='$CXXCPP $CPPFLAGS'
20955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20960 cat >conftest.
$ac_ext <<_ACEOF
20963 cat confdefs.h
>>conftest.
$ac_ext
20964 cat >>conftest.
$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20967 class Foo { public: explicit Foo(int) {} };
20979 rm -f conftest.
$ac_objext
20980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20981 (eval $ac_compile) 2>conftest.er1
20983 grep -v '^ *+' conftest.er1
>conftest.err
20985 cat conftest.err
>&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); } &&
20988 { ac_try
='test -z "$ac_cxx_werror_flag"
20989 || test ! -s conftest.err'
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991 (eval $ac_try) 2>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; } &&
20995 { ac_try
='test -s conftest.$ac_objext'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; }; then
21002 cat >conftest.
$ac_ext <<_ACEOF
21005 cat confdefs.h
>>conftest.
$ac_ext
21006 cat >>conftest.
$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21009 class Foo { public: explicit Foo(int) {} };
21010 static void TakeFoo(const Foo& foo) { }
21023 rm -f conftest.
$ac_objext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21025 (eval $ac_compile) 2>conftest.er1
21027 grep -v '^ *+' conftest.er1
>conftest.err
21029 cat conftest.err
>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try
='test -z "$ac_cxx_werror_flag"
21033 || test ! -s conftest.err'
21034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035 (eval $ac_try) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; } &&
21039 { ac_try
='test -s conftest.$ac_objext'
21040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041 (eval $ac_try) 2>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); }; }; then
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.
$ac_ext >&5
21053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.
$ac_ext >&5
21062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21065 ac_cpp
='$CPP $CPPFLAGS'
21066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21072 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21073 echo "${ECHO_T}$wx_cv_explicit" >&6
21075 if test "$wx_cv_explicit" = "yes"; then
21076 cat >>confdefs.h
<<\_ACEOF
21077 #define HAVE_EXPLICIT 1
21083 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21084 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21085 if test "${ac_cv_cxx_const_cast+set}" = set; then
21086 echo $ECHO_N "(cached) $ECHO_C" >&6
21091 ac_cpp
='$CXXCPP $CPPFLAGS'
21092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21096 cat >conftest.
$ac_ext <<_ACEOF
21099 cat confdefs.h
>>conftest.
$ac_ext
21100 cat >>conftest.
$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21106 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21111 rm -f conftest.
$ac_objext
21112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21113 (eval $ac_compile) 2>conftest.er1
21115 grep -v '^ *+' conftest.er1
>conftest.err
21117 cat conftest.err
>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try
='test -z "$ac_cxx_werror_flag"
21121 || test ! -s conftest.err'
21122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123 (eval $ac_try) 2>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); }; } &&
21127 { ac_try
='test -s conftest.$ac_objext'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; }; then
21133 ac_cv_cxx_const_cast
=yes
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.
$ac_ext >&5
21138 ac_cv_cxx_const_cast
=no
21140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21142 ac_cpp
='$CPP $CPPFLAGS'
21143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21149 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21150 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21151 if test "$ac_cv_cxx_const_cast" = yes; then
21153 cat >>confdefs.h
<<\_ACEOF
21154 #define HAVE_CONST_CAST
21159 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21160 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21161 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21162 echo $ECHO_N "(cached) $ECHO_C" >&6
21167 ac_cpp
='$CXXCPP $CPPFLAGS'
21168 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21169 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21170 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21172 cat >conftest.
$ac_ext <<_ACEOF
21175 cat confdefs.h
>>conftest.
$ac_ext
21176 cat >>conftest.
$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21178 #include <typeinfo>
21179 class Base { public : Base () {} virtual void f () = 0;};
21180 class Derived : public Base { public : Derived () {} virtual void f () {} };
21181 class Unrelated { public : Unrelated () {} };
21182 int g (Unrelated&) { return 0; }
21187 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21192 rm -f conftest.
$ac_objext
21193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21194 (eval $ac_compile) 2>conftest.er1
21196 grep -v '^ *+' conftest.er1
>conftest.err
21198 cat conftest.err
>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } &&
21201 { ac_try
='test -z "$ac_cxx_werror_flag"
21202 || test ! -s conftest.err'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; } &&
21208 { ac_try
='test -s conftest.$ac_objext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 ac_cv_cxx_reinterpret_cast
=yes
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.
$ac_ext >&5
21219 ac_cv_cxx_reinterpret_cast
=no
21221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21223 ac_cpp
='$CPP $CPPFLAGS'
21224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21230 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21231 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21232 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21234 cat >>confdefs.h
<<\_ACEOF
21235 #define HAVE_REINTERPRET_CAST
21240 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21241 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21242 if test "${ac_cv_cxx_static_cast+set}" = set; then
21243 echo $ECHO_N "(cached) $ECHO_C" >&6
21248 ac_cpp
='$CXXCPP $CPPFLAGS'
21249 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21253 cat >conftest.
$ac_ext <<_ACEOF
21256 cat confdefs.h
>>conftest.
$ac_ext
21257 cat >>conftest.
$ac_ext <<_ACEOF
21258 /* end confdefs.h. */
21259 #include <typeinfo>
21260 class Base { public : Base () {} virtual void f () = 0; };
21261 class Derived : public Base { public : Derived () {} virtual void f () {} };
21262 int g (Derived&) { return 0; }
21267 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21272 rm -f conftest.
$ac_objext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21274 (eval $ac_compile) 2>conftest.er1
21276 grep -v '^ *+' conftest.er1
>conftest.err
21278 cat conftest.err
>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } &&
21281 { ac_try
='test -z "$ac_cxx_werror_flag"
21282 || test ! -s conftest.err'
21283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284 (eval $ac_try) 2>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; } &&
21288 { ac_try
='test -s conftest.$ac_objext'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; }; then
21294 ac_cv_cxx_static_cast
=yes
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.
$ac_ext >&5
21299 ac_cv_cxx_static_cast
=no
21301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21303 ac_cpp
='$CPP $CPPFLAGS'
21304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21310 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21311 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21312 if test "$ac_cv_cxx_static_cast" = yes; then
21314 cat >>confdefs.h
<<\_ACEOF
21315 #define HAVE_STATIC_CAST
21321 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21323 ac_cpp
='$CXXCPP $CPPFLAGS'
21324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21329 if test "$wxUSE_UNICODE" = "yes"; then
21330 std_string
="std::wstring"
21331 char_type
="wchar_t"
21333 std_string
="std::string"
21337 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21338 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21339 cat >conftest.
$ac_ext <<_ACEOF
21342 cat confdefs.h
>>conftest.
$ac_ext
21343 cat >>conftest.
$ac_ext <<_ACEOF
21344 /* end confdefs.h. */
21354 rm -f conftest.
$ac_objext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21356 (eval $ac_compile) 2>conftest.er1
21358 grep -v '^ *+' conftest.er1
>conftest.err
21360 cat conftest.err
>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } &&
21363 { ac_try
='test -z "$ac_cxx_werror_flag"
21364 || test ! -s conftest.err'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; } &&
21370 { ac_try
='test -s conftest.$ac_objext'
21371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372 (eval $ac_try) 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; }; then
21376 echo "$as_me:$LINENO: result: yes" >&5
21377 echo "${ECHO_T}yes" >&6
21378 cat >>confdefs.h
<<\_ACEOF
21379 #define HAVE_STD_WSTRING 1
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.
$ac_ext >&5
21386 echo "$as_me:$LINENO: result: no" >&5
21387 echo "${ECHO_T}no" >&6
21388 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21389 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21390 cat >conftest.
$ac_ext <<_ACEOF
21393 cat confdefs.h
>>conftest.
$ac_ext
21394 cat >>conftest.
$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21397 #ifdef HAVE_WCHAR_H
21399 # include <stddef.h>
21401 # include <wchar.h>
21403 #ifdef HAVE_STDLIB_H
21404 # include <stdlib.h>
21412 std::basic_string<$char_type> foo;
21413 const $char_type* dummy = foo.c_str();
21418 rm -f conftest.
$ac_objext
21419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21420 (eval $ac_compile) 2>conftest.er1
21422 grep -v '^ *+' conftest.er1
>conftest.err
21424 cat conftest.err
>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } &&
21427 { ac_try
='test -z "$ac_cxx_werror_flag"
21428 || test ! -s conftest.err'
21429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430 (eval $ac_try) 2>&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); }; } &&
21434 { ac_try
='test -s conftest.$ac_objext'
21435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21436 (eval $ac_try) 2>&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); }; }; then
21440 echo "$as_me:$LINENO: result: yes" >&5
21441 echo "${ECHO_T}yes" >&6
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.
$ac_ext >&5
21446 echo "$as_me:$LINENO: result: no" >&5
21447 echo "${ECHO_T}no" >&6
21448 if test "$wxUSE_STL" = "yes"; then
21449 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21450 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21451 { (exit 1); exit 1; }; }
21452 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21453 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21454 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21455 { (exit 1); exit 1; }; }
21457 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21458 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21459 wxUSE_STD_STRING
=no
21464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21470 ac_cpp
='$CPP $CPPFLAGS'
21471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21477 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21479 ac_cpp
='$CXXCPP $CPPFLAGS'
21480 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21485 echo "$as_me:$LINENO: checking for std::istream" >&5
21486 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21487 if test "${ac_cv_type_std__istream+set}" = set; then
21488 echo $ECHO_N "(cached) $ECHO_C" >&6
21490 cat >conftest.
$ac_ext <<_ACEOF
21493 cat confdefs.h
>>conftest.
$ac_ext
21494 cat >>conftest.
$ac_ext <<_ACEOF
21495 /* end confdefs.h. */
21496 #include <iostream>
21501 if ((std::istream *) 0)
21503 if (sizeof (std::istream))
21509 rm -f conftest.
$ac_objext
21510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21511 (eval $ac_compile) 2>conftest.er1
21513 grep -v '^ *+' conftest.er1
>conftest.err
21515 cat conftest.err
>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } &&
21518 { ac_try
='test -z "$ac_cxx_werror_flag"
21519 || test ! -s conftest.err'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try
='test -s conftest.$ac_objext'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; }; then
21531 ac_cv_type_std__istream
=yes
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.
$ac_ext >&5
21536 ac_cv_type_std__istream
=no
21538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21540 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21541 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21542 if test $ac_cv_type_std__istream = yes; then
21544 cat >>confdefs.h
<<_ACEOF
21545 #define HAVE_STD__ISTREAM 1
21550 wxUSE_STD_IOSTREAM
=no
21552 echo "$as_me:$LINENO: checking for std::ostream" >&5
21553 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21554 if test "${ac_cv_type_std__ostream+set}" = set; then
21555 echo $ECHO_N "(cached) $ECHO_C" >&6
21557 cat >conftest.
$ac_ext <<_ACEOF
21560 cat confdefs.h
>>conftest.
$ac_ext
21561 cat >>conftest.
$ac_ext <<_ACEOF
21562 /* end confdefs.h. */
21563 #include <iostream>
21568 if ((std::ostream *) 0)
21570 if (sizeof (std::ostream))
21576 rm -f conftest.
$ac_objext
21577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21578 (eval $ac_compile) 2>conftest.er1
21580 grep -v '^ *+' conftest.er1
>conftest.err
21582 cat conftest.err
>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } &&
21585 { ac_try
='test -z "$ac_cxx_werror_flag"
21586 || test ! -s conftest.err'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; } &&
21592 { ac_try
='test -s conftest.$ac_objext'
21593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21594 (eval $ac_try) 2>&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); }; }; then
21598 ac_cv_type_std__ostream
=yes
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.
$ac_ext >&5
21603 ac_cv_type_std__ostream
=no
21605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21607 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21608 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21609 if test $ac_cv_type_std__ostream = yes; then
21611 cat >>confdefs.h
<<_ACEOF
21612 #define HAVE_STD__OSTREAM 1
21617 wxUSE_STD_IOSTREAM
=no
21621 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21622 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21623 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21624 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21625 { (exit 1); exit 1; }; }
21627 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21628 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21633 ac_cpp
='$CPP $CPPFLAGS'
21634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21640 if test "$wxUSE_STL" = "yes"; then
21642 ac_cpp
='$CXXCPP $CPPFLAGS'
21643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21648 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21649 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21650 cat >conftest.
$ac_ext <<_ACEOF
21653 cat confdefs.h
>>conftest.
$ac_ext
21654 cat >>conftest.
$ac_ext <<_ACEOF
21655 /* end confdefs.h. */
21657 #include <functional>
21658 #include <algorithm>
21664 std::vector<int> moo;
21665 std::list<int> foo;
21666 std::vector<int>::iterator it =
21667 std::find_if(moo.begin(), moo.end(),
21668 std::bind2nd(std::less<int>(), 3));
21673 rm -f conftest.
$ac_objext
21674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21675 (eval $ac_compile) 2>conftest.er1
21677 grep -v '^ *+' conftest.er1
>conftest.err
21679 cat conftest.err
>&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } &&
21682 { ac_try
='test -z "$ac_cxx_werror_flag"
21683 || test ! -s conftest.err'
21684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21685 (eval $ac_try) 2>&5
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); }; } &&
21689 { ac_try
='test -s conftest.$ac_objext'
21690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21691 (eval $ac_try) 2>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); }; }; then
21695 echo "$as_me:$LINENO: result: yes" >&5
21696 echo "${ECHO_T}yes" >&6
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.
$ac_ext >&5
21701 echo "$as_me:$LINENO: result: no" >&5
21702 echo "${ECHO_T}no" >&6
21703 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21704 echo "$as_me: error: Basic STL functionality missing" >&2;}
21705 { (exit 1); exit 1; }; }
21707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21709 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21710 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21711 cat >conftest.
$ac_ext <<_ACEOF
21714 cat confdefs.h
>>conftest.
$ac_ext
21715 cat >>conftest.
$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21721 std::string foo, bar;
21723 foo.compare(1, 1, bar);
21724 foo.compare(1, 1, bar, 1, 1);
21726 foo.compare(1, 1, "");
21727 foo.compare(1, 1, "", 2);
21732 rm -f conftest.
$ac_objext
21733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21734 (eval $ac_compile) 2>conftest.er1
21736 grep -v '^ *+' conftest.er1
>conftest.err
21738 cat conftest.err
>&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } &&
21741 { ac_try
='test -z "$ac_cxx_werror_flag"
21742 || test ! -s conftest.err'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; } &&
21748 { ac_try
='test -s conftest.$ac_objext'
21749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21750 (eval $ac_try) 2>&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); }; }; then
21754 echo "$as_me:$LINENO: result: yes" >&5
21755 echo "${ECHO_T}yes" >&6
21756 cat >>confdefs.h
<<\_ACEOF
21757 #define HAVE_STD_STRING_COMPARE 1
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.
$ac_ext >&5
21764 echo "$as_me:$LINENO: result: no" >&5
21765 echo "${ECHO_T}no" >&6
21767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21769 if test "${ac_cv_header_hash_map+set}" = set; then
21770 echo "$as_me:$LINENO: checking for hash_map" >&5
21771 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21772 if test "${ac_cv_header_hash_map+set}" = set; then
21773 echo $ECHO_N "(cached) $ECHO_C" >&6
21775 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21776 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21778 # Is the header compilable?
21779 echo "$as_me:$LINENO: checking hash_map usability" >&5
21780 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21781 cat >conftest.
$ac_ext <<_ACEOF
21784 cat confdefs.h
>>conftest.
$ac_ext
21785 cat >>conftest.
$ac_ext <<_ACEOF
21786 /* end confdefs.h. */
21787 $ac_includes_default
21788 #include <hash_map>
21790 rm -f conftest.
$ac_objext
21791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21792 (eval $ac_compile) 2>conftest.er1
21794 grep -v '^ *+' conftest.er1
>conftest.err
21796 cat conftest.err
>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } &&
21799 { ac_try
='test -z "$ac_cxx_werror_flag"
21800 || test ! -s conftest.err'
21801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21802 (eval $ac_try) 2>&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); }; } &&
21806 { ac_try
='test -s conftest.$ac_objext'
21807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21808 (eval $ac_try) 2>&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); }; }; then
21812 ac_header_compiler
=yes
21814 echo "$as_me: failed program was:" >&5
21815 sed 's/^/| /' conftest.
$ac_ext >&5
21817 ac_header_compiler
=no
21819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21821 echo "${ECHO_T}$ac_header_compiler" >&6
21823 # Is the header present?
21824 echo "$as_me:$LINENO: checking hash_map presence" >&5
21825 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21826 cat >conftest.
$ac_ext <<_ACEOF
21829 cat confdefs.h
>>conftest.
$ac_ext
21830 cat >>conftest.
$ac_ext <<_ACEOF
21831 /* end confdefs.h. */
21832 #include <hash_map>
21834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21835 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21837 grep -v '^ *+' conftest.er1
>conftest.err
21839 cat conftest.err
>&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } >/dev
/null
; then
21842 if test -s conftest.err
; then
21843 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21844 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21851 if test -z "$ac_cpp_err"; then
21852 ac_header_preproc
=yes
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.
$ac_ext >&5
21857 ac_header_preproc
=no
21859 rm -f conftest.err conftest.
$ac_ext
21860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21861 echo "${ECHO_T}$ac_header_preproc" >&6
21863 # So? What about this header?
21864 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21866 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21867 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21868 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21869 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21870 ac_header_preproc
=yes
21873 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21874 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21875 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21876 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21877 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21878 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21879 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21880 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21881 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21882 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21883 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21884 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21887 ## ----------------------------------------- ##
21888 ## Report this to wx-dev@lists.wxwidgets.org ##
21889 ## ----------------------------------------- ##
21892 sed "s/^/$as_me: WARNING: /" >&2
21895 echo "$as_me:$LINENO: checking for hash_map" >&5
21896 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21897 if test "${ac_cv_header_hash_map+set}" = set; then
21898 echo $ECHO_N "(cached) $ECHO_C" >&6
21900 ac_cv_header_hash_map
=$ac_header_preproc
21902 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21903 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21906 if test $ac_cv_header_hash_map = yes; then
21907 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21908 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21909 cat >conftest.
$ac_ext <<_ACEOF
21912 cat confdefs.h
>>conftest.
$ac_ext
21913 cat >>conftest.
$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 #include <hash_map>
21916 #include <hash_set>
21920 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21921 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21926 rm -f conftest.
$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21930 grep -v '^ *+' conftest.er1
>conftest.err
21932 cat conftest.err
>&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try
='test -z "$ac_cxx_werror_flag"
21936 || test ! -s conftest.err'
21937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938 (eval $ac_try) 2>&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; } &&
21942 { ac_try
='test -s conftest.$ac_objext'
21943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21944 (eval $ac_try) 2>&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; }; then
21948 echo "$as_me:$LINENO: result: yes" >&5
21949 echo "${ECHO_T}yes" >&6
21950 cat >>confdefs.h
<<\_ACEOF
21951 #define HAVE_HASH_MAP 1
21954 cat >>confdefs.h
<<\_ACEOF
21955 #define HAVE_STD_HASH_MAP 1
21959 echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.
$ac_ext >&5
21962 echo "$as_me:$LINENO: result: no" >&5
21963 echo "${ECHO_T}no" >&6
21965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21971 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21972 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21973 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21974 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21975 echo $ECHO_N "(cached) $ECHO_C" >&6
21977 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21978 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21980 # Is the header compilable?
21981 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21982 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21983 cat >conftest.
$ac_ext <<_ACEOF
21986 cat confdefs.h
>>conftest.
$ac_ext
21987 cat >>conftest.
$ac_ext <<_ACEOF
21988 /* end confdefs.h. */
21989 $ac_includes_default
21990 #include <ext/hash_map>
21992 rm -f conftest.
$ac_objext
21993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21994 (eval $ac_compile) 2>conftest.er1
21996 grep -v '^ *+' conftest.er1
>conftest.err
21998 cat conftest.err
>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); } &&
22001 { ac_try
='test -z "$ac_cxx_werror_flag"
22002 || test ! -s conftest.err'
22003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004 (eval $ac_try) 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; } &&
22008 { ac_try
='test -s conftest.$ac_objext'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; }; then
22014 ac_header_compiler
=yes
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.
$ac_ext >&5
22019 ac_header_compiler
=no
22021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22022 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22023 echo "${ECHO_T}$ac_header_compiler" >&6
22025 # Is the header present?
22026 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22027 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22028 cat >conftest.
$ac_ext <<_ACEOF
22031 cat confdefs.h
>>conftest.
$ac_ext
22032 cat >>conftest.
$ac_ext <<_ACEOF
22033 /* end confdefs.h. */
22034 #include <ext/hash_map>
22036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22037 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22039 grep -v '^ *+' conftest.er1
>conftest.err
22041 cat conftest.err
>&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } >/dev
/null
; then
22044 if test -s conftest.err
; then
22045 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22046 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22053 if test -z "$ac_cpp_err"; then
22054 ac_header_preproc
=yes
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.
$ac_ext >&5
22059 ac_header_preproc
=no
22061 rm -f conftest.err conftest.
$ac_ext
22062 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22063 echo "${ECHO_T}$ac_header_preproc" >&6
22065 # So? What about this header?
22066 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22068 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22069 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22070 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22071 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22072 ac_header_preproc
=yes
22075 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22076 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22077 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22078 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22079 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22080 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22081 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22082 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22084 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22085 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22086 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22089 ## ----------------------------------------- ##
22090 ## Report this to wx-dev@lists.wxwidgets.org ##
22091 ## ----------------------------------------- ##
22094 sed "s/^/$as_me: WARNING: /" >&2
22097 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22098 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22099 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22100 echo $ECHO_N "(cached) $ECHO_C" >&6
22102 ac_cv_header_ext_hash_map
=$ac_header_preproc
22104 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22105 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22108 if test $ac_cv_header_ext_hash_map = yes; then
22109 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22110 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22111 cat >conftest.
$ac_ext <<_ACEOF
22114 cat confdefs.h
>>conftest.
$ac_ext
22115 cat >>conftest.
$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 #include <ext/hash_map>
22118 #include <ext/hash_set>
22122 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22123 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22128 rm -f conftest.
$ac_objext
22129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22130 (eval $ac_compile) 2>conftest.er1
22132 grep -v '^ *+' conftest.er1
>conftest.err
22134 cat conftest.err
>&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); } &&
22137 { ac_try
='test -z "$ac_cxx_werror_flag"
22138 || test ! -s conftest.err'
22139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22140 (eval $ac_try) 2>&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); }; } &&
22144 { ac_try
='test -s conftest.$ac_objext'
22145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22146 (eval $ac_try) 2>&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); }; }; then
22150 echo "$as_me:$LINENO: result: yes" >&5
22151 echo "${ECHO_T}yes" >&6
22152 cat >>confdefs.h
<<\_ACEOF
22153 #define HAVE_EXT_HASH_MAP 1
22156 cat >>confdefs.h
<<\_ACEOF
22157 #define HAVE_GNU_CXX_HASH_MAP 1
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.
$ac_ext >&5
22164 echo "$as_me:$LINENO: result: no" >&5
22165 echo "${ECHO_T}no" >&6
22167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22174 ac_cpp
='$CPP $CPPFLAGS'
22175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22183 /usr/local/include \
22185 /usr/Motif-2.1/include \
22186 /usr/Motif-1.2/include \
22187 /usr/include/Motif1.2 \
22188 /opt/xpm/include/X11 \
22189 /opt/GBxpm/include/ \
22190 /opt/GBxpm/X11/include/ \
22193 /usr/openwin/include \
22197 /usr/X11R6/include \
22198 /usr/X11R6.4/include \
22199 /usr/X11R5/include \
22200 /usr/X11R4/include \
22202 /usr/include/X11R6 \
22203 /usr/include/X11R5 \
22204 /usr/include/X11R4 \
22206 /usr/local/X11R6/include \
22207 /usr/local/X11R5/include \
22208 /usr/local/X11R4/include \
22210 /usr/local/include/X11R6 \
22211 /usr/local/include/X11R5 \
22212 /usr/local/include/X11R4 \
22216 /usr/local/X11/include \
22217 /usr/local/include/X11 \
22219 /usr/X386/include \
22220 /usr/x386/include \
22221 /usr/XFree86/include/X11 \
22223 X:/XFree86/include \
22224 X:/XFree86/include/X11 \
22227 /usr/local/include/gtk \
22228 /usr/include/glib \
22229 /usr/local/include/glib \
22232 /usr/local/include/qt \
22234 /usr/local/arm/3.3.2/include \
22236 /usr/include/windows \
22237 /usr/include/wine \
22238 /usr/local/include/wine \
22240 /usr/unsupported/include \
22241 /usr/athena/include \
22242 /usr/local/x11r5/include \
22243 /usr/lpp/Xamples/include \
22245 /usr/openwin/share/include"
22247 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22250 cat >confcache
<<\_ACEOF
22251 # This file is a shell script that caches the results of configure
22252 # tests run on this system so they can be shared between configure
22253 # scripts and configure runs, see configure's option --config-cache.
22254 # It is not useful on other systems. If it contains results you don't
22255 # want to keep, you may remove or edit it.
22257 # config.status only pays attention to the cache file if you give it
22258 # the --recheck option to rerun configure.
22260 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22261 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22262 # following values.
22266 # The following way of writing the cache mishandles newlines in values,
22267 # but we know of no workaround that is simple, portable, and efficient.
22268 # So, don't put newlines in cache variables' values.
22269 # Ultrix sh set writes to stderr and can't be redirected directly,
22270 # and sets the high bit in the cache file unless we assign to the vars.
22273 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22275 # `set' does not quote correctly, so add quotes (double-quote
22276 # substitution turns \\\\ into \\, and sed turns \\ into \).
22279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22282 # `set' quotes correctly as required by POSIX, so do not add quotes.
22284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22291 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22293 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22295 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22296 if test -w $cache_file; then
22297 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22298 cat confcache
>$cache_file
22300 echo "not updating unwritable cache $cache_file"
22305 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22306 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22307 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22308 if test "${wx_cv_lib_glibc21+set}" = set; then
22309 echo $ECHO_N "(cached) $ECHO_C" >&6
22312 cat >conftest.
$ac_ext <<_ACEOF
22315 cat confdefs.h
>>conftest.
$ac_ext
22316 cat >>conftest.
$ac_ext <<_ACEOF
22317 /* end confdefs.h. */
22318 #include <features.h>
22323 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22324 #error not glibc2.1
22331 rm -f conftest.
$ac_objext
22332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22333 (eval $ac_compile) 2>conftest.er1
22335 grep -v '^ *+' conftest.er1
>conftest.err
22337 cat conftest.err
>&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); } &&
22340 { ac_try
='test -z "$ac_c_werror_flag"
22341 || test ! -s conftest.err'
22342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343 (eval $ac_try) 2>&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); }; } &&
22347 { ac_try
='test -s conftest.$ac_objext'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; }; then
22354 wx_cv_lib_glibc21
=yes
22357 echo "$as_me: failed program was:" >&5
22358 sed 's/^/| /' conftest.
$ac_ext >&5
22361 wx_cv_lib_glibc21
=no
22365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22368 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22369 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22370 if test "$wx_cv_lib_glibc21" = "yes"; then
22371 cat >>confdefs.h
<<\_ACEOF
22372 #define wxHAVE_GLIBC2 1
22378 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22379 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22380 cat >>confdefs.h
<<\_ACEOF
22381 #define _GNU_SOURCE 1
22389 if test "$wxUSE_REGEX" != "no"; then
22390 cat >>confdefs.h
<<\_ACEOF
22391 #define wxUSE_REGEX 1
22395 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22396 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22397 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22398 wxUSE_REGEX
=builtin
22401 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22402 if test "${ac_cv_header_regex_h+set}" = set; then
22403 echo "$as_me:$LINENO: checking for regex.h" >&5
22404 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22405 if test "${ac_cv_header_regex_h+set}" = set; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22408 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22409 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22411 # Is the header compilable?
22412 echo "$as_me:$LINENO: checking regex.h usability" >&5
22413 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22414 cat >conftest.
$ac_ext <<_ACEOF
22417 cat confdefs.h
>>conftest.
$ac_ext
22418 cat >>conftest.
$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420 $ac_includes_default
22423 rm -f conftest.
$ac_objext
22424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22425 (eval $ac_compile) 2>conftest.er1
22427 grep -v '^ *+' conftest.er1
>conftest.err
22429 cat conftest.err
>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } &&
22432 { ac_try
='test -z "$ac_c_werror_flag"
22433 || test ! -s conftest.err'
22434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435 (eval $ac_try) 2>&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); }; } &&
22439 { ac_try
='test -s conftest.$ac_objext'
22440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441 (eval $ac_try) 2>&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; }; then
22445 ac_header_compiler
=yes
22447 echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.
$ac_ext >&5
22450 ac_header_compiler
=no
22452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22453 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22454 echo "${ECHO_T}$ac_header_compiler" >&6
22456 # Is the header present?
22457 echo "$as_me:$LINENO: checking regex.h presence" >&5
22458 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22459 cat >conftest.
$ac_ext <<_ACEOF
22462 cat confdefs.h
>>conftest.
$ac_ext
22463 cat >>conftest.
$ac_ext <<_ACEOF
22464 /* end confdefs.h. */
22467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22468 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22470 grep -v '^ *+' conftest.er1
>conftest.err
22472 cat conftest.err
>&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } >/dev
/null
; then
22475 if test -s conftest.err
; then
22476 ac_cpp_err
=$ac_c_preproc_warn_flag
22477 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22484 if test -z "$ac_cpp_err"; then
22485 ac_header_preproc
=yes
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.
$ac_ext >&5
22490 ac_header_preproc
=no
22492 rm -f conftest.err conftest.
$ac_ext
22493 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22494 echo "${ECHO_T}$ac_header_preproc" >&6
22496 # So? What about this header?
22497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22499 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22500 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22501 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22502 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22503 ac_header_preproc
=yes
22506 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22507 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22508 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22509 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22510 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22511 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22512 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22513 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22514 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22515 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22516 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22517 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22520 ## ----------------------------------------- ##
22521 ## Report this to wx-dev@lists.wxwidgets.org ##
22522 ## ----------------------------------------- ##
22525 sed "s/^/$as_me: WARNING: /" >&2
22528 echo "$as_me:$LINENO: checking for regex.h" >&5
22529 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22530 if test "${ac_cv_header_regex_h+set}" = set; then
22531 echo $ECHO_N "(cached) $ECHO_C" >&6
22533 ac_cv_header_regex_h
=$ac_header_preproc
22535 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22536 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22539 if test $ac_cv_header_regex_h = yes; then
22541 for ac_func
in regcomp
22543 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22544 echo "$as_me:$LINENO: checking for $ac_func" >&5
22545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22546 if eval "test \"\${$as_ac_var+set}\" = set"; then
22547 echo $ECHO_N "(cached) $ECHO_C" >&6
22549 cat >conftest.
$ac_ext <<_ACEOF
22552 cat confdefs.h
>>conftest.
$ac_ext
22553 cat >>conftest.
$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22557 #define $ac_func innocuous_$ac_func
22559 /* System header to define __stub macros and hopefully few prototypes,
22560 which can conflict with char $ac_func (); below.
22561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22562 <limits.h> exists even on freestanding compilers. */
22565 # include <limits.h>
22567 # include <assert.h>
22572 /* Override any gcc2 internal prototype to avoid an error. */
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22580 /* The GNU C library defines this for functions which it implements
22581 to always fail with ENOSYS. Some functions are actually named
22582 something starting with __ and the normal name is an alias. */
22583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22586 char (*f) () = $ac_func;
22595 return f != $ac_func;
22600 rm -f conftest.
$ac_objext conftest
$ac_exeext
22601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22602 (eval $ac_link) 2>conftest.er1
22604 grep -v '^ *+' conftest.er1
>conftest.err
22606 cat conftest.err
>&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); } &&
22609 { ac_try
='test -z "$ac_c_werror_flag"
22610 || test ! -s conftest.err'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; } &&
22616 { ac_try
='test -s conftest$ac_exeext'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; }; then
22622 eval "$as_ac_var=yes"
22624 echo "$as_me: failed program was:" >&5
22625 sed 's/^/| /' conftest.
$ac_ext >&5
22627 eval "$as_ac_var=no"
22629 rm -f conftest.err conftest.
$ac_objext \
22630 conftest
$ac_exeext conftest.
$ac_ext
22632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22634 if test `eval echo '${'$as_ac_var'}'` = yes; then
22635 cat >>confdefs.h
<<_ACEOF
22636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22646 if test "x$ac_cv_func_regcomp" != "xyes"; then
22647 if test "$wxUSE_REGEX" = "sys" ; then
22648 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22649 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22650 { (exit 1); exit 1; }; }
22652 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22653 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22654 wxUSE_REGEX
=builtin
22658 cat >>confdefs.h
<<\_ACEOF
22659 #define WX_NO_REGEX_ADVANCED 1
22668 if test "$wxUSE_ZLIB" != "no" ; then
22669 cat >>confdefs.h
<<\_ACEOF
22670 #define wxUSE_ZLIB 1
22674 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22675 if test "$USE_DARWIN" = 1; then
22676 system_zlib_h_ok
="yes"
22678 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22679 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22680 if test "${ac_cv_header_zlib_h+set}" = set; then
22681 echo $ECHO_N "(cached) $ECHO_C" >&6
22683 if test "$cross_compiling" = yes; then
22684 unset ac_cv_header_zlib_h
22687 cat >conftest.
$ac_ext <<_ACEOF
22690 cat confdefs.h
>>conftest.
$ac_ext
22691 cat >>conftest.
$ac_ext <<_ACEOF
22692 /* end confdefs.h. */
22699 FILE *f=fopen("conftestval", "w");
22702 ZLIB_VERSION[0] == '1' &&
22703 (ZLIB_VERSION[2] > '1' ||
22704 (ZLIB_VERSION[2] == '1' &&
22705 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22710 rm -f conftest
$ac_exeext
22711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22712 (eval $ac_link) 2>&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717 (eval $ac_try) 2>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_cv_header_zlib_h
=`cat conftestval`
22723 echo "$as_me: program exited with status $ac_status" >&5
22724 echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.
$ac_ext >&5
22727 ( exit $ac_status )
22728 ac_cv_header_zlib_h
=no
22730 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22734 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22735 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22736 if test "${ac_cv_header_zlib_h+set}" = set; then
22737 echo "$as_me:$LINENO: checking for zlib.h" >&5
22738 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22739 if test "${ac_cv_header_zlib_h+set}" = set; then
22740 echo $ECHO_N "(cached) $ECHO_C" >&6
22742 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22743 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22745 # Is the header compilable?
22746 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22747 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22748 cat >conftest.
$ac_ext <<_ACEOF
22751 cat confdefs.h
>>conftest.
$ac_ext
22752 cat >>conftest.
$ac_ext <<_ACEOF
22753 /* end confdefs.h. */
22754 $ac_includes_default
22757 rm -f conftest.
$ac_objext
22758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22759 (eval $ac_compile) 2>conftest.er1
22761 grep -v '^ *+' conftest.er1
>conftest.err
22763 cat conftest.err
>&5
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); } &&
22766 { ac_try
='test -z "$ac_c_werror_flag"
22767 || test ! -s conftest.err'
22768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769 (eval $ac_try) 2>&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; } &&
22773 { ac_try
='test -s conftest.$ac_objext'
22774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22775 (eval $ac_try) 2>&5
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); }; }; then
22779 ac_header_compiler
=yes
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.
$ac_ext >&5
22784 ac_header_compiler
=no
22786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22788 echo "${ECHO_T}$ac_header_compiler" >&6
22790 # Is the header present?
22791 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22792 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22793 cat >conftest.
$ac_ext <<_ACEOF
22796 cat confdefs.h
>>conftest.
$ac_ext
22797 cat >>conftest.
$ac_ext <<_ACEOF
22798 /* end confdefs.h. */
22801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22804 grep -v '^ *+' conftest.er1
>conftest.err
22806 cat conftest.err
>&5
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); } >/dev
/null
; then
22809 if test -s conftest.err
; then
22810 ac_cpp_err
=$ac_c_preproc_warn_flag
22811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22818 if test -z "$ac_cpp_err"; then
22819 ac_header_preproc
=yes
22821 echo "$as_me: failed program was:" >&5
22822 sed 's/^/| /' conftest.
$ac_ext >&5
22824 ac_header_preproc
=no
22826 rm -f conftest.err conftest.
$ac_ext
22827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22828 echo "${ECHO_T}$ac_header_preproc" >&6
22830 # So? What about this header?
22831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22833 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22834 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22835 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22836 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22837 ac_header_preproc
=yes
22840 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22841 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22842 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22843 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22844 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22845 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22846 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22847 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22848 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22849 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22850 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22851 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22854 ## ----------------------------------------- ##
22855 ## Report this to wx-dev@lists.wxwidgets.org ##
22856 ## ----------------------------------------- ##
22859 sed "s/^/$as_me: WARNING: /" >&2
22862 echo "$as_me:$LINENO: checking for zlib.h" >&5
22863 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22864 if test "${ac_cv_header_zlib_h+set}" = set; then
22865 echo $ECHO_N "(cached) $ECHO_C" >&6
22867 ac_cv_header_zlib_h
=$ac_header_preproc
22869 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22870 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22876 system_zlib_h_ok
=$ac_cv_header_zlib_h
22879 if test "$system_zlib_h_ok" = "yes"; then
22880 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22881 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22882 if test "${ac_cv_lib_z_deflate+set}" = set; then
22883 echo $ECHO_N "(cached) $ECHO_C" >&6
22885 ac_check_lib_save_LIBS
=$LIBS
22887 cat >conftest.
$ac_ext <<_ACEOF
22890 cat confdefs.h
>>conftest.
$ac_ext
22891 cat >>conftest.
$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22894 /* Override any gcc2 internal prototype to avoid an error. */
22898 /* We use char because int might match the return type of a gcc2
22899 builtin and then its argument prototype would still apply. */
22909 rm -f conftest.
$ac_objext conftest
$ac_exeext
22910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22911 (eval $ac_link) 2>conftest.er1
22913 grep -v '^ *+' conftest.er1
>conftest.err
22915 cat conftest.err
>&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } &&
22918 { ac_try
='test -z "$ac_c_werror_flag"
22919 || test ! -s conftest.err'
22920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22921 (eval $ac_try) 2>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); }; } &&
22925 { ac_try
='test -s conftest$ac_exeext'
22926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927 (eval $ac_try) 2>&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; }; then
22931 ac_cv_lib_z_deflate
=yes
22933 echo "$as_me: failed program was:" >&5
22934 sed 's/^/| /' conftest.
$ac_ext >&5
22936 ac_cv_lib_z_deflate
=no
22938 rm -f conftest.err conftest.
$ac_objext \
22939 conftest
$ac_exeext conftest.
$ac_ext
22940 LIBS
=$ac_check_lib_save_LIBS
22942 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22943 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22944 if test $ac_cv_lib_z_deflate = yes; then
22950 if test "x$ZLIB_LINK" = "x" ; then
22951 if test "$wxUSE_ZLIB" = "sys" ; then
22952 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22953 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22954 { (exit 1); exit 1; }; }
22956 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22957 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22968 if test "$wxUSE_LIBPNG" != "no" ; then
22969 cat >>confdefs.h
<<\_ACEOF
22970 #define wxUSE_LIBPNG 1
22974 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22975 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22976 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22980 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22981 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22982 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22983 wxUSE_LIBPNG
=builtin
22986 if test "$wxUSE_MGL" != 1 ; then
22987 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22988 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22989 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22990 if test "${ac_cv_header_png_h+set}" = set; then
22991 echo $ECHO_N "(cached) $ECHO_C" >&6
22993 if test "$cross_compiling" = yes; then
22994 unset ac_cv_header_png_h
22997 cat >conftest.
$ac_ext <<_ACEOF
23000 cat confdefs.h
>>conftest.
$ac_ext
23001 cat >>conftest.
$ac_ext <<_ACEOF
23002 /* end confdefs.h. */
23009 FILE *f=fopen("conftestval", "w");
23012 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23017 rm -f conftest
$ac_exeext
23018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23019 (eval $ac_link) 2>&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; }; then
23028 ac_cv_header_png_h
=`cat conftestval`
23030 echo "$as_me: program exited with status $ac_status" >&5
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.
$ac_ext >&5
23034 ( exit $ac_status )
23035 ac_cv_header_png_h
=no
23037 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23041 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23042 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23043 if test "${ac_cv_header_png_h+set}" = set; then
23044 echo "$as_me:$LINENO: checking for png.h" >&5
23045 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23046 if test "${ac_cv_header_png_h+set}" = set; then
23047 echo $ECHO_N "(cached) $ECHO_C" >&6
23049 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23050 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23052 # Is the header compilable?
23053 echo "$as_me:$LINENO: checking png.h usability" >&5
23054 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23055 cat >conftest.
$ac_ext <<_ACEOF
23058 cat confdefs.h
>>conftest.
$ac_ext
23059 cat >>conftest.
$ac_ext <<_ACEOF
23060 /* end confdefs.h. */
23061 $ac_includes_default
23064 rm -f conftest.
$ac_objext
23065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23066 (eval $ac_compile) 2>conftest.er1
23068 grep -v '^ *+' conftest.er1
>conftest.err
23070 cat conftest.err
>&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); } &&
23073 { ac_try
='test -z "$ac_c_werror_flag"
23074 || test ! -s conftest.err'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; } &&
23080 { ac_try
='test -s conftest.$ac_objext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 ac_header_compiler
=yes
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.
$ac_ext >&5
23091 ac_header_compiler
=no
23093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23095 echo "${ECHO_T}$ac_header_compiler" >&6
23097 # Is the header present?
23098 echo "$as_me:$LINENO: checking png.h presence" >&5
23099 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23100 cat >conftest.
$ac_ext <<_ACEOF
23103 cat confdefs.h
>>conftest.
$ac_ext
23104 cat >>conftest.
$ac_ext <<_ACEOF
23105 /* end confdefs.h. */
23108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23111 grep -v '^ *+' conftest.er1
>conftest.err
23113 cat conftest.err
>&5
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); } >/dev
/null
; then
23116 if test -s conftest.err
; then
23117 ac_cpp_err
=$ac_c_preproc_warn_flag
23118 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23125 if test -z "$ac_cpp_err"; then
23126 ac_header_preproc
=yes
23128 echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.
$ac_ext >&5
23131 ac_header_preproc
=no
23133 rm -f conftest.err conftest.
$ac_ext
23134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23135 echo "${ECHO_T}$ac_header_preproc" >&6
23137 # So? What about this header?
23138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23140 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23141 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23142 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23143 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23144 ac_header_preproc
=yes
23147 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23148 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23149 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23150 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23151 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23152 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23153 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23154 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23155 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23156 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23157 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23158 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23161 ## ----------------------------------------- ##
23162 ## Report this to wx-dev@lists.wxwidgets.org ##
23163 ## ----------------------------------------- ##
23166 sed "s/^/$as_me: WARNING: /" >&2
23169 echo "$as_me:$LINENO: checking for png.h" >&5
23170 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23171 if test "${ac_cv_header_png_h+set}" = set; then
23172 echo $ECHO_N "(cached) $ECHO_C" >&6
23174 ac_cv_header_png_h
=$ac_header_preproc
23176 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23177 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23183 if test "$ac_cv_header_png_h" = "yes"; then
23184 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23185 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23186 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23187 echo $ECHO_N "(cached) $ECHO_C" >&6
23189 ac_check_lib_save_LIBS
=$LIBS
23190 LIBS
="-lpng -lz -lm $LIBS"
23191 cat >conftest.
$ac_ext <<_ACEOF
23194 cat confdefs.h
>>conftest.
$ac_ext
23195 cat >>conftest.
$ac_ext <<_ACEOF
23196 /* end confdefs.h. */
23198 /* Override any gcc2 internal prototype to avoid an error. */
23202 /* We use char because int might match the return type of a gcc2
23203 builtin and then its argument prototype would still apply. */
23204 char png_check_sig ();
23213 rm -f conftest.
$ac_objext conftest
$ac_exeext
23214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23215 (eval $ac_link) 2>conftest.er1
23217 grep -v '^ *+' conftest.er1
>conftest.err
23219 cat conftest.err
>&5
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); } &&
23222 { ac_try
='test -z "$ac_c_werror_flag"
23223 || test ! -s conftest.err'
23224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23225 (eval $ac_try) 2>&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); }; } &&
23229 { ac_try
='test -s conftest$ac_exeext'
23230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23231 (eval $ac_try) 2>&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); }; }; then
23235 ac_cv_lib_png_png_check_sig
=yes
23237 echo "$as_me: failed program was:" >&5
23238 sed 's/^/| /' conftest.
$ac_ext >&5
23240 ac_cv_lib_png_png_check_sig
=no
23242 rm -f conftest.err conftest.
$ac_objext \
23243 conftest
$ac_exeext conftest.
$ac_ext
23244 LIBS
=$ac_check_lib_save_LIBS
23246 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23247 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23248 if test $ac_cv_lib_png_png_check_sig = yes; then
23249 PNG_LINK
=" -lpng -lz"
23254 if test "x$PNG_LINK" = "x" ; then
23255 if test "$wxUSE_LIBPNG" = "sys" ; then
23256 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23257 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23258 { (exit 1); exit 1; }; }
23260 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23261 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23262 wxUSE_LIBPNG
=builtin
23270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23275 if test "$wxUSE_LIBJPEG" != "no" ; then
23276 cat >>confdefs.h
<<\_ACEOF
23277 #define wxUSE_LIBJPEG 1
23281 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23282 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23283 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23287 if test "$wxUSE_MGL" != 1 ; then
23288 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23289 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23290 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23291 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23292 echo $ECHO_N "(cached) $ECHO_C" >&6
23294 cat >conftest.
$ac_ext <<_ACEOF
23297 cat confdefs.h
>>conftest.
$ac_ext
23298 cat >>conftest.
$ac_ext <<_ACEOF
23299 /* end confdefs.h. */
23301 #undef HAVE_STDLIB_H
23303 #include <jpeglib.h>
23314 rm -f conftest.
$ac_objext
23315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23316 (eval $ac_compile) 2>conftest.er1
23318 grep -v '^ *+' conftest.er1
>conftest.err
23320 cat conftest.err
>&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } &&
23323 { ac_try
='test -z "$ac_c_werror_flag"
23324 || test ! -s conftest.err'
23325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23326 (eval $ac_try) 2>&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); }; } &&
23330 { ac_try
='test -s conftest.$ac_objext'
23331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23332 (eval $ac_try) 2>&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); }; }; then
23336 ac_cv_header_jpeglib_h
=yes
23338 echo "$as_me: failed program was:" >&5
23339 sed 's/^/| /' conftest.
$ac_ext >&5
23341 ac_cv_header_jpeglib_h
=no
23344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23348 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23349 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23351 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23352 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23353 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23354 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23355 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 ac_check_lib_save_LIBS
=$LIBS
23358 LIBS
="-ljpeg $LIBS"
23359 cat >conftest.
$ac_ext <<_ACEOF
23362 cat confdefs.h
>>conftest.
$ac_ext
23363 cat >>conftest.
$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23366 /* Override any gcc2 internal prototype to avoid an error. */
23370 /* We use char because int might match the return type of a gcc2
23371 builtin and then its argument prototype would still apply. */
23372 char jpeg_read_header ();
23376 jpeg_read_header ();
23381 rm -f conftest.
$ac_objext conftest
$ac_exeext
23382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23383 (eval $ac_link) 2>conftest.er1
23385 grep -v '^ *+' conftest.er1
>conftest.err
23387 cat conftest.err
>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); } &&
23390 { ac_try
='test -z "$ac_c_werror_flag"
23391 || test ! -s conftest.err'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; } &&
23397 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
23403 ac_cv_lib_jpeg_jpeg_read_header
=yes
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.
$ac_ext >&5
23408 ac_cv_lib_jpeg_jpeg_read_header
=no
23410 rm -f conftest.err conftest.
$ac_objext \
23411 conftest
$ac_exeext conftest.
$ac_ext
23412 LIBS
=$ac_check_lib_save_LIBS
23414 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23415 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23416 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23417 JPEG_LINK
=" -ljpeg"
23422 if test "x$JPEG_LINK" = "x" ; then
23423 if test "$wxUSE_LIBJPEG" = "sys" ; then
23424 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23425 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23426 { (exit 1); exit 1; }; }
23428 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23429 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23430 wxUSE_LIBJPEG
=builtin
23441 TIFF_PREREQ_LINKS
=-lm
23442 if test "$wxUSE_LIBTIFF" != "no" ; then
23443 cat >>confdefs.h
<<\_ACEOF
23444 #define wxUSE_LIBTIFF 1
23448 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23449 if test "$wxUSE_LIBJPEG" = "sys"; then
23450 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23452 if test "$wxUSE_ZLIB" = "sys"; then
23453 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23455 if test "${ac_cv_header_tiffio_h+set}" = set; then
23456 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23457 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23458 if test "${ac_cv_header_tiffio_h+set}" = set; then
23459 echo $ECHO_N "(cached) $ECHO_C" >&6
23461 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23462 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23464 # Is the header compilable?
23465 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23466 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23467 cat >conftest.
$ac_ext <<_ACEOF
23470 cat confdefs.h
>>conftest.
$ac_ext
23471 cat >>conftest.
$ac_ext <<_ACEOF
23472 /* end confdefs.h. */
23473 $ac_includes_default
23474 #include <tiffio.h>
23476 rm -f conftest.
$ac_objext
23477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23478 (eval $ac_compile) 2>conftest.er1
23480 grep -v '^ *+' conftest.er1
>conftest.err
23482 cat conftest.err
>&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); } &&
23485 { ac_try
='test -z "$ac_c_werror_flag"
23486 || test ! -s conftest.err'
23487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23488 (eval $ac_try) 2>&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); }; } &&
23492 { ac_try
='test -s conftest.$ac_objext'
23493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494 (eval $ac_try) 2>&5
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); }; }; then
23498 ac_header_compiler
=yes
23500 echo "$as_me: failed program was:" >&5
23501 sed 's/^/| /' conftest.
$ac_ext >&5
23503 ac_header_compiler
=no
23505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23507 echo "${ECHO_T}$ac_header_compiler" >&6
23509 # Is the header present?
23510 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23511 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23512 cat >conftest.
$ac_ext <<_ACEOF
23515 cat confdefs.h
>>conftest.
$ac_ext
23516 cat >>conftest.
$ac_ext <<_ACEOF
23517 /* end confdefs.h. */
23518 #include <tiffio.h>
23520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23523 grep -v '^ *+' conftest.er1
>conftest.err
23525 cat conftest.err
>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } >/dev
/null
; then
23528 if test -s conftest.err
; then
23529 ac_cpp_err
=$ac_c_preproc_warn_flag
23530 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23537 if test -z "$ac_cpp_err"; then
23538 ac_header_preproc
=yes
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.
$ac_ext >&5
23543 ac_header_preproc
=no
23545 rm -f conftest.err conftest.
$ac_ext
23546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23547 echo "${ECHO_T}$ac_header_preproc" >&6
23549 # So? What about this header?
23550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23552 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23553 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23554 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23555 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23556 ac_header_preproc
=yes
23559 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23560 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23561 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23562 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23563 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23564 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23565 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23566 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23567 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23568 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23569 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23570 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23573 ## ----------------------------------------- ##
23574 ## Report this to wx-dev@lists.wxwidgets.org ##
23575 ## ----------------------------------------- ##
23578 sed "s/^/$as_me: WARNING: /" >&2
23581 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23582 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23583 if test "${ac_cv_header_tiffio_h+set}" = set; then
23584 echo $ECHO_N "(cached) $ECHO_C" >&6
23586 ac_cv_header_tiffio_h
=$ac_header_preproc
23588 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23589 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23592 if test $ac_cv_header_tiffio_h = yes; then
23594 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23595 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23596 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23597 echo $ECHO_N "(cached) $ECHO_C" >&6
23599 ac_check_lib_save_LIBS
=$LIBS
23600 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23601 cat >conftest.
$ac_ext <<_ACEOF
23604 cat confdefs.h
>>conftest.
$ac_ext
23605 cat >>conftest.
$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23608 /* Override any gcc2 internal prototype to avoid an error. */
23612 /* We use char because int might match the return type of a gcc2
23613 builtin and then its argument prototype would still apply. */
23623 rm -f conftest.
$ac_objext conftest
$ac_exeext
23624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23625 (eval $ac_link) 2>conftest.er1
23627 grep -v '^ *+' conftest.er1
>conftest.err
23629 cat conftest.err
>&5
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); } &&
23632 { ac_try
='test -z "$ac_c_werror_flag"
23633 || test ! -s conftest.err'
23634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23635 (eval $ac_try) 2>&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); }; } &&
23639 { ac_try
='test -s conftest$ac_exeext'
23640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641 (eval $ac_try) 2>&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; }; then
23645 ac_cv_lib_tiff_TIFFError
=yes
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.
$ac_ext >&5
23650 ac_cv_lib_tiff_TIFFError
=no
23652 rm -f conftest.err conftest.
$ac_objext \
23653 conftest
$ac_exeext conftest.
$ac_ext
23654 LIBS
=$ac_check_lib_save_LIBS
23656 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23657 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23658 if test $ac_cv_lib_tiff_TIFFError = yes; then
23659 TIFF_LINK
=" -ltiff"
23668 if test "x$TIFF_LINK" = "x" ; then
23669 if test "$wxUSE_LIBTIFF" = "sys" ; then
23670 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23671 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23672 { (exit 1); exit 1; }; }
23674 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23675 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23676 wxUSE_LIBTIFF
=builtin
23685 if test "$wxUSE_WCHAR_T" != "yes"; then
23686 if test "$wxUSE_EXPAT" != "no"; then
23687 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23688 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23691 if test "$wxUSE_XML" != "no"; then
23692 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23693 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23698 if test "$wxUSE_EXPAT" != "no"; then
23700 cat >>confdefs.h
<<\_ACEOF
23701 #define wxUSE_EXPAT 1
23704 cat >>confdefs.h
<<\_ACEOF
23705 #define wxUSE_XML 1
23709 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23710 if test "${ac_cv_header_expat_h+set}" = set; then
23711 echo "$as_me:$LINENO: checking for expat.h" >&5
23712 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23713 if test "${ac_cv_header_expat_h+set}" = set; then
23714 echo $ECHO_N "(cached) $ECHO_C" >&6
23716 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23717 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23719 # Is the header compilable?
23720 echo "$as_me:$LINENO: checking expat.h usability" >&5
23721 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23722 cat >conftest.
$ac_ext <<_ACEOF
23725 cat confdefs.h
>>conftest.
$ac_ext
23726 cat >>conftest.
$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23728 $ac_includes_default
23731 rm -f conftest.
$ac_objext
23732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23733 (eval $ac_compile) 2>conftest.er1
23735 grep -v '^ *+' conftest.er1
>conftest.err
23737 cat conftest.err
>&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } &&
23740 { ac_try
='test -z "$ac_c_werror_flag"
23741 || test ! -s conftest.err'
23742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23743 (eval $ac_try) 2>&5
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); }; } &&
23747 { ac_try
='test -s conftest.$ac_objext'
23748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23749 (eval $ac_try) 2>&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); }; }; then
23753 ac_header_compiler
=yes
23755 echo "$as_me: failed program was:" >&5
23756 sed 's/^/| /' conftest.
$ac_ext >&5
23758 ac_header_compiler
=no
23760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23762 echo "${ECHO_T}$ac_header_compiler" >&6
23764 # Is the header present?
23765 echo "$as_me:$LINENO: checking expat.h presence" >&5
23766 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23767 cat >conftest.
$ac_ext <<_ACEOF
23770 cat confdefs.h
>>conftest.
$ac_ext
23771 cat >>conftest.
$ac_ext <<_ACEOF
23772 /* end confdefs.h. */
23775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23776 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23778 grep -v '^ *+' conftest.er1
>conftest.err
23780 cat conftest.err
>&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); } >/dev
/null
; then
23783 if test -s conftest.err
; then
23784 ac_cpp_err
=$ac_c_preproc_warn_flag
23785 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23792 if test -z "$ac_cpp_err"; then
23793 ac_header_preproc
=yes
23795 echo "$as_me: failed program was:" >&5
23796 sed 's/^/| /' conftest.
$ac_ext >&5
23798 ac_header_preproc
=no
23800 rm -f conftest.err conftest.
$ac_ext
23801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23802 echo "${ECHO_T}$ac_header_preproc" >&6
23804 # So? What about this header?
23805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23807 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23808 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23809 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23810 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23811 ac_header_preproc
=yes
23814 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23815 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23816 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23817 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23818 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23819 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23820 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23821 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23822 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23823 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23824 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23825 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23828 ## ----------------------------------------- ##
23829 ## Report this to wx-dev@lists.wxwidgets.org ##
23830 ## ----------------------------------------- ##
23833 sed "s/^/$as_me: WARNING: /" >&2
23836 echo "$as_me:$LINENO: checking for expat.h" >&5
23837 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23838 if test "${ac_cv_header_expat_h+set}" = set; then
23839 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 ac_cv_header_expat_h
=$ac_header_preproc
23843 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23844 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23847 if test $ac_cv_header_expat_h = yes; then
23852 if test "x$found_expat_h" = "x1"; then
23853 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23854 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23855 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23856 echo $ECHO_N "(cached) $ECHO_C" >&6
23862 ac_cpp
='$CXXCPP $CPPFLAGS'
23863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23867 cat >conftest.
$ac_ext <<_ACEOF
23870 cat confdefs.h
>>conftest.
$ac_ext
23871 cat >>conftest.
$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23882 rm -f conftest.
$ac_objext
23883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23884 (eval $ac_compile) 2>conftest.er1
23886 grep -v '^ *+' conftest.er1
>conftest.err
23888 cat conftest.err
>&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); } &&
23891 { ac_try
='test -z "$ac_cxx_werror_flag"
23892 || test ! -s conftest.err'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; } &&
23898 { ac_try
='test -s conftest.$ac_objext'
23899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23900 (eval $ac_try) 2>&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); }; }; then
23904 wx_cv_expat_is_not_broken
=yes
23906 echo "$as_me: failed program was:" >&5
23907 sed 's/^/| /' conftest.
$ac_ext >&5
23909 wx_cv_expat_is_not_broken
=no
23912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23914 ac_cpp
='$CPP $CPPFLAGS'
23915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23922 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23923 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23924 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23925 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23926 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23927 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23928 echo $ECHO_N "(cached) $ECHO_C" >&6
23930 ac_check_lib_save_LIBS
=$LIBS
23931 LIBS
="-lexpat $LIBS"
23932 cat >conftest.
$ac_ext <<_ACEOF
23935 cat confdefs.h
>>conftest.
$ac_ext
23936 cat >>conftest.
$ac_ext <<_ACEOF
23937 /* end confdefs.h. */
23939 /* Override any gcc2 internal prototype to avoid an error. */
23943 /* We use char because int might match the return type of a gcc2
23944 builtin and then its argument prototype would still apply. */
23945 char XML_ParserCreate ();
23949 XML_ParserCreate ();
23954 rm -f conftest.
$ac_objext conftest
$ac_exeext
23955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23956 (eval $ac_link) 2>conftest.er1
23958 grep -v '^ *+' conftest.er1
>conftest.err
23960 cat conftest.err
>&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); } &&
23963 { ac_try
='test -z "$ac_c_werror_flag"
23964 || test ! -s conftest.err'
23965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23966 (eval $ac_try) 2>&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); }; } &&
23970 { ac_try
='test -s conftest$ac_exeext'
23971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23972 (eval $ac_try) 2>&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); }; }; then
23976 ac_cv_lib_expat_XML_ParserCreate
=yes
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.
$ac_ext >&5
23981 ac_cv_lib_expat_XML_ParserCreate
=no
23983 rm -f conftest.err conftest.
$ac_objext \
23984 conftest
$ac_exeext conftest.
$ac_ext
23985 LIBS
=$ac_check_lib_save_LIBS
23987 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23988 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23989 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23990 EXPAT_LINK
=" -lexpat"
23995 if test "x$EXPAT_LINK" = "x" ; then
23996 if test "$wxUSE_EXPAT" = "sys" ; then
23997 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23998 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23999 { (exit 1); exit 1; }; }
24001 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24002 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24003 wxUSE_EXPAT
=builtin
24009 if test "$wxUSE_EXPAT" = "builtin" ; then
24012 subdirs
="$subdirs src/expat"
24019 if test "$wxUSE_LIBMSPACK" != "no"; then
24020 if test "${ac_cv_header_mspack_h+set}" = set; then
24021 echo "$as_me:$LINENO: checking for mspack.h" >&5
24022 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24023 if test "${ac_cv_header_mspack_h+set}" = set; then
24024 echo $ECHO_N "(cached) $ECHO_C" >&6
24026 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24027 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24029 # Is the header compilable?
24030 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24031 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24032 cat >conftest.
$ac_ext <<_ACEOF
24035 cat confdefs.h
>>conftest.
$ac_ext
24036 cat >>conftest.
$ac_ext <<_ACEOF
24037 /* end confdefs.h. */
24038 $ac_includes_default
24039 #include <mspack.h>
24041 rm -f conftest.
$ac_objext
24042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24043 (eval $ac_compile) 2>conftest.er1
24045 grep -v '^ *+' conftest.er1
>conftest.err
24047 cat conftest.err
>&5
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); } &&
24050 { ac_try
='test -z "$ac_c_werror_flag"
24051 || 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"
24202 || test ! -s conftest.err'
24203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24204 (eval $ac_try) 2>&5
24206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207 (exit $ac_status); }; } &&
24208 { ac_try
='test -s conftest$ac_exeext'
24209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24210 (eval $ac_try) 2>&5
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); }; }; then
24214 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24216 echo "$as_me: failed program was:" >&5
24217 sed 's/^/| /' conftest.
$ac_ext >&5
24219 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24221 rm -f conftest.err conftest.
$ac_objext \
24222 conftest
$ac_exeext conftest.
$ac_ext
24223 LIBS
=$ac_check_lib_save_LIBS
24225 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24226 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24227 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24228 MSPACK_LINK
=" -lmspack"
24232 if test "x$MSPACK_LINK" = "x" ; then
24237 if test "$wxUSE_LIBMSPACK" != "no"; then
24238 cat >>confdefs.h
<<\_ACEOF
24239 #define wxUSE_LIBMSPACK 1
24253 if test "$USE_WIN32" = 1 ; then
24255 for ac_header
in w32api.h
24257 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24259 echo "$as_me:$LINENO: checking for $ac_header" >&5
24260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24262 echo $ECHO_N "(cached) $ECHO_C" >&6
24264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24267 # Is the header compilable?
24268 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24269 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24270 cat >conftest.
$ac_ext <<_ACEOF
24273 cat confdefs.h
>>conftest.
$ac_ext
24274 cat >>conftest.
$ac_ext <<_ACEOF
24275 /* end confdefs.h. */
24276 $ac_includes_default
24277 #include <$ac_header>
24279 rm -f conftest.
$ac_objext
24280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24281 (eval $ac_compile) 2>conftest.er1
24283 grep -v '^ *+' conftest.er1
>conftest.err
24285 cat conftest.err
>&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); } &&
24288 { ac_try
='test -z "$ac_c_werror_flag"
24289 || test ! -s conftest.err'
24290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24291 (eval $ac_try) 2>&5
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); }; } &&
24295 { ac_try
='test -s conftest.$ac_objext'
24296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24297 (eval $ac_try) 2>&5
24299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300 (exit $ac_status); }; }; then
24301 ac_header_compiler
=yes
24303 echo "$as_me: failed program was:" >&5
24304 sed 's/^/| /' conftest.
$ac_ext >&5
24306 ac_header_compiler
=no
24308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24310 echo "${ECHO_T}$ac_header_compiler" >&6
24312 # Is the header present?
24313 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24314 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24315 cat >conftest.
$ac_ext <<_ACEOF
24318 cat confdefs.h
>>conftest.
$ac_ext
24319 cat >>conftest.
$ac_ext <<_ACEOF
24320 /* end confdefs.h. */
24321 #include <$ac_header>
24323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24324 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24326 grep -v '^ *+' conftest.er1
>conftest.err
24328 cat conftest.err
>&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); } >/dev
/null
; then
24331 if test -s conftest.err
; then
24332 ac_cpp_err
=$ac_c_preproc_warn_flag
24333 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24340 if test -z "$ac_cpp_err"; then
24341 ac_header_preproc
=yes
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.
$ac_ext >&5
24346 ac_header_preproc
=no
24348 rm -f conftest.err conftest.
$ac_ext
24349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24350 echo "${ECHO_T}$ac_header_preproc" >&6
24352 # So? What about this header?
24353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24355 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24356 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24358 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24359 ac_header_preproc
=yes
24362 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24363 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24364 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24365 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24366 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24367 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24368 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24369 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24372 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24373 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24376 ## ----------------------------------------- ##
24377 ## Report this to wx-dev@lists.wxwidgets.org ##
24378 ## ----------------------------------------- ##
24381 sed "s/^/$as_me: WARNING: /" >&2
24384 echo "$as_me:$LINENO: checking for $ac_header" >&5
24385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24387 echo $ECHO_N "(cached) $ECHO_C" >&6
24389 eval "$as_ac_Header=\$ac_header_preproc"
24391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24396 cat >>confdefs.h
<<_ACEOF
24397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24404 if test "${ac_cv_header_windows_h+set}" = set; then
24405 echo "$as_me:$LINENO: checking for windows.h" >&5
24406 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24407 if test "${ac_cv_header_windows_h+set}" = set; then
24408 echo $ECHO_N "(cached) $ECHO_C" >&6
24410 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24411 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24413 # Is the header compilable?
24414 echo "$as_me:$LINENO: checking windows.h usability" >&5
24415 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24416 cat >conftest.
$ac_ext <<_ACEOF
24419 cat confdefs.h
>>conftest.
$ac_ext
24420 cat >>conftest.
$ac_ext <<_ACEOF
24421 /* end confdefs.h. */
24422 $ac_includes_default
24423 #include <windows.h>
24425 rm -f conftest.
$ac_objext
24426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24427 (eval $ac_compile) 2>conftest.er1
24429 grep -v '^ *+' conftest.er1
>conftest.err
24431 cat conftest.err
>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } &&
24434 { ac_try
='test -z "$ac_c_werror_flag"
24435 || test ! -s conftest.err'
24436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437 (eval $ac_try) 2>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; } &&
24441 { ac_try
='test -s conftest.$ac_objext'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; }; then
24447 ac_header_compiler
=yes
24449 echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.
$ac_ext >&5
24452 ac_header_compiler
=no
24454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24456 echo "${ECHO_T}$ac_header_compiler" >&6
24458 # Is the header present?
24459 echo "$as_me:$LINENO: checking windows.h presence" >&5
24460 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24461 cat >conftest.
$ac_ext <<_ACEOF
24464 cat confdefs.h
>>conftest.
$ac_ext
24465 cat >>conftest.
$ac_ext <<_ACEOF
24466 /* end confdefs.h. */
24467 #include <windows.h>
24469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24470 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24472 grep -v '^ *+' conftest.er1
>conftest.err
24474 cat conftest.err
>&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); } >/dev
/null
; then
24477 if test -s conftest.err
; then
24478 ac_cpp_err
=$ac_c_preproc_warn_flag
24479 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24486 if test -z "$ac_cpp_err"; then
24487 ac_header_preproc
=yes
24489 echo "$as_me: failed program was:" >&5
24490 sed 's/^/| /' conftest.
$ac_ext >&5
24492 ac_header_preproc
=no
24494 rm -f conftest.err conftest.
$ac_ext
24495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24496 echo "${ECHO_T}$ac_header_preproc" >&6
24498 # So? What about this header?
24499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24501 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24502 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24503 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24504 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24505 ac_header_preproc
=yes
24508 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24509 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24510 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24511 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24512 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24513 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24514 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24515 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24516 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24517 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24518 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24519 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24522 ## ----------------------------------------- ##
24523 ## Report this to wx-dev@lists.wxwidgets.org ##
24524 ## ----------------------------------------- ##
24527 sed "s/^/$as_me: WARNING: /" >&2
24530 echo "$as_me:$LINENO: checking for windows.h" >&5
24531 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24532 if test "${ac_cv_header_windows_h+set}" = set; then
24533 echo $ECHO_N "(cached) $ECHO_C" >&6
24535 ac_cv_header_windows_h
=$ac_header_preproc
24537 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24538 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24541 if test $ac_cv_header_windows_h = yes; then
24545 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24546 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24547 { (exit 1); exit 1; }; }
24553 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24555 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24556 LIBS
="$LIBS -loleacc"
24561 LIBS
="$LIBS -lkernel32 -luser32"
24562 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24565 if test "$wxUSE_ODBC" = "sys" ; then
24568 if test "$wxUSE_ODBC" = "yes" ; then
24569 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24570 cat >>confdefs.h
<<\_ACEOF
24571 #define wxUSE_ODBC 1
24576 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24577 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24579 WIN32INSTALL
=win32install
24582 if test "$wxUSE_GUI" = "yes"; then
24592 if test "$wxUSE_COCOA" = 1 ; then
24593 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24594 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24595 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24596 wxUSE_PRINTING_ARCHITECTURE
=no
24598 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24599 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24600 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24601 wxUSE_DRAG_AND_DROP
=no
24603 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24604 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24605 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24610 if test "$wxUSE_MSW" = 1 ; then
24616 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24620 if test "$wxUSE_GTK" = 1; then
24621 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24622 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24624 gtk_version_cached
=1
24625 if test "${wx_cv_lib_gtk+set}" = set; then
24626 echo $ECHO_N "(cached) $ECHO_C" >&6
24629 gtk_version_cached
=0
24630 echo "$as_me:$LINENO: result: " >&5
24631 echo "${ECHO_T}" >&6
24634 if test "$wxUSE_THREADS" = "yes"; then
24635 GTK_MODULES
=gthread
24639 if test "x$wxGTK_VERSION" != "x1"; then
24640 # Check whether --enable-gtktest or --disable-gtktest was given.
24641 if test "${enable_gtktest+set}" = set; then
24642 enableval
="$enable_gtktest"
24648 pkg_config_args
=gtk
+-2.0
24649 for module
in .
$GTK_MODULES
24653 pkg_config_args
="$pkg_config_args gthread-2.0"
24660 # Extract the first word of "pkg-config", so it can be a program name with args.
24661 set dummy pkg
-config; ac_word
=$2
24662 echo "$as_me:$LINENO: checking for $ac_word" >&5
24663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24664 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24665 echo $ECHO_N "(cached) $ECHO_C" >&6
24667 case $PKG_CONFIG in
24669 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24673 for as_dir
in $PATH
24676 test -z "$as_dir" && as_dir
=.
24677 for ac_exec_ext
in '' $ac_executable_extensions; do
24678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24679 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24690 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24692 if test -n "$PKG_CONFIG"; then
24693 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24694 echo "${ECHO_T}$PKG_CONFIG" >&6
24696 echo "$as_me:$LINENO: result: no" >&5
24697 echo "${ECHO_T}no" >&6
24701 if test x
$PKG_CONFIG != xno
; then
24702 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24705 echo "*** pkg-config too old; version 0.7 or better required."
24713 min_gtk_version
=2.0.0
24714 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24715 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24717 if test x
$PKG_CONFIG != xno
; then
24718 ## don't try to run the test against uninstalled libtool libs
24719 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24720 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24724 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24731 if test x
"$no_gtk" = x
; then
24732 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24733 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24734 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24736 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24738 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24740 if test "x$enable_gtktest" = "xyes" ; then
24741 ac_save_CFLAGS
="$CFLAGS"
24742 ac_save_LIBS
="$LIBS"
24743 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24744 LIBS
="$GTK_LIBS $LIBS"
24746 if test "$cross_compiling" = yes; then
24747 echo $ac_n "cross compiling; assumed OK... $ac_c"
24749 cat >conftest.
$ac_ext <<_ACEOF
24752 cat confdefs.h
>>conftest.
$ac_ext
24753 cat >>conftest.
$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24756 #include <gtk/gtk.h>
24758 #include <stdlib.h>
24763 int major, minor, micro;
24766 system ("touch conf.gtktest");
24768 /* HP/UX 9 (%@#!) writes to sscanf strings */
24769 tmp_version = g_strdup("$min_gtk_version");
24770 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24771 printf("%s, bad version string\n", "$min_gtk_version");
24775 if ((gtk_major_version != $gtk_config_major_version) ||
24776 (gtk_minor_version != $gtk_config_minor_version) ||
24777 (gtk_micro_version != $gtk_config_micro_version))
24779 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24780 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24781 gtk_major_version, gtk_minor_version, gtk_micro_version);
24782 printf ("*** was found! If pkg-config was correct, then it is best\n");
24783 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24784 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24785 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24786 printf("*** required on your system.\n");
24787 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24788 printf("*** to point to the correct configuration files\n");
24790 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24791 (gtk_minor_version != GTK_MINOR_VERSION) ||
24792 (gtk_micro_version != GTK_MICRO_VERSION))
24794 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24795 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24796 printf("*** library (version %d.%d.%d)\n",
24797 gtk_major_version, gtk_minor_version, gtk_micro_version);
24801 if ((gtk_major_version > major) ||
24802 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24803 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24809 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24810 gtk_major_version, gtk_minor_version, gtk_micro_version);
24811 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24812 major, minor, micro);
24813 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24815 printf("*** If you have already installed a sufficiently new version, this error\n");
24816 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24817 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24818 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24819 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24820 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24821 printf("*** so that the correct libraries are found at run-time))\n");
24828 rm -f conftest
$ac_exeext
24829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24830 (eval $ac_link) 2>&5
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24835 (eval $ac_try) 2>&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); }; }; then
24841 echo "$as_me: program exited with status $ac_status" >&5
24842 echo "$as_me: failed program was:" >&5
24843 sed 's/^/| /' conftest.
$ac_ext >&5
24845 ( exit $ac_status )
24848 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24850 CFLAGS
="$ac_save_CFLAGS"
24851 LIBS
="$ac_save_LIBS"
24854 if test "x$no_gtk" = x
; then
24855 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24856 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24859 echo "$as_me:$LINENO: result: no" >&5
24860 echo "${ECHO_T}no" >&6
24861 if test "$PKG_CONFIG" = "no" ; then
24862 echo "*** A new enough version of pkg-config was not found."
24863 echo "*** See http://pkgconfig.sourceforge.net"
24865 if test -f conf.gtktest
; then
24868 echo "*** Could not run GTK+ test program, checking why..."
24869 ac_save_CFLAGS
="$CFLAGS"
24870 ac_save_LIBS
="$LIBS"
24871 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24872 LIBS
="$LIBS $GTK_LIBS"
24873 cat >conftest.
$ac_ext <<_ACEOF
24876 cat confdefs.h
>>conftest.
$ac_ext
24877 cat >>conftest.
$ac_ext <<_ACEOF
24878 /* end confdefs.h. */
24880 #include <gtk/gtk.h>
24886 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24891 rm -f conftest.
$ac_objext conftest
$ac_exeext
24892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24893 (eval $ac_link) 2>conftest.er1
24895 grep -v '^ *+' conftest.er1
>conftest.err
24897 cat conftest.err
>&5
24898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24899 (exit $ac_status); } &&
24900 { ac_try
='test -z "$ac_c_werror_flag"
24901 || test ! -s conftest.err'
24902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24903 (eval $ac_try) 2>&5
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); }; } &&
24907 { ac_try
='test -s conftest$ac_exeext'
24908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24909 (eval $ac_try) 2>&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); }; }; then
24913 echo "*** The test program compiled, but did not run. This usually means"
24914 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24915 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24916 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24917 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24918 echo "*** is required on your system"
24920 echo "*** If you have an old version installed, it is best to remove it, although"
24921 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24923 echo "$as_me: failed program was:" >&5
24924 sed 's/^/| /' conftest.
$ac_ext >&5
24926 echo "*** The test program failed to compile or link. See the file config.log for the"
24927 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24929 rm -f conftest.err conftest.
$ac_objext \
24930 conftest
$ac_exeext conftest.
$ac_ext
24931 CFLAGS
="$ac_save_CFLAGS"
24932 LIBS
="$ac_save_LIBS"
24945 if test -z "$wx_cv_lib_gtk"; then
24946 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24948 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24949 if test "${with_gtk_prefix+set}" = set; then
24950 withval
="$with_gtk_prefix"
24951 gtk_config_prefix
="$withval"
24953 gtk_config_prefix
=""
24956 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24957 if test "${with_gtk_exec_prefix+set}" = set; then
24958 withval
="$with_gtk_exec_prefix"
24959 gtk_config_exec_prefix
="$withval"
24961 gtk_config_exec_prefix
=""
24963 # Check whether --enable-gtktest or --disable-gtktest was given.
24964 if test "${enable_gtktest+set}" = set; then
24965 enableval
="$enable_gtktest"
24971 for module
in .
$GTK_MODULES
24975 gtk_config_args
="$gtk_config_args gthread"
24980 if test x
$gtk_config_exec_prefix != x
; then
24981 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24982 if test x
${GTK_CONFIG+set} != xset
; then
24983 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24986 if test x
$gtk_config_prefix != x
; then
24987 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24988 if test x
${GTK_CONFIG+set} != xset
; then
24989 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24993 # Extract the first word of "gtk-config", so it can be a program name with args.
24994 set dummy gtk
-config; ac_word
=$2
24995 echo "$as_me:$LINENO: checking for $ac_word" >&5
24996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24997 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 case $GTK_CONFIG in
25002 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25006 for as_dir
in $PATH
25009 test -z "$as_dir" && as_dir
=.
25010 for ac_exec_ext
in '' $ac_executable_extensions; do
25011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25012 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25019 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25023 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25025 if test -n "$GTK_CONFIG"; then
25026 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25027 echo "${ECHO_T}$GTK_CONFIG" >&6
25029 echo "$as_me:$LINENO: result: no" >&5
25030 echo "${ECHO_T}no" >&6
25033 min_gtk_version
=1.2.7
25034 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25035 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25037 if test "$GTK_CONFIG" = "no" ; then
25040 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25041 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25042 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25044 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25046 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25048 if test "x$enable_gtktest" = "xyes" ; then
25049 ac_save_CFLAGS
="$CFLAGS"
25050 ac_save_LIBS
="$LIBS"
25051 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25052 LIBS
="$GTK_LIBS $LIBS"
25054 if test "$cross_compiling" = yes; then
25055 echo $ac_n "cross compiling; assumed OK... $ac_c"
25057 cat >conftest.
$ac_ext <<_ACEOF
25060 cat confdefs.h
>>conftest.
$ac_ext
25061 cat >>conftest.
$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25064 #include <gtk/gtk.h>
25066 #include <stdlib.h>
25071 int major, minor, micro;
25074 system ("touch conf.gtktest");
25076 /* HP/UX 9 (%@#!) writes to sscanf strings */
25077 tmp_version = g_strdup("$min_gtk_version");
25078 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25079 printf("%s, bad version string\n", "$min_gtk_version");
25083 if ((gtk_major_version != $gtk_config_major_version) ||
25084 (gtk_minor_version != $gtk_config_minor_version) ||
25085 (gtk_micro_version != $gtk_config_micro_version))
25087 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25088 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25089 gtk_major_version, gtk_minor_version, gtk_micro_version);
25090 printf ("*** was found! If gtk-config was correct, then it is best\n");
25091 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25092 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25093 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25094 printf("*** required on your system.\n");
25095 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25096 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25097 printf("*** before re-running configure\n");
25099 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25100 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25101 (gtk_minor_version != GTK_MINOR_VERSION) ||
25102 (gtk_micro_version != GTK_MICRO_VERSION))
25104 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25105 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25106 printf("*** library (version %d.%d.%d)\n",
25107 gtk_major_version, gtk_minor_version, gtk_micro_version);
25109 #endif /* defined (GTK_MAJOR_VERSION) ... */
25112 if ((gtk_major_version > major) ||
25113 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25114 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25120 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25121 gtk_major_version, gtk_minor_version, gtk_micro_version);
25122 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25123 major, minor, micro);
25124 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25126 printf("*** If you have already installed a sufficiently new version, this error\n");
25127 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25128 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25129 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25130 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25131 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25132 printf("*** so that the correct libraries are found at run-time))\n");
25139 rm -f conftest
$ac_exeext
25140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25141 (eval $ac_link) 2>&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25146 (eval $ac_try) 2>&5
25148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149 (exit $ac_status); }; }; then
25152 echo "$as_me: program exited with status $ac_status" >&5
25153 echo "$as_me: failed program was:" >&5
25154 sed 's/^/| /' conftest.
$ac_ext >&5
25156 ( exit $ac_status )
25159 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25161 CFLAGS
="$ac_save_CFLAGS"
25162 LIBS
="$ac_save_LIBS"
25165 if test "x$no_gtk" = x
; then
25166 echo "$as_me:$LINENO: result: yes" >&5
25167 echo "${ECHO_T}yes" >&6
25168 wx_cv_lib_gtk
=1.2.7
25170 echo "$as_me:$LINENO: result: no" >&5
25171 echo "${ECHO_T}no" >&6
25172 if test "$GTK_CONFIG" = "no" ; then
25173 echo "*** The gtk-config script installed by GTK could not be found"
25174 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25175 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25176 echo "*** full path to gtk-config."
25178 if test -f conf.gtktest
; then
25181 echo "*** Could not run GTK test program, checking why..."
25182 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25183 LIBS
="$LIBS $GTK_LIBS"
25184 cat >conftest.
$ac_ext <<_ACEOF
25187 cat confdefs.h
>>conftest.
$ac_ext
25188 cat >>conftest.
$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25191 #include <gtk/gtk.h>
25197 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25202 rm -f conftest.
$ac_objext conftest
$ac_exeext
25203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25204 (eval $ac_link) 2>conftest.er1
25206 grep -v '^ *+' conftest.er1
>conftest.err
25208 cat conftest.err
>&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } &&
25211 { ac_try
='test -z "$ac_c_werror_flag"
25212 || test ! -s conftest.err'
25213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214 (eval $ac_try) 2>&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); }; } &&
25218 { ac_try
='test -s conftest$ac_exeext'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; }; then
25224 echo "*** The test program compiled, but did not run. This usually means"
25225 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25226 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25227 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25228 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25229 echo "*** is required on your system"
25231 echo "*** If you have an old version installed, it is best to remove it, although"
25232 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25234 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25235 echo "*** came with the system with the command"
25237 echo "*** rpm --erase --nodeps gtk gtk-devel"
25239 echo "$as_me: failed program was:" >&5
25240 sed 's/^/| /' conftest.
$ac_ext >&5
25242 echo "*** The test program failed to compile or link. See the file config.log for the"
25243 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25244 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25245 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25247 rm -f conftest.err conftest.
$ac_objext \
25248 conftest
$ac_exeext conftest.
$ac_ext
25249 CFLAGS
="$ac_save_CFLAGS"
25250 LIBS
="$ac_save_LIBS"
25262 if test -z "$wx_cv_lib_gtk"; then
25264 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25265 if test "${with_gtk_prefix+set}" = set; then
25266 withval
="$with_gtk_prefix"
25267 gtk_config_prefix
="$withval"
25269 gtk_config_prefix
=""
25272 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25273 if test "${with_gtk_exec_prefix+set}" = set; then
25274 withval
="$with_gtk_exec_prefix"
25275 gtk_config_exec_prefix
="$withval"
25277 gtk_config_exec_prefix
=""
25279 # Check whether --enable-gtktest or --disable-gtktest was given.
25280 if test "${enable_gtktest+set}" = set; then
25281 enableval
="$enable_gtktest"
25287 for module
in .
$GTK_MODULES
25291 gtk_config_args
="$gtk_config_args gthread"
25296 if test x
$gtk_config_exec_prefix != x
; then
25297 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25298 if test x
${GTK_CONFIG+set} != xset
; then
25299 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25302 if test x
$gtk_config_prefix != x
; then
25303 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25304 if test x
${GTK_CONFIG+set} != xset
; then
25305 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25309 # Extract the first word of "gtk-config", so it can be a program name with args.
25310 set dummy gtk
-config; ac_word
=$2
25311 echo "$as_me:$LINENO: checking for $ac_word" >&5
25312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25313 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25314 echo $ECHO_N "(cached) $ECHO_C" >&6
25316 case $GTK_CONFIG in
25318 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25322 for as_dir
in $PATH
25325 test -z "$as_dir" && as_dir
=.
25326 for ac_exec_ext
in '' $ac_executable_extensions; do
25327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25328 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25335 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25339 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25341 if test -n "$GTK_CONFIG"; then
25342 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25343 echo "${ECHO_T}$GTK_CONFIG" >&6
25345 echo "$as_me:$LINENO: result: no" >&5
25346 echo "${ECHO_T}no" >&6
25349 min_gtk_version
=1.2.3
25350 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25351 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25353 if test "$GTK_CONFIG" = "no" ; then
25356 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25357 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25358 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25360 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25362 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25364 if test "x$enable_gtktest" = "xyes" ; then
25365 ac_save_CFLAGS
="$CFLAGS"
25366 ac_save_LIBS
="$LIBS"
25367 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25368 LIBS
="$GTK_LIBS $LIBS"
25370 if test "$cross_compiling" = yes; then
25371 echo $ac_n "cross compiling; assumed OK... $ac_c"
25373 cat >conftest.
$ac_ext <<_ACEOF
25376 cat confdefs.h
>>conftest.
$ac_ext
25377 cat >>conftest.
$ac_ext <<_ACEOF
25378 /* end confdefs.h. */
25380 #include <gtk/gtk.h>
25382 #include <stdlib.h>
25387 int major, minor, micro;
25390 system ("touch conf.gtktest");
25392 /* HP/UX 9 (%@#!) writes to sscanf strings */
25393 tmp_version = g_strdup("$min_gtk_version");
25394 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25395 printf("%s, bad version string\n", "$min_gtk_version");
25399 if ((gtk_major_version != $gtk_config_major_version) ||
25400 (gtk_minor_version != $gtk_config_minor_version) ||
25401 (gtk_micro_version != $gtk_config_micro_version))
25403 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25404 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25405 gtk_major_version, gtk_minor_version, gtk_micro_version);
25406 printf ("*** was found! If gtk-config was correct, then it is best\n");
25407 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25408 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25409 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25410 printf("*** required on your system.\n");
25411 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25412 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25413 printf("*** before re-running configure\n");
25415 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25416 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25417 (gtk_minor_version != GTK_MINOR_VERSION) ||
25418 (gtk_micro_version != GTK_MICRO_VERSION))
25420 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25421 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25422 printf("*** library (version %d.%d.%d)\n",
25423 gtk_major_version, gtk_minor_version, gtk_micro_version);
25425 #endif /* defined (GTK_MAJOR_VERSION) ... */
25428 if ((gtk_major_version > major) ||
25429 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25430 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25436 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25437 gtk_major_version, gtk_minor_version, gtk_micro_version);
25438 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25439 major, minor, micro);
25440 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25442 printf("*** If you have already installed a sufficiently new version, this error\n");
25443 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25444 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25445 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25446 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25447 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25448 printf("*** so that the correct libraries are found at run-time))\n");
25455 rm -f conftest
$ac_exeext
25456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25457 (eval $ac_link) 2>&5
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25462 (eval $ac_try) 2>&5
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); }; }; then
25468 echo "$as_me: program exited with status $ac_status" >&5
25469 echo "$as_me: failed program was:" >&5
25470 sed 's/^/| /' conftest.
$ac_ext >&5
25472 ( exit $ac_status )
25475 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25477 CFLAGS
="$ac_save_CFLAGS"
25478 LIBS
="$ac_save_LIBS"
25481 if test "x$no_gtk" = x
; then
25482 echo "$as_me:$LINENO: result: yes" >&5
25483 echo "${ECHO_T}yes" >&6
25484 wx_cv_lib_gtk
=1.2.3
25486 echo "$as_me:$LINENO: result: no" >&5
25487 echo "${ECHO_T}no" >&6
25488 if test "$GTK_CONFIG" = "no" ; then
25489 echo "*** The gtk-config script installed by GTK could not be found"
25490 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25491 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25492 echo "*** full path to gtk-config."
25494 if test -f conf.gtktest
; then
25497 echo "*** Could not run GTK test program, checking why..."
25498 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25499 LIBS
="$LIBS $GTK_LIBS"
25500 cat >conftest.
$ac_ext <<_ACEOF
25503 cat confdefs.h
>>conftest.
$ac_ext
25504 cat >>conftest.
$ac_ext <<_ACEOF
25505 /* end confdefs.h. */
25507 #include <gtk/gtk.h>
25513 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25518 rm -f conftest.
$ac_objext conftest
$ac_exeext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25520 (eval $ac_link) 2>conftest.er1
25522 grep -v '^ *+' conftest.er1
>conftest.err
25524 cat conftest.err
>&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try
='test -z "$ac_c_werror_flag"
25528 || test ! -s conftest.err'
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); }; } &&
25534 { ac_try
='test -s conftest$ac_exeext'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; }; then
25540 echo "*** The test program compiled, but did not run. This usually means"
25541 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25542 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25543 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25544 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25545 echo "*** is required on your system"
25547 echo "*** If you have an old version installed, it is best to remove it, although"
25548 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25550 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25551 echo "*** came with the system with the command"
25553 echo "*** rpm --erase --nodeps gtk gtk-devel"
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.
$ac_ext >&5
25558 echo "*** The test program failed to compile or link. See the file config.log for the"
25559 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25560 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25561 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25563 rm -f conftest.err conftest.
$ac_objext \
25564 conftest
$ac_exeext conftest.
$ac_ext
25565 CFLAGS
="$ac_save_CFLAGS"
25566 LIBS
="$ac_save_LIBS"
25581 if test -z "$wx_cv_lib_gtk"; then
25584 wx_cv_cflags_gtk
=$GTK_CFLAGS
25585 wx_cv_libs_gtk
=$GTK_LIBS
25592 if test "$gtk_version_cached" = 1; then
25593 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25594 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25597 case "$wx_cv_lib_gtk" in
25606 *) { { echo "$as_me:$LINENO: error:
25607 The development files for GTK+ were not found. For GTK+ 2, please
25608 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25609 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25610 and that the version is 1.2.3 or above. Also check that the
25611 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25612 --libs' are in the LD_LIBRARY_PATH or equivalent.
25614 echo "$as_me: error:
25615 The development files for GTK+ were not found. For GTK+ 2, please
25616 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25617 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25618 and that the version is 1.2.3 or above. Also check that the
25619 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25620 --libs' are in the LD_LIBRARY_PATH or equivalent.
25622 { (exit 1); exit 1; }; }
25626 if test "$WXGTK20" = 1; then
25627 save_CFLAGS
="$CFLAGS"
25629 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25630 LIBS
="$LIBS $wx_cv_lib_gtk"
25633 for ac_func
in pango_font_family_is_monospace
25635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25636 echo "$as_me:$LINENO: checking for $ac_func" >&5
25637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25638 if eval "test \"\${$as_ac_var+set}\" = set"; then
25639 echo $ECHO_N "(cached) $ECHO_C" >&6
25641 cat >conftest.
$ac_ext <<_ACEOF
25644 cat confdefs.h
>>conftest.
$ac_ext
25645 cat >>conftest.
$ac_ext <<_ACEOF
25646 /* end confdefs.h. */
25647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25649 #define $ac_func innocuous_$ac_func
25651 /* System header to define __stub macros and hopefully few prototypes,
25652 which can conflict with char $ac_func (); below.
25653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25654 <limits.h> exists even on freestanding compilers. */
25657 # include <limits.h>
25659 # include <assert.h>
25664 /* Override any gcc2 internal prototype to avoid an error. */
25669 /* We use char because int might match the return type of a gcc2
25670 builtin and then its argument prototype would still apply. */
25672 /* The GNU C library defines this for functions which it implements
25673 to always fail with ENOSYS. Some functions are actually named
25674 something starting with __ and the normal name is an alias. */
25675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25678 char (*f) () = $ac_func;
25687 return f != $ac_func;
25692 rm -f conftest.
$ac_objext conftest
$ac_exeext
25693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25694 (eval $ac_link) 2>conftest.er1
25696 grep -v '^ *+' conftest.er1
>conftest.err
25698 cat conftest.err
>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } &&
25701 { ac_try
='test -z "$ac_c_werror_flag"
25702 || test ! -s conftest.err'
25703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25704 (eval $ac_try) 2>&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); }; } &&
25708 { ac_try
='test -s conftest$ac_exeext'
25709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25710 (eval $ac_try) 2>&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); }; }; then
25714 eval "$as_ac_var=yes"
25716 echo "$as_me: failed program was:" >&5
25717 sed 's/^/| /' conftest.
$ac_ext >&5
25719 eval "$as_ac_var=no"
25721 rm -f conftest.err conftest.
$ac_objext \
25722 conftest
$ac_exeext conftest.
$ac_ext
25724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25726 if test `eval echo '${'$as_ac_var'}'` = yes; then
25727 cat >>confdefs.h
<<_ACEOF
25728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25735 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25736 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25737 cat >conftest.
$ac_ext <<_ACEOF
25740 cat confdefs.h
>>conftest.
$ac_ext
25741 cat >>conftest.
$ac_ext <<_ACEOF
25742 /* end confdefs.h. */
25744 #include <gtk/gtk.h>
25750 #if !GTK_CHECK_VERSION(2,4,0)
25751 #error "Not GTK+ 2.4"
25758 rm -f conftest.
$ac_objext
25759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25760 (eval $ac_compile) 2>conftest.er1
25762 grep -v '^ *+' conftest.er1
>conftest.err
25764 cat conftest.err
>&5
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); } &&
25767 { ac_try
='test -z "$ac_c_werror_flag"
25768 || test ! -s conftest.err'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; } &&
25774 { ac_try
='test -s conftest.$ac_objext'
25775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776 (eval $ac_try) 2>&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); }; }; then
25781 cat >>confdefs.h
<<\_ACEOF
25782 #define __WXGTK24__ 1
25785 echo "$as_me:$LINENO: result: yes" >&5
25786 echo "${ECHO_T}yes" >&6
25789 echo "$as_me: failed program was:" >&5
25790 sed 's/^/| /' conftest.
$ac_ext >&5
25793 echo "$as_me:$LINENO: result: no" >&5
25794 echo "${ECHO_T}no" >&6
25797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25799 CFLAGS
="$save_CFLAGS"
25802 if test "$wxUSE_UNICODE" = "yes"; then
25803 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25804 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25809 if test "$USE_DARWIN" != 1; then
25811 for ac_func
in poll
25813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25814 echo "$as_me:$LINENO: checking for $ac_func" >&5
25815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25816 if eval "test \"\${$as_ac_var+set}\" = set"; then
25817 echo $ECHO_N "(cached) $ECHO_C" >&6
25819 cat >conftest.
$ac_ext <<_ACEOF
25822 cat confdefs.h
>>conftest.
$ac_ext
25823 cat >>conftest.
$ac_ext <<_ACEOF
25824 /* end confdefs.h. */
25825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25827 #define $ac_func innocuous_$ac_func
25829 /* System header to define __stub macros and hopefully few prototypes,
25830 which can conflict with char $ac_func (); below.
25831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25832 <limits.h> exists even on freestanding compilers. */
25835 # include <limits.h>
25837 # include <assert.h>
25842 /* Override any gcc2 internal prototype to avoid an error. */
25847 /* We use char because int might match the return type of a gcc2
25848 builtin and then its argument prototype would still apply. */
25850 /* The GNU C library defines this for functions which it implements
25851 to always fail with ENOSYS. Some functions are actually named
25852 something starting with __ and the normal name is an alias. */
25853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25856 char (*f) () = $ac_func;
25865 return f != $ac_func;
25870 rm -f conftest.
$ac_objext conftest
$ac_exeext
25871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25872 (eval $ac_link) 2>conftest.er1
25874 grep -v '^ *+' conftest.er1
>conftest.err
25876 cat conftest.err
>&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); } &&
25879 { ac_try
='test -z "$ac_c_werror_flag"
25880 || test ! -s conftest.err'
25881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25882 (eval $ac_try) 2>&5
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); }; } &&
25886 { ac_try
='test -s conftest$ac_exeext'
25887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25888 (eval $ac_try) 2>&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); }; }; then
25892 eval "$as_ac_var=yes"
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.
$ac_ext >&5
25897 eval "$as_ac_var=no"
25899 rm -f conftest.err conftest.
$ac_objext \
25900 conftest
$ac_exeext conftest.
$ac_ext
25902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25904 if test `eval echo '${'$as_ac_var'}'` = yes; then
25905 cat >>confdefs.h
<<_ACEOF
25906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25914 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25915 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25917 AFMINSTALL
=afminstall
25921 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25922 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25923 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25924 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 ac_check_lib_save_LIBS
=$LIBS
25928 cat >conftest.
$ac_ext <<_ACEOF
25931 cat confdefs.h
>>conftest.
$ac_ext
25932 cat >>conftest.
$ac_ext <<_ACEOF
25933 /* end confdefs.h. */
25935 /* Override any gcc2 internal prototype to avoid an error. */
25939 /* We use char because int might match the return type of a gcc2
25940 builtin and then its argument prototype would still apply. */
25941 char gdk_im_open ();
25950 rm -f conftest.
$ac_objext conftest
$ac_exeext
25951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25952 (eval $ac_link) 2>conftest.er1
25954 grep -v '^ *+' conftest.er1
>conftest.err
25956 cat conftest.err
>&5
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); } &&
25959 { ac_try
='test -z "$ac_c_werror_flag"
25960 || test ! -s conftest.err'
25961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25962 (eval $ac_try) 2>&5
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); }; } &&
25966 { ac_try
='test -s conftest$ac_exeext'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; }; then
25972 ac_cv_lib_gdk_gdk_im_open
=yes
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.
$ac_ext >&5
25977 ac_cv_lib_gdk_gdk_im_open
=no
25979 rm -f conftest.err conftest.
$ac_objext \
25980 conftest
$ac_exeext conftest.
$ac_ext
25981 LIBS
=$ac_check_lib_save_LIBS
25983 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25984 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25985 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25986 cat >>confdefs.h
<<\_ACEOF
25994 if test "$wxUSE_GPE" = "yes"; then
25995 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25996 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25999 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26001 for ac_extension
in a so sl dylib
; do
26002 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26003 ac_find_libraries
=$ac_dir
26009 if test "$ac_find_libraries" != "" ; then
26011 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26013 if test $result = 0; then
26016 ac_path_to_link
=" -L$ac_find_libraries"
26019 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26021 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26022 echo "${ECHO_T}found at $ac_find_libraries" >&6
26024 echo "$as_me:$LINENO: result: not found" >&5
26025 echo "${ECHO_T}not found" >&6
26031 if test "$wxUSE_MGL" = 1; then
26032 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26033 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26034 if test "x$MGL_ROOT" = x
; then
26035 echo "$as_me:$LINENO: result: not found" >&5
26036 echo "${ECHO_T}not found" >&6
26037 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26038 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26039 { (exit 1); exit 1; }; }
26041 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26042 echo "${ECHO_T}$MGL_ROOT" >&6
26045 echo "$as_me:$LINENO: checking for libmgl location" >&5
26046 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26049 if test "x$wxUSE_SHARED" = xyes
; then
26050 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26052 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26056 mgl_os_candidates
="dos32/dj2"
26059 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26060 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26061 { (exit 1); exit 1; }; }
26067 for mgl_os_i
in $mgl_os_candidates ; do
26068 if test "x$mgl_os" = x
; then
26069 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26070 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26071 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26076 if test "x$mgl_lib_type" = x
; then
26077 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26078 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26079 mgl_lib_type
=release
26086 if test "x$mgl_os" = x
; then
26087 echo "$as_me:$LINENO: result: not found" >&5
26088 echo "${ECHO_T}not found" >&6
26089 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26090 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26091 { (exit 1); exit 1; }; }
26093 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26094 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26096 wxUSE_UNIVERSAL
="yes"
26098 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26099 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26101 AFMINSTALL
=afminstall
26106 if test "$wxUSE_MICROWIN" = 1; then
26107 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26108 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26109 if test "x$MICROWINDOWS" = x
; then
26110 echo "$as_me:$LINENO: result: not found" >&5
26111 echo "${ECHO_T}not found" >&6
26112 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26113 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26114 { (exit 1); exit 1; }; }
26116 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26117 echo "${ECHO_T}$MICROWINDOWS" >&6
26120 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26121 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26122 echo "${ECHO_T}MicroWindows' libraries found." >&6
26124 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26125 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26126 { (exit 1); exit 1; }; }
26129 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26130 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26132 wxUSE_UNIVERSAL
="yes"
26134 AFMINSTALL
=afminstall
26136 GUIDIST
=MICROWIN_DIST
26138 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26141 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26142 echo "$as_me:$LINENO: checking for X" >&5
26143 echo $ECHO_N "checking for X... $ECHO_C" >&6
26146 # Check whether --with-x or --without-x was given.
26147 if test "${with_x+set}" = set; then
26151 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26152 if test "x$with_x" = xno
; then
26153 # The user explicitly disabled X.
26156 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26157 # Both variables are already set.
26160 if test "${ac_cv_have_x+set}" = set; then
26161 echo $ECHO_N "(cached) $ECHO_C" >&6
26163 # One or both of the vars are not set, and there is no cached value.
26164 ac_x_includes
=no ac_x_libraries
=no
26165 rm -fr conftest.dir
26166 if mkdir conftest.dir
; then
26168 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26169 cat >Imakefile
<<'_ACEOF'
26171 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26173 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26174 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26175 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26176 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26177 for ac_extension
in a so sl
; do
26178 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26179 test -f $ac_im_libdir/libX11.
$ac_extension; then
26180 ac_im_usrlibdir
=$ac_im_libdir; break
26183 # Screen out bogus values from the imake configuration. They are
26184 # bogus both because they are the default anyway, and because
26185 # using them would break gcc on systems where it needs fixed includes.
26186 case $ac_im_incroot in
26188 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26190 case $ac_im_usrlibdir in
26191 /usr
/lib
| /lib
) ;;
26192 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26196 rm -fr conftest.dir
26199 # Standard set of common directories for X headers.
26200 # Check X11 before X11Rn because it is often a symlink to the current release.
26212 /usr/local/X11/include
26213 /usr/local/X11R6/include
26214 /usr/local/X11R5/include
26215 /usr/local/X11R4/include
26217 /usr/local/include/X11
26218 /usr/local/include/X11R6
26219 /usr/local/include/X11R5
26220 /usr/local/include/X11R4
26224 /usr/XFree86/include/X11
26228 /usr/unsupported/include
26229 /usr/athena/include
26230 /usr/local/x11r5/include
26231 /usr/lpp/Xamples/include
26233 /usr/openwin/include
26234 /usr/openwin/share/include'
26236 if test "$ac_x_includes" = no
; then
26237 # Guess where to find include files, by looking for Intrinsic.h.
26238 # First, try using that file with no special directory specified.
26239 cat >conftest.
$ac_ext <<_ACEOF
26242 cat confdefs.h
>>conftest.
$ac_ext
26243 cat >>conftest.
$ac_ext <<_ACEOF
26244 /* end confdefs.h. */
26245 #include <X11/Intrinsic.h>
26247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26250 grep -v '^ *+' conftest.er1
>conftest.err
26252 cat conftest.err
>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } >/dev
/null
; then
26255 if test -s conftest.err
; then
26256 ac_cpp_err
=$ac_c_preproc_warn_flag
26257 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26264 if test -z "$ac_cpp_err"; then
26265 # We can compile using X headers with no special include directory.
26268 echo "$as_me: failed program was:" >&5
26269 sed 's/^/| /' conftest.
$ac_ext >&5
26271 for ac_dir
in $ac_x_header_dirs; do
26272 if test -r "$ac_dir/X11/Intrinsic.h"; then
26273 ac_x_includes
=$ac_dir
26278 rm -f conftest.err conftest.
$ac_ext
26279 fi # $ac_x_includes = no
26281 if test "$ac_x_libraries" = no
; then
26282 # Check for the libraries.
26283 # See if we find them without any special options.
26284 # Don't add to $LIBS permanently.
26287 cat >conftest.
$ac_ext <<_ACEOF
26290 cat confdefs.h
>>conftest.
$ac_ext
26291 cat >>conftest.
$ac_ext <<_ACEOF
26292 /* end confdefs.h. */
26293 #include <X11/Intrinsic.h>
26302 rm -f conftest.
$ac_objext conftest
$ac_exeext
26303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26304 (eval $ac_link) 2>conftest.er1
26306 grep -v '^ *+' conftest.er1
>conftest.err
26308 cat conftest.err
>&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); } &&
26311 { ac_try
='test -z "$ac_c_werror_flag"
26312 || test ! -s conftest.err'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; } &&
26318 { ac_try
='test -s conftest$ac_exeext'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26325 # We can link X programs with no special library path.
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.
$ac_ext >&5
26332 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26334 # Don't even attempt the hair of trying to link an X program!
26335 for ac_extension
in a so sl
; do
26336 if test -r $ac_dir/libXt.
$ac_extension; then
26337 ac_x_libraries
=$ac_dir
26343 rm -f conftest.err conftest.
$ac_objext \
26344 conftest
$ac_exeext conftest.
$ac_ext
26345 fi # $ac_x_libraries = no
26347 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26348 # Didn't find X anywhere. Cache the known absence of X.
26349 ac_cv_have_x
="have_x=no"
26351 # Record where we found X for the cache.
26352 ac_cv_have_x
="have_x=yes \
26353 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26358 eval "$ac_cv_have_x"
26361 if test "$have_x" != yes; then
26362 echo "$as_me:$LINENO: result: $have_x" >&5
26363 echo "${ECHO_T}$have_x" >&6
26366 # If each of the values was on the command line, it overrides each guess.
26367 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26368 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26369 # Update the cache value to reflect the command line values.
26370 ac_cv_have_x
="have_x=yes \
26371 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26372 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
26373 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
26376 if test "$no_x" = yes; then
26377 # Not all programs may use this symbol, but it does not hurt to define it.
26379 cat >>confdefs.h
<<\_ACEOF
26380 #define X_DISPLAY_MISSING 1
26383 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26385 if test -n "$x_includes"; then
26386 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26389 # It would also be nice to do this for all -L options, not just this one.
26390 if test -n "$x_libraries"; then
26391 X_LIBS
="$X_LIBS -L$x_libraries"
26392 # For Solaris; some versions of Sun CC require a space after -R and
26393 # others require no space. Words are not sufficient . . . .
26394 case `(uname -sr) 2>/dev/null` in
26396 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26397 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26398 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26399 cat >conftest.
$ac_ext <<_ACEOF
26402 cat confdefs.h
>>conftest.
$ac_ext
26403 cat >>conftest.
$ac_ext <<_ACEOF
26404 /* end confdefs.h. */
26414 rm -f conftest.
$ac_objext conftest
$ac_exeext
26415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26416 (eval $ac_link) 2>conftest.er1
26418 grep -v '^ *+' conftest.er1
>conftest.err
26420 cat conftest.err
>&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } &&
26423 { ac_try
='test -z "$ac_c_werror_flag"
26424 || test ! -s conftest.err'
26425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26426 (eval $ac_try) 2>&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); }; } &&
26430 { ac_try
='test -s conftest$ac_exeext'
26431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432 (eval $ac_try) 2>&5
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }; }; then
26438 echo "$as_me: failed program was:" >&5
26439 sed 's/^/| /' conftest.
$ac_ext >&5
26443 rm -f conftest.err conftest.
$ac_objext \
26444 conftest
$ac_exeext conftest.
$ac_ext
26445 if test $ac_R_nospace = yes; then
26446 echo "$as_me:$LINENO: result: no" >&5
26447 echo "${ECHO_T}no" >&6
26448 X_LIBS
="$X_LIBS -R$x_libraries"
26450 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26451 cat >conftest.
$ac_ext <<_ACEOF
26454 cat confdefs.h
>>conftest.
$ac_ext
26455 cat >>conftest.
$ac_ext <<_ACEOF
26456 /* end confdefs.h. */
26466 rm -f conftest.
$ac_objext conftest
$ac_exeext
26467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26468 (eval $ac_link) 2>conftest.er1
26470 grep -v '^ *+' conftest.er1
>conftest.err
26472 cat conftest.err
>&5
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); } &&
26475 { ac_try
='test -z "$ac_c_werror_flag"
26476 || test ! -s conftest.err'
26477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26478 (eval $ac_try) 2>&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); }; } &&
26482 { ac_try
='test -s conftest$ac_exeext'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; }; then
26490 echo "$as_me: failed program was:" >&5
26491 sed 's/^/| /' conftest.
$ac_ext >&5
26495 rm -f conftest.err conftest.
$ac_objext \
26496 conftest
$ac_exeext conftest.
$ac_ext
26497 if test $ac_R_space = yes; then
26498 echo "$as_me:$LINENO: result: yes" >&5
26499 echo "${ECHO_T}yes" >&6
26500 X_LIBS
="$X_LIBS -R $x_libraries"
26502 echo "$as_me:$LINENO: result: neither works" >&5
26503 echo "${ECHO_T}neither works" >&6
26506 LIBS
=$ac_xsave_LIBS
26510 # Check for system-dependent libraries X programs must link with.
26511 # Do this before checking for the system-independent R6 libraries
26512 # (-lICE), since we may need -lsocket or whatever for X linking.
26514 if test "$ISC" = yes; then
26515 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26517 # Martyn Johnson says this is needed for Ultrix, if the X
26518 # libraries were built with DECnet support. And Karl Berry says
26519 # the Alpha needs dnet_stub (dnet does not exist).
26520 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26521 cat >conftest.
$ac_ext <<_ACEOF
26524 cat confdefs.h
>>conftest.
$ac_ext
26525 cat >>conftest.
$ac_ext <<_ACEOF
26526 /* end confdefs.h. */
26528 /* Override any gcc2 internal prototype to avoid an error. */
26532 /* We use char because int might match the return type of a gcc2
26533 builtin and then its argument prototype would still apply. */
26534 char XOpenDisplay ();
26543 rm -f conftest.
$ac_objext conftest
$ac_exeext
26544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26545 (eval $ac_link) 2>conftest.er1
26547 grep -v '^ *+' conftest.er1
>conftest.err
26549 cat conftest.err
>&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); } &&
26552 { ac_try
='test -z "$ac_c_werror_flag"
26553 || test ! -s conftest.err'
26554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26555 (eval $ac_try) 2>&5
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); }; } &&
26559 { ac_try
='test -s conftest$ac_exeext'
26560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26561 (eval $ac_try) 2>&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); }; }; then
26567 echo "$as_me: failed program was:" >&5
26568 sed 's/^/| /' conftest.
$ac_ext >&5
26570 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26571 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26572 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26573 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 ac_check_lib_save_LIBS
=$LIBS
26576 LIBS
="-ldnet $LIBS"
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. */
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"
26609 || test ! -s conftest.err'
26610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26611 (eval $ac_try) 2>&5
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); }; } &&
26615 { ac_try
='test -s conftest$ac_exeext'
26616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26617 (eval $ac_try) 2>&5
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); }; }; then
26621 ac_cv_lib_dnet_dnet_ntoa
=yes
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.
$ac_ext >&5
26626 ac_cv_lib_dnet_dnet_ntoa
=no
26628 rm -f conftest.err conftest.
$ac_objext \
26629 conftest
$ac_exeext conftest.
$ac_ext
26630 LIBS
=$ac_check_lib_save_LIBS
26632 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26633 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26634 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26635 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26638 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26639 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26640 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26641 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26642 echo $ECHO_N "(cached) $ECHO_C" >&6
26644 ac_check_lib_save_LIBS
=$LIBS
26645 LIBS
="-ldnet_stub $LIBS"
26646 cat >conftest.
$ac_ext <<_ACEOF
26649 cat confdefs.h
>>conftest.
$ac_ext
26650 cat >>conftest.
$ac_ext <<_ACEOF
26651 /* end confdefs.h. */
26653 /* Override any gcc2 internal prototype to avoid an error. */
26657 /* We use char because int might match the return type of a gcc2
26658 builtin and then its argument prototype would still apply. */
26668 rm -f conftest.
$ac_objext conftest
$ac_exeext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26670 (eval $ac_link) 2>conftest.er1
26672 grep -v '^ *+' conftest.er1
>conftest.err
26674 cat conftest.err
>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try
='test -z "$ac_c_werror_flag"
26678 || test ! -s conftest.err'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; } &&
26684 { ac_try
='test -s conftest$ac_exeext'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; }; then
26690 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.
$ac_ext >&5
26695 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26697 rm -f conftest.err conftest.
$ac_objext \
26698 conftest
$ac_exeext conftest.
$ac_ext
26699 LIBS
=$ac_check_lib_save_LIBS
26701 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26702 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26703 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26704 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26709 rm -f conftest.err conftest.
$ac_objext \
26710 conftest
$ac_exeext conftest.
$ac_ext
26711 LIBS
="$ac_xsave_LIBS"
26713 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26714 # to get the SysV transport functions.
26715 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26717 # The nsl library prevents programs from opening the X display
26718 # on Irix 5.2, according to T.E. Dickey.
26719 # The functions gethostbyname, getservbyname, and inet_addr are
26720 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26721 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26722 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26723 if test "${ac_cv_func_gethostbyname+set}" = set; then
26724 echo $ECHO_N "(cached) $ECHO_C" >&6
26726 cat >conftest.
$ac_ext <<_ACEOF
26729 cat confdefs.h
>>conftest.
$ac_ext
26730 cat >>conftest.
$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26732 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26734 #define gethostbyname innocuous_gethostbyname
26736 /* System header to define __stub macros and hopefully few prototypes,
26737 which can conflict with char gethostbyname (); below.
26738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26739 <limits.h> exists even on freestanding compilers. */
26742 # include <limits.h>
26744 # include <assert.h>
26747 #undef gethostbyname
26749 /* Override any gcc2 internal prototype to avoid an error. */
26754 /* We use char because int might match the return type of a gcc2
26755 builtin and then its argument prototype would still apply. */
26756 char gethostbyname ();
26757 /* The GNU C library defines this for functions which it implements
26758 to always fail with ENOSYS. Some functions are actually named
26759 something starting with __ and the normal name is an alias. */
26760 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26763 char (*f) () = gethostbyname;
26772 return f != gethostbyname;
26777 rm -f conftest.
$ac_objext conftest
$ac_exeext
26778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26779 (eval $ac_link) 2>conftest.er1
26781 grep -v '^ *+' conftest.er1
>conftest.err
26783 cat conftest.err
>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } &&
26786 { ac_try
='test -z "$ac_c_werror_flag"
26787 || test ! -s conftest.err'
26788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26789 (eval $ac_try) 2>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); }; } &&
26793 { ac_try
='test -s conftest$ac_exeext'
26794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26795 (eval $ac_try) 2>&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); }; }; then
26799 ac_cv_func_gethostbyname
=yes
26801 echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.
$ac_ext >&5
26804 ac_cv_func_gethostbyname
=no
26806 rm -f conftest.err conftest.
$ac_objext \
26807 conftest
$ac_exeext conftest.
$ac_ext
26809 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26810 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26812 if test $ac_cv_func_gethostbyname = no
; then
26813 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26814 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26815 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26816 echo $ECHO_N "(cached) $ECHO_C" >&6
26818 ac_check_lib_save_LIBS
=$LIBS
26820 cat >conftest.
$ac_ext <<_ACEOF
26823 cat confdefs.h
>>conftest.
$ac_ext
26824 cat >>conftest.
$ac_ext <<_ACEOF
26825 /* end confdefs.h. */
26827 /* Override any gcc2 internal prototype to avoid an error. */
26831 /* We use char because int might match the return type of a gcc2
26832 builtin and then its argument prototype would still apply. */
26833 char gethostbyname ();
26842 rm -f conftest.
$ac_objext conftest
$ac_exeext
26843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26844 (eval $ac_link) 2>conftest.er1
26846 grep -v '^ *+' conftest.er1
>conftest.err
26848 cat conftest.err
>&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); } &&
26851 { ac_try
='test -z "$ac_c_werror_flag"
26852 || test ! -s conftest.err'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; } &&
26858 { ac_try
='test -s conftest$ac_exeext'
26859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26860 (eval $ac_try) 2>&5
26862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26863 (exit $ac_status); }; }; then
26864 ac_cv_lib_nsl_gethostbyname
=yes
26866 echo "$as_me: failed program was:" >&5
26867 sed 's/^/| /' conftest.
$ac_ext >&5
26869 ac_cv_lib_nsl_gethostbyname
=no
26871 rm -f conftest.err conftest.
$ac_objext \
26872 conftest
$ac_exeext conftest.
$ac_ext
26873 LIBS
=$ac_check_lib_save_LIBS
26875 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26876 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26877 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26878 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26881 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26882 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26883 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26884 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26885 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 ac_check_lib_save_LIBS
=$LIBS
26889 cat >conftest.
$ac_ext <<_ACEOF
26892 cat confdefs.h
>>conftest.
$ac_ext
26893 cat >>conftest.
$ac_ext <<_ACEOF
26894 /* end confdefs.h. */
26896 /* Override any gcc2 internal prototype to avoid an error. */
26900 /* We use char because int might match the return type of a gcc2
26901 builtin and then its argument prototype would still apply. */
26902 char gethostbyname ();
26911 rm -f conftest.
$ac_objext conftest
$ac_exeext
26912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26913 (eval $ac_link) 2>conftest.er1
26915 grep -v '^ *+' conftest.er1
>conftest.err
26917 cat conftest.err
>&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } &&
26920 { ac_try
='test -z "$ac_c_werror_flag"
26921 || test ! -s conftest.err'
26922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26923 (eval $ac_try) 2>&5
26925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26926 (exit $ac_status); }; } &&
26927 { ac_try
='test -s conftest$ac_exeext'
26928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26929 (eval $ac_try) 2>&5
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); }; }; then
26933 ac_cv_lib_bsd_gethostbyname
=yes
26935 echo "$as_me: failed program was:" >&5
26936 sed 's/^/| /' conftest.
$ac_ext >&5
26938 ac_cv_lib_bsd_gethostbyname
=no
26940 rm -f conftest.err conftest.
$ac_objext \
26941 conftest
$ac_exeext conftest.
$ac_ext
26942 LIBS
=$ac_check_lib_save_LIBS
26944 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26945 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26946 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26947 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26953 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26954 # socket/setsockopt and other routines are undefined under SCO ODT
26955 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26956 # on later versions), says Simon Leinen: it contains gethostby*
26957 # variants that don't use the name server (or something). -lsocket
26958 # must be given before -lnsl if both are needed. We assume that
26959 # if connect needs -lnsl, so does gethostbyname.
26960 echo "$as_me:$LINENO: checking for connect" >&5
26961 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26962 if test "${ac_cv_func_connect+set}" = set; then
26963 echo $ECHO_N "(cached) $ECHO_C" >&6
26965 cat >conftest.
$ac_ext <<_ACEOF
26968 cat confdefs.h
>>conftest.
$ac_ext
26969 cat >>conftest.
$ac_ext <<_ACEOF
26970 /* end confdefs.h. */
26971 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26973 #define connect innocuous_connect
26975 /* System header to define __stub macros and hopefully few prototypes,
26976 which can conflict with char connect (); below.
26977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26978 <limits.h> exists even on freestanding compilers. */
26981 # include <limits.h>
26983 # include <assert.h>
26988 /* Override any gcc2 internal prototype to avoid an error. */
26993 /* We use char because int might match the return type of a gcc2
26994 builtin and then its argument prototype would still apply. */
26996 /* The GNU C library defines this for functions which it implements
26997 to always fail with ENOSYS. Some functions are actually named
26998 something starting with __ and the normal name is an alias. */
26999 #if defined (__stub_connect) || defined (__stub___connect)
27002 char (*f) () = connect;
27011 return f != connect;
27016 rm -f conftest.
$ac_objext conftest
$ac_exeext
27017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27018 (eval $ac_link) 2>conftest.er1
27020 grep -v '^ *+' conftest.er1
>conftest.err
27022 cat conftest.err
>&5
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); } &&
27025 { ac_try
='test -z "$ac_c_werror_flag"
27026 || test ! -s conftest.err'
27027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27028 (eval $ac_try) 2>&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); }; } &&
27032 { ac_try
='test -s conftest$ac_exeext'
27033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034 (eval $ac_try) 2>&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); }; }; then
27038 ac_cv_func_connect
=yes
27040 echo "$as_me: failed program was:" >&5
27041 sed 's/^/| /' conftest.
$ac_ext >&5
27043 ac_cv_func_connect
=no
27045 rm -f conftest.err conftest.
$ac_objext \
27046 conftest
$ac_exeext conftest.
$ac_ext
27048 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27049 echo "${ECHO_T}$ac_cv_func_connect" >&6
27051 if test $ac_cv_func_connect = no
; then
27052 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27053 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27054 if test "${ac_cv_lib_socket_connect+set}" = set; then
27055 echo $ECHO_N "(cached) $ECHO_C" >&6
27057 ac_check_lib_save_LIBS
=$LIBS
27058 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27059 cat >conftest.
$ac_ext <<_ACEOF
27062 cat confdefs.h
>>conftest.
$ac_ext
27063 cat >>conftest.
$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27066 /* Override any gcc2 internal prototype to avoid an error. */
27070 /* We use char because int might match the return type of a gcc2
27071 builtin and then its argument prototype would still apply. */
27081 rm -f conftest.
$ac_objext conftest
$ac_exeext
27082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27083 (eval $ac_link) 2>conftest.er1
27085 grep -v '^ *+' conftest.er1
>conftest.err
27087 cat conftest.err
>&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); } &&
27090 { ac_try
='test -z "$ac_c_werror_flag"
27091 || test ! -s conftest.err'
27092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27093 (eval $ac_try) 2>&5
27095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27096 (exit $ac_status); }; } &&
27097 { ac_try
='test -s conftest$ac_exeext'
27098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27099 (eval $ac_try) 2>&5
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); }; }; then
27103 ac_cv_lib_socket_connect
=yes
27105 echo "$as_me: failed program was:" >&5
27106 sed 's/^/| /' conftest.
$ac_ext >&5
27108 ac_cv_lib_socket_connect
=no
27110 rm -f conftest.err conftest.
$ac_objext \
27111 conftest
$ac_exeext conftest.
$ac_ext
27112 LIBS
=$ac_check_lib_save_LIBS
27114 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27115 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27116 if test $ac_cv_lib_socket_connect = yes; then
27117 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27122 # Guillermo Gomez says -lposix is necessary on A/UX.
27123 echo "$as_me:$LINENO: checking for remove" >&5
27124 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27125 if test "${ac_cv_func_remove+set}" = set; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27128 cat >conftest.
$ac_ext <<_ACEOF
27131 cat confdefs.h
>>conftest.
$ac_ext
27132 cat >>conftest.
$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27136 #define remove innocuous_remove
27138 /* System header to define __stub macros and hopefully few prototypes,
27139 which can conflict with char remove (); below.
27140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27141 <limits.h> exists even on freestanding compilers. */
27144 # include <limits.h>
27146 # include <assert.h>
27151 /* Override any gcc2 internal prototype to avoid an error. */
27156 /* We use char because int might match the return type of a gcc2
27157 builtin and then its argument prototype would still apply. */
27159 /* The GNU C library defines this for functions which it implements
27160 to always fail with ENOSYS. Some functions are actually named
27161 something starting with __ and the normal name is an alias. */
27162 #if defined (__stub_remove) || defined (__stub___remove)
27165 char (*f) () = remove;
27174 return f != remove;
27179 rm -f conftest.
$ac_objext conftest
$ac_exeext
27180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27181 (eval $ac_link) 2>conftest.er1
27183 grep -v '^ *+' conftest.er1
>conftest.err
27185 cat conftest.err
>&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); } &&
27188 { ac_try
='test -z "$ac_c_werror_flag"
27189 || test ! -s conftest.err'
27190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27191 (eval $ac_try) 2>&5
27193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); }; } &&
27195 { ac_try
='test -s conftest$ac_exeext'
27196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27197 (eval $ac_try) 2>&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); }; }; then
27201 ac_cv_func_remove
=yes
27203 echo "$as_me: failed program was:" >&5
27204 sed 's/^/| /' conftest.
$ac_ext >&5
27206 ac_cv_func_remove
=no
27208 rm -f conftest.err conftest.
$ac_objext \
27209 conftest
$ac_exeext conftest.
$ac_ext
27211 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27212 echo "${ECHO_T}$ac_cv_func_remove" >&6
27214 if test $ac_cv_func_remove = no
; then
27215 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27216 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27217 if test "${ac_cv_lib_posix_remove+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27220 ac_check_lib_save_LIBS
=$LIBS
27221 LIBS
="-lposix $LIBS"
27222 cat >conftest.
$ac_ext <<_ACEOF
27225 cat confdefs.h
>>conftest.
$ac_ext
27226 cat >>conftest.
$ac_ext <<_ACEOF
27227 /* end confdefs.h. */
27229 /* Override any gcc2 internal prototype to avoid an error. */
27233 /* We use char because int might match the return type of a gcc2
27234 builtin and then its argument prototype would still apply. */
27244 rm -f conftest.
$ac_objext conftest
$ac_exeext
27245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27246 (eval $ac_link) 2>conftest.er1
27248 grep -v '^ *+' conftest.er1
>conftest.err
27250 cat conftest.err
>&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } &&
27253 { ac_try
='test -z "$ac_c_werror_flag"
27254 || test ! -s conftest.err'
27255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27256 (eval $ac_try) 2>&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); }; } &&
27260 { ac_try
='test -s conftest$ac_exeext'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; }; then
27266 ac_cv_lib_posix_remove
=yes
27268 echo "$as_me: failed program was:" >&5
27269 sed 's/^/| /' conftest.
$ac_ext >&5
27271 ac_cv_lib_posix_remove
=no
27273 rm -f conftest.err conftest.
$ac_objext \
27274 conftest
$ac_exeext conftest.
$ac_ext
27275 LIBS
=$ac_check_lib_save_LIBS
27277 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27278 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27279 if test $ac_cv_lib_posix_remove = yes; then
27280 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27285 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27286 echo "$as_me:$LINENO: checking for shmat" >&5
27287 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27288 if test "${ac_cv_func_shmat+set}" = set; then
27289 echo $ECHO_N "(cached) $ECHO_C" >&6
27291 cat >conftest.
$ac_ext <<_ACEOF
27294 cat confdefs.h
>>conftest.
$ac_ext
27295 cat >>conftest.
$ac_ext <<_ACEOF
27296 /* end confdefs.h. */
27297 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27299 #define shmat innocuous_shmat
27301 /* System header to define __stub macros and hopefully few prototypes,
27302 which can conflict with char shmat (); below.
27303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27304 <limits.h> exists even on freestanding compilers. */
27307 # include <limits.h>
27309 # include <assert.h>
27314 /* Override any gcc2 internal prototype to avoid an error. */
27319 /* We use char because int might match the return type of a gcc2
27320 builtin and then its argument prototype would still apply. */
27322 /* The GNU C library defines this for functions which it implements
27323 to always fail with ENOSYS. Some functions are actually named
27324 something starting with __ and the normal name is an alias. */
27325 #if defined (__stub_shmat) || defined (__stub___shmat)
27328 char (*f) () = shmat;
27342 rm -f conftest.
$ac_objext conftest
$ac_exeext
27343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27344 (eval $ac_link) 2>conftest.er1
27346 grep -v '^ *+' conftest.er1
>conftest.err
27348 cat conftest.err
>&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); } &&
27351 { ac_try
='test -z "$ac_c_werror_flag"
27352 || test ! -s conftest.err'
27353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27354 (eval $ac_try) 2>&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); }; } &&
27358 { ac_try
='test -s conftest$ac_exeext'
27359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27360 (eval $ac_try) 2>&5
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); }; }; then
27364 ac_cv_func_shmat
=yes
27366 echo "$as_me: failed program was:" >&5
27367 sed 's/^/| /' conftest.
$ac_ext >&5
27369 ac_cv_func_shmat
=no
27371 rm -f conftest.err conftest.
$ac_objext \
27372 conftest
$ac_exeext conftest.
$ac_ext
27374 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27375 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27377 if test $ac_cv_func_shmat = no
; then
27378 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27379 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27380 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27381 echo $ECHO_N "(cached) $ECHO_C" >&6
27383 ac_check_lib_save_LIBS
=$LIBS
27385 cat >conftest.
$ac_ext <<_ACEOF
27388 cat confdefs.h
>>conftest.
$ac_ext
27389 cat >>conftest.
$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27392 /* Override any gcc2 internal prototype to avoid an error. */
27396 /* We use char because int might match the return type of a gcc2
27397 builtin and then its argument prototype would still apply. */
27407 rm -f conftest.
$ac_objext conftest
$ac_exeext
27408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27409 (eval $ac_link) 2>conftest.er1
27411 grep -v '^ *+' conftest.er1
>conftest.err
27413 cat conftest.err
>&5
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); } &&
27416 { ac_try
='test -z "$ac_c_werror_flag"
27417 || test ! -s conftest.err'
27418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27419 (eval $ac_try) 2>&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); }; } &&
27423 { ac_try
='test -s conftest$ac_exeext'
27424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27425 (eval $ac_try) 2>&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); }; }; then
27429 ac_cv_lib_ipc_shmat
=yes
27431 echo "$as_me: failed program was:" >&5
27432 sed 's/^/| /' conftest.
$ac_ext >&5
27434 ac_cv_lib_ipc_shmat
=no
27436 rm -f conftest.err conftest.
$ac_objext \
27437 conftest
$ac_exeext conftest.
$ac_ext
27438 LIBS
=$ac_check_lib_save_LIBS
27440 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27441 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27442 if test $ac_cv_lib_ipc_shmat = yes; then
27443 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27449 # Check for libraries that X11R6 Xt/Xaw programs need.
27450 ac_save_LDFLAGS
=$LDFLAGS
27451 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27452 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27453 # check for ICE first), but we must link in the order -lSM -lICE or
27454 # we get undefined symbols. So assume we have SM if we have ICE.
27455 # These have to be linked with before -lX11, unlike the other
27456 # libraries we check for below, so use a different variable.
27457 # John Interrante, Karl Berry
27458 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27459 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27460 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27461 echo $ECHO_N "(cached) $ECHO_C" >&6
27463 ac_check_lib_save_LIBS
=$LIBS
27464 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27465 cat >conftest.
$ac_ext <<_ACEOF
27468 cat confdefs.h
>>conftest.
$ac_ext
27469 cat >>conftest.
$ac_ext <<_ACEOF
27470 /* end confdefs.h. */
27472 /* Override any gcc2 internal prototype to avoid an error. */
27476 /* We use char because int might match the return type of a gcc2
27477 builtin and then its argument prototype would still apply. */
27478 char IceConnectionNumber ();
27482 IceConnectionNumber ();
27487 rm -f conftest.
$ac_objext conftest
$ac_exeext
27488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27489 (eval $ac_link) 2>conftest.er1
27491 grep -v '^ *+' conftest.er1
>conftest.err
27493 cat conftest.err
>&5
27494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495 (exit $ac_status); } &&
27496 { ac_try
='test -z "$ac_c_werror_flag"
27497 || test ! -s conftest.err'
27498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27499 (eval $ac_try) 2>&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); }; } &&
27503 { ac_try
='test -s conftest$ac_exeext'
27504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27505 (eval $ac_try) 2>&5
27507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508 (exit $ac_status); }; }; then
27509 ac_cv_lib_ICE_IceConnectionNumber
=yes
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.
$ac_ext >&5
27514 ac_cv_lib_ICE_IceConnectionNumber
=no
27516 rm -f conftest.err conftest.
$ac_objext \
27517 conftest
$ac_exeext conftest.
$ac_ext
27518 LIBS
=$ac_check_lib_save_LIBS
27520 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27521 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27522 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27523 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27526 LDFLAGS
=$ac_save_LDFLAGS
27531 if test "$no_x" = "yes"; then
27532 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27533 echo "$as_me: error: X11 not found" >&2;}
27534 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27537 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27538 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27539 AFMINSTALL
=afminstall
27540 COMPILED_X_PROGRAM
=0
27544 if test "$wxUSE_X11" = 1; then
27545 if test "$wxUSE_NANOX" = "yes"; then
27546 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27547 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27548 if test "x$MICROWIN" = x
; then
27549 echo "$as_me:$LINENO: result: not found" >&5
27550 echo "${ECHO_T}not found" >&6
27551 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27552 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27553 { (exit 1); exit 1; }; }
27555 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27556 echo "${ECHO_T}$MICROWIN" >&6
27557 cat >>confdefs.h
<<\_ACEOF
27558 #define wxUSE_NANOX 1
27564 if test "$wxUSE_UNICODE" = "yes"; then
27568 if test -z "$PKG_CONFIG"; then
27569 # Extract the first word of "pkg-config", so it can be a program name with args.
27570 set dummy pkg
-config; ac_word
=$2
27571 echo "$as_me:$LINENO: checking for $ac_word" >&5
27572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27573 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27574 echo $ECHO_N "(cached) $ECHO_C" >&6
27576 case $PKG_CONFIG in
27578 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27582 for as_dir
in $PATH
27585 test -z "$as_dir" && as_dir
=.
27586 for ac_exec_ext
in '' $ac_executable_extensions; do
27587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27588 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27595 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27599 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27601 if test -n "$PKG_CONFIG"; then
27602 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27603 echo "${ECHO_T}$PKG_CONFIG" >&6
27605 echo "$as_me:$LINENO: result: no" >&5
27606 echo "${ECHO_T}no" >&6
27611 if test "$PKG_CONFIG" = "no" ; then
27612 echo "*** The pkg-config script could not be found. Make sure it is"
27613 echo "*** in your path, or set the PKG_CONFIG environment variable"
27614 echo "*** to the full path to pkg-config."
27615 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27617 PKG_CONFIG_MIN_VERSION
=0.9.0
27618 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27619 echo "$as_me:$LINENO: checking for pangox" >&5
27620 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27622 if $PKG_CONFIG --exists "pangox" ; then
27623 echo "$as_me:$LINENO: result: yes" >&5
27624 echo "${ECHO_T}yes" >&6
27627 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27628 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27629 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27630 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27631 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27633 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27634 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27635 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27636 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27637 echo "${ECHO_T}$PANGOX_LIBS" >&6
27641 ## If we have a custom action on failure, don't print errors, but
27642 ## do set a variable so people can do so.
27643 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27650 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27651 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27655 if test $succeeded = yes; then
27657 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27658 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27662 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27663 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27664 { (exit 1); exit 1; }; }
27672 if test -z "$PKG_CONFIG"; then
27673 # Extract the first word of "pkg-config", so it can be a program name with args.
27674 set dummy pkg
-config; ac_word
=$2
27675 echo "$as_me:$LINENO: checking for $ac_word" >&5
27676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27677 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27678 echo $ECHO_N "(cached) $ECHO_C" >&6
27680 case $PKG_CONFIG in
27682 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27686 for as_dir
in $PATH
27689 test -z "$as_dir" && as_dir
=.
27690 for ac_exec_ext
in '' $ac_executable_extensions; do
27691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27692 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27699 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27703 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27705 if test -n "$PKG_CONFIG"; then
27706 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27707 echo "${ECHO_T}$PKG_CONFIG" >&6
27709 echo "$as_me:$LINENO: result: no" >&5
27710 echo "${ECHO_T}no" >&6
27715 if test "$PKG_CONFIG" = "no" ; then
27716 echo "*** The pkg-config script could not be found. Make sure it is"
27717 echo "*** in your path, or set the PKG_CONFIG environment variable"
27718 echo "*** to the full path to pkg-config."
27719 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27721 PKG_CONFIG_MIN_VERSION
=0.9.0
27722 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27723 echo "$as_me:$LINENO: checking for pangoft2" >&5
27724 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27726 if $PKG_CONFIG --exists "pangoft2" ; then
27727 echo "$as_me:$LINENO: result: yes" >&5
27728 echo "${ECHO_T}yes" >&6
27731 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27732 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27733 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27734 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27735 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27737 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27738 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27739 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27740 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27741 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27745 ## If we have a custom action on failure, don't print errors, but
27746 ## do set a variable so people can do so.
27747 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27754 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27755 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27759 if test $succeeded = yes; then
27761 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27762 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27766 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27767 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27768 wxUSE_PRINTING_ARCHITECTURE
="no"
27776 if test -z "$PKG_CONFIG"; then
27777 # Extract the first word of "pkg-config", so it can be a program name with args.
27778 set dummy pkg
-config; ac_word
=$2
27779 echo "$as_me:$LINENO: checking for $ac_word" >&5
27780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27781 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27782 echo $ECHO_N "(cached) $ECHO_C" >&6
27784 case $PKG_CONFIG in
27786 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27790 for as_dir
in $PATH
27793 test -z "$as_dir" && as_dir
=.
27794 for ac_exec_ext
in '' $ac_executable_extensions; do
27795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27796 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27803 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27807 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27809 if test -n "$PKG_CONFIG"; then
27810 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27811 echo "${ECHO_T}$PKG_CONFIG" >&6
27813 echo "$as_me:$LINENO: result: no" >&5
27814 echo "${ECHO_T}no" >&6
27819 if test "$PKG_CONFIG" = "no" ; then
27820 echo "*** The pkg-config script could not be found. Make sure it is"
27821 echo "*** in your path, or set the PKG_CONFIG environment variable"
27822 echo "*** to the full path to pkg-config."
27823 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27825 PKG_CONFIG_MIN_VERSION
=0.9.0
27826 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27827 echo "$as_me:$LINENO: checking for pangoxft" >&5
27828 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27830 if $PKG_CONFIG --exists "pangoxft" ; then
27831 echo "$as_me:$LINENO: result: yes" >&5
27832 echo "${ECHO_T}yes" >&6
27835 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27836 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27837 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27838 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27839 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27841 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27842 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27843 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27844 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27845 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27849 ## If we have a custom action on failure, don't print errors, but
27850 ## do set a variable so people can do so.
27851 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27858 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27859 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27863 if test $succeeded = yes; then
27865 cat >>confdefs.h
<<\_ACEOF
27866 #define HAVE_PANGO_XFT 1
27869 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27870 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27874 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27875 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27880 save_CFLAGS
="$CFLAGS"
27882 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27883 LIBS
="$LIBS $PANGOX_LIBS"
27885 for ac_func
in pango_font_family_is_monospace
27887 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27888 echo "$as_me:$LINENO: checking for $ac_func" >&5
27889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27890 if eval "test \"\${$as_ac_var+set}\" = set"; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27893 cat >conftest.
$ac_ext <<_ACEOF
27896 cat confdefs.h
>>conftest.
$ac_ext
27897 cat >>conftest.
$ac_ext <<_ACEOF
27898 /* end confdefs.h. */
27899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27901 #define $ac_func innocuous_$ac_func
27903 /* System header to define __stub macros and hopefully few prototypes,
27904 which can conflict with char $ac_func (); below.
27905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27906 <limits.h> exists even on freestanding compilers. */
27909 # include <limits.h>
27911 # include <assert.h>
27916 /* Override any gcc2 internal prototype to avoid an error. */
27921 /* We use char because int might match the return type of a gcc2
27922 builtin and then its argument prototype would still apply. */
27924 /* The GNU C library defines this for functions which it implements
27925 to always fail with ENOSYS. Some functions are actually named
27926 something starting with __ and the normal name is an alias. */
27927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27930 char (*f) () = $ac_func;
27939 return f != $ac_func;
27944 rm -f conftest.
$ac_objext conftest
$ac_exeext
27945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27946 (eval $ac_link) 2>conftest.er1
27948 grep -v '^ *+' conftest.er1
>conftest.err
27950 cat conftest.err
>&5
27951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952 (exit $ac_status); } &&
27953 { ac_try
='test -z "$ac_c_werror_flag"
27954 || test ! -s conftest.err'
27955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27956 (eval $ac_try) 2>&5
27958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27959 (exit $ac_status); }; } &&
27960 { ac_try
='test -s conftest$ac_exeext'
27961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27962 (eval $ac_try) 2>&5
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); }; }; then
27966 eval "$as_ac_var=yes"
27968 echo "$as_me: failed program was:" >&5
27969 sed 's/^/| /' conftest.
$ac_ext >&5
27971 eval "$as_ac_var=no"
27973 rm -f conftest.err conftest.
$ac_objext \
27974 conftest
$ac_exeext conftest.
$ac_ext
27976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27978 if test `eval echo '${'$as_ac_var'}'` = yes; then
27979 cat >>confdefs.h
<<_ACEOF
27980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27986 CFLAGS
="$save_CFLAGS"
27990 wxUSE_UNIVERSAL
="yes"
27992 if test "$wxUSE_NANOX" = "yes"; then
27993 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27994 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"
27995 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27997 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28004 if test "$wxUSE_MOTIF" = 1; then
28005 if test "$wxUSE_UNICODE" = "yes"; then
28006 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28007 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28008 { (exit 1); exit 1; }; }
28011 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28012 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28015 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28017 if test -f "$ac_dir/Xm/Xm.h"; then
28018 ac_find_includes
=$ac_dir
28023 if test "$ac_find_includes" != "" ; then
28024 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28025 echo "${ECHO_T}found in $ac_find_includes" >&6
28027 if test "x$ac_find_includes" = "x/usr/include"; then
28028 ac_path_to_include
=""
28030 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28032 if test $result = 0; then
28033 ac_path_to_include
=""
28035 ac_path_to_include
=" -I$ac_find_includes"
28039 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28041 cat >conftest.
$ac_ext <<_ACEOF
28044 cat confdefs.h
>>conftest.
$ac_ext
28045 cat >>conftest.
$ac_ext <<_ACEOF
28046 /* end confdefs.h. */
28055 version = xmUseVersion;
28061 rm -f conftest.
$ac_objext
28062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28063 (eval $ac_compile) 2>conftest.er1
28065 grep -v '^ *+' conftest.er1
>conftest.err
28067 cat conftest.err
>&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); } &&
28070 { ac_try
='test -z "$ac_c_werror_flag"
28071 || test ! -s conftest.err'
28072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28073 (eval $ac_try) 2>&5
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); }; } &&
28077 { ac_try
='test -s conftest.$ac_objext'
28078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28079 (eval $ac_try) 2>&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); }; }; then
28084 echo "$as_me:$LINENO: result: found in default search path" >&5
28085 echo "${ECHO_T}found in default search path" >&6
28086 COMPILED_X_PROGRAM
=1
28089 echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.
$ac_ext >&5
28093 echo "$as_me:$LINENO: result: no" >&5
28094 echo "${ECHO_T}no" >&6
28095 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28096 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28097 { (exit 1); exit 1; }; }
28101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28104 if test "$COMPILED_X_PROGRAM" = 0; then
28105 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28106 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28109 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28111 for ac_extension
in a so sl dylib
; do
28112 if test -f "$ac_dir/libXm.$ac_extension"; then
28113 ac_find_libraries
=$ac_dir
28119 if test "$ac_find_libraries" != "" ; then
28120 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28121 echo "${ECHO_T}found at $ac_find_libraries" >&6
28124 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28126 if test $result = 0; then
28129 ac_path_to_link
=" -L$ac_find_libraries"
28132 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28134 save_CFLAGS
=$CFLAGS
28135 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28137 cat >conftest.
$ac_ext <<_ACEOF
28140 cat confdefs.h
>>conftest.
$ac_ext
28141 cat >>conftest.
$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28151 version = xmUseVersion;
28157 rm -f conftest.
$ac_objext
28158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28159 (eval $ac_compile) 2>conftest.er1
28161 grep -v '^ *+' conftest.er1
>conftest.err
28163 cat conftest.err
>&5
28164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28165 (exit $ac_status); } &&
28166 { ac_try
='test -z "$ac_c_werror_flag"
28167 || test ! -s conftest.err'
28168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28169 (eval $ac_try) 2>&5
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); }; } &&
28173 { ac_try
='test -s conftest.$ac_objext'
28174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28175 (eval $ac_try) 2>&5
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); }; }; then
28180 echo "$as_me:$LINENO: result: found in default search path" >&5
28181 echo "${ECHO_T}found in default search path" >&6
28182 COMPILED_X_PROGRAM
=1
28185 echo "$as_me: failed program was:" >&5
28186 sed 's/^/| /' conftest.
$ac_ext >&5
28189 echo "$as_me:$LINENO: result: no" >&5
28190 echo "${ECHO_T}no" >&6
28191 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28192 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28193 { (exit 1); exit 1; }; }
28197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28199 CFLAGS
=$save_CFLAGS
28203 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28204 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28208 for libp
in "" " -lXp"; do
28209 if test "$libs_found" = "0"; then
28210 for libsm_ice
in "" " -lSM -lICE"; do
28211 if test "$libs_found" = "0"; then
28213 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28214 save_CFLAGS
=$CFLAGS
28215 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28217 cat >conftest.
$ac_ext <<_ACEOF
28220 cat confdefs.h
>>conftest.
$ac_ext
28221 cat >>conftest.
$ac_ext <<_ACEOF
28222 /* end confdefs.h. */
28225 #include <Xm/List.h>
28231 XmString string = NULL;
28234 XmListAddItem(w, string, position);
28240 rm -f conftest.
$ac_objext conftest
$ac_exeext
28241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28242 (eval $ac_link) 2>conftest.er1
28244 grep -v '^ *+' conftest.er1
>conftest.err
28246 cat conftest.err
>&5
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); } &&
28249 { ac_try
='test -z "$ac_c_werror_flag"
28250 || test ! -s conftest.err'
28251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28252 (eval $ac_try) 2>&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); }; } &&
28256 { ac_try
='test -s conftest$ac_exeext'
28257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28258 (eval $ac_try) 2>&5
28260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28261 (exit $ac_status); }; }; then
28264 libsm_ice_link
="$libsm_ice"
28265 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28266 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28270 echo "$as_me: failed program was:" >&5
28271 sed 's/^/| /' conftest.
$ac_ext >&5
28276 rm -f conftest.err conftest.
$ac_objext \
28277 conftest
$ac_exeext conftest.
$ac_ext
28280 CFLAGS
=$save_CFLAGS
28286 if test "$libs_found" = "0"; then
28287 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28288 echo "${ECHO_T}can't find the right libraries" >&6
28289 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28290 echo "$as_me: error: can't link a simple motif program" >&2;}
28291 { (exit 1); exit 1; }; }
28294 save_CFLAGS
=$CFLAGS
28295 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28296 echo "$as_me:$LINENO: checking for Motif 2" >&5
28297 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28298 cat >conftest.
$ac_ext <<_ACEOF
28301 cat confdefs.h
>>conftest.
$ac_ext
28302 cat >>conftest.
$ac_ext <<_ACEOF
28303 /* end confdefs.h. */
28311 #if XmVersion < 2000
28312 #error "Not Motif 2"
28319 rm -f conftest.
$ac_objext
28320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28321 (eval $ac_compile) 2>conftest.er1
28323 grep -v '^ *+' conftest.er1
>conftest.err
28325 cat conftest.err
>&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } &&
28328 { ac_try
='test -z "$ac_c_werror_flag"
28329 || test ! -s conftest.err'
28330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28331 (eval $ac_try) 2>&5
28333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334 (exit $ac_status); }; } &&
28335 { ac_try
='test -s conftest.$ac_objext'
28336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28337 (eval $ac_try) 2>&5
28339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340 (exit $ac_status); }; }; then
28342 cat >>confdefs.h
<<\_ACEOF
28343 #define __WXMOTIF20__ 1
28346 echo "$as_me:$LINENO: result: found" >&5
28347 echo "${ECHO_T}found" >&6
28350 echo "$as_me: failed program was:" >&5
28351 sed 's/^/| /' conftest.
$ac_ext >&5
28354 cat >>confdefs.h
<<\_ACEOF
28355 #define __WXMOTIF20__ 0
28358 echo "$as_me:$LINENO: result: not found" >&5
28359 echo "${ECHO_T}not found" >&6
28362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28363 CFLAGS
=$save_CFLAGS
28365 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28370 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28371 if test "$wxUSE_LIBXPM" = "sys"; then
28372 echo "$as_me:$LINENO: checking for Xpm library" >&5
28373 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28376 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28378 for ac_extension
in a so sl dylib
; do
28379 if test -f "$ac_dir/libXpm.$ac_extension"; then
28380 ac_find_libraries
=$ac_dir
28386 if test "$ac_find_libraries" != "" ; then
28388 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28390 if test $result = 0; then
28393 ac_path_to_link
=" -L$ac_find_libraries"
28396 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28397 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28398 echo "${ECHO_T}found at $ac_find_libraries" >&6
28400 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28401 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28402 if test "${wx_cv_x11_xpm_h+set}" = set; then
28403 echo $ECHO_N "(cached) $ECHO_C" >&6
28406 save_CFLAGS
=$CFLAGS
28407 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28409 cat >conftest.
$ac_ext <<_ACEOF
28412 cat confdefs.h
>>conftest.
$ac_ext
28413 cat >>conftest.
$ac_ext <<_ACEOF
28414 /* end confdefs.h. */
28416 #include <X11/xpm.h>
28423 version = XpmLibraryVersion();
28429 rm -f conftest.
$ac_objext
28430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28431 (eval $ac_compile) 2>conftest.er1
28433 grep -v '^ *+' conftest.er1
>conftest.err
28435 cat conftest.err
>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); } &&
28438 { ac_try
='test -z "$ac_c_werror_flag"
28439 || test ! -s conftest.err'
28440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28441 (eval $ac_try) 2>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); }; } &&
28445 { ac_try
='test -s conftest.$ac_objext'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; }; then
28451 wx_cv_x11_xpm_h
=yes
28453 echo "$as_me: failed program was:" >&5
28454 sed 's/^/| /' conftest.
$ac_ext >&5
28459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28461 CFLAGS
=$save_CFLAGS
28465 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28466 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28468 if test $wx_cv_x11_xpm_h = "yes"; then
28469 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28470 cat >>confdefs.h
<<\_ACEOF
28471 #define wxHAVE_LIB_XPM 1
28475 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28476 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28482 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28483 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28484 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28485 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 ac_check_lib_save_LIBS
=$LIBS
28488 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28489 cat >conftest.
$ac_ext <<_ACEOF
28492 cat confdefs.h
>>conftest.
$ac_ext
28493 cat >>conftest.
$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28496 /* Override any gcc2 internal prototype to avoid an error. */
28500 /* We use char because int might match the return type of a gcc2
28501 builtin and then its argument prototype would still apply. */
28502 char XShapeQueryExtension ();
28506 XShapeQueryExtension ();
28511 rm -f conftest.
$ac_objext conftest
$ac_exeext
28512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28513 (eval $ac_link) 2>conftest.er1
28515 grep -v '^ *+' conftest.er1
>conftest.err
28517 cat conftest.err
>&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); } &&
28520 { ac_try
='test -z "$ac_c_werror_flag"
28521 || test ! -s conftest.err'
28522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28523 (eval $ac_try) 2>&5
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); }; } &&
28527 { ac_try
='test -s conftest$ac_exeext'
28528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28529 (eval $ac_try) 2>&5
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); }; }; then
28533 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28535 echo "$as_me: failed program was:" >&5
28536 sed 's/^/| /' conftest.
$ac_ext >&5
28538 ac_cv_lib_Xext_XShapeQueryExtension
=no
28540 rm -f conftest.err conftest.
$ac_objext \
28541 conftest
$ac_exeext conftest.
$ac_ext
28542 LIBS
=$ac_check_lib_save_LIBS
28544 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28545 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28546 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28548 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28554 if test "$wxHAVE_XEXT_LIB" = 1; then
28555 save_CFLAGS
="$CFLAGS"
28556 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28558 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28559 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28560 cat >conftest.
$ac_ext <<_ACEOF
28563 cat confdefs.h
>>conftest.
$ac_ext
28564 cat >>conftest.
$ac_ext <<_ACEOF
28565 /* end confdefs.h. */
28567 #include <X11/Xlib.h>
28568 #include <X11/extensions/shape.h>
28574 int dummy1, dummy2;
28575 XShapeQueryExtension((Display*)NULL,
28576 (int*)NULL, (int*)NULL);
28582 rm -f conftest.
$ac_objext
28583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28584 (eval $ac_compile) 2>conftest.er1
28586 grep -v '^ *+' conftest.er1
>conftest.err
28588 cat conftest.err
>&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); } &&
28591 { ac_try
='test -z "$ac_c_werror_flag"
28592 || test ! -s conftest.err'
28593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 (eval $ac_try) 2>&5
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; } &&
28598 { ac_try
='test -s conftest.$ac_objext'
28599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600 (eval $ac_try) 2>&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); }; }; then
28605 cat >>confdefs.h
<<\_ACEOF
28606 #define HAVE_XSHAPE 1
28609 echo "$as_me:$LINENO: result: found" >&5
28610 echo "${ECHO_T}found" >&6
28613 echo "$as_me: failed program was:" >&5
28614 sed 's/^/| /' conftest.
$ac_ext >&5
28617 echo "$as_me:$LINENO: result: not found" >&5
28618 echo "${ECHO_T}not found" >&6
28621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28622 CFLAGS
="$save_CFLAGS"
28627 if test "$wxUSE_MAC" = 1; then
28628 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28629 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28630 if test "$GCC" = yes; then
28631 echo "$as_me:$LINENO: result: gcc" >&5
28632 echo "${ECHO_T}gcc" >&6
28633 CPPFLAGS_PASCAL
="-fpascal-strings"
28634 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28635 echo "$as_me:$LINENO: result: xlc" >&5
28636 echo "${ECHO_T}xlc" >&6
28637 CPPFLAGS_PASCAL
="-qmacpstr"
28639 echo "$as_me:$LINENO: result: none" >&5
28640 echo "${ECHO_T}none" >&6
28643 if test "x$wxUSE_UNIX" = "xyes"; then
28644 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28646 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28651 WXBASEPORT
="_carbon"
28654 if test "$wxUSE_COCOA" = 1; then
28659 if test "$wxUSE_PM" = 1; then
28662 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28663 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28664 if test "${wx_cv_spbcdata+set}" = set; then
28665 echo $ECHO_N "(cached) $ECHO_C" >&6
28668 cat >conftest.
$ac_ext <<_ACEOF
28671 cat confdefs.h
>>conftest.
$ac_ext
28672 cat >>conftest.
$ac_ext <<_ACEOF
28673 /* end confdefs.h. */
28688 rm -f conftest.
$ac_objext
28689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28690 (eval $ac_compile) 2>conftest.er1
28692 grep -v '^ *+' conftest.er1
>conftest.err
28694 cat conftest.err
>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); } &&
28697 { ac_try
='test -z "$ac_c_werror_flag"
28698 || test ! -s conftest.err'
28699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28700 (eval $ac_try) 2>&5
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); }; } &&
28704 { ac_try
='test -s conftest.$ac_objext'
28705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28706 (eval $ac_try) 2>&5
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); }; }; then
28712 echo "$as_me: failed program was:" >&5
28713 sed 's/^/| /' conftest.
$ac_ext >&5
28718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28722 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28723 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28725 if test $wx_cv_spbcdata = "yes"; then
28726 cat >>confdefs.h
<<\_ACEOF
28727 #define HAVE_SPBCDATA 1
28733 if test "$TOOLKIT" = "PM" ; then
28736 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28739 if test "$wxUSE_UNIVERSAL" = "yes"; then
28740 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28744 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28745 DISTDIR
="wx\$(TOOLKIT)"
28751 if test "$USE_WIN32" = 1 ; then
28755 GUIDIST
="BASE_DIST"
28765 if test "$TOOLKIT" != "MSW" ; then
28767 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28769 if test "${ac_cv_header_sql_h+set}" = set; then
28770 echo "$as_me:$LINENO: checking for sql.h" >&5
28771 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28772 if test "${ac_cv_header_sql_h+set}" = set; then
28773 echo $ECHO_N "(cached) $ECHO_C" >&6
28775 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28776 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28778 # Is the header compilable?
28779 echo "$as_me:$LINENO: checking sql.h usability" >&5
28780 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28781 cat >conftest.
$ac_ext <<_ACEOF
28784 cat confdefs.h
>>conftest.
$ac_ext
28785 cat >>conftest.
$ac_ext <<_ACEOF
28786 /* end confdefs.h. */
28787 $ac_includes_default
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"
28800 || test ! -s conftest.err'
28801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28802 (eval $ac_try) 2>&5
28804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28805 (exit $ac_status); }; } &&
28806 { ac_try
='test -s conftest.$ac_objext'
28807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28808 (eval $ac_try) 2>&5
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); }; }; then
28812 ac_header_compiler
=yes
28814 echo "$as_me: failed program was:" >&5
28815 sed 's/^/| /' conftest.
$ac_ext >&5
28817 ac_header_compiler
=no
28819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28821 echo "${ECHO_T}$ac_header_compiler" >&6
28823 # Is the header present?
28824 echo "$as_me:$LINENO: checking sql.h presence" >&5
28825 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28826 cat >conftest.
$ac_ext <<_ACEOF
28829 cat confdefs.h
>>conftest.
$ac_ext
28830 cat >>conftest.
$ac_ext <<_ACEOF
28831 /* end confdefs.h. */
28834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28835 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28837 grep -v '^ *+' conftest.er1
>conftest.err
28839 cat conftest.err
>&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); } >/dev
/null
; then
28842 if test -s conftest.err
; then
28843 ac_cpp_err
=$ac_c_preproc_warn_flag
28844 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28851 if test -z "$ac_cpp_err"; then
28852 ac_header_preproc
=yes
28854 echo "$as_me: failed program was:" >&5
28855 sed 's/^/| /' conftest.
$ac_ext >&5
28857 ac_header_preproc
=no
28859 rm -f conftest.err conftest.
$ac_ext
28860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28861 echo "${ECHO_T}$ac_header_preproc" >&6
28863 # So? What about this header?
28864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28866 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28867 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28868 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28869 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28870 ac_header_preproc
=yes
28873 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28874 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28875 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28876 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28877 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28878 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28879 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28880 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28881 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28882 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28883 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28884 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28887 ## ----------------------------------------- ##
28888 ## Report this to wx-dev@lists.wxwidgets.org ##
28889 ## ----------------------------------------- ##
28892 sed "s/^/$as_me: WARNING: /" >&2
28895 echo "$as_me:$LINENO: checking for sql.h" >&5
28896 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28897 if test "${ac_cv_header_sql_h+set}" = set; then
28898 echo $ECHO_N "(cached) $ECHO_C" >&6
28900 ac_cv_header_sql_h
=$ac_header_preproc
28902 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28903 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28906 if test $ac_cv_header_sql_h = yes; then
28911 if test "x$found_sql_h" = "x1" ; then
28912 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28913 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28914 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28915 echo $ECHO_N "(cached) $ECHO_C" >&6
28917 ac_check_lib_save_LIBS
=$LIBS
28918 LIBS
="-liodbc $LIBS"
28919 cat >conftest.
$ac_ext <<_ACEOF
28922 cat confdefs.h
>>conftest.
$ac_ext
28923 cat >>conftest.
$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28926 /* Override any gcc2 internal prototype to avoid an error. */
28930 /* We use char because int might match the return type of a gcc2
28931 builtin and then its argument prototype would still apply. */
28932 char SQLAllocEnv ();
28941 rm -f conftest.
$ac_objext conftest
$ac_exeext
28942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28943 (eval $ac_link) 2>conftest.er1
28945 grep -v '^ *+' conftest.er1
>conftest.err
28947 cat conftest.err
>&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); } &&
28950 { ac_try
='test -z "$ac_c_werror_flag"
28951 || test ! -s conftest.err'
28952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28953 (eval $ac_try) 2>&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); }; } &&
28957 { ac_try
='test -s conftest$ac_exeext'
28958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28959 (eval $ac_try) 2>&5
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); }; }; then
28963 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28965 echo "$as_me: failed program was:" >&5
28966 sed 's/^/| /' conftest.
$ac_ext >&5
28968 ac_cv_lib_iodbc_SQLAllocEnv
=no
28970 rm -f conftest.err conftest.
$ac_objext \
28971 conftest
$ac_exeext conftest.
$ac_ext
28972 LIBS
=$ac_check_lib_save_LIBS
28974 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28975 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28976 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28977 ODBC_LINK
=" -liodbc"
28980 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28981 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28982 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28983 echo $ECHO_N "(cached) $ECHO_C" >&6
28985 ac_check_lib_save_LIBS
=$LIBS
28986 LIBS
="-lunixodbc $LIBS"
28987 cat >conftest.
$ac_ext <<_ACEOF
28990 cat confdefs.h
>>conftest.
$ac_ext
28991 cat >>conftest.
$ac_ext <<_ACEOF
28992 /* end confdefs.h. */
28994 /* Override any gcc2 internal prototype to avoid an error. */
28998 /* We use char because int might match the return type of a gcc2
28999 builtin and then its argument prototype would still apply. */
29000 char SQLAllocEnv ();
29009 rm -f conftest.
$ac_objext conftest
$ac_exeext
29010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29011 (eval $ac_link) 2>conftest.er1
29013 grep -v '^ *+' conftest.er1
>conftest.err
29015 cat conftest.err
>&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); } &&
29018 { ac_try
='test -z "$ac_c_werror_flag"
29019 || test ! -s conftest.err'
29020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29021 (eval $ac_try) 2>&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; } &&
29025 { ac_try
='test -s conftest$ac_exeext'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29031 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29033 echo "$as_me: failed program was:" >&5
29034 sed 's/^/| /' conftest.
$ac_ext >&5
29036 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29038 rm -f conftest.err conftest.
$ac_objext \
29039 conftest
$ac_exeext conftest.
$ac_ext
29040 LIBS
=$ac_check_lib_save_LIBS
29042 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29043 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29044 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29045 ODBC_LINK
=" -lunixodbc"
29048 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29049 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29050 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29053 ac_check_lib_save_LIBS
=$LIBS
29054 LIBS
="-lodbc $LIBS"
29055 cat >conftest.
$ac_ext <<_ACEOF
29058 cat confdefs.h
>>conftest.
$ac_ext
29059 cat >>conftest.
$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29062 /* Override any gcc2 internal prototype to avoid an error. */
29066 /* We use char because int might match the return type of a gcc2
29067 builtin and then its argument prototype would still apply. */
29068 char SQLAllocEnv ();
29077 rm -f conftest.
$ac_objext conftest
$ac_exeext
29078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29079 (eval $ac_link) 2>conftest.er1
29081 grep -v '^ *+' conftest.er1
>conftest.err
29083 cat conftest.err
>&5
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } &&
29086 { ac_try
='test -z "$ac_c_werror_flag"
29087 || test ! -s conftest.err'
29088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29089 (eval $ac_try) 2>&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; } &&
29093 { ac_try
='test -s conftest$ac_exeext'
29094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29095 (eval $ac_try) 2>&5
29097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29098 (exit $ac_status); }; }; then
29099 ac_cv_lib_odbc_SQLAllocEnv
=yes
29101 echo "$as_me: failed program was:" >&5
29102 sed 's/^/| /' conftest.
$ac_ext >&5
29104 ac_cv_lib_odbc_SQLAllocEnv
=no
29106 rm -f conftest.err conftest.
$ac_objext \
29107 conftest
$ac_exeext conftest.
$ac_ext
29108 LIBS
=$ac_check_lib_save_LIBS
29110 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29111 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29112 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29113 ODBC_LINK
=" -lodbc"
29123 if test "x$ODBC_LINK" = "x" ; then
29124 if test "$wxUSE_ODBC" = "sys" ; then
29125 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29126 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29127 { (exit 1); exit 1; }; }
29129 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29130 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29138 if test "$wxUSE_ODBC" = "builtin" ; then
29139 cat >>confdefs.h
<<\_ACEOF
29140 #define wxUSE_BUILTIN_IODBC 1
29146 if test "$wxUSE_ODBC" != "no" ; then
29147 cat >>confdefs.h
<<\_ACEOF
29148 #define wxUSE_ODBC 1
29151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29153 WXODBCFLAG
="-D_IODBC_"
29157 if test "$wxUSE_DISPLAY" = "yes"; then
29158 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29159 echo "$as_me:$LINENO: checking for Xinerama" >&5
29160 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29163 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29165 for ac_extension
in a so sl dylib
; do
29166 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29167 ac_find_libraries
=$ac_dir
29173 if test "$ac_find_libraries" != "" ; then
29175 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29177 if test $result = 0; then
29180 ac_path_to_link
=" -L$ac_find_libraries"
29183 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29184 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29186 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29187 echo "$as_me:$LINENO: result: yes" >&5
29188 echo "${ECHO_T}yes" >&6
29190 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29191 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29194 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29196 for ac_extension
in a so sl dylib
; do
29197 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29198 ac_find_libraries
=$ac_dir
29204 if test "$ac_find_libraries" != "" ; then
29205 echo "$as_me:$LINENO: result: yes" >&5
29206 echo "${ECHO_T}yes" >&6
29208 for ac_header
in X
11/extensions
/xf86vmode.h
29210 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29211 echo "$as_me:$LINENO: checking for $ac_header" >&5
29212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29214 echo $ECHO_N "(cached) $ECHO_C" >&6
29216 cat >conftest.
$ac_ext <<_ACEOF
29219 cat confdefs.h
>>conftest.
$ac_ext
29220 cat >>conftest.
$ac_ext <<_ACEOF
29221 /* end confdefs.h. */
29223 #if HAVE_X11_XLIB_H
29224 #include <X11/Xlib.h>
29228 #include <$ac_header>
29230 rm -f conftest.
$ac_objext
29231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29232 (eval $ac_compile) 2>conftest.er1
29234 grep -v '^ *+' conftest.er1
>conftest.err
29236 cat conftest.err
>&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } &&
29239 { ac_try
='test -z "$ac_c_werror_flag"
29240 || test ! -s conftest.err'
29241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29242 (eval $ac_try) 2>&5
29244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 (exit $ac_status); }; } &&
29246 { ac_try
='test -s conftest.$ac_objext'
29247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248 (eval $ac_try) 2>&5
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); }; }; then
29252 eval "$as_ac_Header=yes"
29254 echo "$as_me: failed program was:" >&5
29255 sed 's/^/| /' conftest.
$ac_ext >&5
29257 eval "$as_ac_Header=no"
29259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29264 cat >>confdefs.h
<<_ACEOF
29265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29268 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
29275 echo "$as_me:$LINENO: result: no" >&5
29276 echo "${ECHO_T}no" >&6
29280 echo "$as_me:$LINENO: result: no" >&5
29281 echo "${ECHO_T}no" >&6
29282 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29283 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29286 elif test "$wxUSE_MSW" = 1; then
29289 for ac_header
in multimon.h ddraw.h
29291 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29292 echo "$as_me:$LINENO: checking for $ac_header" >&5
29293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29295 echo $ECHO_N "(cached) $ECHO_C" >&6
29297 cat >conftest.
$ac_ext <<_ACEOF
29300 cat confdefs.h
>>conftest.
$ac_ext
29301 cat >>conftest.
$ac_ext <<_ACEOF
29302 /* end confdefs.h. */
29303 #include <windows.h>
29305 #include <$ac_header>
29307 rm -f conftest.
$ac_objext
29308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29309 (eval $ac_compile) 2>conftest.er1
29311 grep -v '^ *+' conftest.er1
>conftest.err
29313 cat conftest.err
>&5
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); } &&
29316 { ac_try
='test -z "$ac_c_werror_flag"
29317 || test ! -s conftest.err'
29318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29319 (eval $ac_try) 2>&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); }; } &&
29323 { ac_try
='test -s conftest.$ac_objext'
29324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325 (eval $ac_try) 2>&5
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); }; }; then
29329 eval "$as_ac_Header=yes"
29331 echo "$as_me: failed program was:" >&5
29332 sed 's/^/| /' conftest.
$ac_ext >&5
29334 eval "$as_ac_Header=no"
29336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29341 cat >>confdefs.h
<<_ACEOF
29342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29348 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29349 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29360 if test "$wxUSE_OPENGL" = "yes"; then
29361 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29362 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29363 elif test "$wxUSE_MSW" = 1; then
29364 OPENGL_LIBS
="-lopengl32 -lglu32"
29369 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29371 if test -f "$ac_dir/GL/gl.h"; then
29372 ac_find_includes
=$ac_dir
29377 if test "$ac_find_includes" != "" ; then
29378 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29379 echo "${ECHO_T}found in $ac_find_includes" >&6
29381 if test "x$ac_find_includes" = "x/usr/include"; then
29382 ac_path_to_include
=""
29384 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29386 if test $result = 0; then
29387 ac_path_to_include
=""
29389 ac_path_to_include
=" -I$ac_find_includes"
29393 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29396 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29397 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29398 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29399 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29402 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29403 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29405 # Is the header compilable?
29406 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29407 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29408 cat >conftest.
$ac_ext <<_ACEOF
29411 cat confdefs.h
>>conftest.
$ac_ext
29412 cat >>conftest.
$ac_ext <<_ACEOF
29413 /* end confdefs.h. */
29414 $ac_includes_default
29417 rm -f conftest.
$ac_objext
29418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29419 (eval $ac_compile) 2>conftest.er1
29421 grep -v '^ *+' conftest.er1
>conftest.err
29423 cat conftest.err
>&5
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); } &&
29426 { ac_try
='test -z "$ac_c_werror_flag"
29427 || test ! -s conftest.err'
29428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29429 (eval $ac_try) 2>&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); }; } &&
29433 { ac_try
='test -s conftest.$ac_objext'
29434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29435 (eval $ac_try) 2>&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; }; then
29439 ac_header_compiler
=yes
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.
$ac_ext >&5
29444 ac_header_compiler
=no
29446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29448 echo "${ECHO_T}$ac_header_compiler" >&6
29450 # Is the header present?
29451 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29452 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29453 cat >conftest.
$ac_ext <<_ACEOF
29456 cat confdefs.h
>>conftest.
$ac_ext
29457 cat >>conftest.
$ac_ext <<_ACEOF
29458 /* end confdefs.h. */
29461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29464 grep -v '^ *+' conftest.er1
>conftest.err
29466 cat conftest.err
>&5
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); } >/dev
/null
; then
29469 if test -s conftest.err
; then
29470 ac_cpp_err
=$ac_c_preproc_warn_flag
29471 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29478 if test -z "$ac_cpp_err"; then
29479 ac_header_preproc
=yes
29481 echo "$as_me: failed program was:" >&5
29482 sed 's/^/| /' conftest.
$ac_ext >&5
29484 ac_header_preproc
=no
29486 rm -f conftest.err conftest.
$ac_ext
29487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29488 echo "${ECHO_T}$ac_header_preproc" >&6
29490 # So? What about this header?
29491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29493 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29494 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29495 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29496 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29497 ac_header_preproc
=yes
29500 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29501 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29502 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29503 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29504 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29505 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29506 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29507 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29508 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29509 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29510 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29511 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29514 ## ----------------------------------------- ##
29515 ## Report this to wx-dev@lists.wxwidgets.org ##
29516 ## ----------------------------------------- ##
29519 sed "s/^/$as_me: WARNING: /" >&2
29522 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29523 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29524 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29525 echo $ECHO_N "(cached) $ECHO_C" >&6
29527 ac_cv_header_GL_gl_h
=$ac_header_preproc
29529 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29530 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29533 if test $ac_cv_header_GL_gl_h = yes; then
29537 echo "$as_me:$LINENO: checking for -lGL" >&5
29538 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29541 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29543 for ac_extension
in a so sl dylib
; do
29544 if test -f "$ac_dir/libGL.$ac_extension"; then
29545 ac_find_libraries
=$ac_dir
29551 if test "$ac_find_libraries" != "" ; then
29552 echo "$as_me:$LINENO: result: yes" >&5
29553 echo "${ECHO_T}yes" >&6
29556 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29558 if test $result = 0; then
29561 ac_path_to_link
=" -L$ac_find_libraries"
29564 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29565 LDFLAGS_GL
="$ac_path_to_link"
29568 echo "$as_me:$LINENO: checking for -lGLU" >&5
29569 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29572 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29574 for ac_extension
in a so sl dylib
; do
29575 if test -f "$ac_dir/libGLU.$ac_extension"; then
29576 ac_find_libraries
=$ac_dir
29582 if test "$ac_find_libraries" != "" ; then
29584 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29586 if test $result = 0; then
29589 ac_path_to_link
=" -L$ac_find_libraries"
29592 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29593 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29594 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29598 OPENGL_LIBS
="-lGL -lGLU"
29599 echo "$as_me:$LINENO: result: yes" >&5
29600 echo "${ECHO_T}yes" >&6
29602 echo "$as_me:$LINENO: result: no" >&5
29603 echo "${ECHO_T}no" >&6
29606 echo "$as_me:$LINENO: result: no" >&5
29607 echo "${ECHO_T}no" >&6
29610 if test "$found_gl" != 1; then
29611 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29612 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29615 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29617 for ac_extension
in a so sl dylib
; do
29618 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29619 ac_find_libraries
=$ac_dir
29625 if test "$ac_find_libraries" != "" ; then
29627 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29629 if test $result = 0; then
29632 ac_path_to_link
=" -L$ac_find_libraries"
29635 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29636 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29637 echo "$as_me:$LINENO: result: yes" >&5
29638 echo "${ECHO_T}yes" >&6
29640 echo "$as_me:$LINENO: result: no" >&5
29641 echo "${ECHO_T}no" >&6
29649 if test "x$OPENGL_LIBS" = "x"; then
29650 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29651 echo "$as_me: error: OpenGL libraries not available" >&2;}
29652 { (exit 1); exit 1; }; }
29656 if test "$wxUSE_OPENGL" = "yes"; then
29658 cat >>confdefs.h
<<\_ACEOF
29659 #define wxUSE_OPENGL 1
29662 cat >>confdefs.h
<<\_ACEOF
29663 #define wxUSE_GLCANVAS 1
29666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29671 if test -n "$TOOLKIT" ; then
29672 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29677 if test "$wxUSE_SHARED" = "yes"; then
29681 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29682 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29687 if test "$wxUSE_SHARED" = "yes"; then
29690 found_versioning
=no
29693 if test $found_versioning = no
; then
29694 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29695 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29696 if test "${wx_cv_version_script+set}" = set; then
29697 echo $ECHO_N "(cached) $ECHO_C" >&6
29700 echo "VER_1 { *; };" >conftest.sym
29701 echo "int main() { return 0; }" >conftest.cpp
29704 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29705 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29707 (eval $ac_try) 2>&5
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); }; } ; then
29711 if test -s conftest.stderr
; then
29712 wx_cv_version_script
=no
29714 wx_cv_version_script
=yes
29717 wx_cv_version_script
=no
29720 if test $wx_cv_version_script = yes
29722 echo "struct B { virtual ~B() { } }; \
29723 struct D : public B { }; \
29724 void F() { D d; }" > conftest.cpp
29727 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29728 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; } &&
29735 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29736 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; }
29744 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29745 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29747 (eval $ac_try) 2>&5
29749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29750 (exit $ac_status); }; }
29752 wx_cv_version_script
=yes
29754 wx_cv_version_script
=no
29759 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29760 rm -f conftest1.output conftest2.output conftest3.output
29763 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29764 echo "${ECHO_T}$wx_cv_version_script" >&6
29765 if test $wx_cv_version_script = yes ; then
29766 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29772 *-*-linux* | *-*-gnu* )
29773 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29774 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29778 if test "$GCC" = yes ; then
29779 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29781 saveLdflags
="$LDFLAGS"
29782 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29783 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29784 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29785 cat >conftest.
$ac_ext <<_ACEOF
29788 cat confdefs.h
>>conftest.
$ac_ext
29789 cat >>conftest.
$ac_ext <<_ACEOF
29790 /* end confdefs.h. */
29800 rm -f conftest.
$ac_objext conftest
$ac_exeext
29801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29802 (eval $ac_link) 2>conftest.er1
29804 grep -v '^ *+' conftest.er1
>conftest.err
29806 cat conftest.err
>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } &&
29809 { ac_try
='test -z "$ac_c_werror_flag"
29810 || test ! -s conftest.err'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; } &&
29816 { ac_try
='test -s conftest$ac_exeext'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; }; then
29823 echo "$as_me:$LINENO: result: yes" >&5
29824 echo "${ECHO_T}yes" >&6
29825 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29826 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.
$ac_ext >&5
29833 echo "$as_me:$LINENO: result: no" >&5
29834 echo "${ECHO_T}no" >&6
29835 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29836 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29837 LDFLAGS
="$saveLdflags -Wl,-R,/"
29838 cat >conftest.
$ac_ext <<_ACEOF
29841 cat confdefs.h
>>conftest.
$ac_ext
29842 cat >>conftest.
$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29853 rm -f conftest.
$ac_objext conftest
$ac_exeext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29855 (eval $ac_link) 2>conftest.er1
29857 grep -v '^ *+' conftest.er1
>conftest.err
29859 cat conftest.err
>&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } &&
29862 { ac_try
='test -z "$ac_c_werror_flag"
29863 || test ! -s conftest.err'
29864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29865 (eval $ac_try) 2>&5
29867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868 (exit $ac_status); }; } &&
29869 { ac_try
='test -s conftest$ac_exeext'
29870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29871 (eval $ac_try) 2>&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); }; }; then
29876 echo "$as_me:$LINENO: result: yes" >&5
29877 echo "${ECHO_T}yes" >&6
29878 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29879 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29882 echo "$as_me: failed program was:" >&5
29883 sed 's/^/| /' conftest.
$ac_ext >&5
29886 echo "$as_me:$LINENO: result: no" >&5
29887 echo "${ECHO_T}no" >&6
29890 rm -f conftest.err conftest.
$ac_objext \
29891 conftest
$ac_exeext conftest.
$ac_ext
29894 rm -f conftest.err conftest.
$ac_objext \
29895 conftest
$ac_exeext conftest.
$ac_ext
29896 LDFLAGS
="$saveLdflags"
29898 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29899 WXCONFIG_RPATH
="-R\$libdir"
29903 powerpc
-*-darwin* )
29904 install_name_tool
=`which install_name_tool`
29905 if test "$install_name_tool" -a -x "$install_name_tool"; then
29906 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29907 cat <<EOF >change-install-names
29909 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29910 inst_cmd="install_name_tool "
29911 for i in \${libnames} ; do
29912 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29916 chmod +x change
-install-names
29920 *-*-cygwin* | *-*-mingw32* )
29921 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29925 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29926 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29931 if test $wxUSE_RPATH = "no"; then
29932 SAMPLES_RPATH_FLAG
=''
29933 SAMPLES_RPATH_POSTLINK
=''
29941 config_linkage_component
="-static"
29948 lib_unicode_suffix
=
29950 if test "$wxUSE_UNICODE" = "yes"; then
29951 lib_unicode_suffix
=u
29952 WX_CHARTYPE
="unicode"
29957 WX_DEBUGTYPE
="release"
29959 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29961 WX_DEBUGTYPE
="debug"
29965 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29966 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29969 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29973 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29975 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29977 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29979 if test "$cross_compiling" = "yes"; then
29980 HOST_SUFFIX
="-$host_alias"
29981 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29982 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29985 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29986 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29990 if test "$wxUSE_COCOA" = 1; then
29994 ac_cpp
='$CPP $CPPFLAGS'
29995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30001 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30002 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30003 cat >conftest.
$ac_ext <<_ACEOF
30006 cat confdefs.h
>>conftest.
$ac_ext
30007 cat >>conftest.
$ac_ext <<_ACEOF
30008 /* end confdefs.h. */
30009 #include <AppKit/NSEvent.h>
30010 #include <CoreFoundation/CoreFoundation.h>
30020 rm -f conftest.
$ac_objext
30021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30022 (eval $ac_compile) 2>conftest.er1
30024 grep -v '^ *+' conftest.er1
>conftest.err
30026 cat conftest.err
>&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); } &&
30029 { ac_try
='test -z "$ac_c_werror_flag"
30030 || test ! -s conftest.err'
30031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30032 (eval $ac_try) 2>&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); }; } &&
30036 { ac_try
='test -s conftest.$ac_objext'
30037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30038 (eval $ac_try) 2>&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); }; }; then
30042 echo "$as_me:$LINENO: result: no" >&5
30043 echo "${ECHO_T}no" >&6
30045 echo "$as_me: failed program was:" >&5
30046 sed 's/^/| /' conftest.
$ac_ext >&5
30048 echo "$as_me:$LINENO: result: yes" >&5
30049 echo "${ECHO_T}yes" >&6
30050 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30051 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30052 cat >conftest.
$ac_ext <<_ACEOF
30055 cat confdefs.h
>>conftest.
$ac_ext
30056 cat >>conftest.
$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30058 #define __Point__ 1
30059 #include <AppKit/NSEvent.h>
30060 #include <CoreFoundation/CoreFoundation.h>
30070 rm -f conftest.
$ac_objext
30071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30072 (eval $ac_compile) 2>conftest.er1
30074 grep -v '^ *+' conftest.er1
>conftest.err
30076 cat conftest.err
>&5
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); } &&
30079 { ac_try
='test -z "$ac_c_werror_flag"
30080 || test ! -s conftest.err'
30081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30082 (eval $ac_try) 2>&5
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); }; } &&
30086 { ac_try
='test -s conftest.$ac_objext'
30087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088 (eval $ac_try) 2>&5
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); }; }; then
30092 echo "$as_me:$LINENO: result: yes" >&5
30093 echo "${ECHO_T}yes" >&6
30094 cat >>confdefs.h
<<\_ACEOF
30095 #define __Point__ 1
30100 echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.
$ac_ext >&5
30103 { { echo "$as_me:$LINENO: error: no
30104 See \`config.log' for more details." >&5
30105 echo "$as_me: error: no
30106 See \`config.log' for more details." >&2;}
30107 { (exit 1); exit 1; }; }
30110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30115 ac_cpp
='$CPP $CPPFLAGS'
30116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30122 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30123 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30124 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30126 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30128 # Extract the first word of "Rez", so it can be a program name with args.
30129 set dummy Rez
; ac_word
=$2
30130 echo "$as_me:$LINENO: checking for $ac_word" >&5
30131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30132 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30133 echo $ECHO_N "(cached) $ECHO_C" >&6
30135 if test -n "$RESCOMP"; then
30136 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
30138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30139 for as_dir
in $PATH
30142 test -z "$as_dir" && as_dir
=.
30143 for ac_exec_ext
in '' $ac_executable_extensions; do
30144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30145 ac_cv_prog_RESCOMP
="Rez"
30146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30152 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
30155 RESCOMP
=$ac_cv_prog_RESCOMP
30156 if test -n "$RESCOMP"; then
30157 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30158 echo "${ECHO_T}$RESCOMP" >&6
30160 echo "$as_me:$LINENO: result: no" >&5
30161 echo "${ECHO_T}no" >&6
30164 # Extract the first word of "DeRez", so it can be a program name with args.
30165 set dummy DeRez
; ac_word
=$2
30166 echo "$as_me:$LINENO: checking for $ac_word" >&5
30167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30168 if test "${ac_cv_prog_DEREZ+set}" = set; then
30169 echo $ECHO_N "(cached) $ECHO_C" >&6
30171 if test -n "$DEREZ"; then
30172 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
30174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30175 for as_dir
in $PATH
30178 test -z "$as_dir" && as_dir
=.
30179 for ac_exec_ext
in '' $ac_executable_extensions; do
30180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30181 ac_cv_prog_DEREZ
="DeRez"
30182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30188 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
30191 DEREZ
=$ac_cv_prog_DEREZ
30192 if test -n "$DEREZ"; then
30193 echo "$as_me:$LINENO: result: $DEREZ" >&5
30194 echo "${ECHO_T}$DEREZ" >&6
30196 echo "$as_me:$LINENO: result: no" >&5
30197 echo "${ECHO_T}no" >&6
30200 # Extract the first word of "SetFile", so it can be a program name with args.
30201 set dummy SetFile
; ac_word
=$2
30202 echo "$as_me:$LINENO: checking for $ac_word" >&5
30203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30204 if test "${ac_cv_prog_SETFILE+set}" = set; then
30205 echo $ECHO_N "(cached) $ECHO_C" >&6
30207 if test -n "$SETFILE"; then
30208 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
30210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30211 for as_dir
in $PATH
30214 test -z "$as_dir" && as_dir
=.
30215 for ac_exec_ext
in '' $ac_executable_extensions; do
30216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30217 ac_cv_prog_SETFILE
="SetFile"
30218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30224 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
30227 SETFILE
=$ac_cv_prog_SETFILE
30228 if test -n "$SETFILE"; then
30229 echo "$as_me:$LINENO: result: $SETFILE" >&5
30230 echo "${ECHO_T}$SETFILE" >&6
30232 echo "$as_me:$LINENO: result: no" >&5
30233 echo "${ECHO_T}no" >&6
30237 MACSETFILE
="\$(SETFILE)"
30239 if test "$wxUSE_MAC" = 1; then
30240 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30242 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30244 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30245 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30249 MACRESWXCONFIG
="@true"
30251 if test "$wxUSE_PM" = 1; then
30252 MACRESCOMP
="emxbind -ep"
30260 echo "$as_me:$LINENO: checking for mode_t" >&5
30261 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30262 if test "${ac_cv_type_mode_t+set}" = set; then
30263 echo $ECHO_N "(cached) $ECHO_C" >&6
30265 cat >conftest.
$ac_ext <<_ACEOF
30268 cat confdefs.h
>>conftest.
$ac_ext
30269 cat >>conftest.
$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30271 $ac_includes_default
30277 if (sizeof (mode_t))
30283 rm -f conftest.
$ac_objext
30284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30285 (eval $ac_compile) 2>conftest.er1
30287 grep -v '^ *+' conftest.er1
>conftest.err
30289 cat conftest.err
>&5
30290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30291 (exit $ac_status); } &&
30292 { ac_try
='test -z "$ac_c_werror_flag"
30293 || test ! -s conftest.err'
30294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30295 (eval $ac_try) 2>&5
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); }; } &&
30299 { ac_try
='test -s conftest.$ac_objext'
30300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30301 (eval $ac_try) 2>&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; }; then
30305 ac_cv_type_mode_t
=yes
30307 echo "$as_me: failed program was:" >&5
30308 sed 's/^/| /' conftest.
$ac_ext >&5
30310 ac_cv_type_mode_t
=no
30312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30314 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30315 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30316 if test $ac_cv_type_mode_t = yes; then
30320 cat >>confdefs.h
<<_ACEOF
30326 echo "$as_me:$LINENO: checking for off_t" >&5
30327 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30328 if test "${ac_cv_type_off_t+set}" = set; then
30329 echo $ECHO_N "(cached) $ECHO_C" >&6
30331 cat >conftest.
$ac_ext <<_ACEOF
30334 cat confdefs.h
>>conftest.
$ac_ext
30335 cat >>conftest.
$ac_ext <<_ACEOF
30336 /* end confdefs.h. */
30337 $ac_includes_default
30343 if (sizeof (off_t))
30349 rm -f conftest.
$ac_objext
30350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30351 (eval $ac_compile) 2>conftest.er1
30353 grep -v '^ *+' conftest.er1
>conftest.err
30355 cat conftest.err
>&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } &&
30358 { ac_try
='test -z "$ac_c_werror_flag"
30359 || test ! -s conftest.err'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; } &&
30365 { ac_try
='test -s conftest.$ac_objext'
30366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367 (eval $ac_try) 2>&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); }; }; then
30371 ac_cv_type_off_t
=yes
30373 echo "$as_me: failed program was:" >&5
30374 sed 's/^/| /' conftest.
$ac_ext >&5
30376 ac_cv_type_off_t
=no
30378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30380 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30381 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30382 if test $ac_cv_type_off_t = yes; then
30386 cat >>confdefs.h
<<_ACEOF
30392 echo "$as_me:$LINENO: checking for pid_t" >&5
30393 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30394 if test "${ac_cv_type_pid_t+set}" = set; then
30395 echo $ECHO_N "(cached) $ECHO_C" >&6
30397 cat >conftest.
$ac_ext <<_ACEOF
30400 cat confdefs.h
>>conftest.
$ac_ext
30401 cat >>conftest.
$ac_ext <<_ACEOF
30402 /* end confdefs.h. */
30403 $ac_includes_default
30409 if (sizeof (pid_t))
30415 rm -f conftest.
$ac_objext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30417 (eval $ac_compile) 2>conftest.er1
30419 grep -v '^ *+' conftest.er1
>conftest.err
30421 cat conftest.err
>&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } &&
30424 { ac_try
='test -z "$ac_c_werror_flag"
30425 || test ! -s conftest.err'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; } &&
30431 { ac_try
='test -s conftest.$ac_objext'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; }; then
30437 ac_cv_type_pid_t
=yes
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.
$ac_ext >&5
30442 ac_cv_type_pid_t
=no
30444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30446 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30447 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30448 if test $ac_cv_type_pid_t = yes; then
30452 cat >>confdefs.h
<<_ACEOF
30458 echo "$as_me:$LINENO: checking for size_t" >&5
30459 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30460 if test "${ac_cv_type_size_t+set}" = set; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30463 cat >conftest.
$ac_ext <<_ACEOF
30466 cat confdefs.h
>>conftest.
$ac_ext
30467 cat >>conftest.
$ac_ext <<_ACEOF
30468 /* end confdefs.h. */
30469 $ac_includes_default
30475 if (sizeof (size_t))
30481 rm -f conftest.
$ac_objext
30482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30483 (eval $ac_compile) 2>conftest.er1
30485 grep -v '^ *+' conftest.er1
>conftest.err
30487 cat conftest.err
>&5
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); } &&
30490 { ac_try
='test -z "$ac_c_werror_flag"
30491 || test ! -s conftest.err'
30492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30493 (eval $ac_try) 2>&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); }; } &&
30497 { ac_try
='test -s conftest.$ac_objext'
30498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30499 (eval $ac_try) 2>&5
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); }; }; then
30503 ac_cv_type_size_t
=yes
30505 echo "$as_me: failed program was:" >&5
30506 sed 's/^/| /' conftest.
$ac_ext >&5
30508 ac_cv_type_size_t
=no
30510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30512 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30513 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30514 if test $ac_cv_type_size_t = yes; then
30518 cat >>confdefs.h
<<_ACEOF
30519 #define size_t unsigned
30524 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30525 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30526 if test "${ac_cv_type_uid_t+set}" = set; then
30527 echo $ECHO_N "(cached) $ECHO_C" >&6
30529 cat >conftest.
$ac_ext <<_ACEOF
30532 cat confdefs.h
>>conftest.
$ac_ext
30533 cat >>conftest.
$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30535 #include <sys/types.h>
30538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30539 $EGREP "uid_t" >/dev
/null
2>&1; then
30540 ac_cv_type_uid_t
=yes
30542 ac_cv_type_uid_t
=no
30547 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30548 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30549 if test $ac_cv_type_uid_t = no
; then
30551 cat >>confdefs.h
<<\_ACEOF
30556 cat >>confdefs.h
<<\_ACEOF
30563 echo "$as_me:$LINENO: checking for ssize_t" >&5
30564 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30565 if test "${ac_cv_type_ssize_t+set}" = set; then
30566 echo $ECHO_N "(cached) $ECHO_C" >&6
30568 cat >conftest.
$ac_ext <<_ACEOF
30571 cat confdefs.h
>>conftest.
$ac_ext
30572 cat >>conftest.
$ac_ext <<_ACEOF
30573 /* end confdefs.h. */
30574 $ac_includes_default
30580 if (sizeof (ssize_t))
30586 rm -f conftest.
$ac_objext
30587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30588 (eval $ac_compile) 2>conftest.er1
30590 grep -v '^ *+' conftest.er1
>conftest.err
30592 cat conftest.err
>&5
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); } &&
30595 { ac_try
='test -z "$ac_c_werror_flag"
30596 || test ! -s conftest.err'
30597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598 (eval $ac_try) 2>&5
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); }; } &&
30602 { ac_try
='test -s conftest.$ac_objext'
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; }; then
30608 ac_cv_type_ssize_t
=yes
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.
$ac_ext >&5
30613 ac_cv_type_ssize_t
=no
30615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30617 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30618 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30619 if test $ac_cv_type_ssize_t = yes; then
30621 cat >>confdefs.h
<<_ACEOF
30622 #define HAVE_SSIZE_T 1
30632 ac_cpp
='$CXXCPP $CPPFLAGS'
30633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30637 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30638 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30639 if test "${wx_cv_size_t_is_uint+set}" = set; then
30640 echo $ECHO_N "(cached) $ECHO_C" >&6
30643 cat >conftest.
$ac_ext <<_ACEOF
30646 cat confdefs.h
>>conftest.
$ac_ext
30647 cat >>conftest.
$ac_ext <<_ACEOF
30648 /* end confdefs.h. */
30649 #include <stddef.h>
30656 struct Foo { void foo(size_t); void foo(unsigned int); };
30664 rm -f conftest.
$ac_objext
30665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30666 (eval $ac_compile) 2>conftest.er1
30668 grep -v '^ *+' conftest.er1
>conftest.err
30670 cat conftest.err
>&5
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); } &&
30673 { ac_try
='test -z "$ac_cxx_werror_flag"
30674 || test ! -s conftest.err'
30675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30676 (eval $ac_try) 2>&5
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; } &&
30680 { ac_try
='test -s conftest.$ac_objext'
30681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30682 (eval $ac_try) 2>&5
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); }; }; then
30686 wx_cv_size_t_is_uint
=no
30688 echo "$as_me: failed program was:" >&5
30689 sed 's/^/| /' conftest.
$ac_ext >&5
30691 wx_cv_size_t_is_uint
=yes
30694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30698 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30699 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30701 if test "$wx_cv_size_t_is_uint" = "yes"; then
30702 cat >>confdefs.h
<<\_ACEOF
30703 #define wxSIZE_T_IS_UINT 1
30707 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30708 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30709 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30712 cat >conftest.
$ac_ext <<_ACEOF
30715 cat confdefs.h
>>conftest.
$ac_ext
30716 cat >>conftest.
$ac_ext <<_ACEOF
30717 /* end confdefs.h. */
30718 #include <stddef.h>
30725 struct Foo { void foo(size_t); void foo(unsigned long); };
30733 rm -f conftest.
$ac_objext
30734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30735 (eval $ac_compile) 2>conftest.er1
30737 grep -v '^ *+' conftest.er1
>conftest.err
30739 cat conftest.err
>&5
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); } &&
30742 { ac_try
='test -z "$ac_cxx_werror_flag"
30743 || test ! -s conftest.err'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; } &&
30749 { ac_try
='test -s conftest.$ac_objext'
30750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30751 (eval $ac_try) 2>&5
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); }; }; then
30755 wx_cv_size_t_is_ulong
=no
30757 echo "$as_me: failed program was:" >&5
30758 sed 's/^/| /' conftest.
$ac_ext >&5
30760 wx_cv_size_t_is_ulong
=yes
30763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30766 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30767 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30769 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30770 cat >>confdefs.h
<<\_ACEOF
30771 #define wxSIZE_T_IS_ULONG 1
30778 ac_cpp
='$CPP $CPPFLAGS'
30779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30785 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30786 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30787 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30791 cat >conftest.
$ac_ext <<_ACEOF
30794 cat confdefs.h
>>conftest.
$ac_ext
30795 cat >>conftest.
$ac_ext <<_ACEOF
30796 /* end confdefs.h. */
30810 rm -f conftest.
$ac_objext
30811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30812 (eval $ac_compile) 2>conftest.er1
30814 grep -v '^ *+' conftest.er1
>conftest.err
30816 cat conftest.err
>&5
30817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818 (exit $ac_status); } &&
30819 { ac_try
='test -z "$ac_c_werror_flag"
30820 || test ! -s conftest.err'
30821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30822 (eval $ac_try) 2>&5
30824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825 (exit $ac_status); }; } &&
30826 { ac_try
='test -s conftest.$ac_objext'
30827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30828 (eval $ac_try) 2>&5
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); }; }; then
30833 wx_cv_struct_pw_gecos
=yes
30836 echo "$as_me: failed program was:" >&5
30837 sed 's/^/| /' conftest.
$ac_ext >&5
30840 wx_cv_struct_pw_gecos
=no
30844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30848 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30849 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30851 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30852 cat >>confdefs.h
<<\_ACEOF
30853 #define HAVE_PW_GECOS 1
30859 if test "$wxUSE_WCHAR_T" = "yes"; then
30860 cat >>confdefs.h
<<\_ACEOF
30861 #define wxUSE_WCHAR_T 1
30868 for ac_func
in wcslen
30870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30871 echo "$as_me:$LINENO: checking for $ac_func" >&5
30872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30873 if eval "test \"\${$as_ac_var+set}\" = set"; then
30874 echo $ECHO_N "(cached) $ECHO_C" >&6
30876 cat >conftest.
$ac_ext <<_ACEOF
30879 cat confdefs.h
>>conftest.
$ac_ext
30880 cat >>conftest.
$ac_ext <<_ACEOF
30881 /* end confdefs.h. */
30882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30884 #define $ac_func innocuous_$ac_func
30886 /* System header to define __stub macros and hopefully few prototypes,
30887 which can conflict with char $ac_func (); below.
30888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30889 <limits.h> exists even on freestanding compilers. */
30892 # include <limits.h>
30894 # include <assert.h>
30899 /* Override any gcc2 internal prototype to avoid an error. */
30904 /* We use char because int might match the return type of a gcc2
30905 builtin and then its argument prototype would still apply. */
30907 /* The GNU C library defines this for functions which it implements
30908 to always fail with ENOSYS. Some functions are actually named
30909 something starting with __ and the normal name is an alias. */
30910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30913 char (*f) () = $ac_func;
30922 return f != $ac_func;
30927 rm -f conftest.
$ac_objext conftest
$ac_exeext
30928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30929 (eval $ac_link) 2>conftest.er1
30931 grep -v '^ *+' conftest.er1
>conftest.err
30933 cat conftest.err
>&5
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); } &&
30936 { ac_try
='test -z "$ac_c_werror_flag"
30937 || test ! -s conftest.err'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; } &&
30943 { ac_try
='test -s conftest$ac_exeext'
30944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30945 (eval $ac_try) 2>&5
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); }; }; then
30949 eval "$as_ac_var=yes"
30951 echo "$as_me: failed program was:" >&5
30952 sed 's/^/| /' conftest.
$ac_ext >&5
30954 eval "$as_ac_var=no"
30956 rm -f conftest.err conftest.
$ac_objext \
30957 conftest
$ac_exeext conftest.
$ac_ext
30959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30961 if test `eval echo '${'$as_ac_var'}'` = yes; then
30962 cat >>confdefs.h
<<_ACEOF
30963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30970 if test "$WCSLEN_FOUND" = 0; then
30971 if test "$TOOLKIT" = "MSW"; then
30972 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30973 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30974 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30975 echo $ECHO_N "(cached) $ECHO_C" >&6
30977 ac_check_lib_save_LIBS
=$LIBS
30978 LIBS
="-lmsvcrt $LIBS"
30979 cat >conftest.
$ac_ext <<_ACEOF
30982 cat confdefs.h
>>conftest.
$ac_ext
30983 cat >>conftest.
$ac_ext <<_ACEOF
30984 /* end confdefs.h. */
30986 /* 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. */
31001 rm -f conftest.
$ac_objext conftest
$ac_exeext
31002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31003 (eval $ac_link) 2>conftest.er1
31005 grep -v '^ *+' conftest.er1
>conftest.err
31007 cat conftest.err
>&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); } &&
31010 { ac_try
='test -z "$ac_c_werror_flag"
31011 || test ! -s conftest.err'
31012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31013 (eval $ac_try) 2>&5
31015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31016 (exit $ac_status); }; } &&
31017 { ac_try
='test -s conftest$ac_exeext'
31018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31019 (eval $ac_try) 2>&5
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); }; }; then
31023 ac_cv_lib_msvcrt_wcslen
=yes
31025 echo "$as_me: failed program was:" >&5
31026 sed 's/^/| /' conftest.
$ac_ext >&5
31028 ac_cv_lib_msvcrt_wcslen
=no
31030 rm -f conftest.err conftest.
$ac_objext \
31031 conftest
$ac_exeext conftest.
$ac_ext
31032 LIBS
=$ac_check_lib_save_LIBS
31034 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31035 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31036 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31041 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31042 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31043 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31044 echo $ECHO_N "(cached) $ECHO_C" >&6
31046 ac_check_lib_save_LIBS
=$LIBS
31048 cat >conftest.
$ac_ext <<_ACEOF
31051 cat confdefs.h
>>conftest.
$ac_ext
31052 cat >>conftest.
$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31055 /* Override any gcc2 internal prototype to avoid an error. */
31059 /* We use char because int might match the return type of a gcc2
31060 builtin and then its argument prototype would still apply. */
31070 rm -f conftest.
$ac_objext conftest
$ac_exeext
31071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31072 (eval $ac_link) 2>conftest.er1
31074 grep -v '^ *+' conftest.er1
>conftest.err
31076 cat conftest.err
>&5
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); } &&
31079 { ac_try
='test -z "$ac_c_werror_flag"
31080 || test ! -s conftest.err'
31081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31082 (eval $ac_try) 2>&5
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); }; } &&
31086 { ac_try
='test -s conftest$ac_exeext'
31087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31088 (eval $ac_try) 2>&5
31090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31091 (exit $ac_status); }; }; then
31092 ac_cv_lib_w_wcslen
=yes
31094 echo "$as_me: failed program was:" >&5
31095 sed 's/^/| /' conftest.
$ac_ext >&5
31097 ac_cv_lib_w_wcslen
=no
31099 rm -f conftest.err conftest.
$ac_objext \
31100 conftest
$ac_exeext conftest.
$ac_ext
31101 LIBS
=$ac_check_lib_save_LIBS
31103 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31104 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31105 if test $ac_cv_lib_w_wcslen = yes; then
31115 if test "$WCSLEN_FOUND" = 1; then
31116 cat >>confdefs.h
<<\_ACEOF
31117 #define HAVE_WCSLEN 1
31122 if test "$USE_HPUX" = 1; then
31123 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31127 for ac_func
in wcsrtombs
31129 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31130 echo "$as_me:$LINENO: checking for $ac_func" >&5
31131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31132 if eval "test \"\${$as_ac_var+set}\" = set"; then
31133 echo $ECHO_N "(cached) $ECHO_C" >&6
31135 cat >conftest.
$ac_ext <<_ACEOF
31138 cat confdefs.h
>>conftest.
$ac_ext
31139 cat >>conftest.
$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31143 #define $ac_func innocuous_$ac_func
31145 /* System header to define __stub macros and hopefully few prototypes,
31146 which can conflict with char $ac_func (); below.
31147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31148 <limits.h> exists even on freestanding compilers. */
31151 # include <limits.h>
31153 # include <assert.h>
31158 /* Override any gcc2 internal prototype to avoid an error. */
31163 /* We use char because int might match the return type of a gcc2
31164 builtin and then its argument prototype would still apply. */
31166 /* The GNU C library defines this for functions which it implements
31167 to always fail with ENOSYS. Some functions are actually named
31168 something starting with __ and the normal name is an alias. */
31169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31172 char (*f) () = $ac_func;
31181 return f != $ac_func;
31186 rm -f conftest.
$ac_objext conftest
$ac_exeext
31187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31188 (eval $ac_link) 2>conftest.er1
31190 grep -v '^ *+' conftest.er1
>conftest.err
31192 cat conftest.err
>&5
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); } &&
31195 { ac_try
='test -z "$ac_c_werror_flag"
31196 || test ! -s conftest.err'
31197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198 (eval $ac_try) 2>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); }; } &&
31202 { ac_try
='test -s conftest$ac_exeext'
31203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31204 (eval $ac_try) 2>&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); }; }; then
31208 eval "$as_ac_var=yes"
31210 echo "$as_me: failed program was:" >&5
31211 sed 's/^/| /' conftest.
$ac_ext >&5
31213 eval "$as_ac_var=no"
31215 rm -f conftest.err conftest.
$ac_objext \
31216 conftest
$ac_exeext conftest.
$ac_ext
31218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31220 if test `eval echo '${'$as_ac_var'}'` = yes; then
31221 cat >>confdefs.h
<<_ACEOF
31222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31229 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31230 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31236 ac_cpp
='$CXXCPP $CPPFLAGS'
31237 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31238 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31239 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31243 for ac_func
in vsnprintf
31245 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31246 echo "$as_me:$LINENO: checking for $ac_func" >&5
31247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31248 if eval "test \"\${$as_ac_var+set}\" = set"; then
31249 echo $ECHO_N "(cached) $ECHO_C" >&6
31251 cat >conftest.
$ac_ext <<_ACEOF
31254 cat confdefs.h
>>conftest.
$ac_ext
31255 cat >>conftest.
$ac_ext <<_ACEOF
31256 /* end confdefs.h. */
31257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31259 #define $ac_func innocuous_$ac_func
31261 /* System header to define __stub macros and hopefully few prototypes,
31262 which can conflict with char $ac_func (); below.
31263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31264 <limits.h> exists even on freestanding compilers. */
31267 # include <limits.h>
31269 # include <assert.h>
31274 /* Override any gcc2 internal prototype to avoid an error. */
31279 /* We use char because int might match the return type of a gcc2
31280 builtin and then its argument prototype would still apply. */
31282 /* The GNU C library defines this for functions which it implements
31283 to always fail with ENOSYS. Some functions are actually named
31284 something starting with __ and the normal name is an alias. */
31285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31288 char (*f) () = $ac_func;
31297 return f != $ac_func;
31302 rm -f conftest.
$ac_objext conftest
$ac_exeext
31303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31304 (eval $ac_link) 2>conftest.er1
31306 grep -v '^ *+' conftest.er1
>conftest.err
31308 cat conftest.err
>&5
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); } &&
31311 { ac_try
='test -z "$ac_cxx_werror_flag"
31312 || test ! -s conftest.err'
31313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31314 (eval $ac_try) 2>&5
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; } &&
31318 { ac_try
='test -s conftest$ac_exeext'
31319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31320 (eval $ac_try) 2>&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); }; }; then
31324 eval "$as_ac_var=yes"
31326 echo "$as_me: failed program was:" >&5
31327 sed 's/^/| /' conftest.
$ac_ext >&5
31329 eval "$as_ac_var=no"
31331 rm -f conftest.err conftest.
$ac_objext \
31332 conftest
$ac_exeext conftest.
$ac_ext
31334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31336 if test `eval echo '${'$as_ac_var'}'` = yes; then
31337 cat >>confdefs.h
<<_ACEOF
31338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31345 if test "$ac_cv_func_vsnprintf" = "yes"; then
31346 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31347 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31348 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31352 cat >conftest.
$ac_ext <<_ACEOF
31355 cat confdefs.h
>>conftest.
$ac_ext
31356 cat >>conftest.
$ac_ext <<_ACEOF
31357 /* end confdefs.h. */
31360 #include <stdarg.h>
31368 vsnprintf(buf, 10u, "%s", ap);
31374 rm -f conftest.
$ac_objext
31375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31376 (eval $ac_compile) 2>conftest.er1
31378 grep -v '^ *+' conftest.er1
>conftest.err
31380 cat conftest.err
>&5
31381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382 (exit $ac_status); } &&
31383 { ac_try
='test -z "$ac_cxx_werror_flag"
31384 || test ! -s conftest.err'
31385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31386 (eval $ac_try) 2>&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); }; } &&
31390 { ac_try
='test -s conftest.$ac_objext'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; }; then
31396 wx_cv_func_vsnprintf_decl
=yes
31398 echo "$as_me: failed program was:" >&5
31399 sed 's/^/| /' conftest.
$ac_ext >&5
31402 cat >conftest.
$ac_ext <<_ACEOF
31405 cat confdefs.h
>>conftest.
$ac_ext
31406 cat >>conftest.
$ac_ext <<_ACEOF
31407 /* end confdefs.h. */
31410 #include <stdarg.h>
31411 using namespace std;
31419 vsnprintf(buf, 10u, "%s", ap);
31425 rm -f conftest.
$ac_objext
31426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31427 (eval $ac_compile) 2>conftest.er1
31429 grep -v '^ *+' conftest.er1
>conftest.err
31431 cat conftest.err
>&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); } &&
31434 { ac_try
='test -z "$ac_cxx_werror_flag"
31435 || test ! -s conftest.err'
31436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31437 (eval $ac_try) 2>&5
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); }; } &&
31441 { ac_try
='test -s conftest.$ac_objext'
31442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31443 (eval $ac_try) 2>&5
31445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31446 (exit $ac_status); }; }; then
31447 wx_cv_func_vsnprintf_decl
=yes
31449 echo "$as_me: failed program was:" >&5
31450 sed 's/^/| /' conftest.
$ac_ext >&5
31452 wx_cv_func_vsnprintf_decl
=no
31455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31463 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31464 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31466 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31467 cat >>confdefs.h
<<\_ACEOF
31468 #define HAVE_VSNPRINTF_DECL 1
31474 if test "$wxUSE_UNICODE" = yes; then
31481 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31483 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31484 echo "$as_me:$LINENO: checking for $ac_func" >&5
31485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31486 if eval "test \"\${$as_ac_var+set}\" = set"; then
31487 echo $ECHO_N "(cached) $ECHO_C" >&6
31489 cat >conftest.
$ac_ext <<_ACEOF
31492 cat confdefs.h
>>conftest.
$ac_ext
31493 cat >>conftest.
$ac_ext <<_ACEOF
31494 /* end confdefs.h. */
31495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31497 #define $ac_func innocuous_$ac_func
31499 /* System header to define __stub macros and hopefully few prototypes,
31500 which can conflict with char $ac_func (); below.
31501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31502 <limits.h> exists even on freestanding compilers. */
31505 # include <limits.h>
31507 # include <assert.h>
31512 /* Override any gcc2 internal prototype to avoid an error. */
31517 /* We use char because int might match the return type of a gcc2
31518 builtin and then its argument prototype would still apply. */
31520 /* The GNU C library defines this for functions which it implements
31521 to always fail with ENOSYS. Some functions are actually named
31522 something starting with __ and the normal name is an alias. */
31523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31526 char (*f) () = $ac_func;
31535 return f != $ac_func;
31540 rm -f conftest.
$ac_objext conftest
$ac_exeext
31541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31542 (eval $ac_link) 2>conftest.er1
31544 grep -v '^ *+' conftest.er1
>conftest.err
31546 cat conftest.err
>&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } &&
31549 { ac_try
='test -z "$ac_cxx_werror_flag"
31550 || test ! -s conftest.err'
31551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31552 (eval $ac_try) 2>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); }; } &&
31556 { ac_try
='test -s conftest$ac_exeext'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; }; then
31562 eval "$as_ac_var=yes"
31564 echo "$as_me: failed program was:" >&5
31565 sed 's/^/| /' conftest.
$ac_ext >&5
31567 eval "$as_ac_var=no"
31569 rm -f conftest.err conftest.
$ac_objext \
31570 conftest
$ac_exeext conftest.
$ac_ext
31572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31574 if test `eval echo '${'$as_ac_var'}'` = yes; then
31575 cat >>confdefs.h
<<_ACEOF
31576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31583 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31584 echo $ECHO_N "checking for _vsnwprintf... $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. */
31600 rm -f conftest.
$ac_objext
31601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31602 (eval $ac_compile) 2>conftest.er1
31604 grep -v '^ *+' conftest.er1
>conftest.err
31606 cat conftest.err
>&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); } &&
31609 { ac_try
='test -z "$ac_cxx_werror_flag"
31610 || test ! -s conftest.err'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; } &&
31616 { ac_try
='test -s conftest.$ac_objext'
31617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31618 (eval $ac_try) 2>&5
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); }; }; then
31622 echo "$as_me:$LINENO: result: yes" >&5
31623 echo "${ECHO_T}yes" >&6
31624 cat >>confdefs.h
<<\_ACEOF
31625 #define HAVE__VSNWPRINTF 1
31629 echo "$as_me: failed program was:" >&5
31630 sed 's/^/| /' conftest.
$ac_ext >&5
31632 echo "$as_me:$LINENO: result: no" >&5
31633 echo "${ECHO_T}no" >&6
31635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31639 ac_cpp
='$CPP $CPPFLAGS'
31640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31647 if test "$TOOLKIT" != "MSW"; then
31653 ac_cpp
='$CXXCPP $CPPFLAGS'
31654 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31661 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31662 if test "${with_libiconv_prefix+set}" = set; then
31663 withval
="$with_libiconv_prefix"
31665 for dir
in `echo "$withval" | tr : ' '`; do
31666 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31667 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31672 echo "$as_me:$LINENO: checking for iconv" >&5
31673 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31674 if test "${am_cv_func_iconv+set}" = set; then
31675 echo $ECHO_N "(cached) $ECHO_C" >&6
31678 am_cv_func_iconv
="no, consider installing GNU libiconv"
31680 cat >conftest.
$ac_ext <<_ACEOF
31683 cat confdefs.h
>>conftest.
$ac_ext
31684 cat >>conftest.
$ac_ext <<_ACEOF
31685 /* end confdefs.h. */
31686 #include <stdlib.h>
31691 iconv_t cd = iconv_open("","");
31692 iconv(cd,NULL,NULL,NULL,NULL);
31698 rm -f conftest.
$ac_objext conftest
$ac_exeext
31699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31700 (eval $ac_link) 2>conftest.er1
31702 grep -v '^ *+' conftest.er1
>conftest.err
31704 cat conftest.err
>&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); } &&
31707 { ac_try
='test -z "$ac_cxx_werror_flag"
31708 || test ! -s conftest.err'
31709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31710 (eval $ac_try) 2>&5
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; } &&
31714 { ac_try
='test -s conftest$ac_exeext'
31715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31716 (eval $ac_try) 2>&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); }; }; then
31720 am_cv_func_iconv
=yes
31722 echo "$as_me: failed program was:" >&5
31723 sed 's/^/| /' conftest.
$ac_ext >&5
31726 rm -f conftest.err conftest.
$ac_objext \
31727 conftest
$ac_exeext conftest.
$ac_ext
31728 if test "$am_cv_func_iconv" != yes; then
31729 am_save_LIBS
="$LIBS"
31730 LIBS
="$LIBS -liconv"
31731 cat >conftest.
$ac_ext <<_ACEOF
31734 cat confdefs.h
>>conftest.
$ac_ext
31735 cat >>conftest.
$ac_ext <<_ACEOF
31736 /* end confdefs.h. */
31737 #include <stdlib.h>
31742 iconv_t cd = iconv_open("","");
31743 iconv(cd,NULL,NULL,NULL,NULL);
31749 rm -f conftest.
$ac_objext conftest
$ac_exeext
31750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31751 (eval $ac_link) 2>conftest.er1
31753 grep -v '^ *+' conftest.er1
>conftest.err
31755 cat conftest.err
>&5
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); } &&
31758 { ac_try
='test -z "$ac_cxx_werror_flag"
31759 || test ! -s conftest.err'
31760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31761 (eval $ac_try) 2>&5
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); }; } &&
31765 { ac_try
='test -s conftest$ac_exeext'
31766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767 (eval $ac_try) 2>&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); }; }; then
31771 am_cv_lib_iconv
=yes
31772 am_cv_func_iconv
=yes
31774 echo "$as_me: failed program was:" >&5
31775 sed 's/^/| /' conftest.
$ac_ext >&5
31778 rm -f conftest.err conftest.
$ac_objext \
31779 conftest
$ac_exeext conftest.
$ac_ext
31780 LIBS
="$am_save_LIBS"
31784 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31785 echo "${ECHO_T}$am_cv_func_iconv" >&6
31786 if test "$am_cv_func_iconv" = yes; then
31788 cat >>confdefs.h
<<\_ACEOF
31789 #define HAVE_ICONV 1
31792 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31793 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31794 if test "${wx_cv_func_iconv_const+set}" = set; then
31795 echo $ECHO_N "(cached) $ECHO_C" >&6
31797 cat >conftest.
$ac_ext <<_ACEOF
31800 cat confdefs.h
>>conftest.
$ac_ext
31801 cat >>conftest.
$ac_ext <<_ACEOF
31802 /* end confdefs.h. */
31804 #include <stdlib.h>
31810 #if defined(__STDC__) || defined(__cplusplus)
31811 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31824 rm -f conftest.
$ac_objext
31825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31826 (eval $ac_compile) 2>conftest.er1
31828 grep -v '^ *+' conftest.er1
>conftest.err
31830 cat conftest.err
>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); } &&
31833 { ac_try
='test -z "$ac_cxx_werror_flag"
31834 || test ! -s conftest.err'
31835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31836 (eval $ac_try) 2>&5
31838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31839 (exit $ac_status); }; } &&
31840 { ac_try
='test -s conftest.$ac_objext'
31841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31842 (eval $ac_try) 2>&5
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); }; }; then
31846 wx_cv_func_iconv_const
="no"
31848 echo "$as_me: failed program was:" >&5
31849 sed 's/^/| /' conftest.
$ac_ext >&5
31851 wx_cv_func_iconv_const
="yes"
31854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31857 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31858 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31861 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31862 iconv_const
="const"
31866 cat >>confdefs.h
<<_ACEOF
31867 #define ICONV_CONST $iconv_const
31872 if test "$am_cv_lib_iconv" = yes; then
31877 LIBS
="$LIBICONV $LIBS"
31879 ac_cpp
='$CPP $CPPFLAGS'
31880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31885 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31887 for ac_func
in sigaction
31889 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31890 echo "$as_me:$LINENO: checking for $ac_func" >&5
31891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31892 if eval "test \"\${$as_ac_var+set}\" = set"; then
31893 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 cat >conftest.
$ac_ext <<_ACEOF
31898 cat confdefs.h
>>conftest.
$ac_ext
31899 cat >>conftest.
$ac_ext <<_ACEOF
31900 /* end confdefs.h. */
31901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31903 #define $ac_func innocuous_$ac_func
31905 /* System header to define __stub macros and hopefully few prototypes,
31906 which can conflict with char $ac_func (); below.
31907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31908 <limits.h> exists even on freestanding compilers. */
31911 # include <limits.h>
31913 # include <assert.h>
31918 /* Override any gcc2 internal prototype to avoid an error. */
31923 /* We use char because int might match the return type of a gcc2
31924 builtin and then its argument prototype would still apply. */
31926 /* The GNU C library defines this for functions which it implements
31927 to always fail with ENOSYS. Some functions are actually named
31928 something starting with __ and the normal name is an alias. */
31929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31932 char (*f) () = $ac_func;
31941 return f != $ac_func;
31946 rm -f conftest.
$ac_objext conftest
$ac_exeext
31947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31948 (eval $ac_link) 2>conftest.er1
31950 grep -v '^ *+' conftest.er1
>conftest.err
31952 cat conftest.err
>&5
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); } &&
31955 { ac_try
='test -z "$ac_c_werror_flag"
31956 || test ! -s conftest.err'
31957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31958 (eval $ac_try) 2>&5
31960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31961 (exit $ac_status); }; } &&
31962 { ac_try
='test -s conftest$ac_exeext'
31963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31964 (eval $ac_try) 2>&5
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); }; }; then
31968 eval "$as_ac_var=yes"
31970 echo "$as_me: failed program was:" >&5
31971 sed 's/^/| /' conftest.
$ac_ext >&5
31973 eval "$as_ac_var=no"
31975 rm -f conftest.err conftest.
$ac_objext \
31976 conftest
$ac_exeext conftest.
$ac_ext
31978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31980 if test `eval echo '${'$as_ac_var'}'` = yes; then
31981 cat >>confdefs.h
<<_ACEOF
31982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31989 if test "$ac_cv_func_sigaction" = "no"; then
31990 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31991 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31992 wxUSE_ON_FATAL_EXCEPTION
=no
31995 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31999 ac_cpp
='$CXXCPP $CPPFLAGS'
32000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32005 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32006 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32007 if test "${wx_cv_type_sa_handler+set}" = set; then
32008 echo $ECHO_N "(cached) $ECHO_C" >&6
32011 cat >conftest.
$ac_ext <<_ACEOF
32014 cat confdefs.h
>>conftest.
$ac_ext
32015 cat >>conftest.
$ac_ext <<_ACEOF
32016 /* end confdefs.h. */
32017 #include <signal.h>
32022 extern void testSigHandler(int);
32024 struct sigaction sa;
32025 sa.sa_handler = testSigHandler;
32031 rm -f conftest.
$ac_objext
32032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32033 (eval $ac_compile) 2>conftest.er1
32035 grep -v '^ *+' conftest.er1
>conftest.err
32037 cat conftest.err
>&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } &&
32040 { ac_try
='test -z "$ac_cxx_werror_flag"
32041 || test ! -s conftest.err'
32042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32043 (eval $ac_try) 2>&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); }; } &&
32047 { ac_try
='test -s conftest.$ac_objext'
32048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32049 (eval $ac_try) 2>&5
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); }; }; then
32054 wx_cv_type_sa_handler
=int
32057 echo "$as_me: failed program was:" >&5
32058 sed 's/^/| /' conftest.
$ac_ext >&5
32061 wx_cv_type_sa_handler
=void
32064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32067 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32068 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32071 ac_cpp
='$CPP $CPPFLAGS'
32072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32077 cat >>confdefs.h
<<_ACEOF
32078 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32084 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32088 ac_cpp
='$CXXCPP $CPPFLAGS'
32089 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32090 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32091 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32094 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32095 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32096 if test "${wx_cv_func_backtrace+set}" = set; then
32097 echo $ECHO_N "(cached) $ECHO_C" >&6
32100 cat >conftest.
$ac_ext <<_ACEOF
32103 cat confdefs.h
>>conftest.
$ac_ext
32104 cat >>conftest.
$ac_ext <<_ACEOF
32105 /* end confdefs.h. */
32106 #include <execinfo.h>
32114 backtrace(trace, 1);
32115 messages = backtrace_symbols(trace, 1);
32121 rm -f conftest.
$ac_objext
32122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32123 (eval $ac_compile) 2>conftest.er1
32125 grep -v '^ *+' conftest.er1
>conftest.err
32127 cat conftest.err
>&5
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); } &&
32130 { ac_try
='test -z "$ac_cxx_werror_flag"
32131 || test ! -s conftest.err'
32132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32133 (eval $ac_try) 2>&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); }; } &&
32137 { ac_try
='test -s conftest.$ac_objext'
32138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32139 (eval $ac_try) 2>&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); }; }; then
32143 wx_cv_func_backtrace
=yes
32145 echo "$as_me: failed program was:" >&5
32146 sed 's/^/| /' conftest.
$ac_ext >&5
32148 wx_cv_func_backtrace
=no
32151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32155 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32156 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32159 if test "$wx_cv_func_backtrace" = "no"; then
32160 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32161 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32162 wxUSE_STACKWALKER
=no
32164 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32165 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32166 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32167 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 cat >conftest.
$ac_ext <<_ACEOF
32173 cat confdefs.h
>>conftest.
$ac_ext
32174 cat >>conftest.
$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176 #include <cxxabi.h>
32182 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32188 rm -f conftest.
$ac_objext conftest
$ac_exeext
32189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32190 (eval $ac_link) 2>conftest.er1
32192 grep -v '^ *+' conftest.er1
>conftest.err
32194 cat conftest.err
>&5
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); } &&
32197 { ac_try
='test -z "$ac_cxx_werror_flag"
32198 || test ! -s conftest.err'
32199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32200 (eval $ac_try) 2>&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); }; } &&
32204 { ac_try
='test -s conftest$ac_exeext'
32205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32206 (eval $ac_try) 2>&5
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); }; }; then
32210 wx_cv_func_cxa_demangle
=yes
32212 echo "$as_me: failed program was:" >&5
32213 sed 's/^/| /' conftest.
$ac_ext >&5
32215 wx_cv_func_cxa_demangle
=no
32218 rm -f conftest.err conftest.
$ac_objext \
32219 conftest
$ac_exeext conftest.
$ac_ext
32223 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32224 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32226 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32227 cat >>confdefs.h
<<\_ACEOF
32228 #define HAVE_CXA_DEMANGLE 1
32235 ac_cpp
='$CPP $CPPFLAGS'
32236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32242 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32243 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32244 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32245 wxUSE_STACKWALKER
=no
32251 for ac_func
in mkstemp mktemp
32253 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32254 echo "$as_me:$LINENO: checking for $ac_func" >&5
32255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32256 if eval "test \"\${$as_ac_var+set}\" = set"; then
32257 echo $ECHO_N "(cached) $ECHO_C" >&6
32259 cat >conftest.
$ac_ext <<_ACEOF
32262 cat confdefs.h
>>conftest.
$ac_ext
32263 cat >>conftest.
$ac_ext <<_ACEOF
32264 /* end confdefs.h. */
32265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32267 #define $ac_func innocuous_$ac_func
32269 /* System header to define __stub macros and hopefully few prototypes,
32270 which can conflict with char $ac_func (); below.
32271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32272 <limits.h> exists even on freestanding compilers. */
32275 # include <limits.h>
32277 # include <assert.h>
32282 /* Override any gcc2 internal prototype to avoid an error. */
32287 /* We use char because int might match the return type of a gcc2
32288 builtin and then its argument prototype would still apply. */
32290 /* The GNU C library defines this for functions which it implements
32291 to always fail with ENOSYS. Some functions are actually named
32292 something starting with __ and the normal name is an alias. */
32293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32296 char (*f) () = $ac_func;
32305 return f != $ac_func;
32310 rm -f conftest.
$ac_objext conftest
$ac_exeext
32311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32312 (eval $ac_link) 2>conftest.er1
32314 grep -v '^ *+' conftest.er1
>conftest.err
32316 cat conftest.err
>&5
32317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32318 (exit $ac_status); } &&
32319 { ac_try
='test -z "$ac_c_werror_flag"
32320 || test ! -s conftest.err'
32321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32322 (eval $ac_try) 2>&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); }; } &&
32326 { ac_try
='test -s conftest$ac_exeext'
32327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328 (eval $ac_try) 2>&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); }; }; then
32332 eval "$as_ac_var=yes"
32334 echo "$as_me: failed program was:" >&5
32335 sed 's/^/| /' conftest.
$ac_ext >&5
32337 eval "$as_ac_var=no"
32339 rm -f conftest.err conftest.
$ac_objext \
32340 conftest
$ac_exeext conftest.
$ac_ext
32342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32344 if test `eval echo '${'$as_ac_var'}'` = yes; then
32345 cat >>confdefs.h
<<_ACEOF
32346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32353 echo "$as_me:$LINENO: checking for statfs" >&5
32354 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32355 if test "${wx_cv_func_statfs+set}" = set; then
32356 echo $ECHO_N "(cached) $ECHO_C" >&6
32358 cat >conftest.
$ac_ext <<_ACEOF
32361 cat confdefs.h
>>conftest.
$ac_ext
32362 cat >>conftest.
$ac_ext <<_ACEOF
32363 /* end confdefs.h. */
32365 #if defined(__BSD__)
32366 #include <sys/param.h>
32367 #include <sys/mount.h>
32369 #include <sys/vfs.h>
32387 rm -f conftest.
$ac_objext
32388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32389 (eval $ac_compile) 2>conftest.er1
32391 grep -v '^ *+' conftest.er1
>conftest.err
32393 cat conftest.err
>&5
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); } &&
32396 { ac_try
='test -z "$ac_c_werror_flag"
32397 || test ! -s conftest.err'
32398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32399 (eval $ac_try) 2>&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); }; } &&
32403 { ac_try
='test -s conftest.$ac_objext'
32404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405 (eval $ac_try) 2>&5
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); }; }; then
32410 wx_cv_func_statfs
=yes
32413 echo "$as_me: failed program was:" >&5
32414 sed 's/^/| /' conftest.
$ac_ext >&5
32417 wx_cv_func_statfs
=no
32421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32424 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32425 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32427 if test "$wx_cv_func_statfs" = "yes"; then
32428 wx_cv_type_statvfs_t
="struct statfs"
32429 cat >>confdefs.h
<<\_ACEOF
32430 #define HAVE_STATFS 1
32434 echo "$as_me:$LINENO: checking for statvfs" >&5
32435 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32436 if test "${wx_cv_func_statvfs+set}" = set; then
32437 echo $ECHO_N "(cached) $ECHO_C" >&6
32439 cat >conftest.
$ac_ext <<_ACEOF
32442 cat confdefs.h
>>conftest.
$ac_ext
32443 cat >>conftest.
$ac_ext <<_ACEOF
32444 /* end confdefs.h. */
32446 #include <stddef.h>
32447 #include <sys/statvfs.h>
32453 statvfs("/", NULL);
32459 rm -f conftest.
$ac_objext
32460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32461 (eval $ac_compile) 2>conftest.er1
32463 grep -v '^ *+' conftest.er1
>conftest.err
32465 cat conftest.err
>&5
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); } &&
32468 { ac_try
='test -z "$ac_c_werror_flag"
32469 || test ! -s conftest.err'
32470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32471 (eval $ac_try) 2>&5
32473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32474 (exit $ac_status); }; } &&
32475 { ac_try
='test -s conftest.$ac_objext'
32476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32477 (eval $ac_try) 2>&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); }; }; then
32481 wx_cv_func_statvfs
=yes
32483 echo "$as_me: failed program was:" >&5
32484 sed 's/^/| /' conftest.
$ac_ext >&5
32486 wx_cv_func_statvfs
=no
32489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32492 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32493 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32495 if test "$wx_cv_func_statvfs" = "yes"; then
32499 ac_cpp
='$CXXCPP $CPPFLAGS'
32500 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32505 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32506 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32507 if test "${wx_cv_type_statvfs_t+set}" = set; then
32508 echo $ECHO_N "(cached) $ECHO_C" >&6
32510 cat >conftest.
$ac_ext <<_ACEOF
32513 cat confdefs.h
>>conftest.
$ac_ext
32514 cat >>conftest.
$ac_ext <<_ACEOF
32515 /* end confdefs.h. */
32517 #include <sys/statvfs.h>
32534 rm -f conftest.
$ac_objext
32535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32536 (eval $ac_compile) 2>conftest.er1
32538 grep -v '^ *+' conftest.er1
>conftest.err
32540 cat conftest.err
>&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } &&
32543 { ac_try
='test -z "$ac_cxx_werror_flag"
32544 || test ! -s conftest.err'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; } &&
32550 { ac_try
='test -s conftest.$ac_objext'
32551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32552 (eval $ac_try) 2>&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); }; }; then
32556 wx_cv_type_statvfs_t
=statvfs_t
32558 echo "$as_me: failed program was:" >&5
32559 sed 's/^/| /' conftest.
$ac_ext >&5
32562 cat >conftest.
$ac_ext <<_ACEOF
32565 cat confdefs.h
>>conftest.
$ac_ext
32566 cat >>conftest.
$ac_ext <<_ACEOF
32567 /* end confdefs.h. */
32569 #include <sys/statvfs.h>
32586 rm -f conftest.
$ac_objext
32587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32588 (eval $ac_compile) 2>conftest.er1
32590 grep -v '^ *+' conftest.er1
>conftest.err
32592 cat conftest.err
>&5
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); } &&
32595 { ac_try
='test -z "$ac_cxx_werror_flag"
32596 || test ! -s conftest.err'
32597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598 (eval $ac_try) 2>&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); }; } &&
32602 { ac_try
='test -s conftest.$ac_objext'
32603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32604 (eval $ac_try) 2>&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); }; }; then
32608 wx_cv_type_statvfs_t
="struct statvfs"
32610 echo "$as_me: failed program was:" >&5
32611 sed 's/^/| /' conftest.
$ac_ext >&5
32613 wx_cv_type_statvfs_t
="unknown"
32616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32623 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32624 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32627 ac_cpp
='$CPP $CPPFLAGS'
32628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32633 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32634 cat >>confdefs.h
<<\_ACEOF
32635 #define HAVE_STATVFS 1
32640 wx_cv_type_statvfs_t
="unknown"
32644 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32645 cat >>confdefs.h
<<_ACEOF
32646 #define WX_STATFS_T $wx_cv_type_statvfs_t
32650 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32651 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32654 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32657 for ac_func
in fcntl flock
32659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32660 echo "$as_me:$LINENO: checking for $ac_func" >&5
32661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32662 if eval "test \"\${$as_ac_var+set}\" = set"; then
32663 echo $ECHO_N "(cached) $ECHO_C" >&6
32665 cat >conftest.
$ac_ext <<_ACEOF
32668 cat confdefs.h
>>conftest.
$ac_ext
32669 cat >>conftest.
$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32673 #define $ac_func innocuous_$ac_func
32675 /* System header to define __stub macros and hopefully few prototypes,
32676 which can conflict with char $ac_func (); below.
32677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32678 <limits.h> exists even on freestanding compilers. */
32681 # include <limits.h>
32683 # include <assert.h>
32688 /* Override any gcc2 internal prototype to avoid an error. */
32693 /* We use char because int might match the return type of a gcc2
32694 builtin and then its argument prototype would still apply. */
32696 /* The GNU C library defines this for functions which it implements
32697 to always fail with ENOSYS. Some functions are actually named
32698 something starting with __ and the normal name is an alias. */
32699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32702 char (*f) () = $ac_func;
32711 return f != $ac_func;
32716 rm -f conftest.
$ac_objext conftest
$ac_exeext
32717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32718 (eval $ac_link) 2>conftest.er1
32720 grep -v '^ *+' conftest.er1
>conftest.err
32722 cat conftest.err
>&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); } &&
32725 { ac_try
='test -z "$ac_c_werror_flag"
32726 || test ! -s conftest.err'
32727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32728 (eval $ac_try) 2>&5
32730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32731 (exit $ac_status); }; } &&
32732 { ac_try
='test -s conftest$ac_exeext'
32733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32734 (eval $ac_try) 2>&5
32736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32737 (exit $ac_status); }; }; then
32738 eval "$as_ac_var=yes"
32740 echo "$as_me: failed program was:" >&5
32741 sed 's/^/| /' conftest.
$ac_ext >&5
32743 eval "$as_ac_var=no"
32745 rm -f conftest.err conftest.
$ac_objext \
32746 conftest
$ac_exeext conftest.
$ac_ext
32748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32750 if test `eval echo '${'$as_ac_var'}'` = yes; then
32751 cat >>confdefs.h
<<_ACEOF
32752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32759 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32760 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32761 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32762 wxUSE_SNGLINST_CHECKER
=no
32767 for ac_func
in timegm
32769 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32770 echo "$as_me:$LINENO: checking for $ac_func" >&5
32771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32772 if eval "test \"\${$as_ac_var+set}\" = set"; then
32773 echo $ECHO_N "(cached) $ECHO_C" >&6
32775 cat >conftest.
$ac_ext <<_ACEOF
32778 cat confdefs.h
>>conftest.
$ac_ext
32779 cat >>conftest.
$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32783 #define $ac_func innocuous_$ac_func
32785 /* System header to define __stub macros and hopefully few prototypes,
32786 which can conflict with char $ac_func (); below.
32787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32788 <limits.h> exists even on freestanding compilers. */
32791 # include <limits.h>
32793 # include <assert.h>
32798 /* Override any gcc2 internal prototype to avoid an error. */
32803 /* We use char because int might match the return type of a gcc2
32804 builtin and then its argument prototype would still apply. */
32806 /* The GNU C library defines this for functions which it implements
32807 to always fail with ENOSYS. Some functions are actually named
32808 something starting with __ and the normal name is an alias. */
32809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32812 char (*f) () = $ac_func;
32821 return f != $ac_func;
32826 rm -f conftest.
$ac_objext conftest
$ac_exeext
32827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32828 (eval $ac_link) 2>conftest.er1
32830 grep -v '^ *+' conftest.er1
>conftest.err
32832 cat conftest.err
>&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); } &&
32835 { ac_try
='test -z "$ac_c_werror_flag"
32836 || test ! -s conftest.err'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; } &&
32842 { ac_try
='test -s conftest$ac_exeext'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; }; then
32848 eval "$as_ac_var=yes"
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.
$ac_ext >&5
32853 eval "$as_ac_var=no"
32855 rm -f conftest.err conftest.
$ac_objext \
32856 conftest
$ac_exeext conftest.
$ac_ext
32858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32860 if test `eval echo '${'$as_ac_var'}'` = yes; then
32861 cat >>confdefs.h
<<_ACEOF
32862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32871 for ac_func
in putenv setenv
32873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32874 echo "$as_me:$LINENO: checking for $ac_func" >&5
32875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32876 if eval "test \"\${$as_ac_var+set}\" = set"; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 cat >conftest.
$ac_ext <<_ACEOF
32882 cat confdefs.h
>>conftest.
$ac_ext
32883 cat >>conftest.
$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32887 #define $ac_func innocuous_$ac_func
32889 /* System header to define __stub macros and hopefully few prototypes,
32890 which can conflict with char $ac_func (); below.
32891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32892 <limits.h> exists even on freestanding compilers. */
32895 # include <limits.h>
32897 # include <assert.h>
32902 /* Override any gcc2 internal prototype to avoid an error. */
32907 /* We use char because int might match the return type of a gcc2
32908 builtin and then its argument prototype would still apply. */
32910 /* The GNU C library defines this for functions which it implements
32911 to always fail with ENOSYS. Some functions are actually named
32912 something starting with __ and the normal name is an alias. */
32913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32916 char (*f) () = $ac_func;
32925 return f != $ac_func;
32930 rm -f conftest.
$ac_objext conftest
$ac_exeext
32931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32932 (eval $ac_link) 2>conftest.er1
32934 grep -v '^ *+' conftest.er1
>conftest.err
32936 cat conftest.err
>&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } &&
32939 { ac_try
='test -z "$ac_c_werror_flag"
32940 || test ! -s conftest.err'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; } &&
32946 { ac_try
='test -s conftest$ac_exeext'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; }; then
32952 eval "$as_ac_var=yes"
32954 echo "$as_me: failed program was:" >&5
32955 sed 's/^/| /' conftest.
$ac_ext >&5
32957 eval "$as_ac_var=no"
32959 rm -f conftest.err conftest.
$ac_objext \
32960 conftest
$ac_exeext conftest.
$ac_ext
32962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32964 if test `eval echo '${'$as_ac_var'}'` = yes; then
32965 cat >>confdefs.h
<<_ACEOF
32966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32973 HAVE_SOME_SLEEP_FUNC
=0
32974 if test "$USE_BEOS" = 1; then
32975 cat >>confdefs.h
<<\_ACEOF
32976 #define HAVE_SLEEP 1
32979 HAVE_SOME_SLEEP_FUNC
=1
32982 if test "$USE_DARWIN" = 1; then
32983 cat >>confdefs.h
<<\_ACEOF
32984 #define HAVE_USLEEP 1
32987 HAVE_SOME_SLEEP_FUNC
=1
32990 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32993 for ac_func
in nanosleep
32995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32996 echo "$as_me:$LINENO: checking for $ac_func" >&5
32997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32998 if eval "test \"\${$as_ac_var+set}\" = set"; then
32999 echo $ECHO_N "(cached) $ECHO_C" >&6
33001 cat >conftest.
$ac_ext <<_ACEOF
33004 cat confdefs.h
>>conftest.
$ac_ext
33005 cat >>conftest.
$ac_ext <<_ACEOF
33006 /* end confdefs.h. */
33007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33009 #define $ac_func innocuous_$ac_func
33011 /* System header to define __stub macros and hopefully few prototypes,
33012 which can conflict with char $ac_func (); below.
33013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33014 <limits.h> exists even on freestanding compilers. */
33017 # include <limits.h>
33019 # include <assert.h>
33024 /* Override any gcc2 internal prototype to avoid an error. */
33029 /* We use char because int might match the return type of a gcc2
33030 builtin and then its argument prototype would still apply. */
33032 /* The GNU C library defines this for functions which it implements
33033 to always fail with ENOSYS. Some functions are actually named
33034 something starting with __ and the normal name is an alias. */
33035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33038 char (*f) () = $ac_func;
33047 return f != $ac_func;
33052 rm -f conftest.
$ac_objext conftest
$ac_exeext
33053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33054 (eval $ac_link) 2>conftest.er1
33056 grep -v '^ *+' conftest.er1
>conftest.err
33058 cat conftest.err
>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } &&
33061 { ac_try
='test -z "$ac_c_werror_flag"
33062 || test ! -s conftest.err'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; } &&
33068 { ac_try
='test -s conftest$ac_exeext'
33069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33070 (eval $ac_try) 2>&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); }; }; then
33074 eval "$as_ac_var=yes"
33076 echo "$as_me: failed program was:" >&5
33077 sed 's/^/| /' conftest.
$ac_ext >&5
33079 eval "$as_ac_var=no"
33081 rm -f conftest.err conftest.
$ac_objext \
33082 conftest
$ac_exeext conftest.
$ac_ext
33084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33086 if test `eval echo '${'$as_ac_var'}'` = yes; then
33087 cat >>confdefs.h
<<_ACEOF
33088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33090 cat >>confdefs.h
<<\_ACEOF
33091 #define HAVE_NANOSLEEP 1
33096 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33097 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33098 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33099 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 ac_check_lib_save_LIBS
=$LIBS
33102 LIBS
="-lposix4 $LIBS"
33103 cat >conftest.
$ac_ext <<_ACEOF
33106 cat confdefs.h
>>conftest.
$ac_ext
33107 cat >>conftest.
$ac_ext <<_ACEOF
33108 /* end confdefs.h. */
33110 /* Override any gcc2 internal prototype to avoid an error. */
33114 /* We use char because int might match the return type of a gcc2
33115 builtin and then its argument prototype would still apply. */
33125 rm -f conftest.
$ac_objext conftest
$ac_exeext
33126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33127 (eval $ac_link) 2>conftest.er1
33129 grep -v '^ *+' conftest.er1
>conftest.err
33131 cat conftest.err
>&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); } &&
33134 { ac_try
='test -z "$ac_c_werror_flag"
33135 || test ! -s conftest.err'
33136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33137 (eval $ac_try) 2>&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); }; } &&
33141 { ac_try
='test -s conftest$ac_exeext'
33142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143 (eval $ac_try) 2>&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; }; then
33147 ac_cv_lib_posix4_nanosleep
=yes
33149 echo "$as_me: failed program was:" >&5
33150 sed 's/^/| /' conftest.
$ac_ext >&5
33152 ac_cv_lib_posix4_nanosleep
=no
33154 rm -f conftest.err conftest.
$ac_objext \
33155 conftest
$ac_exeext conftest.
$ac_ext
33156 LIBS
=$ac_check_lib_save_LIBS
33158 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33159 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33160 if test $ac_cv_lib_posix4_nanosleep = yes; then
33162 cat >>confdefs.h
<<\_ACEOF
33163 #define HAVE_NANOSLEEP 1
33166 POSIX4_LINK
=" -lposix4"
33171 for ac_func
in usleep
33173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33174 echo "$as_me:$LINENO: checking for $ac_func" >&5
33175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33176 if eval "test \"\${$as_ac_var+set}\" = set"; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 cat >conftest.
$ac_ext <<_ACEOF
33182 cat confdefs.h
>>conftest.
$ac_ext
33183 cat >>conftest.
$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33187 #define $ac_func innocuous_$ac_func
33189 /* System header to define __stub macros and hopefully few prototypes,
33190 which can conflict with char $ac_func (); below.
33191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33192 <limits.h> exists even on freestanding compilers. */
33195 # include <limits.h>
33197 # include <assert.h>
33202 /* Override any gcc2 internal prototype to avoid an error. */
33207 /* We use char because int might match the return type of a gcc2
33208 builtin and then its argument prototype would still apply. */
33210 /* The GNU C library defines this for functions which it implements
33211 to always fail with ENOSYS. Some functions are actually named
33212 something starting with __ and the normal name is an alias. */
33213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33216 char (*f) () = $ac_func;
33225 return f != $ac_func;
33230 rm -f conftest.
$ac_objext conftest
$ac_exeext
33231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33232 (eval $ac_link) 2>conftest.er1
33234 grep -v '^ *+' conftest.er1
>conftest.err
33236 cat conftest.err
>&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); } &&
33239 { ac_try
='test -z "$ac_c_werror_flag"
33240 || test ! -s conftest.err'
33241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33242 (eval $ac_try) 2>&5
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); }; } &&
33246 { ac_try
='test -s conftest$ac_exeext'
33247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33248 (eval $ac_try) 2>&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); }; }; then
33252 eval "$as_ac_var=yes"
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.
$ac_ext >&5
33257 eval "$as_ac_var=no"
33259 rm -f conftest.err conftest.
$ac_objext \
33260 conftest
$ac_exeext conftest.
$ac_ext
33262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33264 if test `eval echo '${'$as_ac_var'}'` = yes; then
33265 cat >>confdefs.h
<<_ACEOF
33266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33268 cat >>confdefs.h
<<\_ACEOF
33269 #define HAVE_USLEEP 1
33273 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33274 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33292 for ac_func
in uname gethostname
33294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33295 echo "$as_me:$LINENO: checking for $ac_func" >&5
33296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33297 if eval "test \"\${$as_ac_var+set}\" = set"; then
33298 echo $ECHO_N "(cached) $ECHO_C" >&6
33300 cat >conftest.
$ac_ext <<_ACEOF
33303 cat confdefs.h
>>conftest.
$ac_ext
33304 cat >>conftest.
$ac_ext <<_ACEOF
33305 /* end confdefs.h. */
33306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33308 #define $ac_func innocuous_$ac_func
33310 /* System header to define __stub macros and hopefully few prototypes,
33311 which can conflict with char $ac_func (); below.
33312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33313 <limits.h> exists even on freestanding compilers. */
33316 # include <limits.h>
33318 # include <assert.h>
33323 /* Override any gcc2 internal prototype to avoid an error. */
33328 /* We use char because int might match the return type of a gcc2
33329 builtin and then its argument prototype would still apply. */
33331 /* The GNU C library defines this for functions which it implements
33332 to always fail with ENOSYS. Some functions are actually named
33333 something starting with __ and the normal name is an alias. */
33334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33337 char (*f) () = $ac_func;
33346 return f != $ac_func;
33351 rm -f conftest.
$ac_objext conftest
$ac_exeext
33352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33353 (eval $ac_link) 2>conftest.er1
33355 grep -v '^ *+' conftest.er1
>conftest.err
33357 cat conftest.err
>&5
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); } &&
33360 { ac_try
='test -z "$ac_c_werror_flag"
33361 || test ! -s conftest.err'
33362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33363 (eval $ac_try) 2>&5
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); }; } &&
33367 { ac_try
='test -s conftest$ac_exeext'
33368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33369 (eval $ac_try) 2>&5
33371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33372 (exit $ac_status); }; }; then
33373 eval "$as_ac_var=yes"
33375 echo "$as_me: failed program was:" >&5
33376 sed 's/^/| /' conftest.
$ac_ext >&5
33378 eval "$as_ac_var=no"
33380 rm -f conftest.err conftest.
$ac_objext \
33381 conftest
$ac_exeext conftest.
$ac_ext
33383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33385 if test `eval echo '${'$as_ac_var'}'` = yes; then
33386 cat >>confdefs.h
<<_ACEOF
33387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33397 ac_cpp
='$CXXCPP $CPPFLAGS'
33398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33404 for ac_func
in strtok_r
33406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33407 echo "$as_me:$LINENO: checking for $ac_func" >&5
33408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33409 if eval "test \"\${$as_ac_var+set}\" = set"; then
33410 echo $ECHO_N "(cached) $ECHO_C" >&6
33412 cat >conftest.
$ac_ext <<_ACEOF
33415 cat confdefs.h
>>conftest.
$ac_ext
33416 cat >>conftest.
$ac_ext <<_ACEOF
33417 /* end confdefs.h. */
33418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33420 #define $ac_func innocuous_$ac_func
33422 /* System header to define __stub macros and hopefully few prototypes,
33423 which can conflict with char $ac_func (); below.
33424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33425 <limits.h> exists even on freestanding compilers. */
33428 # include <limits.h>
33430 # include <assert.h>
33435 /* Override any gcc2 internal prototype to avoid an error. */
33440 /* We use char because int might match the return type of a gcc2
33441 builtin and then its argument prototype would still apply. */
33443 /* The GNU C library defines this for functions which it implements
33444 to always fail with ENOSYS. Some functions are actually named
33445 something starting with __ and the normal name is an alias. */
33446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33449 char (*f) () = $ac_func;
33458 return f != $ac_func;
33463 rm -f conftest.
$ac_objext conftest
$ac_exeext
33464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33465 (eval $ac_link) 2>conftest.er1
33467 grep -v '^ *+' conftest.er1
>conftest.err
33469 cat conftest.err
>&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); } &&
33472 { ac_try
='test -z "$ac_cxx_werror_flag"
33473 || test ! -s conftest.err'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; } &&
33479 { ac_try
='test -s conftest$ac_exeext'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; }; then
33485 eval "$as_ac_var=yes"
33487 echo "$as_me: failed program was:" >&5
33488 sed 's/^/| /' conftest.
$ac_ext >&5
33490 eval "$as_ac_var=no"
33492 rm -f conftest.err conftest.
$ac_objext \
33493 conftest
$ac_exeext conftest.
$ac_ext
33495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33497 if test `eval echo '${'$as_ac_var'}'` = yes; then
33498 cat >>confdefs.h
<<_ACEOF
33499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33507 ac_cpp
='$CPP $CPPFLAGS'
33508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33515 for ac_func
in inet_addr
33517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33518 echo "$as_me:$LINENO: checking for $ac_func" >&5
33519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33520 if eval "test \"\${$as_ac_var+set}\" = set"; then
33521 echo $ECHO_N "(cached) $ECHO_C" >&6
33523 cat >conftest.
$ac_ext <<_ACEOF
33526 cat confdefs.h
>>conftest.
$ac_ext
33527 cat >>conftest.
$ac_ext <<_ACEOF
33528 /* end confdefs.h. */
33529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33531 #define $ac_func innocuous_$ac_func
33533 /* System header to define __stub macros and hopefully few prototypes,
33534 which can conflict with char $ac_func (); below.
33535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33536 <limits.h> exists even on freestanding compilers. */
33539 # include <limits.h>
33541 # include <assert.h>
33546 /* Override any gcc2 internal prototype to avoid an error. */
33551 /* We use char because int might match the return type of a gcc2
33552 builtin and then its argument prototype would still apply. */
33554 /* The GNU C library defines this for functions which it implements
33555 to always fail with ENOSYS. Some functions are actually named
33556 something starting with __ and the normal name is an alias. */
33557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33560 char (*f) () = $ac_func;
33569 return f != $ac_func;
33574 rm -f conftest.
$ac_objext conftest
$ac_exeext
33575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33576 (eval $ac_link) 2>conftest.er1
33578 grep -v '^ *+' conftest.er1
>conftest.err
33580 cat conftest.err
>&5
33581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33582 (exit $ac_status); } &&
33583 { ac_try
='test -z "$ac_c_werror_flag"
33584 || test ! -s conftest.err'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; } &&
33590 { ac_try
='test -s conftest$ac_exeext'
33591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33592 (eval $ac_try) 2>&5
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); }; }; then
33596 eval "$as_ac_var=yes"
33598 echo "$as_me: failed program was:" >&5
33599 sed 's/^/| /' conftest.
$ac_ext >&5
33601 eval "$as_ac_var=no"
33603 rm -f conftest.err conftest.
$ac_objext \
33604 conftest
$ac_exeext conftest.
$ac_ext
33606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33608 if test `eval echo '${'$as_ac_var'}'` = yes; then
33609 cat >>confdefs.h
<<_ACEOF
33610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33612 cat >>confdefs.h
<<\_ACEOF
33613 #define HAVE_INET_ADDR 1
33618 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33619 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33620 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33621 echo $ECHO_N "(cached) $ECHO_C" >&6
33623 ac_check_lib_save_LIBS
=$LIBS
33625 cat >conftest.
$ac_ext <<_ACEOF
33628 cat confdefs.h
>>conftest.
$ac_ext
33629 cat >>conftest.
$ac_ext <<_ACEOF
33630 /* end confdefs.h. */
33632 /* Override any gcc2 internal prototype to avoid an error. */
33636 /* We use char because int might match the return type of a gcc2
33637 builtin and then its argument prototype would still apply. */
33647 rm -f conftest.
$ac_objext conftest
$ac_exeext
33648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33649 (eval $ac_link) 2>conftest.er1
33651 grep -v '^ *+' conftest.er1
>conftest.err
33653 cat conftest.err
>&5
33654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33655 (exit $ac_status); } &&
33656 { ac_try
='test -z "$ac_c_werror_flag"
33657 || test ! -s conftest.err'
33658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33659 (eval $ac_try) 2>&5
33661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33662 (exit $ac_status); }; } &&
33663 { ac_try
='test -s conftest$ac_exeext'
33664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33665 (eval $ac_try) 2>&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); }; }; then
33669 ac_cv_lib_nsl_inet_addr
=yes
33671 echo "$as_me: failed program was:" >&5
33672 sed 's/^/| /' conftest.
$ac_ext >&5
33674 ac_cv_lib_nsl_inet_addr
=no
33676 rm -f conftest.err conftest.
$ac_objext \
33677 conftest
$ac_exeext conftest.
$ac_ext
33678 LIBS
=$ac_check_lib_save_LIBS
33680 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33681 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33682 if test $ac_cv_lib_nsl_inet_addr = yes; then
33686 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33687 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33688 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33689 echo $ECHO_N "(cached) $ECHO_C" >&6
33691 ac_check_lib_save_LIBS
=$LIBS
33692 LIBS
="-lresolv $LIBS"
33693 cat >conftest.
$ac_ext <<_ACEOF
33696 cat confdefs.h
>>conftest.
$ac_ext
33697 cat >>conftest.
$ac_ext <<_ACEOF
33698 /* end confdefs.h. */
33700 /* Override any gcc2 internal prototype to avoid an error. */
33704 /* We use char because int might match the return type of a gcc2
33705 builtin and then its argument prototype would still apply. */
33715 rm -f conftest.
$ac_objext conftest
$ac_exeext
33716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33717 (eval $ac_link) 2>conftest.er1
33719 grep -v '^ *+' conftest.er1
>conftest.err
33721 cat conftest.err
>&5
33722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33723 (exit $ac_status); } &&
33724 { ac_try
='test -z "$ac_c_werror_flag"
33725 || test ! -s conftest.err'
33726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33727 (eval $ac_try) 2>&5
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; } &&
33731 { ac_try
='test -s conftest$ac_exeext'
33732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33733 (eval $ac_try) 2>&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); }; }; then
33737 ac_cv_lib_resolv_inet_addr
=yes
33739 echo "$as_me: failed program was:" >&5
33740 sed 's/^/| /' conftest.
$ac_ext >&5
33742 ac_cv_lib_resolv_inet_addr
=no
33744 rm -f conftest.err conftest.
$ac_objext \
33745 conftest
$ac_exeext conftest.
$ac_ext
33746 LIBS
=$ac_check_lib_save_LIBS
33748 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33749 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33750 if test $ac_cv_lib_resolv_inet_addr = yes; then
33754 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33755 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33756 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 ac_check_lib_save_LIBS
=$LIBS
33760 LIBS
="-lsocket $LIBS"
33761 cat >conftest.
$ac_ext <<_ACEOF
33764 cat confdefs.h
>>conftest.
$ac_ext
33765 cat >>conftest.
$ac_ext <<_ACEOF
33766 /* end confdefs.h. */
33768 /* Override any gcc2 internal prototype to avoid an error. */
33772 /* We use char because int might match the return type of a gcc2
33773 builtin and then its argument prototype would still apply. */
33783 rm -f conftest.
$ac_objext conftest
$ac_exeext
33784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33785 (eval $ac_link) 2>conftest.er1
33787 grep -v '^ *+' conftest.er1
>conftest.err
33789 cat conftest.err
>&5
33790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791 (exit $ac_status); } &&
33792 { ac_try
='test -z "$ac_c_werror_flag"
33793 || test ! -s conftest.err'
33794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33795 (eval $ac_try) 2>&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); }; } &&
33799 { ac_try
='test -s conftest$ac_exeext'
33800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33801 (eval $ac_try) 2>&5
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); }; }; then
33805 ac_cv_lib_socket_inet_addr
=yes
33807 echo "$as_me: failed program was:" >&5
33808 sed 's/^/| /' conftest.
$ac_ext >&5
33810 ac_cv_lib_socket_inet_addr
=no
33812 rm -f conftest.err conftest.
$ac_objext \
33813 conftest
$ac_exeext conftest.
$ac_ext
33814 LIBS
=$ac_check_lib_save_LIBS
33816 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33817 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33818 if test $ac_cv_lib_socket_inet_addr = yes; then
33838 for ac_func
in inet_aton
33840 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33841 echo "$as_me:$LINENO: checking for $ac_func" >&5
33842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33843 if eval "test \"\${$as_ac_var+set}\" = set"; then
33844 echo $ECHO_N "(cached) $ECHO_C" >&6
33846 cat >conftest.
$ac_ext <<_ACEOF
33849 cat confdefs.h
>>conftest.
$ac_ext
33850 cat >>conftest.
$ac_ext <<_ACEOF
33851 /* end confdefs.h. */
33852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33854 #define $ac_func innocuous_$ac_func
33856 /* System header to define __stub macros and hopefully few prototypes,
33857 which can conflict with char $ac_func (); below.
33858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33859 <limits.h> exists even on freestanding compilers. */
33862 # include <limits.h>
33864 # include <assert.h>
33869 /* Override any gcc2 internal prototype to avoid an error. */
33874 /* We use char because int might match the return type of a gcc2
33875 builtin and then its argument prototype would still apply. */
33877 /* The GNU C library defines this for functions which it implements
33878 to always fail with ENOSYS. Some functions are actually named
33879 something starting with __ and the normal name is an alias. */
33880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33883 char (*f) () = $ac_func;
33892 return f != $ac_func;
33897 rm -f conftest.
$ac_objext conftest
$ac_exeext
33898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33899 (eval $ac_link) 2>conftest.er1
33901 grep -v '^ *+' conftest.er1
>conftest.err
33903 cat conftest.err
>&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); } &&
33906 { ac_try
='test -z "$ac_c_werror_flag"
33907 || test ! -s conftest.err'
33908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33909 (eval $ac_try) 2>&5
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); }; } &&
33913 { ac_try
='test -s conftest$ac_exeext'
33914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33915 (eval $ac_try) 2>&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); }; }; then
33919 eval "$as_ac_var=yes"
33921 echo "$as_me: failed program was:" >&5
33922 sed 's/^/| /' conftest.
$ac_ext >&5
33924 eval "$as_ac_var=no"
33926 rm -f conftest.err conftest.
$ac_objext \
33927 conftest
$ac_exeext conftest.
$ac_ext
33929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33931 if test `eval echo '${'$as_ac_var'}'` = yes; then
33932 cat >>confdefs.h
<<_ACEOF
33933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33935 cat >>confdefs.h
<<\_ACEOF
33936 #define HAVE_INET_ATON 1
33941 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33942 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33943 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33944 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33945 echo $ECHO_N "(cached) $ECHO_C" >&6
33947 ac_check_lib_save_LIBS
=$LIBS
33948 LIBS
="-l$INET_LINK $LIBS"
33949 cat >conftest.
$ac_ext <<_ACEOF
33952 cat confdefs.h
>>conftest.
$ac_ext
33953 cat >>conftest.
$ac_ext <<_ACEOF
33954 /* end confdefs.h. */
33956 /* Override any gcc2 internal prototype to avoid an error. */
33960 /* We use char because int might match the return type of a gcc2
33961 builtin and then its argument prototype would still apply. */
33971 rm -f conftest.
$ac_objext conftest
$ac_exeext
33972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33973 (eval $ac_link) 2>conftest.er1
33975 grep -v '^ *+' conftest.er1
>conftest.err
33977 cat conftest.err
>&5
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); } &&
33980 { ac_try
='test -z "$ac_c_werror_flag"
33981 || test ! -s conftest.err'
33982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33983 (eval $ac_try) 2>&5
33985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33986 (exit $ac_status); }; } &&
33987 { ac_try
='test -s conftest$ac_exeext'
33988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33989 (eval $ac_try) 2>&5
33991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992 (exit $ac_status); }; }; then
33993 eval "$as_ac_Lib=yes"
33995 echo "$as_me: failed program was:" >&5
33996 sed 's/^/| /' conftest.
$ac_ext >&5
33998 eval "$as_ac_Lib=no"
34000 rm -f conftest.err conftest.
$ac_objext \
34001 conftest
$ac_exeext conftest.
$ac_ext
34002 LIBS
=$ac_check_lib_save_LIBS
34004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34005 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34006 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34007 cat >>confdefs.h
<<\_ACEOF
34008 #define HAVE_INET_ATON 1
34018 if test "x$INET_LINK" != "x"; then
34019 cat >>confdefs.h
<<\_ACEOF
34020 #define HAVE_INET_ADDR 1
34023 INET_LINK
=" -l$INET_LINK"
34031 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34032 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34033 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34034 echo $ECHO_N "(cached) $ECHO_C" >&6
34036 ac_check_lib_save_LIBS
=$LIBS
34038 cat >conftest.
$ac_ext <<_ACEOF
34041 cat confdefs.h
>>conftest.
$ac_ext
34042 cat >>conftest.
$ac_ext <<_ACEOF
34043 /* end confdefs.h. */
34045 /* Override any gcc2 internal prototype to avoid an error. */
34049 /* We use char because int might match the return type of a gcc2
34050 builtin and then its argument prototype would still apply. */
34060 rm -f conftest.
$ac_objext conftest
$ac_exeext
34061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34062 (eval $ac_link) 2>conftest.er1
34064 grep -v '^ *+' conftest.er1
>conftest.err
34066 cat conftest.err
>&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } &&
34069 { ac_try
='test -z "$ac_c_werror_flag"
34070 || 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_esd_esd_close
=yes
34084 echo "$as_me: failed program was:" >&5
34085 sed 's/^/| /' conftest.
$ac_ext >&5
34087 ac_cv_lib_esd_esd_close
=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_esd_esd_close" >&5
34094 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34095 if test $ac_cv_lib_esd_esd_close = yes; then
34098 for ac_header
in esd.h
34100 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34102 echo "$as_me:$LINENO: checking for $ac_header" >&5
34103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34105 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34110 # Is the header compilable?
34111 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34113 cat >conftest.
$ac_ext <<_ACEOF
34116 cat confdefs.h
>>conftest.
$ac_ext
34117 cat >>conftest.
$ac_ext <<_ACEOF
34118 /* end confdefs.h. */
34119 $ac_includes_default
34120 #include <$ac_header>
34122 rm -f conftest.
$ac_objext
34123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34124 (eval $ac_compile) 2>conftest.er1
34126 grep -v '^ *+' conftest.er1
>conftest.err
34128 cat conftest.err
>&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); } &&
34131 { ac_try
='test -z "$ac_c_werror_flag"
34132 || test ! -s conftest.err'
34133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34134 (eval $ac_try) 2>&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); }; } &&
34138 { ac_try
='test -s conftest.$ac_objext'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; }; then
34144 ac_header_compiler
=yes
34146 echo "$as_me: failed program was:" >&5
34147 sed 's/^/| /' conftest.
$ac_ext >&5
34149 ac_header_compiler
=no
34151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34153 echo "${ECHO_T}$ac_header_compiler" >&6
34155 # Is the header present?
34156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34158 cat >conftest.
$ac_ext <<_ACEOF
34161 cat confdefs.h
>>conftest.
$ac_ext
34162 cat >>conftest.
$ac_ext <<_ACEOF
34163 /* end confdefs.h. */
34164 #include <$ac_header>
34166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34169 grep -v '^ *+' conftest.er1
>conftest.err
34171 cat conftest.err
>&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); } >/dev
/null
; then
34174 if test -s conftest.err
; then
34175 ac_cpp_err
=$ac_c_preproc_warn_flag
34176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34183 if test -z "$ac_cpp_err"; then
34184 ac_header_preproc
=yes
34186 echo "$as_me: failed program was:" >&5
34187 sed 's/^/| /' conftest.
$ac_ext >&5
34189 ac_header_preproc
=no
34191 rm -f conftest.err conftest.
$ac_ext
34192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34193 echo "${ECHO_T}$ac_header_preproc" >&6
34195 # So? What about this header?
34196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34202 ac_header_preproc
=yes
34205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34219 ## ----------------------------------------- ##
34220 ## Report this to wx-dev@lists.wxwidgets.org ##
34221 ## ----------------------------------------- ##
34224 sed "s/^/$as_me: WARNING: /" >&2
34227 echo "$as_me:$LINENO: checking for $ac_header" >&5
34228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34230 echo $ECHO_N "(cached) $ECHO_C" >&6
34232 eval "$as_ac_Header=\$ac_header_preproc"
34234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34239 cat >>confdefs.h
<<_ACEOF
34240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34243 EXTRALIBS_ESD
="-lesd"
34254 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34255 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34256 cat >conftest.
$ac_ext <<_ACEOF
34259 cat confdefs.h
>>conftest.
$ac_ext
34260 cat >>conftest.
$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34263 #include <linux/cdrom.h>
34266 #include <sys/cdio.h>
34272 struct cdrom_tocentry entry, old_entry;
34277 rm -f conftest.
$ac_objext
34278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34279 (eval $ac_compile) 2>conftest.er1
34281 grep -v '^ *+' conftest.er1
>conftest.err
34283 cat conftest.err
>&5
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); } &&
34286 { ac_try
='test -z "$ac_c_werror_flag"
34287 || test ! -s conftest.err'
34288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34289 (eval $ac_try) 2>&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); }; } &&
34293 { ac_try
='test -s conftest.$ac_objext'
34294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34295 (eval $ac_try) 2>&5
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); }; }; then
34299 echo "$as_me:$LINENO: result: yes" >&5
34300 echo "${ECHO_T}yes" >&6
34301 cat >>confdefs.h
<<\_ACEOF
34302 #define HAVE_KNOWN_CDROM_INTERFACE 1
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.
$ac_ext >&5
34309 echo "$as_me:$LINENO: result: no" >&5
34310 echo "${ECHO_T}no" >&6
34312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34315 cat >confcache
<<\_ACEOF
34316 # This file is a shell script that caches the results of configure
34317 # tests run on this system so they can be shared between configure
34318 # scripts and configure runs, see configure's option --config-cache.
34319 # It is not useful on other systems. If it contains results you don't
34320 # want to keep, you may remove or edit it.
34322 # config.status only pays attention to the cache file if you give it
34323 # the --recheck option to rerun configure.
34325 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34326 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34327 # following values.
34331 # The following way of writing the cache mishandles newlines in values,
34332 # but we know of no workaround that is simple, portable, and efficient.
34333 # So, don't put newlines in cache variables' values.
34334 # Ultrix sh set writes to stderr and can't be redirected directly,
34335 # and sets the high bit in the cache file unless we assign to the vars.
34338 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34340 # `set' does not quote correctly, so add quotes (double-quote
34341 # substitution turns \\\\ into \\, and sed turns \\ into \).
34344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34347 # `set' quotes correctly as required by POSIX, so do not add quotes.
34349 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34356 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34358 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34360 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34361 if test -w $cache_file; then
34362 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34363 cat confcache
>$cache_file
34365 echo "not updating unwritable cache $cache_file"
34372 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34378 if test "$wxUSE_THREADS" = "yes" ; then
34379 if test "$USE_BEOS" = 1; then
34380 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34381 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34386 if test "$wxUSE_THREADS" = "yes" ; then
34389 THREAD_OPTS
="-pthread"
34391 *-*-solaris2* | *-*-sunos4* )
34392 if test "x$GCC" = "xyes"; then
34393 THREAD_OPTS
="-pthreads $THREAD_OPTS"
34395 THREAD_OPTS
="-mt $THREAD_OPTS"
34399 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
34401 *-*-darwin* | *-*-cygwin* )
34405 THREAD_OPTS
="pthreads"
34408 if test "x$GCC" != "xyes"; then
34414 if test "x$GCC" = "xyes"; then
34420 if test "x$GCC" != "xyes"; then
34421 THREAD_OPTS
="-Ethread"
34426 THREAD_OPTS
="$THREAD_OPTS pthread none"
34429 for flag
in $THREAD_OPTS; do
34432 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34433 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34437 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34438 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34439 THREADS_CFLAGS
="$flag"
34443 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34444 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34445 THREADS_LINK
="-l$flag"
34450 save_CFLAGS
="$CFLAGS"
34451 LIBS
="$THREADS_LINK $LIBS"
34452 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34454 cat >conftest.
$ac_ext <<_ACEOF
34457 cat confdefs.h
>>conftest.
$ac_ext
34458 cat >>conftest.
$ac_ext <<_ACEOF
34459 /* end confdefs.h. */
34460 #include <pthread.h>
34464 pthread_create(0,0,0,0);
34469 rm -f conftest.
$ac_objext conftest
$ac_exeext
34470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34471 (eval $ac_link) 2>conftest.er1
34473 grep -v '^ *+' conftest.er1
>conftest.err
34475 cat conftest.err
>&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } &&
34478 { ac_try
='test -z "$ac_c_werror_flag"
34479 || test ! -s conftest.err'
34480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34481 (eval $ac_try) 2>&5
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); }; } &&
34485 { ac_try
='test -s conftest$ac_exeext'
34486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34487 (eval $ac_try) 2>&5
34489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490 (exit $ac_status); }; }; then
34493 echo "$as_me: failed program was:" >&5
34494 sed 's/^/| /' conftest.
$ac_ext >&5
34497 rm -f conftest.err conftest.
$ac_objext \
34498 conftest
$ac_exeext conftest.
$ac_ext
34501 CFLAGS
="$save_CFLAGS"
34503 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34504 echo "${ECHO_T}$THREADS_OK" >&6
34505 if test "x$THREADS_OK" = "xyes"; then
34513 if test "x$THREADS_OK" != "xyes"; then
34515 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34516 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34518 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34519 LIBS
="$THREADS_LINK $LIBS"
34521 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34522 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34526 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34527 flag
="-D_THREAD_SAFE"
34530 flag
="-D_THREAD_SAFE"
34533 flag
="-D_REENTRANT"
34534 if test "x$GCC" != "xyes"; then
34535 flag
="$flag -D_RWSTD_MULTI_THREAD"
34538 *solaris
* | alpha
*-osf*)
34539 flag
="-D_REENTRANT"
34542 echo "$as_me:$LINENO: result: ${flag}" >&5
34543 echo "${ECHO_T}${flag}" >&6
34544 if test "x$flag" != xno
; then
34545 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34548 if test "x$THREADS_CFLAGS" != "x"; then
34549 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34550 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34555 if test "$wxUSE_THREADS" = "yes" ; then
34557 for ac_func
in thr_setconcurrency
34559 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34560 echo "$as_me:$LINENO: checking for $ac_func" >&5
34561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34562 if eval "test \"\${$as_ac_var+set}\" = set"; then
34563 echo $ECHO_N "(cached) $ECHO_C" >&6
34565 cat >conftest.
$ac_ext <<_ACEOF
34568 cat confdefs.h
>>conftest.
$ac_ext
34569 cat >>conftest.
$ac_ext <<_ACEOF
34570 /* end confdefs.h. */
34571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34573 #define $ac_func innocuous_$ac_func
34575 /* System header to define __stub macros and hopefully few prototypes,
34576 which can conflict with char $ac_func (); below.
34577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34578 <limits.h> exists even on freestanding compilers. */
34581 # include <limits.h>
34583 # include <assert.h>
34588 /* Override any gcc2 internal prototype to avoid an error. */
34593 /* We use char because int might match the return type of a gcc2
34594 builtin and then its argument prototype would still apply. */
34596 /* The GNU C library defines this for functions which it implements
34597 to always fail with ENOSYS. Some functions are actually named
34598 something starting with __ and the normal name is an alias. */
34599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34602 char (*f) () = $ac_func;
34611 return f != $ac_func;
34616 rm -f conftest.
$ac_objext conftest
$ac_exeext
34617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34618 (eval $ac_link) 2>conftest.er1
34620 grep -v '^ *+' conftest.er1
>conftest.err
34622 cat conftest.err
>&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); } &&
34625 { ac_try
='test -z "$ac_c_werror_flag"
34626 || test ! -s conftest.err'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; } &&
34632 { ac_try
='test -s conftest$ac_exeext'
34633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634 (eval $ac_try) 2>&5
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); }; }; then
34638 eval "$as_ac_var=yes"
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.
$ac_ext >&5
34643 eval "$as_ac_var=no"
34645 rm -f conftest.err conftest.
$ac_objext \
34646 conftest
$ac_exeext conftest.
$ac_ext
34648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34650 if test `eval echo '${'$as_ac_var'}'` = yes; then
34651 cat >>confdefs.h
<<_ACEOF
34652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34660 for ac_header
in sched.h
34662 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34664 echo "$as_me:$LINENO: checking for $ac_header" >&5
34665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34667 echo $ECHO_N "(cached) $ECHO_C" >&6
34669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34672 # Is the header compilable?
34673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34675 cat >conftest.
$ac_ext <<_ACEOF
34678 cat confdefs.h
>>conftest.
$ac_ext
34679 cat >>conftest.
$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34681 $ac_includes_default
34682 #include <$ac_header>
34684 rm -f conftest.
$ac_objext
34685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34686 (eval $ac_compile) 2>conftest.er1
34688 grep -v '^ *+' conftest.er1
>conftest.err
34690 cat conftest.err
>&5
34691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692 (exit $ac_status); } &&
34693 { ac_try
='test -z "$ac_c_werror_flag"
34694 || test ! -s conftest.err'
34695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34696 (eval $ac_try) 2>&5
34698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699 (exit $ac_status); }; } &&
34700 { ac_try
='test -s conftest.$ac_objext'
34701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34702 (eval $ac_try) 2>&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); }; }; then
34706 ac_header_compiler
=yes
34708 echo "$as_me: failed program was:" >&5
34709 sed 's/^/| /' conftest.
$ac_ext >&5
34711 ac_header_compiler
=no
34713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34715 echo "${ECHO_T}$ac_header_compiler" >&6
34717 # Is the header present?
34718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34720 cat >conftest.
$ac_ext <<_ACEOF
34723 cat confdefs.h
>>conftest.
$ac_ext
34724 cat >>conftest.
$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34726 #include <$ac_header>
34728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34731 grep -v '^ *+' conftest.er1
>conftest.err
34733 cat conftest.err
>&5
34734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34735 (exit $ac_status); } >/dev
/null
; then
34736 if test -s conftest.err
; then
34737 ac_cpp_err
=$ac_c_preproc_warn_flag
34738 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34745 if test -z "$ac_cpp_err"; then
34746 ac_header_preproc
=yes
34748 echo "$as_me: failed program was:" >&5
34749 sed 's/^/| /' conftest.
$ac_ext >&5
34751 ac_header_preproc
=no
34753 rm -f conftest.err conftest.
$ac_ext
34754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34755 echo "${ECHO_T}$ac_header_preproc" >&6
34757 # So? What about this header?
34758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34764 ac_header_preproc
=yes
34767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34781 ## ----------------------------------------- ##
34782 ## Report this to wx-dev@lists.wxwidgets.org ##
34783 ## ----------------------------------------- ##
34786 sed "s/^/$as_me: WARNING: /" >&2
34789 echo "$as_me:$LINENO: checking for $ac_header" >&5
34790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34794 eval "$as_ac_Header=\$ac_header_preproc"
34796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34801 cat >>confdefs.h
<<_ACEOF
34802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34809 if test "$ac_cv_header_sched_h" = "yes"; then
34810 echo "$as_me:$LINENO: checking for sched_yield" >&5
34811 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34812 if test "${ac_cv_func_sched_yield+set}" = set; then
34813 echo $ECHO_N "(cached) $ECHO_C" >&6
34815 cat >conftest.
$ac_ext <<_ACEOF
34818 cat confdefs.h
>>conftest.
$ac_ext
34819 cat >>conftest.
$ac_ext <<_ACEOF
34820 /* end confdefs.h. */
34821 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34823 #define sched_yield innocuous_sched_yield
34825 /* System header to define __stub macros and hopefully few prototypes,
34826 which can conflict with char sched_yield (); below.
34827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34828 <limits.h> exists even on freestanding compilers. */
34831 # include <limits.h>
34833 # include <assert.h>
34838 /* Override any gcc2 internal prototype to avoid an error. */
34843 /* We use char because int might match the return type of a gcc2
34844 builtin and then its argument prototype would still apply. */
34845 char sched_yield ();
34846 /* The GNU C library defines this for functions which it implements
34847 to always fail with ENOSYS. Some functions are actually named
34848 something starting with __ and the normal name is an alias. */
34849 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34852 char (*f) () = sched_yield;
34861 return f != sched_yield;
34866 rm -f conftest.
$ac_objext conftest
$ac_exeext
34867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34868 (eval $ac_link) 2>conftest.er1
34870 grep -v '^ *+' conftest.er1
>conftest.err
34872 cat conftest.err
>&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); } &&
34875 { ac_try
='test -z "$ac_c_werror_flag"
34876 || test ! -s conftest.err'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; } &&
34882 { ac_try
='test -s conftest$ac_exeext'
34883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34884 (eval $ac_try) 2>&5
34886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34887 (exit $ac_status); }; }; then
34888 ac_cv_func_sched_yield
=yes
34890 echo "$as_me: failed program was:" >&5
34891 sed 's/^/| /' conftest.
$ac_ext >&5
34893 ac_cv_func_sched_yield
=no
34895 rm -f conftest.err conftest.
$ac_objext \
34896 conftest
$ac_exeext conftest.
$ac_ext
34898 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34899 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34900 if test $ac_cv_func_sched_yield = yes; then
34901 cat >>confdefs.h
<<\_ACEOF
34902 #define HAVE_SCHED_YIELD 1
34907 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34908 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34909 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34910 echo $ECHO_N "(cached) $ECHO_C" >&6
34912 ac_check_lib_save_LIBS
=$LIBS
34913 LIBS
="-lposix4 $LIBS"
34914 cat >conftest.
$ac_ext <<_ACEOF
34917 cat confdefs.h
>>conftest.
$ac_ext
34918 cat >>conftest.
$ac_ext <<_ACEOF
34919 /* end confdefs.h. */
34921 /* Override any gcc2 internal prototype to avoid an error. */
34925 /* We use char because int might match the return type of a gcc2
34926 builtin and then its argument prototype would still apply. */
34927 char sched_yield ();
34936 rm -f conftest.
$ac_objext conftest
$ac_exeext
34937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34938 (eval $ac_link) 2>conftest.er1
34940 grep -v '^ *+' conftest.er1
>conftest.err
34942 cat conftest.err
>&5
34943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944 (exit $ac_status); } &&
34945 { ac_try
='test -z "$ac_c_werror_flag"
34946 || test ! -s conftest.err'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; } &&
34952 { ac_try
='test -s conftest$ac_exeext'
34953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34954 (eval $ac_try) 2>&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); }; }; then
34958 ac_cv_lib_posix4_sched_yield
=yes
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.
$ac_ext >&5
34963 ac_cv_lib_posix4_sched_yield
=no
34965 rm -f conftest.err conftest.
$ac_objext \
34966 conftest
$ac_exeext conftest.
$ac_ext
34967 LIBS
=$ac_check_lib_save_LIBS
34969 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34970 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34971 if test $ac_cv_lib_posix4_sched_yield = yes; then
34972 cat >>confdefs.h
<<\_ACEOF
34973 #define HAVE_SCHED_YIELD 1
34975 POSIX4_LINK
=" -lposix4"
34977 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34978 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34989 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34990 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34991 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34992 echo $ECHO_N "(cached) $ECHO_C" >&6
34994 cat >conftest.
$ac_ext <<_ACEOF
34997 cat confdefs.h
>>conftest.
$ac_ext
34998 cat >>conftest.
$ac_ext <<_ACEOF
34999 /* end confdefs.h. */
35000 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35002 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35004 /* System header to define __stub macros and hopefully few prototypes,
35005 which can conflict with char pthread_attr_getschedpolicy (); below.
35006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35007 <limits.h> exists even on freestanding compilers. */
35010 # include <limits.h>
35012 # include <assert.h>
35015 #undef pthread_attr_getschedpolicy
35017 /* Override any gcc2 internal prototype to avoid an error. */
35022 /* We use char because int might match the return type of a gcc2
35023 builtin and then its argument prototype would still apply. */
35024 char pthread_attr_getschedpolicy ();
35025 /* The GNU C library defines this for functions which it implements
35026 to always fail with ENOSYS. Some functions are actually named
35027 something starting with __ and the normal name is an alias. */
35028 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35031 char (*f) () = pthread_attr_getschedpolicy;
35040 return f != pthread_attr_getschedpolicy;
35045 rm -f conftest.
$ac_objext conftest
$ac_exeext
35046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35047 (eval $ac_link) 2>conftest.er1
35049 grep -v '^ *+' conftest.er1
>conftest.err
35051 cat conftest.err
>&5
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); } &&
35054 { ac_try
='test -z "$ac_c_werror_flag"
35055 || test ! -s conftest.err'
35056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35057 (eval $ac_try) 2>&5
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); }; } &&
35061 { ac_try
='test -s conftest$ac_exeext'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; }; then
35067 ac_cv_func_pthread_attr_getschedpolicy
=yes
35069 echo "$as_me: failed program was:" >&5
35070 sed 's/^/| /' conftest.
$ac_ext >&5
35072 ac_cv_func_pthread_attr_getschedpolicy
=no
35074 rm -f conftest.err conftest.
$ac_objext \
35075 conftest
$ac_exeext conftest.
$ac_ext
35077 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35078 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35079 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35080 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35081 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35082 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 cat >conftest.
$ac_ext <<_ACEOF
35088 cat confdefs.h
>>conftest.
$ac_ext
35089 cat >>conftest.
$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35093 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35095 /* System header to define __stub macros and hopefully few prototypes,
35096 which can conflict with char pthread_attr_setschedparam (); below.
35097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35098 <limits.h> exists even on freestanding compilers. */
35101 # include <limits.h>
35103 # include <assert.h>
35106 #undef pthread_attr_setschedparam
35108 /* Override any gcc2 internal prototype to avoid an error. */
35113 /* We use char because int might match the return type of a gcc2
35114 builtin and then its argument prototype would still apply. */
35115 char pthread_attr_setschedparam ();
35116 /* The GNU C library defines this for functions which it implements
35117 to always fail with ENOSYS. Some functions are actually named
35118 something starting with __ and the normal name is an alias. */
35119 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35122 char (*f) () = pthread_attr_setschedparam;
35131 return f != pthread_attr_setschedparam;
35136 rm -f conftest.
$ac_objext conftest
$ac_exeext
35137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35138 (eval $ac_link) 2>conftest.er1
35140 grep -v '^ *+' conftest.er1
>conftest.err
35142 cat conftest.err
>&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 (exit $ac_status); } &&
35145 { ac_try
='test -z "$ac_c_werror_flag"
35146 || test ! -s conftest.err'
35147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35148 (eval $ac_try) 2>&5
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); }; } &&
35152 { ac_try
='test -s conftest$ac_exeext'
35153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 (eval $ac_try) 2>&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); }; }; then
35158 ac_cv_func_pthread_attr_setschedparam
=yes
35160 echo "$as_me: failed program was:" >&5
35161 sed 's/^/| /' conftest.
$ac_ext >&5
35163 ac_cv_func_pthread_attr_setschedparam
=no
35165 rm -f conftest.err conftest.
$ac_objext \
35166 conftest
$ac_exeext conftest.
$ac_ext
35168 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35169 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35170 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35171 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35172 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35173 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35174 echo $ECHO_N "(cached) $ECHO_C" >&6
35176 cat >conftest.
$ac_ext <<_ACEOF
35179 cat confdefs.h
>>conftest.
$ac_ext
35180 cat >>conftest.
$ac_ext <<_ACEOF
35181 /* end confdefs.h. */
35182 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35184 #define sched_get_priority_max innocuous_sched_get_priority_max
35186 /* System header to define __stub macros and hopefully few prototypes,
35187 which can conflict with char sched_get_priority_max (); below.
35188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35189 <limits.h> exists even on freestanding compilers. */
35192 # include <limits.h>
35194 # include <assert.h>
35197 #undef sched_get_priority_max
35199 /* Override any gcc2 internal prototype to avoid an error. */
35204 /* We use char because int might match the return type of a gcc2
35205 builtin and then its argument prototype would still apply. */
35206 char sched_get_priority_max ();
35207 /* The GNU C library defines this for functions which it implements
35208 to always fail with ENOSYS. Some functions are actually named
35209 something starting with __ and the normal name is an alias. */
35210 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35213 char (*f) () = sched_get_priority_max;
35222 return f != sched_get_priority_max;
35227 rm -f conftest.
$ac_objext conftest
$ac_exeext
35228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35229 (eval $ac_link) 2>conftest.er1
35231 grep -v '^ *+' conftest.er1
>conftest.err
35233 cat conftest.err
>&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); } &&
35236 { ac_try
='test -z "$ac_c_werror_flag"
35237 || test ! -s conftest.err'
35238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35239 (eval $ac_try) 2>&5
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); }; } &&
35243 { ac_try
='test -s conftest$ac_exeext'
35244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35245 (eval $ac_try) 2>&5
35247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35248 (exit $ac_status); }; }; then
35249 ac_cv_func_sched_get_priority_max
=yes
35251 echo "$as_me: failed program was:" >&5
35252 sed 's/^/| /' conftest.
$ac_ext >&5
35254 ac_cv_func_sched_get_priority_max
=no
35256 rm -f conftest.err conftest.
$ac_objext \
35257 conftest
$ac_exeext conftest.
$ac_ext
35259 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35260 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35261 if test $ac_cv_func_sched_get_priority_max = yes; then
35264 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35265 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35266 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35267 echo $ECHO_N "(cached) $ECHO_C" >&6
35269 ac_check_lib_save_LIBS
=$LIBS
35270 LIBS
="-lposix4 $LIBS"
35271 cat >conftest.
$ac_ext <<_ACEOF
35274 cat confdefs.h
>>conftest.
$ac_ext
35275 cat >>conftest.
$ac_ext <<_ACEOF
35276 /* end confdefs.h. */
35278 /* Override any gcc2 internal prototype to avoid an error. */
35282 /* We use char because int might match the return type of a gcc2
35283 builtin and then its argument prototype would still apply. */
35284 char sched_get_priority_max ();
35288 sched_get_priority_max ();
35293 rm -f conftest.
$ac_objext conftest
$ac_exeext
35294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35295 (eval $ac_link) 2>conftest.er1
35297 grep -v '^ *+' conftest.er1
>conftest.err
35299 cat conftest.err
>&5
35300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35301 (exit $ac_status); } &&
35302 { ac_try
='test -z "$ac_c_werror_flag"
35303 || test ! -s conftest.err'
35304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35305 (eval $ac_try) 2>&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); }; } &&
35309 { ac_try
='test -s conftest$ac_exeext'
35310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35311 (eval $ac_try) 2>&5
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); }; }; then
35315 ac_cv_lib_posix4_sched_get_priority_max
=yes
35317 echo "$as_me: failed program was:" >&5
35318 sed 's/^/| /' conftest.
$ac_ext >&5
35320 ac_cv_lib_posix4_sched_get_priority_max
=no
35322 rm -f conftest.err conftest.
$ac_objext \
35323 conftest
$ac_exeext conftest.
$ac_ext
35324 LIBS
=$ac_check_lib_save_LIBS
35326 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35327 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35328 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35331 POSIX4_LINK
=" -lposix4"
35345 if test "$HAVE_PRIOR_FUNCS" = 1; then
35346 cat >>confdefs.h
<<\_ACEOF
35347 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35351 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35352 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35355 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35356 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35357 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35358 echo $ECHO_N "(cached) $ECHO_C" >&6
35360 cat >conftest.
$ac_ext <<_ACEOF
35363 cat confdefs.h
>>conftest.
$ac_ext
35364 cat >>conftest.
$ac_ext <<_ACEOF
35365 /* end confdefs.h. */
35366 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35368 #define pthread_cancel innocuous_pthread_cancel
35370 /* System header to define __stub macros and hopefully few prototypes,
35371 which can conflict with char pthread_cancel (); below.
35372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35373 <limits.h> exists even on freestanding compilers. */
35376 # include <limits.h>
35378 # include <assert.h>
35381 #undef pthread_cancel
35383 /* Override any gcc2 internal prototype to avoid an error. */
35388 /* We use char because int might match the return type of a gcc2
35389 builtin and then its argument prototype would still apply. */
35390 char pthread_cancel ();
35391 /* The GNU C library defines this for functions which it implements
35392 to always fail with ENOSYS. Some functions are actually named
35393 something starting with __ and the normal name is an alias. */
35394 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35397 char (*f) () = pthread_cancel;
35406 return f != pthread_cancel;
35411 rm -f conftest.
$ac_objext conftest
$ac_exeext
35412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35413 (eval $ac_link) 2>conftest.er1
35415 grep -v '^ *+' conftest.er1
>conftest.err
35417 cat conftest.err
>&5
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); } &&
35420 { ac_try
='test -z "$ac_c_werror_flag"
35421 || test ! -s conftest.err'
35422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35423 (eval $ac_try) 2>&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); }; } &&
35427 { ac_try
='test -s conftest$ac_exeext'
35428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35429 (eval $ac_try) 2>&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); }; }; then
35433 ac_cv_func_pthread_cancel
=yes
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.
$ac_ext >&5
35438 ac_cv_func_pthread_cancel
=no
35440 rm -f conftest.err conftest.
$ac_objext \
35441 conftest
$ac_exeext conftest.
$ac_ext
35443 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35444 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35445 if test $ac_cv_func_pthread_cancel = yes; then
35446 cat >>confdefs.h
<<\_ACEOF
35447 #define HAVE_PTHREAD_CANCEL 1
35451 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35452 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35458 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35459 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35460 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35461 echo $ECHO_N "(cached) $ECHO_C" >&6
35464 cat >conftest.
$ac_ext <<_ACEOF
35467 cat confdefs.h
>>conftest.
$ac_ext
35468 cat >>conftest.
$ac_ext <<_ACEOF
35469 /* end confdefs.h. */
35470 #include <pthread.h>
35475 pthread_mutexattr_t attr;
35476 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35482 rm -f conftest.
$ac_objext
35483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35484 (eval $ac_compile) 2>conftest.er1
35486 grep -v '^ *+' conftest.er1
>conftest.err
35488 cat conftest.err
>&5
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); } &&
35491 { ac_try
='test -z "$ac_c_werror_flag"
35492 || test ! -s conftest.err'
35493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35494 (eval $ac_try) 2>&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); }; } &&
35498 { ac_try
='test -s conftest.$ac_objext'
35499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35500 (eval $ac_try) 2>&5
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); }; }; then
35505 wx_cv_type_pthread_mutexattr_t
=yes
35508 echo "$as_me: failed program was:" >&5
35509 sed 's/^/| /' conftest.
$ac_ext >&5
35512 wx_cv_type_pthread_mutexattr_t
=no
35516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35519 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35520 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35522 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35523 cat >>confdefs.h
<<\_ACEOF
35524 #define HAVE_PTHREAD_MUTEXATTR_T 1
35528 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35529 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35530 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35531 echo $ECHO_N "(cached) $ECHO_C" >&6
35534 cat >conftest.
$ac_ext <<_ACEOF
35537 cat confdefs.h
>>conftest.
$ac_ext
35538 cat >>conftest.
$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540 #include <pthread.h>
35545 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35551 rm -f conftest.
$ac_objext
35552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35553 (eval $ac_compile) 2>conftest.er1
35555 grep -v '^ *+' conftest.er1
>conftest.err
35557 cat conftest.err
>&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); } &&
35560 { ac_try
='test -z "$ac_c_werror_flag"
35561 || test ! -s conftest.err'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; } &&
35567 { ac_try
='test -s conftest.$ac_objext'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; }; then
35574 wx_cv_type_pthread_rec_mutex_init
=yes
35577 echo "$as_me: failed program was:" >&5
35578 sed 's/^/| /' conftest.
$ac_ext >&5
35581 wx_cv_type_pthread_rec_mutex_init
=no
35585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35588 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35589 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35590 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35591 cat >>confdefs.h
<<\_ACEOF
35592 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35596 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35597 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35603 if test "$wxUSE_THREADS" = "yes" ; then
35606 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35607 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35608 if test "${wx_cv_cflags_mthread+set}" = set; then
35609 echo $ECHO_N "(cached) $ECHO_C" >&6
35612 CFLAGS_OLD
="$CFLAGS"
35613 CFLAGS
="$CFLAGS -mthreads"
35614 cat >conftest.
$ac_ext <<_ACEOF
35617 cat confdefs.h
>>conftest.
$ac_ext
35618 cat >>conftest.
$ac_ext <<_ACEOF
35619 /* end confdefs.h. */
35629 rm -f conftest.
$ac_objext
35630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35631 (eval $ac_compile) 2>conftest.er1
35633 grep -v '^ *+' conftest.er1
>conftest.err
35635 cat conftest.err
>&5
35636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637 (exit $ac_status); } &&
35638 { ac_try
='test -z "$ac_c_werror_flag"
35639 || test ! -s conftest.err'
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; } &&
35645 { ac_try
='test -s conftest.$ac_objext'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; }; then
35651 wx_cv_cflags_mthread
=yes
35653 echo "$as_me: failed program was:" >&5
35654 sed 's/^/| /' conftest.
$ac_ext >&5
35656 wx_cv_cflags_mthread
=no
35659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35663 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35664 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35666 if test "$wx_cv_cflags_mthread" = "yes"; then
35667 CXXFLAGS
="$CXXFLAGS -mthreads"
35668 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35669 LDFLAGS
="$LDFLAGS -mthreads"
35671 CFLAGS
="$CFLAGS_OLD"
35675 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35676 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35677 LDFLAGS
="$LDFLAGS -Zmt"
35683 if test "$wxUSE_THREADS" = "yes"; then
35684 cat >>confdefs.h
<<\_ACEOF
35685 #define wxUSE_THREADS 1
35689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35691 if test "$ac_cv_func_strtok_r" = "yes"; then
35692 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35693 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35694 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35695 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35696 echo "$as_me:$LINENO: result: yes" >&5
35697 echo "${ECHO_T}yes" >&6
35699 echo "$as_me:$LINENO: result: no" >&5
35700 echo "${ECHO_T}no" >&6
35705 if test "$WXGTK20" = 1 ; then
35706 cat >>confdefs.h
<<_ACEOF
35707 #define __WXGTK20__ $WXGTK20
35713 if test "$WXGTK12" = 1 ; then
35714 cat >>confdefs.h
<<_ACEOF
35715 #define __WXGTK12__ $WXGTK12
35720 if test "$WXGTK127" = 1 ; then
35721 cat >>confdefs.h
<<_ACEOF
35722 #define __WXGTK127__ $WXGTK127
35727 if test "$WXGPE" = 1 ; then
35728 cat >>confdefs.h
<<_ACEOF
35729 #define __WXGPE__ $WXGPE
35736 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35741 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35742 wxUSE_DEBUG_INFO
=yes
35743 if test "$GCC" = yes; then
35748 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35749 cat >>confdefs.h
<<\_ACEOF
35753 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35755 if test "$wxUSE_GTK" = 1 ; then
35756 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35760 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35761 cat >>confdefs.h
<<\_ACEOF
35762 #define wxUSE_MEMORY_TRACING 1
35765 cat >>confdefs.h
<<\_ACEOF
35766 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35769 cat >>confdefs.h
<<\_ACEOF
35770 #define wxUSE_DEBUG_NEW_ALWAYS 1
35773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35776 if test "$wxUSE_DMALLOC" = "yes" ; then
35777 DMALLOC_LIBS
="-ldmallocthcxx"
35781 if test "$wxUSE_PROFILE" = "yes" ; then
35786 CODE_GEN_FLAGS_CXX
=
35787 if test "$GCC" = "yes" ; then
35788 if test "$wxUSE_NO_RTTI" = "yes" ; then
35789 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35791 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35792 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35794 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35795 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35800 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35803 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35809 if test "$wxUSE_OPTIMISE" = "no" ; then
35810 if test "$GCC" = yes ; then
35814 if test "$GCC" = yes ; then
35818 i586
-*-*|i686
-*-* )
35819 OPTIMISE
="${OPTIMISE} "
35828 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35829 cat >>confdefs.h
<<\_ACEOF
35830 #define WXWIN_COMPATIBILITY_2_2 1
35834 WXWIN_COMPATIBILITY_2_4
="yes"
35837 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35838 cat >>confdefs.h
<<\_ACEOF
35839 #define WXWIN_COMPATIBILITY_2_4 1
35845 if test "$wxUSE_GUI" = "yes"; then
35846 cat >>confdefs.h
<<\_ACEOF
35847 #define wxUSE_GUI 1
35854 if test "$wxUSE_UNIX" = "yes"; then
35855 cat >>confdefs.h
<<\_ACEOF
35856 #define wxUSE_UNIX 1
35862 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35866 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35867 if test "$USE_DARWIN" = 1; then
35869 elif test "$USE_DOS" = 1; then
35873 for ac_func
in dlopen
35875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35876 echo "$as_me:$LINENO: checking for $ac_func" >&5
35877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35878 if eval "test \"\${$as_ac_var+set}\" = set"; then
35879 echo $ECHO_N "(cached) $ECHO_C" >&6
35881 cat >conftest.
$ac_ext <<_ACEOF
35884 cat confdefs.h
>>conftest.
$ac_ext
35885 cat >>conftest.
$ac_ext <<_ACEOF
35886 /* end confdefs.h. */
35887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35889 #define $ac_func innocuous_$ac_func
35891 /* System header to define __stub macros and hopefully few prototypes,
35892 which can conflict with char $ac_func (); below.
35893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35894 <limits.h> exists even on freestanding compilers. */
35897 # include <limits.h>
35899 # include <assert.h>
35904 /* Override any gcc2 internal prototype to avoid an error. */
35909 /* We use char because int might match the return type of a gcc2
35910 builtin and then its argument prototype would still apply. */
35912 /* The GNU C library defines this for functions which it implements
35913 to always fail with ENOSYS. Some functions are actually named
35914 something starting with __ and the normal name is an alias. */
35915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35918 char (*f) () = $ac_func;
35927 return f != $ac_func;
35932 rm -f conftest.
$ac_objext conftest
$ac_exeext
35933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35934 (eval $ac_link) 2>conftest.er1
35936 grep -v '^ *+' conftest.er1
>conftest.err
35938 cat conftest.err
>&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } &&
35941 { ac_try
='test -z "$ac_c_werror_flag"
35942 || test ! -s conftest.err'
35943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35944 (eval $ac_try) 2>&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); }; } &&
35948 { ac_try
='test -s conftest$ac_exeext'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; }; then
35954 eval "$as_ac_var=yes"
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.
$ac_ext >&5
35959 eval "$as_ac_var=no"
35961 rm -f conftest.err conftest.
$ac_objext \
35962 conftest
$ac_exeext conftest.
$ac_ext
35964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35966 if test `eval echo '${'$as_ac_var'}'` = yes; then
35967 cat >>confdefs.h
<<_ACEOF
35968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35971 cat >>confdefs.h
<<\_ACEOF
35972 #define HAVE_DLOPEN 1
35979 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35980 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35981 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35982 echo $ECHO_N "(cached) $ECHO_C" >&6
35984 ac_check_lib_save_LIBS
=$LIBS
35986 cat >conftest.
$ac_ext <<_ACEOF
35989 cat confdefs.h
>>conftest.
$ac_ext
35990 cat >>conftest.
$ac_ext <<_ACEOF
35991 /* end confdefs.h. */
35993 /* Override any gcc2 internal prototype to avoid an error. */
35997 /* We use char because int might match the return type of a gcc2
35998 builtin and then its argument prototype would still apply. */
36008 rm -f conftest.
$ac_objext conftest
$ac_exeext
36009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36010 (eval $ac_link) 2>conftest.er1
36012 grep -v '^ *+' conftest.er1
>conftest.err
36014 cat conftest.err
>&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); } &&
36017 { ac_try
='test -z "$ac_c_werror_flag"
36018 || test ! -s conftest.err'
36019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36020 (eval $ac_try) 2>&5
36022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023 (exit $ac_status); }; } &&
36024 { ac_try
='test -s conftest$ac_exeext'
36025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36026 (eval $ac_try) 2>&5
36028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36029 (exit $ac_status); }; }; then
36030 ac_cv_lib_dl_dlopen
=yes
36032 echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.
$ac_ext >&5
36035 ac_cv_lib_dl_dlopen
=no
36037 rm -f conftest.err conftest.
$ac_objext \
36038 conftest
$ac_exeext conftest.
$ac_ext
36039 LIBS
=$ac_check_lib_save_LIBS
36041 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36042 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36043 if test $ac_cv_lib_dl_dlopen = yes; then
36045 cat >>confdefs.h
<<\_ACEOF
36046 #define HAVE_DLOPEN 1
36050 DL_LINK
=" -ldl$DL_LINK"
36055 for ac_func
in shl_load
36057 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36058 echo "$as_me:$LINENO: checking for $ac_func" >&5
36059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36060 if eval "test \"\${$as_ac_var+set}\" = set"; then
36061 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 cat >conftest.
$ac_ext <<_ACEOF
36066 cat confdefs.h
>>conftest.
$ac_ext
36067 cat >>conftest.
$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36071 #define $ac_func innocuous_$ac_func
36073 /* System header to define __stub macros and hopefully few prototypes,
36074 which can conflict with char $ac_func (); below.
36075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36076 <limits.h> exists even on freestanding compilers. */
36079 # include <limits.h>
36081 # include <assert.h>
36086 /* Override any gcc2 internal prototype to avoid an error. */
36091 /* We use char because int might match the return type of a gcc2
36092 builtin and then its argument prototype would still apply. */
36094 /* The GNU C library defines this for functions which it implements
36095 to always fail with ENOSYS. Some functions are actually named
36096 something starting with __ and the normal name is an alias. */
36097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36100 char (*f) () = $ac_func;
36109 return f != $ac_func;
36114 rm -f conftest.
$ac_objext conftest
$ac_exeext
36115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36116 (eval $ac_link) 2>conftest.er1
36118 grep -v '^ *+' conftest.er1
>conftest.err
36120 cat conftest.err
>&5
36121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36122 (exit $ac_status); } &&
36123 { ac_try
='test -z "$ac_c_werror_flag"
36124 || test ! -s conftest.err'
36125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36126 (eval $ac_try) 2>&5
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); }; } &&
36130 { ac_try
='test -s conftest$ac_exeext'
36131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36132 (eval $ac_try) 2>&5
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); }; }; then
36136 eval "$as_ac_var=yes"
36138 echo "$as_me: failed program was:" >&5
36139 sed 's/^/| /' conftest.
$ac_ext >&5
36141 eval "$as_ac_var=no"
36143 rm -f conftest.err conftest.
$ac_objext \
36144 conftest
$ac_exeext conftest.
$ac_ext
36146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36148 if test `eval echo '${'$as_ac_var'}'` = yes; then
36149 cat >>confdefs.h
<<_ACEOF
36150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36153 cat >>confdefs.h
<<\_ACEOF
36154 #define HAVE_SHL_LOAD 1
36161 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36162 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36163 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36164 echo $ECHO_N "(cached) $ECHO_C" >&6
36166 ac_check_lib_save_LIBS
=$LIBS
36167 LIBS
="-lshl_load $LIBS"
36168 cat >conftest.
$ac_ext <<_ACEOF
36171 cat confdefs.h
>>conftest.
$ac_ext
36172 cat >>conftest.
$ac_ext <<_ACEOF
36173 /* end confdefs.h. */
36175 /* Override any gcc2 internal prototype to avoid an error. */
36179 /* We use char because int might match the return type of a gcc2
36180 builtin and then its argument prototype would still apply. */
36190 rm -f conftest.
$ac_objext conftest
$ac_exeext
36191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36192 (eval $ac_link) 2>conftest.er1
36194 grep -v '^ *+' conftest.er1
>conftest.err
36196 cat conftest.err
>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); } &&
36199 { ac_try
='test -z "$ac_c_werror_flag"
36200 || test ! -s conftest.err'
36201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36202 (eval $ac_try) 2>&5
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); }; } &&
36206 { ac_try
='test -s conftest$ac_exeext'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; }; then
36212 ac_cv_lib_shl_load_dld
=yes
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.
$ac_ext >&5
36217 ac_cv_lib_shl_load_dld
=no
36219 rm -f conftest.err conftest.
$ac_objext \
36220 conftest
$ac_exeext conftest.
$ac_ext
36221 LIBS
=$ac_check_lib_save_LIBS
36223 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36224 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36225 if test $ac_cv_lib_shl_load_dld = yes; then
36228 DL_LINK
=" -ldld$DL_LINK"
36244 if test "$HAVE_DL_FUNCS" = 1; then
36246 for ac_func
in dlerror
36248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36249 echo "$as_me:$LINENO: checking for $ac_func" >&5
36250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36251 if eval "test \"\${$as_ac_var+set}\" = set"; then
36252 echo $ECHO_N "(cached) $ECHO_C" >&6
36254 cat >conftest.
$ac_ext <<_ACEOF
36257 cat confdefs.h
>>conftest.
$ac_ext
36258 cat >>conftest.
$ac_ext <<_ACEOF
36259 /* end confdefs.h. */
36260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36262 #define $ac_func innocuous_$ac_func
36264 /* System header to define __stub macros and hopefully few prototypes,
36265 which can conflict with char $ac_func (); below.
36266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36267 <limits.h> exists even on freestanding compilers. */
36270 # include <limits.h>
36272 # include <assert.h>
36277 /* Override any gcc2 internal prototype to avoid an error. */
36282 /* We use char because int might match the return type of a gcc2
36283 builtin and then its argument prototype would still apply. */
36285 /* The GNU C library defines this for functions which it implements
36286 to always fail with ENOSYS. Some functions are actually named
36287 something starting with __ and the normal name is an alias. */
36288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36291 char (*f) () = $ac_func;
36300 return f != $ac_func;
36305 rm -f conftest.
$ac_objext conftest
$ac_exeext
36306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36307 (eval $ac_link) 2>conftest.er1
36309 grep -v '^ *+' conftest.er1
>conftest.err
36311 cat conftest.err
>&5
36312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313 (exit $ac_status); } &&
36314 { ac_try
='test -z "$ac_c_werror_flag"
36315 || test ! -s conftest.err'
36316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36317 (eval $ac_try) 2>&5
36319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320 (exit $ac_status); }; } &&
36321 { ac_try
='test -s conftest$ac_exeext'
36322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36323 (eval $ac_try) 2>&5
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); }; }; then
36327 eval "$as_ac_var=yes"
36329 echo "$as_me: failed program was:" >&5
36330 sed 's/^/| /' conftest.
$ac_ext >&5
36332 eval "$as_ac_var=no"
36334 rm -f conftest.err conftest.
$ac_objext \
36335 conftest
$ac_exeext conftest.
$ac_ext
36337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36339 if test `eval echo '${'$as_ac_var'}'` = yes; then
36340 cat >>confdefs.h
<<_ACEOF
36341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36343 cat >>confdefs.h
<<\_ACEOF
36344 #define HAVE_DLERROR 1
36349 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36350 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36351 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36352 echo $ECHO_N "(cached) $ECHO_C" >&6
36354 ac_check_lib_save_LIBS
=$LIBS
36356 cat >conftest.
$ac_ext <<_ACEOF
36359 cat confdefs.h
>>conftest.
$ac_ext
36360 cat >>conftest.
$ac_ext <<_ACEOF
36361 /* end confdefs.h. */
36363 /* Override any gcc2 internal prototype to avoid an error. */
36367 /* We use char because int might match the return type of a gcc2
36368 builtin and then its argument prototype would still apply. */
36378 rm -f conftest.
$ac_objext conftest
$ac_exeext
36379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36380 (eval $ac_link) 2>conftest.er1
36382 grep -v '^ *+' conftest.er1
>conftest.err
36384 cat conftest.err
>&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); } &&
36387 { ac_try
='test -z "$ac_c_werror_flag"
36388 || test ! -s conftest.err'
36389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36390 (eval $ac_try) 2>&5
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); }; } &&
36394 { ac_try
='test -s conftest$ac_exeext'
36395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36396 (eval $ac_try) 2>&5
36398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36399 (exit $ac_status); }; }; then
36400 ac_cv_lib_dl_dlerror
=yes
36402 echo "$as_me: failed program was:" >&5
36403 sed 's/^/| /' conftest.
$ac_ext >&5
36405 ac_cv_lib_dl_dlerror
=no
36407 rm -f conftest.err conftest.
$ac_objext \
36408 conftest
$ac_exeext conftest.
$ac_ext
36409 LIBS
=$ac_check_lib_save_LIBS
36411 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36412 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36413 if test $ac_cv_lib_dl_dlerror = yes; then
36414 cat >>confdefs.h
<<\_ACEOF
36415 #define HAVE_DLERROR 1
36428 if test "$HAVE_DL_FUNCS" = 0; then
36429 if test "$HAVE_SHL_FUNCS" = 0; then
36430 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36431 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36432 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36433 wxUSE_DYNAMIC_LOADER
=no
36434 wxUSE_DYNLIB_CLASS
=no
36436 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36437 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36444 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36445 cat >>confdefs.h
<<\_ACEOF
36446 #define wxUSE_DYNAMIC_LOADER 1
36450 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36451 cat >>confdefs.h
<<\_ACEOF
36452 #define wxUSE_DYNLIB_CLASS 1
36459 if test "$wxUSE_PLUGINS" = "yes" ; then
36460 if test "$wxUSE_SHARED" = "no" ; then
36461 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36462 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36465 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36466 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36467 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36470 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36471 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36472 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36475 if test "$wxUSE_PLUGINS" = "yes" ; then
36476 cat >>confdefs.h
<<\_ACEOF
36477 #define wxUSE_PLUGINS 1
36484 if test "$wxUSE_STL" = "yes"; then
36485 cat >>confdefs.h
<<\_ACEOF
36486 #define wxUSE_STL 1
36491 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36492 cat >>confdefs.h
<<\_ACEOF
36493 #define wxUSE_APPLE_IEEE 1
36498 if test "$wxUSE_TIMER" = "yes"; then
36499 cat >>confdefs.h
<<\_ACEOF
36500 #define wxUSE_TIMER 1
36505 if test "$USE_UNIX" = "1" ; then
36507 for ac_header
in sys
/soundcard.h
36509 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36511 echo "$as_me:$LINENO: checking for $ac_header" >&5
36512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36514 echo $ECHO_N "(cached) $ECHO_C" >&6
36516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36519 # Is the header compilable?
36520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36522 cat >conftest.
$ac_ext <<_ACEOF
36525 cat confdefs.h
>>conftest.
$ac_ext
36526 cat >>conftest.
$ac_ext <<_ACEOF
36527 /* end confdefs.h. */
36528 $ac_includes_default
36529 #include <$ac_header>
36531 rm -f conftest.
$ac_objext
36532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36533 (eval $ac_compile) 2>conftest.er1
36535 grep -v '^ *+' conftest.er1
>conftest.err
36537 cat conftest.err
>&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } &&
36540 { ac_try
='test -z "$ac_c_werror_flag"
36541 || test ! -s conftest.err'
36542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36543 (eval $ac_try) 2>&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); }; } &&
36547 { ac_try
='test -s conftest.$ac_objext'
36548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36549 (eval $ac_try) 2>&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); }; }; then
36553 ac_header_compiler
=yes
36555 echo "$as_me: failed program was:" >&5
36556 sed 's/^/| /' conftest.
$ac_ext >&5
36558 ac_header_compiler
=no
36560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36562 echo "${ECHO_T}$ac_header_compiler" >&6
36564 # Is the header present?
36565 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36567 cat >conftest.
$ac_ext <<_ACEOF
36570 cat confdefs.h
>>conftest.
$ac_ext
36571 cat >>conftest.
$ac_ext <<_ACEOF
36572 /* end confdefs.h. */
36573 #include <$ac_header>
36575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36576 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36578 grep -v '^ *+' conftest.er1
>conftest.err
36580 cat conftest.err
>&5
36581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36582 (exit $ac_status); } >/dev
/null
; then
36583 if test -s conftest.err
; then
36584 ac_cpp_err
=$ac_c_preproc_warn_flag
36585 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36592 if test -z "$ac_cpp_err"; then
36593 ac_header_preproc
=yes
36595 echo "$as_me: failed program was:" >&5
36596 sed 's/^/| /' conftest.
$ac_ext >&5
36598 ac_header_preproc
=no
36600 rm -f conftest.err conftest.
$ac_ext
36601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36602 echo "${ECHO_T}$ac_header_preproc" >&6
36604 # So? What about this header?
36605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36610 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36611 ac_header_preproc
=yes
36614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36617 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36621 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36628 ## ----------------------------------------- ##
36629 ## Report this to wx-dev@lists.wxwidgets.org ##
36630 ## ----------------------------------------- ##
36633 sed "s/^/$as_me: WARNING: /" >&2
36636 echo "$as_me:$LINENO: checking for $ac_header" >&5
36637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36639 echo $ECHO_N "(cached) $ECHO_C" >&6
36641 eval "$as_ac_Header=\$ac_header_preproc"
36643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36648 cat >>confdefs.h
<<_ACEOF
36649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36653 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
36660 if test "$wxUSE_SOUND" = "yes"; then
36661 if test "$USE_UNIX" = "1" ; then
36662 if test "$wxUSE_LIBSDL" != "no"; then
36664 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36665 if test "${with_sdl_prefix+set}" = set; then
36666 withval
="$with_sdl_prefix"
36667 sdl_prefix
="$withval"
36672 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36673 if test "${with_sdl_exec_prefix+set}" = set; then
36674 withval
="$with_sdl_exec_prefix"
36675 sdl_exec_prefix
="$withval"
36679 # Check whether --enable-sdltest or --disable-sdltest was given.
36680 if test "${enable_sdltest+set}" = set; then
36681 enableval
="$enable_sdltest"
36687 if test x
$sdl_exec_prefix != x
; then
36688 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
36689 if test x
${SDL_CONFIG+set} != xset
; then
36690 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36693 if test x
$sdl_prefix != x
; then
36694 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36695 if test x
${SDL_CONFIG+set} != xset
; then
36696 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36701 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36702 # Extract the first word of "sdl-config", so it can be a program name with args.
36703 set dummy sdl
-config; ac_word
=$2
36704 echo "$as_me:$LINENO: checking for $ac_word" >&5
36705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36706 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36707 echo $ECHO_N "(cached) $ECHO_C" >&6
36709 case $SDL_CONFIG in
36711 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36715 for as_dir
in $PATH
36718 test -z "$as_dir" && as_dir
=.
36719 for ac_exec_ext
in '' $ac_executable_extensions; do
36720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36721 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36728 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36732 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36734 if test -n "$SDL_CONFIG"; then
36735 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36736 echo "${ECHO_T}$SDL_CONFIG" >&6
36738 echo "$as_me:$LINENO: result: no" >&5
36739 echo "${ECHO_T}no" >&6
36742 min_sdl_version
=1.2.0
36743 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36744 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36746 if test "$SDL_CONFIG" = "no" ; then
36749 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36750 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36752 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36753 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36754 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36755 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36756 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36757 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36758 if test "x$enable_sdltest" = "xyes" ; then
36759 ac_save_CFLAGS
="$CFLAGS"
36760 ac_save_CXXFLAGS
="$CXXFLAGS"
36761 ac_save_LIBS
="$LIBS"
36762 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36763 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36764 LIBS
="$LIBS $SDL_LIBS"
36766 if test "$cross_compiling" = yes; then
36767 echo $ac_n "cross compiling; assumed OK... $ac_c"
36769 cat >conftest.
$ac_ext <<_ACEOF
36772 cat confdefs.h
>>conftest.
$ac_ext
36773 cat >>conftest.
$ac_ext <<_ACEOF
36774 /* end confdefs.h. */
36777 #include <stdlib.h>
36778 #include <string.h>
36782 my_strdup (char *str)
36788 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36789 strcpy (new_str, str);
36797 int main (int argc, char *argv[])
36799 int major, minor, micro;
36802 /* This hangs on some systems (?)
36803 system ("touch conf.sdltest");
36805 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36807 /* HP/UX 9 (%@#!) writes to sscanf strings */
36808 tmp_version = my_strdup("$min_sdl_version");
36809 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36810 printf("%s, bad version string\n", "$min_sdl_version");
36814 if (($sdl_major_version > major) ||
36815 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36816 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36822 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36823 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36824 printf("*** best to upgrade to the required version.\n");
36825 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36826 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36827 printf("*** config.cache before re-running configure\n");
36834 rm -f conftest
$ac_exeext
36835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36836 (eval $ac_link) 2>&5
36838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36839 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36841 (eval $ac_try) 2>&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); }; }; then
36847 echo "$as_me: program exited with status $ac_status" >&5
36848 echo "$as_me: failed program was:" >&5
36849 sed 's/^/| /' conftest.
$ac_ext >&5
36851 ( exit $ac_status )
36854 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36856 CFLAGS
="$ac_save_CFLAGS"
36857 CXXFLAGS
="$ac_save_CXXFLAGS"
36858 LIBS
="$ac_save_LIBS"
36861 if test "x$no_sdl" = x
; then
36862 echo "$as_me:$LINENO: result: yes" >&5
36863 echo "${ECHO_T}yes" >&6
36865 EXTRALIBS_SDL
="$SDL_LIBS"
36866 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36867 cat >>confdefs.h
<<\_ACEOF
36868 #define wxUSE_LIBSDL 1
36873 echo "$as_me:$LINENO: result: no" >&5
36874 echo "${ECHO_T}no" >&6
36875 if test "$SDL_CONFIG" = "no" ; then
36876 echo "*** The sdl-config script installed by SDL could not be found"
36877 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36878 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36879 echo "*** full path to sdl-config."
36881 if test -f conf.sdltest
; then
36884 echo "*** Could not run SDL test program, checking why..."
36885 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36886 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36887 LIBS
="$LIBS $SDL_LIBS"
36888 cat >conftest.
$ac_ext <<_ACEOF
36891 cat confdefs.h
>>conftest.
$ac_ext
36892 cat >>conftest.
$ac_ext <<_ACEOF
36893 /* end confdefs.h. */
36898 int main(int argc, char *argv[])
36901 #define main K_and_R_C_main
36911 rm -f conftest.
$ac_objext conftest
$ac_exeext
36912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36913 (eval $ac_link) 2>conftest.er1
36915 grep -v '^ *+' conftest.er1
>conftest.err
36917 cat conftest.err
>&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); } &&
36920 { ac_try
='test -z "$ac_c_werror_flag"
36921 || test ! -s conftest.err'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; } &&
36927 { ac_try
='test -s conftest$ac_exeext'
36928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36929 (eval $ac_try) 2>&5
36931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932 (exit $ac_status); }; }; then
36933 echo "*** The test program compiled, but did not run. This usually means"
36934 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36935 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36936 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36937 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36938 echo "*** is required on your system"
36940 echo "*** If you have an old version installed, it is best to remove it, although"
36941 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36943 echo "$as_me: failed program was:" >&5
36944 sed 's/^/| /' conftest.
$ac_ext >&5
36946 echo "*** The test program failed to compile or link. See the file config.log for the"
36947 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36948 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36949 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36951 rm -f conftest.err conftest.
$ac_objext \
36952 conftest
$ac_exeext conftest.
$ac_ext
36953 CFLAGS
="$ac_save_CFLAGS"
36954 CXXFLAGS
="$ac_save_CXXFLAGS"
36955 LIBS
="$ac_save_LIBS"
36966 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36972 cat >>confdefs.h
<<\_ACEOF
36973 #define wxUSE_SOUND 1
36976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36979 if test "$WXGTK20" = 1; then
36980 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36981 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36986 if test -z "$PKG_CONFIG"; then
36987 # Extract the first word of "pkg-config", so it can be a program name with args.
36988 set dummy pkg
-config; ac_word
=$2
36989 echo "$as_me:$LINENO: checking for $ac_word" >&5
36990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36991 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 case $PKG_CONFIG in
36996 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37000 for as_dir
in $PATH
37003 test -z "$as_dir" && as_dir
=.
37004 for ac_exec_ext
in '' $ac_executable_extensions; do
37005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37006 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37013 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
37017 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
37019 if test -n "$PKG_CONFIG"; then
37020 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37021 echo "${ECHO_T}$PKG_CONFIG" >&6
37023 echo "$as_me:$LINENO: result: no" >&5
37024 echo "${ECHO_T}no" >&6
37029 if test "$PKG_CONFIG" = "no" ; then
37030 echo "*** The pkg-config script could not be found. Make sure it is"
37031 echo "*** in your path, or set the PKG_CONFIG environment variable"
37032 echo "*** to the full path to pkg-config."
37033 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37035 PKG_CONFIG_MIN_VERSION
=0.9.0
37036 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37037 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37038 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37040 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37041 echo "$as_me:$LINENO: result: yes" >&5
37042 echo "${ECHO_T}yes" >&6
37045 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37046 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37047 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37048 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37049 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37051 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37052 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37053 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37054 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37055 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37057 LIBGNOMEPRINTUI_CFLAGS
=""
37058 LIBGNOMEPRINTUI_LIBS
=""
37059 ## If we have a custom action on failure, don't print errors, but
37060 ## do set a variable so people can do so.
37061 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37068 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37069 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37073 if test $succeeded = yes; then
37075 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37076 cat >>confdefs.h
<<\_ACEOF
37077 #define wxUSE_LIBGNOMEPRINT 1
37083 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37084 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37085 wxUSE_LIBGNOMEPRINT
="no"
37095 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37096 cat >>confdefs.h
<<\_ACEOF
37097 #define wxUSE_CMDLINE_PARSER 1
37102 if test "$wxUSE_STOPWATCH" = "yes"; then
37103 cat >>confdefs.h
<<\_ACEOF
37104 #define wxUSE_STOPWATCH 1
37109 if test "$wxUSE_DATETIME" = "yes"; then
37110 cat >>confdefs.h
<<\_ACEOF
37111 #define wxUSE_DATETIME 1
37116 if test "$wxUSE_FILE" = "yes"; then
37117 cat >>confdefs.h
<<\_ACEOF
37118 #define wxUSE_FILE 1
37123 if test "$wxUSE_FFILE" = "yes"; then
37124 cat >>confdefs.h
<<\_ACEOF
37125 #define wxUSE_FFILE 1
37130 if test "$wxUSE_FILESYSTEM" = "yes"; then
37131 cat >>confdefs.h
<<\_ACEOF
37132 #define wxUSE_FILESYSTEM 1
37137 if test "$wxUSE_FS_ZIP" = "yes"; then
37138 cat >>confdefs.h
<<\_ACEOF
37139 #define wxUSE_FS_ZIP 1
37144 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37145 cat >>confdefs.h
<<\_ACEOF
37146 #define wxUSE_ARCHIVE_STREAMS 1
37151 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37152 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37153 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37154 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37155 elif test "$wxUSE_ZLIB" = "no"; then
37156 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37157 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37159 cat >>confdefs.h
<<\_ACEOF
37160 #define wxUSE_ZIPSTREAM 1
37166 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37167 if test "$USE_UNIX" != 1; then
37168 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37169 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37170 wxUSE_ON_FATAL_EXCEPTION
=no
37172 cat >>confdefs.h
<<\_ACEOF
37173 #define wxUSE_ON_FATAL_EXCEPTION 1
37179 if test "$wxUSE_STACKWALKER" = "yes"; then
37180 cat >>confdefs.h
<<\_ACEOF
37181 #define wxUSE_STACKWALKER 1
37186 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37187 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37188 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37189 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37190 wxUSE_DEBUGREPORT
=no
37192 cat >>confdefs.h
<<\_ACEOF
37193 #define wxUSE_DEBUGREPORT 1
37196 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
37202 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37203 cat >>confdefs.h
<<\_ACEOF
37204 #define wxUSE_SNGLINST_CHECKER 1
37209 if test "$wxUSE_BUSYINFO" = "yes"; then
37210 cat >>confdefs.h
<<\_ACEOF
37211 #define wxUSE_BUSYINFO 1
37216 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37217 cat >>confdefs.h
<<\_ACEOF
37218 #define wxUSE_STD_IOSTREAM 1
37223 if test "$wxUSE_STD_STRING" = "yes"; then
37224 cat >>confdefs.h
<<\_ACEOF
37225 #define wxUSE_STD_STRING 1
37230 if test "$wxUSE_STDPATHS" = "yes"; then
37231 cat >>confdefs.h
<<\_ACEOF
37232 #define wxUSE_STDPATHS 1
37237 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37238 cat >>confdefs.h
<<\_ACEOF
37239 #define wxUSE_TEXTBUFFER 1
37244 if test "$wxUSE_TEXTFILE" = "yes"; then
37245 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37246 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37247 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37249 cat >>confdefs.h
<<\_ACEOF
37250 #define wxUSE_TEXTFILE 1
37256 if test "$wxUSE_CONFIG" = "yes" ; then
37257 if test "$wxUSE_TEXTFILE" != "yes"; then
37258 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37259 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37261 cat >>confdefs.h
<<\_ACEOF
37262 #define wxUSE_CONFIG 1
37265 cat >>confdefs.h
<<\_ACEOF
37266 #define wxUSE_CONFIG_NATIVE 1
37269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
37273 if test "$wxUSE_INTL" = "yes" ; then
37274 if test "$wxUSE_FILE" != "yes"; then
37275 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37276 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37278 cat >>confdefs.h
<<\_ACEOF
37279 #define wxUSE_INTL 1
37282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
37283 GUIDIST
="$GUIDIST INTL_DIST"
37287 if test "$wxUSE_LOG" = "yes"; then
37288 cat >>confdefs.h
<<\_ACEOF
37289 #define wxUSE_LOG 1
37293 if test "$wxUSE_LOGGUI" = "yes"; then
37294 cat >>confdefs.h
<<\_ACEOF
37295 #define wxUSE_LOGGUI 1
37300 if test "$wxUSE_LOGWINDOW" = "yes"; then
37301 cat >>confdefs.h
<<\_ACEOF
37302 #define wxUSE_LOGWINDOW 1
37307 if test "$wxUSE_LOGDIALOG" = "yes"; then
37308 cat >>confdefs.h
<<\_ACEOF
37309 #define wxUSE_LOG_DIALOG 1
37314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
37317 if test "$wxUSE_LONGLONG" = "yes"; then
37318 cat >>confdefs.h
<<\_ACEOF
37319 #define wxUSE_LONGLONG 1
37324 if test "$wxUSE_GEOMETRY" = "yes"; then
37325 cat >>confdefs.h
<<\_ACEOF
37326 #define wxUSE_GEOMETRY 1
37331 if test "$wxUSE_STREAMS" = "yes" ; then
37332 cat >>confdefs.h
<<\_ACEOF
37333 #define wxUSE_STREAMS 1
37339 if test "$wxUSE_DATETIME" = "yes"; then
37341 for ac_func
in strptime
37343 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37344 echo "$as_me:$LINENO: checking for $ac_func" >&5
37345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37346 if eval "test \"\${$as_ac_var+set}\" = set"; then
37347 echo $ECHO_N "(cached) $ECHO_C" >&6
37349 cat >conftest.
$ac_ext <<_ACEOF
37352 cat confdefs.h
>>conftest.
$ac_ext
37353 cat >>conftest.
$ac_ext <<_ACEOF
37354 /* end confdefs.h. */
37355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37357 #define $ac_func innocuous_$ac_func
37359 /* System header to define __stub macros and hopefully few prototypes,
37360 which can conflict with char $ac_func (); below.
37361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37362 <limits.h> exists even on freestanding compilers. */
37365 # include <limits.h>
37367 # include <assert.h>
37372 /* Override any gcc2 internal prototype to avoid an error. */
37377 /* We use char because int might match the return type of a gcc2
37378 builtin and then its argument prototype would still apply. */
37380 /* The GNU C library defines this for functions which it implements
37381 to always fail with ENOSYS. Some functions are actually named
37382 something starting with __ and the normal name is an alias. */
37383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37386 char (*f) () = $ac_func;
37395 return f != $ac_func;
37400 rm -f conftest.
$ac_objext conftest
$ac_exeext
37401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37402 (eval $ac_link) 2>conftest.er1
37404 grep -v '^ *+' conftest.er1
>conftest.err
37406 cat conftest.err
>&5
37407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37408 (exit $ac_status); } &&
37409 { ac_try
='test -z "$ac_c_werror_flag"
37410 || test ! -s conftest.err'
37411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412 (eval $ac_try) 2>&5
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); }; } &&
37416 { ac_try
='test -s conftest$ac_exeext'
37417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37418 (eval $ac_try) 2>&5
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); }; }; then
37422 eval "$as_ac_var=yes"
37424 echo "$as_me: failed program was:" >&5
37425 sed 's/^/| /' conftest.
$ac_ext >&5
37427 eval "$as_ac_var=no"
37429 rm -f conftest.err conftest.
$ac_objext \
37430 conftest
$ac_exeext conftest.
$ac_ext
37432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37434 if test `eval echo '${'$as_ac_var'}'` = yes; then
37435 cat >>confdefs.h
<<_ACEOF
37436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37443 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37444 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37445 if test "${wx_cv_var_timezone+set}" = set; then
37446 echo $ECHO_N "(cached) $ECHO_C" >&6
37449 cat >conftest.
$ac_ext <<_ACEOF
37452 cat confdefs.h
>>conftest.
$ac_ext
37453 cat >>conftest.
$ac_ext <<_ACEOF
37454 /* end confdefs.h. */
37469 rm -f conftest.
$ac_objext
37470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37471 (eval $ac_compile) 2>conftest.er1
37473 grep -v '^ *+' conftest.er1
>conftest.err
37475 cat conftest.err
>&5
37476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37477 (exit $ac_status); } &&
37478 { ac_try
='test -z "$ac_c_werror_flag"
37479 || test ! -s conftest.err'
37480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37481 (eval $ac_try) 2>&5
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); }; } &&
37485 { ac_try
='test -s conftest.$ac_objext'
37486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37487 (eval $ac_try) 2>&5
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); }; }; then
37492 wx_cv_var_timezone
=timezone
37495 echo "$as_me: failed program was:" >&5
37496 sed 's/^/| /' conftest.
$ac_ext >&5
37499 cat >conftest.
$ac_ext <<_ACEOF
37502 cat confdefs.h
>>conftest.
$ac_ext
37503 cat >>conftest.
$ac_ext <<_ACEOF
37504 /* end confdefs.h. */
37519 rm -f conftest.
$ac_objext
37520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37521 (eval $ac_compile) 2>conftest.er1
37523 grep -v '^ *+' conftest.er1
>conftest.err
37525 cat conftest.err
>&5
37526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37527 (exit $ac_status); } &&
37528 { ac_try
='test -z "$ac_c_werror_flag"
37529 || test ! -s conftest.err'
37530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37531 (eval $ac_try) 2>&5
37533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37534 (exit $ac_status); }; } &&
37535 { ac_try
='test -s conftest.$ac_objext'
37536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37537 (eval $ac_try) 2>&5
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); }; }; then
37542 wx_cv_var_timezone
=_timezone
37545 echo "$as_me: failed program was:" >&5
37546 sed 's/^/| /' conftest.
$ac_ext >&5
37549 cat >conftest.
$ac_ext <<_ACEOF
37552 cat confdefs.h
>>conftest.
$ac_ext
37553 cat >>conftest.
$ac_ext <<_ACEOF
37554 /* end confdefs.h. */
37569 rm -f conftest.
$ac_objext
37570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37571 (eval $ac_compile) 2>conftest.er1
37573 grep -v '^ *+' conftest.er1
>conftest.err
37575 cat conftest.err
>&5
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); } &&
37578 { ac_try
='test -z "$ac_c_werror_flag"
37579 || test ! -s conftest.err'
37580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37581 (eval $ac_try) 2>&5
37583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37584 (exit $ac_status); }; } &&
37585 { ac_try
='test -s conftest.$ac_objext'
37586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37587 (eval $ac_try) 2>&5
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); }; }; then
37592 wx_cv_var_timezone
=__timezone
37595 echo "$as_me: failed program was:" >&5
37596 sed 's/^/| /' conftest.
$ac_ext >&5
37599 if test "$USE_DOS" = 0 ; then
37600 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37601 echo "$as_me: WARNING: no timezone variable" >&2;}
37606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37618 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37619 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37621 if test "x$wx_cv_var_timezone" != x
; then
37622 cat >>confdefs.h
<<_ACEOF
37623 #define WX_TIMEZONE $wx_cv_var_timezone
37629 for ac_func
in localtime
37631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37632 echo "$as_me:$LINENO: checking for $ac_func" >&5
37633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37634 if eval "test \"\${$as_ac_var+set}\" = set"; then
37635 echo $ECHO_N "(cached) $ECHO_C" >&6
37637 cat >conftest.
$ac_ext <<_ACEOF
37640 cat confdefs.h
>>conftest.
$ac_ext
37641 cat >>conftest.
$ac_ext <<_ACEOF
37642 /* end confdefs.h. */
37643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37645 #define $ac_func innocuous_$ac_func
37647 /* System header to define __stub macros and hopefully few prototypes,
37648 which can conflict with char $ac_func (); below.
37649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37650 <limits.h> exists even on freestanding compilers. */
37653 # include <limits.h>
37655 # include <assert.h>
37660 /* Override any gcc2 internal prototype to avoid an error. */
37665 /* We use char because int might match the return type of a gcc2
37666 builtin and then its argument prototype would still apply. */
37668 /* The GNU C library defines this for functions which it implements
37669 to always fail with ENOSYS. Some functions are actually named
37670 something starting with __ and the normal name is an alias. */
37671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37674 char (*f) () = $ac_func;
37683 return f != $ac_func;
37688 rm -f conftest.
$ac_objext conftest
$ac_exeext
37689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37690 (eval $ac_link) 2>conftest.er1
37692 grep -v '^ *+' conftest.er1
>conftest.err
37694 cat conftest.err
>&5
37695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696 (exit $ac_status); } &&
37697 { ac_try
='test -z "$ac_c_werror_flag"
37698 || test ! -s conftest.err'
37699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37700 (eval $ac_try) 2>&5
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); }; } &&
37704 { ac_try
='test -s conftest$ac_exeext'
37705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37706 (eval $ac_try) 2>&5
37708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37709 (exit $ac_status); }; }; then
37710 eval "$as_ac_var=yes"
37712 echo "$as_me: failed program was:" >&5
37713 sed 's/^/| /' conftest.
$ac_ext >&5
37715 eval "$as_ac_var=no"
37717 rm -f conftest.err conftest.
$ac_objext \
37718 conftest
$ac_exeext conftest.
$ac_ext
37720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37722 if test `eval echo '${'$as_ac_var'}'` = yes; then
37723 cat >>confdefs.h
<<_ACEOF
37724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37731 if test "$ac_cv_func_localtime" = "yes"; then
37732 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37733 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37734 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37735 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 cat >conftest.
$ac_ext <<_ACEOF
37741 cat confdefs.h
>>conftest.
$ac_ext
37742 cat >>conftest.
$ac_ext <<_ACEOF
37743 /* end confdefs.h. */
37758 rm -f conftest.
$ac_objext
37759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37760 (eval $ac_compile) 2>conftest.er1
37762 grep -v '^ *+' conftest.er1
>conftest.err
37764 cat conftest.err
>&5
37765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37766 (exit $ac_status); } &&
37767 { ac_try
='test -z "$ac_c_werror_flag"
37768 || test ! -s conftest.err'
37769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37770 (eval $ac_try) 2>&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); }; } &&
37774 { ac_try
='test -s conftest.$ac_objext'
37775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37776 (eval $ac_try) 2>&5
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); }; }; then
37781 wx_cv_struct_tm_has_gmtoff
=yes
37784 echo "$as_me: failed program was:" >&5
37785 sed 's/^/| /' conftest.
$ac_ext >&5
37787 wx_cv_struct_tm_has_gmtoff
=no
37790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37793 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37794 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37797 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37798 cat >>confdefs.h
<<\_ACEOF
37799 #define WX_GMTOFF_IN_TM 1
37806 for ac_func
in gettimeofday ftime
37808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37809 echo "$as_me:$LINENO: checking for $ac_func" >&5
37810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37811 if eval "test \"\${$as_ac_var+set}\" = set"; then
37812 echo $ECHO_N "(cached) $ECHO_C" >&6
37814 cat >conftest.
$ac_ext <<_ACEOF
37817 cat confdefs.h
>>conftest.
$ac_ext
37818 cat >>conftest.
$ac_ext <<_ACEOF
37819 /* end confdefs.h. */
37820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37822 #define $ac_func innocuous_$ac_func
37824 /* System header to define __stub macros and hopefully few prototypes,
37825 which can conflict with char $ac_func (); below.
37826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37827 <limits.h> exists even on freestanding compilers. */
37830 # include <limits.h>
37832 # include <assert.h>
37837 /* Override any gcc2 internal prototype to avoid an error. */
37842 /* We use char because int might match the return type of a gcc2
37843 builtin and then its argument prototype would still apply. */
37845 /* The GNU C library defines this for functions which it implements
37846 to always fail with ENOSYS. Some functions are actually named
37847 something starting with __ and the normal name is an alias. */
37848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37851 char (*f) () = $ac_func;
37860 return f != $ac_func;
37865 rm -f conftest.
$ac_objext conftest
$ac_exeext
37866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37867 (eval $ac_link) 2>conftest.er1
37869 grep -v '^ *+' conftest.er1
>conftest.err
37871 cat conftest.err
>&5
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); } &&
37874 { ac_try
='test -z "$ac_c_werror_flag"
37875 || test ! -s conftest.err'
37876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37877 (eval $ac_try) 2>&5
37879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37880 (exit $ac_status); }; } &&
37881 { ac_try
='test -s conftest$ac_exeext'
37882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37883 (eval $ac_try) 2>&5
37885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37886 (exit $ac_status); }; }; then
37887 eval "$as_ac_var=yes"
37889 echo "$as_me: failed program was:" >&5
37890 sed 's/^/| /' conftest.
$ac_ext >&5
37892 eval "$as_ac_var=no"
37894 rm -f conftest.err conftest.
$ac_objext \
37895 conftest
$ac_exeext conftest.
$ac_ext
37897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37899 if test `eval echo '${'$as_ac_var'}'` = yes; then
37900 cat >>confdefs.h
<<_ACEOF
37901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37908 if test "$ac_cv_func_gettimeofday" = "yes"; then
37909 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37910 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37911 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37912 echo $ECHO_N "(cached) $ECHO_C" >&6
37918 ac_cpp
='$CXXCPP $CPPFLAGS'
37919 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37920 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37924 cat >conftest.
$ac_ext <<_ACEOF
37927 cat confdefs.h
>>conftest.
$ac_ext
37928 cat >>conftest.
$ac_ext <<_ACEOF
37929 /* end confdefs.h. */
37931 #include <sys/time.h>
37932 #include <unistd.h>
37939 gettimeofday(&tv, NULL);
37945 rm -f conftest.
$ac_objext
37946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37947 (eval $ac_compile) 2>conftest.er1
37949 grep -v '^ *+' conftest.er1
>conftest.err
37951 cat conftest.err
>&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } &&
37954 { ac_try
='test -z "$ac_cxx_werror_flag"
37955 || test ! -s conftest.err'
37956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37957 (eval $ac_try) 2>&5
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); }; } &&
37961 { ac_try
='test -s conftest.$ac_objext'
37962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37963 (eval $ac_try) 2>&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); }; }; then
37967 wx_cv_func_gettimeofday_has_2_args
=yes
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.
$ac_ext >&5
37972 cat >conftest.
$ac_ext <<_ACEOF
37975 cat confdefs.h
>>conftest.
$ac_ext
37976 cat >>conftest.
$ac_ext <<_ACEOF
37977 /* end confdefs.h. */
37979 #include <sys/time.h>
37980 #include <unistd.h>
37993 rm -f conftest.
$ac_objext
37994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37995 (eval $ac_compile) 2>conftest.er1
37997 grep -v '^ *+' conftest.er1
>conftest.err
37999 cat conftest.err
>&5
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); } &&
38002 { ac_try
='test -z "$ac_cxx_werror_flag"
38003 || test ! -s conftest.err'
38004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38005 (eval $ac_try) 2>&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); }; } &&
38009 { ac_try
='test -s conftest.$ac_objext'
38010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38011 (eval $ac_try) 2>&5
38013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38014 (exit $ac_status); }; }; then
38015 wx_cv_func_gettimeofday_has_2_args
=no
38017 echo "$as_me: failed program was:" >&5
38018 sed 's/^/| /' conftest.
$ac_ext >&5
38021 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38022 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38023 wx_cv_func_gettimeofday_has_2_args
=unknown
38027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38032 ac_cpp
='$CPP $CPPFLAGS'
38033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38039 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38040 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38042 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38043 cat >>confdefs.h
<<\_ACEOF
38044 #define WX_GETTIMEOFDAY_NO_TZ 1
38050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
38054 if test "$wxUSE_SOCKETS" = "yes"; then
38055 if test "$wxUSE_MGL" = "1"; then
38056 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38057 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38062 if test "$wxUSE_SOCKETS" = "yes"; then
38063 if test "$TOOLKIT" != "MSW"; then
38064 echo "$as_me:$LINENO: checking for socket" >&5
38065 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38066 if test "${ac_cv_func_socket+set}" = set; then
38067 echo $ECHO_N "(cached) $ECHO_C" >&6
38069 cat >conftest.
$ac_ext <<_ACEOF
38072 cat confdefs.h
>>conftest.
$ac_ext
38073 cat >>conftest.
$ac_ext <<_ACEOF
38074 /* end confdefs.h. */
38075 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38077 #define socket innocuous_socket
38079 /* System header to define __stub macros and hopefully few prototypes,
38080 which can conflict with char socket (); below.
38081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38082 <limits.h> exists even on freestanding compilers. */
38085 # include <limits.h>
38087 # include <assert.h>
38092 /* Override any gcc2 internal prototype to avoid an error. */
38097 /* We use char because int might match the return type of a gcc2
38098 builtin and then its argument prototype would still apply. */
38100 /* The GNU C library defines this for functions which it implements
38101 to always fail with ENOSYS. Some functions are actually named
38102 something starting with __ and the normal name is an alias. */
38103 #if defined (__stub_socket) || defined (__stub___socket)
38106 char (*f) () = socket;
38115 return f != socket;
38120 rm -f conftest.
$ac_objext conftest
$ac_exeext
38121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38122 (eval $ac_link) 2>conftest.er1
38124 grep -v '^ *+' conftest.er1
>conftest.err
38126 cat conftest.err
>&5
38127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38128 (exit $ac_status); } &&
38129 { ac_try
='test -z "$ac_c_werror_flag"
38130 || test ! -s conftest.err'
38131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132 (eval $ac_try) 2>&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); }; } &&
38136 { ac_try
='test -s conftest$ac_exeext'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; }; then
38142 ac_cv_func_socket
=yes
38144 echo "$as_me: failed program was:" >&5
38145 sed 's/^/| /' conftest.
$ac_ext >&5
38147 ac_cv_func_socket
=no
38149 rm -f conftest.err conftest.
$ac_objext \
38150 conftest
$ac_exeext conftest.
$ac_ext
38152 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38153 echo "${ECHO_T}$ac_cv_func_socket" >&6
38154 if test $ac_cv_func_socket = yes; then
38158 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38159 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38160 if test "${ac_cv_lib_socket_socket+set}" = set; then
38161 echo $ECHO_N "(cached) $ECHO_C" >&6
38163 ac_check_lib_save_LIBS
=$LIBS
38164 LIBS
="-lsocket $LIBS"
38165 cat >conftest.
$ac_ext <<_ACEOF
38168 cat confdefs.h
>>conftest.
$ac_ext
38169 cat >>conftest.
$ac_ext <<_ACEOF
38170 /* end confdefs.h. */
38172 /* Override any gcc2 internal prototype to avoid an error. */
38176 /* We use char because int might match the return type of a gcc2
38177 builtin and then its argument prototype would still apply. */
38187 rm -f conftest.
$ac_objext conftest
$ac_exeext
38188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38189 (eval $ac_link) 2>conftest.er1
38191 grep -v '^ *+' conftest.er1
>conftest.err
38193 cat conftest.err
>&5
38194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195 (exit $ac_status); } &&
38196 { ac_try
='test -z "$ac_c_werror_flag"
38197 || test ! -s conftest.err'
38198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38199 (eval $ac_try) 2>&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); }; } &&
38203 { ac_try
='test -s conftest$ac_exeext'
38204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38205 (eval $ac_try) 2>&5
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); }; }; then
38209 ac_cv_lib_socket_socket
=yes
38211 echo "$as_me: failed program was:" >&5
38212 sed 's/^/| /' conftest.
$ac_ext >&5
38214 ac_cv_lib_socket_socket
=no
38216 rm -f conftest.err conftest.
$ac_objext \
38217 conftest
$ac_exeext conftest.
$ac_ext
38218 LIBS
=$ac_check_lib_save_LIBS
38220 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38221 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38222 if test $ac_cv_lib_socket_socket = yes; then
38223 if test "$INET_LINK" != " -lsocket"; then
38224 INET_LINK
="$INET_LINK -lsocket"
38228 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38229 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38242 if test "$wxUSE_SOCKETS" = "yes" ; then
38243 if test "$TOOLKIT" != "MSW"; then
38245 ac_cpp
='$CXXCPP $CPPFLAGS'
38246 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38247 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38248 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38250 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38251 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38252 if test "${wx_cv_type_getsockname3+set}" = set; then
38253 echo $ECHO_N "(cached) $ECHO_C" >&6
38256 cat >conftest.
$ac_ext <<_ACEOF
38259 cat confdefs.h
>>conftest.
$ac_ext
38260 cat >>conftest.
$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38263 #include <sys/types.h>
38264 #include <sys/socket.h>
38271 getsockname(0, 0, &len);
38277 rm -f conftest.
$ac_objext
38278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38279 (eval $ac_compile) 2>conftest.er1
38281 grep -v '^ *+' conftest.er1
>conftest.err
38283 cat conftest.err
>&5
38284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38285 (exit $ac_status); } &&
38286 { ac_try
='test -z "$ac_cxx_werror_flag"
38287 || test ! -s conftest.err'
38288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38289 (eval $ac_try) 2>&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); }; } &&
38293 { ac_try
='test -s conftest.$ac_objext'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; }; then
38299 wx_cv_type_getsockname3
=socklen_t
38301 echo "$as_me: failed program was:" >&5
38302 sed 's/^/| /' conftest.
$ac_ext >&5
38305 CFLAGS_OLD
="$CFLAGS"
38306 if test "$GCC" = yes ; then
38307 CFLAGS
="$CFLAGS -Werror"
38310 cat >conftest.
$ac_ext <<_ACEOF
38313 cat confdefs.h
>>conftest.
$ac_ext
38314 cat >>conftest.
$ac_ext <<_ACEOF
38315 /* end confdefs.h. */
38317 #include <sys/types.h>
38318 #include <sys/socket.h>
38325 getsockname(0, 0, &len);
38331 rm -f conftest.
$ac_objext
38332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38333 (eval $ac_compile) 2>conftest.er1
38335 grep -v '^ *+' conftest.er1
>conftest.err
38337 cat conftest.err
>&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } &&
38340 { ac_try
='test -z "$ac_cxx_werror_flag"
38341 || test ! -s conftest.err'
38342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343 (eval $ac_try) 2>&5
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); }; } &&
38347 { ac_try
='test -s conftest.$ac_objext'
38348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38349 (eval $ac_try) 2>&5
38351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352 (exit $ac_status); }; }; then
38353 wx_cv_type_getsockname3
=size_t
38355 echo "$as_me: failed program was:" >&5
38356 sed 's/^/| /' conftest.
$ac_ext >&5
38358 cat >conftest.
$ac_ext <<_ACEOF
38361 cat confdefs.h
>>conftest.
$ac_ext
38362 cat >>conftest.
$ac_ext <<_ACEOF
38363 /* end confdefs.h. */
38365 #include <sys/types.h>
38366 #include <sys/socket.h>
38373 getsockname(0, 0, &len);
38379 rm -f conftest.
$ac_objext
38380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38381 (eval $ac_compile) 2>conftest.er1
38383 grep -v '^ *+' conftest.er1
>conftest.err
38385 cat conftest.err
>&5
38386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38387 (exit $ac_status); } &&
38388 { ac_try
='test -z "$ac_cxx_werror_flag"
38389 || test ! -s conftest.err'
38390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38391 (eval $ac_try) 2>&5
38393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38394 (exit $ac_status); }; } &&
38395 { ac_try
='test -s conftest.$ac_objext'
38396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38397 (eval $ac_try) 2>&5
38399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38400 (exit $ac_status); }; }; then
38401 wx_cv_type_getsockname3
=int
38403 echo "$as_me: failed program was:" >&5
38404 sed 's/^/| /' conftest.
$ac_ext >&5
38406 wx_cv_type_getsockname3
=unknown
38409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38414 CFLAGS
="$CFLAGS_OLD"
38418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38421 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38422 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38424 if test "$wx_cv_type_getsockname3" = "unknown"; then
38426 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38427 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38429 cat >>confdefs.h
<<_ACEOF
38430 #define SOCKLEN_T $wx_cv_type_getsockname3
38434 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38435 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38436 if test "${wx_cv_type_getsockopt5+set}" = set; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38440 cat >conftest.
$ac_ext <<_ACEOF
38443 cat confdefs.h
>>conftest.
$ac_ext
38444 cat >>conftest.
$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38447 #include <sys/types.h>
38448 #include <sys/socket.h>
38455 getsockopt(0, 0, 0, 0, &len);
38461 rm -f conftest.
$ac_objext
38462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38463 (eval $ac_compile) 2>conftest.er1
38465 grep -v '^ *+' conftest.er1
>conftest.err
38467 cat conftest.err
>&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); } &&
38470 { ac_try
='test -z "$ac_cxx_werror_flag"
38471 || test ! -s conftest.err'
38472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38473 (eval $ac_try) 2>&5
38475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38476 (exit $ac_status); }; } &&
38477 { ac_try
='test -s conftest.$ac_objext'
38478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38479 (eval $ac_try) 2>&5
38481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38482 (exit $ac_status); }; }; then
38483 wx_cv_type_getsockopt5
=socklen_t
38485 echo "$as_me: failed program was:" >&5
38486 sed 's/^/| /' conftest.
$ac_ext >&5
38489 CFLAGS_OLD
="$CFLAGS"
38490 if test "$GCC" = yes ; then
38491 CFLAGS
="$CFLAGS -Werror"
38494 cat >conftest.
$ac_ext <<_ACEOF
38497 cat confdefs.h
>>conftest.
$ac_ext
38498 cat >>conftest.
$ac_ext <<_ACEOF
38499 /* end confdefs.h. */
38501 #include <sys/types.h>
38502 #include <sys/socket.h>
38509 getsockopt(0, 0, 0, 0, &len);
38515 rm -f conftest.
$ac_objext
38516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38517 (eval $ac_compile) 2>conftest.er1
38519 grep -v '^ *+' conftest.er1
>conftest.err
38521 cat conftest.err
>&5
38522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38523 (exit $ac_status); } &&
38524 { ac_try
='test -z "$ac_cxx_werror_flag"
38525 || test ! -s conftest.err'
38526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38527 (eval $ac_try) 2>&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); }; } &&
38531 { ac_try
='test -s conftest.$ac_objext'
38532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38533 (eval $ac_try) 2>&5
38535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38536 (exit $ac_status); }; }; then
38537 wx_cv_type_getsockopt5
=size_t
38539 echo "$as_me: failed program was:" >&5
38540 sed 's/^/| /' conftest.
$ac_ext >&5
38542 cat >conftest.
$ac_ext <<_ACEOF
38545 cat confdefs.h
>>conftest.
$ac_ext
38546 cat >>conftest.
$ac_ext <<_ACEOF
38547 /* end confdefs.h. */
38549 #include <sys/types.h>
38550 #include <sys/socket.h>
38557 getsockopt(0, 0, 0, 0, &len);
38563 rm -f conftest.
$ac_objext
38564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38565 (eval $ac_compile) 2>conftest.er1
38567 grep -v '^ *+' conftest.er1
>conftest.err
38569 cat conftest.err
>&5
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); } &&
38572 { ac_try
='test -z "$ac_cxx_werror_flag"
38573 || test ! -s conftest.err'
38574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38575 (eval $ac_try) 2>&5
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); }; } &&
38579 { ac_try
='test -s conftest.$ac_objext'
38580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38581 (eval $ac_try) 2>&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); }; }; then
38585 wx_cv_type_getsockopt5
=int
38587 echo "$as_me: failed program was:" >&5
38588 sed 's/^/| /' conftest.
$ac_ext >&5
38590 wx_cv_type_getsockopt5
=unknown
38593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38598 CFLAGS
="$CFLAGS_OLD"
38602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38605 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38606 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38608 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38610 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38611 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38613 cat >>confdefs.h
<<_ACEOF
38614 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38619 ac_cpp
='$CPP $CPPFLAGS'
38620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38627 if test "$wxUSE_SOCKETS" = "yes" ; then
38628 cat >>confdefs.h
<<\_ACEOF
38629 #define wxUSE_SOCKETS 1
38632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
38635 if test "$wxUSE_PROTOCOL" = "yes"; then
38636 if test "$wxUSE_SOCKETS" != "yes"; then
38637 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38638 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38643 if test "$wxUSE_PROTOCOL" = "yes"; then
38644 cat >>confdefs.h
<<\_ACEOF
38645 #define wxUSE_PROTOCOL 1
38649 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38650 cat >>confdefs.h
<<\_ACEOF
38651 #define wxUSE_PROTOCOL_HTTP 1
38655 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38656 cat >>confdefs.h
<<\_ACEOF
38657 #define wxUSE_PROTOCOL_FTP 1
38661 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38662 cat >>confdefs.h
<<\_ACEOF
38663 #define wxUSE_PROTOCOL_FILE 1
38668 if test "$wxUSE_FS_INET" = "yes"; then
38669 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38670 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38675 if test "$wxUSE_URL" = "yes"; then
38676 if test "$wxUSE_PROTOCOL" != "yes"; then
38677 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38678 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38681 if test "$wxUSE_URL" = "yes"; then
38682 cat >>confdefs.h
<<\_ACEOF
38683 #define wxUSE_URL 1
38689 if test "$wxUSE_FS_INET" = "yes"; then
38690 cat >>confdefs.h
<<\_ACEOF
38691 #define wxUSE_FS_INET 1
38697 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
38700 if test "$TOOLKIT" = "MSW"; then
38703 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
38704 if test "$USE_DARWIN" = 1; then
38705 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
38706 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
38708 ac_cpp
='$CXXCPP $CPPFLAGS'
38709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38713 cat >conftest.
$ac_ext <<_ACEOF
38716 cat confdefs.h
>>conftest.
$ac_ext
38717 cat >>conftest.
$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38719 #include <IOKit/hid/IOHIDLib.h>
38723 IOHIDQueueInterface *qi = NULL;
38724 IOHIDCallbackFunction cb = NULL;
38725 qi->setEventCallout(NULL, cb, NULL, NULL);
38730 rm -f conftest.
$ac_objext
38731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38732 (eval $ac_compile) 2>conftest.er1
38734 grep -v '^ *+' conftest.er1
>conftest.err
38736 cat conftest.err
>&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); } &&
38739 { ac_try
='test -z "$ac_cxx_werror_flag"
38740 || test ! -s conftest.err'
38741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38742 (eval $ac_try) 2>&5
38744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38745 (exit $ac_status); }; } &&
38746 { ac_try
='test -s conftest.$ac_objext'
38747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38748 (eval $ac_try) 2>&5
38750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38751 (exit $ac_status); }; }; then
38755 echo "$as_me: failed program was:" >&5
38756 sed 's/^/| /' conftest.
$ac_ext >&5
38759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38761 ac_cpp
='$CPP $CPPFLAGS'
38762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38766 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
38767 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
38772 for ac_header
in linux
/joystick.h
38774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38776 echo "$as_me:$LINENO: checking for $ac_header" >&5
38777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38779 echo $ECHO_N "(cached) $ECHO_C" >&6
38781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38784 # Is the header compilable?
38785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38787 cat >conftest.
$ac_ext <<_ACEOF
38790 cat confdefs.h
>>conftest.
$ac_ext
38791 cat >>conftest.
$ac_ext <<_ACEOF
38792 /* end confdefs.h. */
38793 $ac_includes_default
38794 #include <$ac_header>
38796 rm -f conftest.
$ac_objext
38797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38798 (eval $ac_compile) 2>conftest.er1
38800 grep -v '^ *+' conftest.er1
>conftest.err
38802 cat conftest.err
>&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } &&
38805 { ac_try
='test -z "$ac_c_werror_flag"
38806 || test ! -s conftest.err'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; } &&
38812 { ac_try
='test -s conftest.$ac_objext'
38813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38814 (eval $ac_try) 2>&5
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); }; }; then
38818 ac_header_compiler
=yes
38820 echo "$as_me: failed program was:" >&5
38821 sed 's/^/| /' conftest.
$ac_ext >&5
38823 ac_header_compiler
=no
38825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38827 echo "${ECHO_T}$ac_header_compiler" >&6
38829 # Is the header present?
38830 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38831 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38832 cat >conftest.
$ac_ext <<_ACEOF
38835 cat confdefs.h
>>conftest.
$ac_ext
38836 cat >>conftest.
$ac_ext <<_ACEOF
38837 /* end confdefs.h. */
38838 #include <$ac_header>
38840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38843 grep -v '^ *+' conftest.er1
>conftest.err
38845 cat conftest.err
>&5
38846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38847 (exit $ac_status); } >/dev
/null
; then
38848 if test -s conftest.err
; then
38849 ac_cpp_err
=$ac_c_preproc_warn_flag
38850 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38857 if test -z "$ac_cpp_err"; then
38858 ac_header_preproc
=yes
38860 echo "$as_me: failed program was:" >&5
38861 sed 's/^/| /' conftest.
$ac_ext >&5
38863 ac_header_preproc
=no
38865 rm -f conftest.err conftest.
$ac_ext
38866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38867 echo "${ECHO_T}$ac_header_preproc" >&6
38869 # So? What about this header?
38870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38872 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38873 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38875 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38876 ac_header_preproc
=yes
38879 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38880 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38881 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38882 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38883 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38884 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38885 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38886 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38889 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38890 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38893 ## ----------------------------------------- ##
38894 ## Report this to wx-dev@lists.wxwidgets.org ##
38895 ## ----------------------------------------- ##
38898 sed "s/^/$as_me: WARNING: /" >&2
38901 echo "$as_me:$LINENO: checking for $ac_header" >&5
38902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38904 echo $ECHO_N "(cached) $ECHO_C" >&6
38906 eval "$as_ac_Header=\$ac_header_preproc"
38908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38913 cat >>confdefs.h
<<_ACEOF
38914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38923 if test "$wxUSE_JOYSTICK" = "yes"; then
38924 cat >>confdefs.h
<<\_ACEOF
38925 #define wxUSE_JOYSTICK 1
38928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38930 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38931 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38937 if test "$wxUSE_FONTMAP" = "yes" ; then
38938 cat >>confdefs.h
<<\_ACEOF
38939 #define wxUSE_FONTMAP 1
38944 if test "$wxUSE_UNICODE" = "yes" ; then
38945 cat >>confdefs.h
<<\_ACEOF
38946 #define wxUSE_UNICODE 1
38950 if test "$USE_WIN32" != 1; then
38951 wxUSE_UNICODE_MSLU
=no
38954 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38955 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38956 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38957 if test "${ac_cv_lib_unicows_main+set}" = set; then
38958 echo $ECHO_N "(cached) $ECHO_C" >&6
38960 ac_check_lib_save_LIBS
=$LIBS
38961 LIBS
="-lunicows $LIBS"
38962 cat >conftest.
$ac_ext <<_ACEOF
38965 cat confdefs.h
>>conftest.
$ac_ext
38966 cat >>conftest.
$ac_ext <<_ACEOF
38967 /* end confdefs.h. */
38978 rm -f conftest.
$ac_objext conftest
$ac_exeext
38979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38980 (eval $ac_link) 2>conftest.er1
38982 grep -v '^ *+' conftest.er1
>conftest.err
38984 cat conftest.err
>&5
38985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38986 (exit $ac_status); } &&
38987 { ac_try
='test -z "$ac_c_werror_flag"
38988 || test ! -s conftest.err'
38989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38990 (eval $ac_try) 2>&5
38992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993 (exit $ac_status); }; } &&
38994 { ac_try
='test -s conftest$ac_exeext'
38995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38996 (eval $ac_try) 2>&5
38998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38999 (exit $ac_status); }; }; then
39000 ac_cv_lib_unicows_main
=yes
39002 echo "$as_me: failed program was:" >&5
39003 sed 's/^/| /' conftest.
$ac_ext >&5
39005 ac_cv_lib_unicows_main
=no
39007 rm -f conftest.err conftest.
$ac_objext \
39008 conftest
$ac_exeext conftest.
$ac_ext
39009 LIBS
=$ac_check_lib_save_LIBS
39011 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39012 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39013 if test $ac_cv_lib_unicows_main = yes; then
39015 cat >>confdefs.h
<<\_ACEOF
39016 #define wxUSE_UNICODE_MSLU 1
39022 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39023 Applications will only run on Windows NT/2000/XP!" >&5
39024 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39025 Applications will only run on Windows NT/2000/XP!" >&2;}
39026 wxUSE_UNICODE_MSLU
=no
39033 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39034 cat >>confdefs.h
<<\_ACEOF
39035 #define wxUSE_EXPERIMENTAL_PRINTF 1
39041 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39042 cat >>confdefs.h
<<\_ACEOF
39043 #define wxUSE_POSTSCRIPT 1
39048 cat >>confdefs.h
<<\_ACEOF
39049 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39053 cat >>confdefs.h
<<\_ACEOF
39054 #define wxUSE_NORMALIZED_PS_FONTS 1
39059 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39060 cat >>confdefs.h
<<\_ACEOF
39061 #define wxUSE_CONSTRAINTS 1
39064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
39067 if test "$wxUSE_MDI" = "yes"; then
39068 cat >>confdefs.h
<<\_ACEOF
39069 #define wxUSE_MDI 1
39073 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39074 cat >>confdefs.h
<<\_ACEOF
39075 #define wxUSE_MDI_ARCHITECTURE 1
39078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
39082 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39083 cat >>confdefs.h
<<\_ACEOF
39084 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
39088 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
39093 if test "$wxUSE_HELP" = "yes"; then
39094 cat >>confdefs.h
<<\_ACEOF
39095 #define wxUSE_HELP 1
39098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
39100 if test "$wxUSE_MSW" = 1; then
39101 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39102 cat >>confdefs.h
<<\_ACEOF
39103 #define wxUSE_MS_HTML_HELP 1
39109 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39110 if test "$wxUSE_HTML" = "yes"; then
39111 cat >>confdefs.h
<<\_ACEOF
39112 #define wxUSE_WXHTML_HELP 1
39116 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39117 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39118 wxUSE_WXHTML_HELP
=no
39123 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39124 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39125 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39126 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39128 cat >>confdefs.h
<<\_ACEOF
39129 #define wxUSE_PRINTING_ARCHITECTURE 1
39133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
39136 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39137 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39138 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39139 { (exit 1); exit 1; }; }
39143 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
39144 -o "$wxUSE_CLIPBOARD" = "yes" \
39145 -o "$wxUSE_OLE" = "yes" \
39146 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
39148 for ac_header
in ole2.h
39150 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39152 echo "$as_me:$LINENO: checking for $ac_header" >&5
39153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39155 echo $ECHO_N "(cached) $ECHO_C" >&6
39157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39160 # Is the header compilable?
39161 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39163 cat >conftest.
$ac_ext <<_ACEOF
39166 cat confdefs.h
>>conftest.
$ac_ext
39167 cat >>conftest.
$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39169 $ac_includes_default
39170 #include <$ac_header>
39172 rm -f conftest.
$ac_objext
39173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39174 (eval $ac_compile) 2>conftest.er1
39176 grep -v '^ *+' conftest.er1
>conftest.err
39178 cat conftest.err
>&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); } &&
39181 { ac_try
='test -z "$ac_c_werror_flag"
39182 || test ! -s conftest.err'
39183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39184 (eval $ac_try) 2>&5
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); }; } &&
39188 { ac_try
='test -s conftest.$ac_objext'
39189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39190 (eval $ac_try) 2>&5
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); }; }; then
39194 ac_header_compiler
=yes
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.
$ac_ext >&5
39199 ac_header_compiler
=no
39201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39203 echo "${ECHO_T}$ac_header_compiler" >&6
39205 # Is the header present?
39206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39208 cat >conftest.
$ac_ext <<_ACEOF
39211 cat confdefs.h
>>conftest.
$ac_ext
39212 cat >>conftest.
$ac_ext <<_ACEOF
39213 /* end confdefs.h. */
39214 #include <$ac_header>
39216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39217 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39219 grep -v '^ *+' conftest.er1
>conftest.err
39221 cat conftest.err
>&5
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); } >/dev
/null
; then
39224 if test -s conftest.err
; then
39225 ac_cpp_err
=$ac_c_preproc_warn_flag
39226 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39233 if test -z "$ac_cpp_err"; then
39234 ac_header_preproc
=yes
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.
$ac_ext >&5
39239 ac_header_preproc
=no
39241 rm -f conftest.err conftest.
$ac_ext
39242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39243 echo "${ECHO_T}$ac_header_preproc" >&6
39245 # So? What about this header?
39246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39252 ac_header_preproc
=yes
39255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39259 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39261 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39262 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39265 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39269 ## ----------------------------------------- ##
39270 ## Report this to wx-dev@lists.wxwidgets.org ##
39271 ## ----------------------------------------- ##
39274 sed "s/^/$as_me: WARNING: /" >&2
39277 echo "$as_me:$LINENO: checking for $ac_header" >&5
39278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39280 echo $ECHO_N "(cached) $ECHO_C" >&6
39282 eval "$as_ac_Header=\$ac_header_preproc"
39284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39289 cat >>confdefs.h
<<_ACEOF
39290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39298 if test "$ac_cv_header_ole2_h" = "yes" ; then
39299 if test "$GCC" = yes ; then
39303 ac_cpp
='$CXXCPP $CPPFLAGS'
39304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39309 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39310 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39311 cat >conftest.
$ac_ext <<_ACEOF
39314 cat confdefs.h
>>conftest.
$ac_ext
39315 cat >>conftest.
$ac_ext <<_ACEOF
39316 /* end confdefs.h. */
39317 #include <windows.h>
39327 rm -f conftest.
$ac_objext
39328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39329 (eval $ac_compile) 2>conftest.er1
39331 grep -v '^ *+' conftest.er1
>conftest.err
39333 cat conftest.err
>&5
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); } &&
39336 { ac_try
='test -z "$ac_cxx_werror_flag"
39337 || test ! -s conftest.err'
39338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39339 (eval $ac_try) 2>&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; } &&
39343 { ac_try
='test -s conftest.$ac_objext'
39344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39345 (eval $ac_try) 2>&5
39347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348 (exit $ac_status); }; }; then
39349 echo "$as_me:$LINENO: result: no" >&5
39350 echo "${ECHO_T}no" >&6
39352 echo "$as_me: failed program was:" >&5
39353 sed 's/^/| /' conftest.
$ac_ext >&5
39355 echo "$as_me:$LINENO: result: yes" >&5
39356 echo "${ECHO_T}yes" >&6
39357 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39361 ac_cpp
='$CPP $CPPFLAGS'
39362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39366 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39367 if test "$wxUSE_OLE" = "yes" ; then
39368 cat >>confdefs.h
<<\_ACEOF
39369 #define wxUSE_OLE 1
39372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
39376 if test "$wxUSE_DATAOBJ" = "yes" ; then
39377 cat >>confdefs.h
<<\_ACEOF
39378 #define wxUSE_DATAOBJ 1
39383 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39384 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39387 wxUSE_DRAG_AND_DROP
=no
39392 if test "$wxUSE_METAFILE" = "yes"; then
39393 cat >>confdefs.h
<<\_ACEOF
39394 #define wxUSE_METAFILE 1
39398 cat >>confdefs.h
<<\_ACEOF
39399 #define wxUSE_ENH_METAFILE 1
39405 if test "$wxUSE_IPC" = "yes"; then
39406 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39407 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39408 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39412 if test "$wxUSE_IPC" = "yes"; then
39413 cat >>confdefs.h
<<\_ACEOF
39414 #define wxUSE_IPC 1
39417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
39421 if test "$wxUSE_CLIPBOARD" = "yes"; then
39422 if test "$wxUSE_MGL" = 1; then
39423 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39424 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39428 if test "$wxUSE_CLIPBOARD" = "yes"; then
39429 cat >>confdefs.h
<<\_ACEOF
39430 #define wxUSE_CLIPBOARD 1
39434 cat >>confdefs.h
<<\_ACEOF
39435 #define wxUSE_DATAOBJ 1
39441 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39442 if test "$wxUSE_GTK" = 1; then
39443 if test "$WXGTK12" != 1; then
39444 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39445 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39446 wxUSE_DRAG_AND_DROP
=no
39450 if test "$wxUSE_MOTIF" = 1; then
39451 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39452 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39453 wxUSE_DRAG_AND_DROP
=no
39456 if test "$wxUSE_X11" = 1; then
39457 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39458 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39459 wxUSE_DRAG_AND_DROP
=no
39462 if test "$wxUSE_MGL" = 1; then
39463 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39464 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39465 wxUSE_DRAG_AND_DROP
=no
39468 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39469 cat >>confdefs.h
<<\_ACEOF
39470 #define wxUSE_DRAG_AND_DROP 1
39477 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
39481 if test "$wxUSE_SPLINES" = "yes" ; then
39482 cat >>confdefs.h
<<\_ACEOF
39483 #define wxUSE_SPLINES 1
39488 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39489 cat >>confdefs.h
<<\_ACEOF
39490 #define wxUSE_MOUSEWHEEL 1
39497 if test "$wxUSE_CONTROLS" = "yes"; then
39501 if test "$wxUSE_ACCEL" = "yes"; then
39502 cat >>confdefs.h
<<\_ACEOF
39503 #define wxUSE_ACCEL 1
39509 if test "$wxUSE_BUTTON" = "yes"; then
39510 cat >>confdefs.h
<<\_ACEOF
39511 #define wxUSE_BUTTON 1
39517 if test "$wxUSE_BMPBUTTON" = "yes"; then
39518 cat >>confdefs.h
<<\_ACEOF
39519 #define wxUSE_BMPBUTTON 1
39525 if test "$wxUSE_CALCTRL" = "yes"; then
39526 cat >>confdefs.h
<<\_ACEOF
39527 #define wxUSE_CALENDARCTRL 1
39531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
39534 if test "$wxUSE_CARET" = "yes"; then
39535 cat >>confdefs.h
<<\_ACEOF
39536 #define wxUSE_CARET 1
39540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39543 if test "$wxUSE_COMBOBOX" = "yes"; then
39544 cat >>confdefs.h
<<\_ACEOF
39545 #define wxUSE_COMBOBOX 1
39551 if test "$wxUSE_CHOICE" = "yes"; then
39552 cat >>confdefs.h
<<\_ACEOF
39553 #define wxUSE_CHOICE 1
39559 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39560 cat >>confdefs.h
<<\_ACEOF
39561 #define wxUSE_CHOICEBOOK 1
39567 if test "$wxUSE_CHECKBOX" = "yes"; then
39568 cat >>confdefs.h
<<\_ACEOF
39569 #define wxUSE_CHECKBOX 1
39575 if test "$wxUSE_CHECKLST" = "yes"; then
39576 cat >>confdefs.h
<<\_ACEOF
39577 #define wxUSE_CHECKLISTBOX 1
39581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
39584 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39585 cat >>confdefs.h
<<\_ACEOF
39586 #define wxUSE_DATEPICKCTRL 1
39592 if test "$wxUSE_DISPLAY" = "yes"; then
39593 cat >>confdefs.h
<<\_ACEOF
39594 #define wxUSE_DISPLAY 1
39597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39600 if test "$wxUSE_GAUGE" = "yes"; then
39601 cat >>confdefs.h
<<\_ACEOF
39602 #define wxUSE_GAUGE 1
39608 if test "$wxUSE_GRID" = "yes"; then
39609 cat >>confdefs.h
<<\_ACEOF
39610 #define wxUSE_GRID 1
39614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
39617 if test "$wxUSE_IMAGLIST" = "yes"; then
39618 cat >>confdefs.h
<<\_ACEOF
39619 #define wxUSE_IMAGLIST 1
39624 if test "$wxUSE_LISTBOOK" = "yes"; then
39625 cat >>confdefs.h
<<\_ACEOF
39626 #define wxUSE_LISTBOOK 1
39632 if test "$wxUSE_LISTBOX" = "yes"; then
39633 cat >>confdefs.h
<<\_ACEOF
39634 #define wxUSE_LISTBOX 1
39638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
39641 if test "$wxUSE_LISTCTRL" = "yes"; then
39642 if test "$wxUSE_IMAGLIST" = "yes"; then
39643 cat >>confdefs.h
<<\_ACEOF
39644 #define wxUSE_LISTCTRL 1
39648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
39650 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39651 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39655 if test "$wxUSE_NOTEBOOK" = "yes"; then
39656 cat >>confdefs.h
<<\_ACEOF
39657 #define wxUSE_NOTEBOOK 1
39661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
39665 if test "$wxUSE_RADIOBOX" = "yes"; then
39666 cat >>confdefs.h
<<\_ACEOF
39667 #define wxUSE_RADIOBOX 1
39673 if test "$wxUSE_RADIOBTN" = "yes"; then
39674 cat >>confdefs.h
<<\_ACEOF
39675 #define wxUSE_RADIOBTN 1
39681 if test "$wxUSE_SASH" = "yes"; then
39682 cat >>confdefs.h
<<\_ACEOF
39683 #define wxUSE_SASH 1
39686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
39689 if test "$wxUSE_SCROLLBAR" = "yes"; then
39690 cat >>confdefs.h
<<\_ACEOF
39691 #define wxUSE_SCROLLBAR 1
39695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
39698 if test "$wxUSE_SLIDER" = "yes"; then
39699 cat >>confdefs.h
<<\_ACEOF
39700 #define wxUSE_SLIDER 1
39706 if test "$wxUSE_SPINBTN" = "yes"; then
39707 cat >>confdefs.h
<<\_ACEOF
39708 #define wxUSE_SPINBTN 1
39714 if test "$wxUSE_SPINCTRL" = "yes"; then
39715 cat >>confdefs.h
<<\_ACEOF
39716 #define wxUSE_SPINCTRL 1
39722 if test "$wxUSE_SPLITTER" = "yes"; then
39723 cat >>confdefs.h
<<\_ACEOF
39724 #define wxUSE_SPLITTER 1
39727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
39730 if test "$wxUSE_STATBMP" = "yes"; then
39731 cat >>confdefs.h
<<\_ACEOF
39732 #define wxUSE_STATBMP 1
39738 if test "$wxUSE_STATBOX" = "yes"; then
39739 cat >>confdefs.h
<<\_ACEOF
39740 #define wxUSE_STATBOX 1
39746 if test "$wxUSE_STATTEXT" = "yes"; then
39747 cat >>confdefs.h
<<\_ACEOF
39748 #define wxUSE_STATTEXT 1
39754 if test "$wxUSE_STATLINE" = "yes"; then
39755 cat >>confdefs.h
<<\_ACEOF
39756 #define wxUSE_STATLINE 1
39762 if test "$wxUSE_STATUSBAR" = "yes"; then
39763 cat >>confdefs.h
<<\_ACEOF
39764 #define wxUSE_NATIVE_STATUSBAR 1
39767 cat >>confdefs.h
<<\_ACEOF
39768 #define wxUSE_STATUSBAR 1
39773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
39776 if test "$wxUSE_TABDIALOG" = "yes"; then
39777 cat >>confdefs.h
<<\_ACEOF
39778 #define wxUSE_TAB_DIALOG 1
39783 if test "$wxUSE_TEXTCTRL" = "yes"; then
39784 cat >>confdefs.h
<<\_ACEOF
39785 #define wxUSE_TEXTCTRL 1
39789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
39792 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39793 if test "$wxUSE_COCOA" = 1 ; then
39794 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39795 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39798 if test "$wxUSE_UNIVERSAL" = "yes"; then
39799 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39800 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39804 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39805 cat >>confdefs.h
<<\_ACEOF
39806 #define wxUSE_TOGGLEBTN 1
39813 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39814 cat >>confdefs.h
<<\_ACEOF
39815 #define wxUSE_TOOLBAR_SIMPLE 1
39818 wxUSE_TOOLBAR
="yes"
39822 if test "$wxUSE_TOOLBAR" = "yes"; then
39823 cat >>confdefs.h
<<\_ACEOF
39824 #define wxUSE_TOOLBAR 1
39829 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39830 wxUSE_TOOLBAR_NATIVE
="yes"
39833 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39834 cat >>confdefs.h
<<\_ACEOF
39835 #define wxUSE_TOOLBAR_NATIVE 1
39841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39844 if test "$wxUSE_TOOLTIPS" = "yes"; then
39845 if test "$wxUSE_MOTIF" = 1; then
39846 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39847 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39849 if test "$wxUSE_UNIVERSAL" = "yes"; then
39850 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39851 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39853 cat >>confdefs.h
<<\_ACEOF
39854 #define wxUSE_TOOLTIPS 1
39861 if test "$wxUSE_TREECTRL" = "yes"; then
39862 if test "$wxUSE_IMAGLIST" = "yes"; then
39863 cat >>confdefs.h
<<\_ACEOF
39864 #define wxUSE_TREECTRL 1
39868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39870 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39871 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39875 if test "$wxUSE_POPUPWIN" = "yes"; then
39876 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39877 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39878 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39880 if test "$wxUSE_PM" = 1; then
39881 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39882 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39884 cat >>confdefs.h
<<\_ACEOF
39885 #define wxUSE_POPUPWIN 1
39888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39895 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39896 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39897 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39898 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39900 cat >>confdefs.h
<<\_ACEOF
39901 #define wxUSE_DIALUP_MANAGER 1
39904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39908 if test "$wxUSE_TIPWINDOW" = "yes"; then
39909 if test "$wxUSE_PM" = 1; then
39910 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39911 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39913 cat >>confdefs.h
<<\_ACEOF
39914 #define wxUSE_TIPWINDOW 1
39920 if test "$USES_CONTROLS" = 1; then
39921 cat >>confdefs.h
<<\_ACEOF
39922 #define wxUSE_CONTROLS 1
39928 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39929 cat >>confdefs.h
<<\_ACEOF
39930 #define wxUSE_ACCESSIBILITY 1
39933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39936 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39937 cat >>confdefs.h
<<\_ACEOF
39938 #define wxUSE_DRAGIMAGE 1
39941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39944 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39945 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39946 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39947 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39949 cat >>confdefs.h
<<\_ACEOF
39950 #define wxUSE_EXCEPTIONS 1
39953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39958 if test "$wxUSE_HTML" = "yes"; then
39959 cat >>confdefs.h
<<\_ACEOF
39960 #define wxUSE_HTML 1
39964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39965 if test "$wxUSE_MAC" = 1; then
39966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39969 if test "$wxUSE_WEBKIT" = "yes"; then
39970 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39971 old_CPPFLAGS
="$CPPFLAGS"
39972 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39973 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39974 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39975 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39976 echo $ECHO_N "(cached) $ECHO_C" >&6
39978 cat >conftest.
$ac_ext <<_ACEOF
39981 cat confdefs.h
>>conftest.
$ac_ext
39982 cat >>conftest.
$ac_ext <<_ACEOF
39983 /* end confdefs.h. */
39984 #include <Carbon/Carbon.h>
39986 #include <WebKit/HIWebView.h>
39988 rm -f conftest.
$ac_objext
39989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39990 (eval $ac_compile) 2>conftest.er1
39992 grep -v '^ *+' conftest.er1
>conftest.err
39994 cat conftest.err
>&5
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); } &&
39997 { ac_try
='test -z "$ac_c_werror_flag"
39998 || test ! -s conftest.err'
39999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40000 (eval $ac_try) 2>&5
40002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40003 (exit $ac_status); }; } &&
40004 { ac_try
='test -s conftest.$ac_objext'
40005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40006 (eval $ac_try) 2>&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); }; }; then
40010 ac_cv_header_WebKit_HIWebView_h
=yes
40012 echo "$as_me: failed program was:" >&5
40013 sed 's/^/| /' conftest.
$ac_ext >&5
40015 ac_cv_header_WebKit_HIWebView_h
=no
40017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40019 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40020 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40021 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40023 cat >>confdefs.h
<<\_ACEOF
40024 #define wxUSE_WEBKIT 1
40027 WEBKIT_LINK
="-framework WebKit"
40031 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40032 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40038 CPPFLAGS
="$old_CPPFLAGS"
40039 elif test "$wxUSE_COCOA" = 1; then
40040 cat >>confdefs.h
<<\_ACEOF
40041 #define wxUSE_WEBKIT 1
40050 if test "$wxUSE_XRC" = "yes"; then
40051 if test "$wxUSE_XML" != "yes"; then
40052 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40053 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40056 cat >>confdefs.h
<<\_ACEOF
40057 #define wxUSE_XRC 1
40061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
40065 if test "$wxUSE_MENUS" = "yes"; then
40066 cat >>confdefs.h
<<\_ACEOF
40067 #define wxUSE_MENUS 1
40070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
40073 if test "$wxUSE_METAFILE" = "yes"; then
40074 cat >>confdefs.h
<<\_ACEOF
40075 #define wxUSE_METAFILE 1
40080 if test "$wxUSE_MIMETYPE" = "yes"; then
40081 cat >>confdefs.h
<<\_ACEOF
40082 #define wxUSE_MIMETYPE 1
40087 if test "$wxUSE_MINIFRAME" = "yes"; then
40088 cat >>confdefs.h
<<\_ACEOF
40089 #define wxUSE_MINIFRAME 1
40092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
40095 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40096 cat >>confdefs.h
<<\_ACEOF
40097 #define wxUSE_SYSTEM_OPTIONS 1
40100 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40101 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
40107 if test "$wxUSE_VALIDATORS" = "yes"; then
40108 cat >>confdefs.h
<<\_ACEOF
40109 #define wxUSE_VALIDATORS 1
40112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
40115 if test "$wxUSE_PALETTE" = "yes" ; then
40116 cat >>confdefs.h
<<\_ACEOF
40117 #define wxUSE_PALETTE 1
40122 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40123 LIBS
=" -lunicows $LIBS"
40127 if test "$wxUSE_IMAGE" = "yes" ; then
40128 cat >>confdefs.h
<<\_ACEOF
40129 #define wxUSE_IMAGE 1
40133 if test "$wxUSE_GIF" = "yes" ; then
40134 cat >>confdefs.h
<<\_ACEOF
40135 #define wxUSE_GIF 1
40140 if test "$wxUSE_PCX" = "yes" ; then
40141 cat >>confdefs.h
<<\_ACEOF
40142 #define wxUSE_PCX 1
40147 if test "$wxUSE_IFF" = "yes" ; then
40148 cat >>confdefs.h
<<\_ACEOF
40149 #define wxUSE_IFF 1
40154 if test "$wxUSE_PNM" = "yes" ; then
40155 cat >>confdefs.h
<<\_ACEOF
40156 #define wxUSE_PNM 1
40161 if test "$wxUSE_XPM" = "yes" ; then
40162 cat >>confdefs.h
<<\_ACEOF
40163 #define wxUSE_XPM 1
40168 if test "$wxUSE_ICO_CUR" = "yes" ; then
40169 cat >>confdefs.h
<<\_ACEOF
40170 #define wxUSE_ICO_CUR 1
40177 if test "$wxUSE_CHOICEDLG" = "yes"; then
40178 cat >>confdefs.h
<<\_ACEOF
40179 #define wxUSE_CHOICEDLG 1
40184 if test "$wxUSE_COLOURDLG" = "yes"; then
40185 cat >>confdefs.h
<<\_ACEOF
40186 #define wxUSE_COLOURDLG 1
40191 if test "$wxUSE_FILEDLG" = "yes"; then
40192 cat >>confdefs.h
<<\_ACEOF
40193 #define wxUSE_FILEDLG 1
40198 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40199 cat >>confdefs.h
<<\_ACEOF
40200 #define wxUSE_FINDREPLDLG 1
40205 if test "$wxUSE_FONTDLG" = "yes"; then
40206 cat >>confdefs.h
<<\_ACEOF
40207 #define wxUSE_FONTDLG 1
40212 if test "$wxUSE_DIRDLG" = "yes"; then
40213 if test "$wxUSE_TREECTRL" != "yes"; then
40214 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40215 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40217 cat >>confdefs.h
<<\_ACEOF
40218 #define wxUSE_DIRDLG 1
40224 if test "$wxUSE_MSGDLG" = "yes"; then
40225 cat >>confdefs.h
<<\_ACEOF
40226 #define wxUSE_MSGDLG 1
40231 if test "$wxUSE_NUMBERDLG" = "yes"; then
40232 cat >>confdefs.h
<<\_ACEOF
40233 #define wxUSE_NUMBERDLG 1
40238 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40239 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40240 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40241 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40243 cat >>confdefs.h
<<\_ACEOF
40244 #define wxUSE_PROGRESSDLG 1
40250 if test "$wxUSE_SPLASH" = "yes"; then
40251 cat >>confdefs.h
<<\_ACEOF
40252 #define wxUSE_SPLASH 1
40255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
40258 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40259 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40260 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40261 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40263 cat >>confdefs.h
<<\_ACEOF
40264 #define wxUSE_STARTUP_TIPS 1
40270 if test "$wxUSE_TEXTDLG" = "yes"; then
40271 cat >>confdefs.h
<<\_ACEOF
40272 #define wxUSE_TEXTDLG 1
40277 if test "$wxUSE_WIZARDDLG" = "yes"; then
40278 cat >>confdefs.h
<<\_ACEOF
40279 #define wxUSE_WIZARDDLG 1
40282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
40286 if test "$wxUSE_MEDIACTRL" = "yes"; then
40287 if test "$wxUSE_GTK" = 1; then
40288 wxUSE_GSTREAMER
="yes"
40293 if test -z "$PKG_CONFIG"; then
40294 # Extract the first word of "pkg-config", so it can be a program name with args.
40295 set dummy pkg
-config; ac_word
=$2
40296 echo "$as_me:$LINENO: checking for $ac_word" >&5
40297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40298 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40299 echo $ECHO_N "(cached) $ECHO_C" >&6
40301 case $PKG_CONFIG in
40303 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40307 for as_dir
in $PATH
40310 test -z "$as_dir" && as_dir
=.
40311 for ac_exec_ext
in '' $ac_executable_extensions; do
40312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40313 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40320 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40324 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40326 if test -n "$PKG_CONFIG"; then
40327 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40328 echo "${ECHO_T}$PKG_CONFIG" >&6
40330 echo "$as_me:$LINENO: result: no" >&5
40331 echo "${ECHO_T}no" >&6
40336 if test "$PKG_CONFIG" = "no" ; then
40337 echo "*** The pkg-config script could not be found. Make sure it is"
40338 echo "*** in your path, or set the PKG_CONFIG environment variable"
40339 echo "*** to the full path to pkg-config."
40340 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40342 PKG_CONFIG_MIN_VERSION
=0.9.0
40343 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40344 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40345 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40347 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40348 echo "$as_me:$LINENO: result: yes" >&5
40349 echo "${ECHO_T}yes" >&6
40352 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40353 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40354 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40355 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40356 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40358 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40359 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40360 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
40361 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40362 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40364 GSTREAMER_CFLAGS
=""
40366 ## If we have a custom action on failure, don't print errors, but
40367 ## do set a variable so people can do so.
40368 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40375 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40376 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40380 if test $succeeded = yes; then
40382 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
40383 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40387 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40388 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40389 wxUSE_GSTREAMER
="no"
40397 if test "x$GST_INSPECT" == "x"; then
40398 # Extract the first word of "gst-inspect", so it can be a program name with args.
40399 set dummy gst
-inspect; ac_word
=$2
40400 echo "$as_me:$LINENO: checking for $ac_word" >&5
40401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40402 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40403 echo $ECHO_N "(cached) $ECHO_C" >&6
40405 if test -n "$GST_INSPECT"; then
40406 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
40408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40409 for as_dir
in $PATH
40412 test -z "$as_dir" && as_dir
=.
40413 for ac_exec_ext
in '' $ac_executable_extensions; do
40414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40415 ac_cv_prog_GST_INSPECT
="gst-inspect"
40416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40424 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
40425 if test -n "$GST_INSPECT"; then
40426 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40427 echo "${ECHO_T}$GST_INSPECT" >&6
40429 echo "$as_me:$LINENO: result: no" >&5
40430 echo "${ECHO_T}no" >&6
40435 if test "x$GST_INSPECT" != "x"; then
40436 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40437 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40438 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
40439 echo "$as_me:$LINENO: result: found." >&5
40440 echo "${ECHO_T}found." >&6
40443 echo "$as_me:$LINENO: result: not found." >&5
40444 echo "${ECHO_T}not found." >&6
40446 wxUSE_GSTREAMER
="no"
40447 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40448 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40454 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40455 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40456 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40457 echo $ECHO_N "(cached) $ECHO_C" >&6
40459 cat >conftest.
$ac_ext <<_ACEOF
40462 cat confdefs.h
>>conftest.
$ac_ext
40463 cat >>conftest.
$ac_ext <<_ACEOF
40464 /* end confdefs.h. */
40465 #include <gst/gst.h>
40467 #include <gst/xoverlay/xoverlay.h>
40469 rm -f conftest.
$ac_objext
40470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40471 (eval $ac_compile) 2>conftest.er1
40473 grep -v '^ *+' conftest.er1
>conftest.err
40475 cat conftest.err
>&5
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); } &&
40478 { ac_try
='test -z "$ac_c_werror_flag"
40479 || test ! -s conftest.err'
40480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40481 (eval $ac_try) 2>&5
40483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40484 (exit $ac_status); }; } &&
40485 { ac_try
='test -s conftest.$ac_objext'
40486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40487 (eval $ac_try) 2>&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); }; }; then
40491 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40493 echo "$as_me: failed program was:" >&5
40494 sed 's/^/| /' conftest.
$ac_ext >&5
40496 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40500 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40501 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40502 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40506 wxUSE_GSTREAMER
="no"
40507 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40508 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40514 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40515 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40518 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40520 for ac_extension
in a so sl dylib
; do
40521 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40522 ac_find_libraries
=$ac_dir
40529 if test "$ac_find_libraries" = "" ; then
40530 echo "$as_me:$LINENO: result: no" >&5
40531 echo "${ECHO_T}no" >&6
40532 wxUSE_GSTREAMER
="no"
40534 echo "$as_me:$LINENO: result: yes" >&5
40535 echo "${ECHO_T}yes" >&6
40538 if test "$wxUSE_GSTREAMER" = "yes"; then
40539 cat >>confdefs.h
<<\_ACEOF
40540 #define wxUSE_GSTREAMER 1
40543 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40544 echo "${ECHO_T}GStreamer detection successful" >&6
40547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40548 cat >>confdefs.h
<<\_ACEOF
40549 #define wxUSE_MEDIACTRL 1
40555 if test "$cross_compiling" = "yes"; then
40558 OSINFO
=`uname -s -r -m`
40559 OSINFO
="\"$OSINFO\""
40562 cat >>confdefs.h
<<_ACEOF
40563 #define WXWIN_OS_DESCRIPTION $OSINFO
40568 if test "x$prefix" != "xNONE"; then
40571 wxPREFIX
=$ac_default_prefix
40574 cat >>confdefs.h
<<_ACEOF
40575 #define wxINSTALL_PREFIX "$wxPREFIX"
40581 CORE_BASE_LIBS
="net base"
40582 CORE_GUI_LIBS
="adv core"
40584 if test "$wxUSE_XML" = "yes" ; then
40585 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40587 if test "$wxUSE_ODBC" != "no" ; then
40588 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40589 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40591 if test "$wxUSE_HTML" = "yes" ; then
40592 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40594 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40595 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40597 if test "$wxUSE_XRC" = "yes" ; then
40598 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40601 if test "$wxUSE_GUI" != "yes"; then
40612 if test "$wxUSE_MAC" = 1 ; then
40613 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40614 if test "$USE_DARWIN" = 1; then
40615 LDFLAGS
="$LDFLAGS -framework QuickTime"
40617 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
40620 if test "$USE_DARWIN" = 1; then
40621 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40623 LDFLAGS
="$LDFLAGS -lCarbonLib"
40626 if test "$wxUSE_COCOA" = 1 ; then
40627 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
40628 if test "$wxUSE_MEDIACTRL" = "yes"; then
40629 LDFLAGS
="$LDFLAGS -framework QuickTime"
40632 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
40633 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
40637 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40645 echo "$as_me:$LINENO: checking for $ac_func" >&5
40646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40647 if eval "test \"\${$as_ac_var+set}\" = set"; then
40648 echo $ECHO_N "(cached) $ECHO_C" >&6
40650 cat >conftest.
$ac_ext <<_ACEOF
40653 cat confdefs.h
>>conftest.
$ac_ext
40654 cat >>conftest.
$ac_ext <<_ACEOF
40655 /* end confdefs.h. */
40656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40658 #define $ac_func innocuous_$ac_func
40660 /* System header to define __stub macros and hopefully few prototypes,
40661 which can conflict with char $ac_func (); below.
40662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40663 <limits.h> exists even on freestanding compilers. */
40666 # include <limits.h>
40668 # include <assert.h>
40673 /* Override any gcc2 internal prototype to avoid an error. */
40678 /* We use char because int might match the return type of a gcc2
40679 builtin and then its argument prototype would still apply. */
40681 /* The GNU C library defines this for functions which it implements
40682 to always fail with ENOSYS. Some functions are actually named
40683 something starting with __ and the normal name is an alias. */
40684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40687 char (*f) () = $ac_func;
40696 return f != $ac_func;
40701 rm -f conftest.
$ac_objext conftest
$ac_exeext
40702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40703 (eval $ac_link) 2>conftest.er1
40705 grep -v '^ *+' conftest.er1
>conftest.err
40707 cat conftest.err
>&5
40708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40709 (exit $ac_status); } &&
40710 { ac_try
='test -z "$ac_c_werror_flag"
40711 || test ! -s conftest.err'
40712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40713 (eval $ac_try) 2>&5
40715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40716 (exit $ac_status); }; } &&
40717 { ac_try
='test -s conftest$ac_exeext'
40718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40719 (eval $ac_try) 2>&5
40721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722 (exit $ac_status); }; }; then
40723 eval "$as_ac_var=yes"
40725 echo "$as_me: failed program was:" >&5
40726 sed 's/^/| /' conftest.
$ac_ext >&5
40728 eval "$as_ac_var=no"
40730 rm -f conftest.err conftest.
$ac_objext \
40731 conftest
$ac_exeext conftest.
$ac_ext
40733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40735 if test `eval echo '${'$as_ac_var'}'` = yes; then
40736 cat >>confdefs.h
<<_ACEOF
40737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40744 for ac_func
in floor
40746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40747 echo "$as_me:$LINENO: checking for $ac_func" >&5
40748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40749 if eval "test \"\${$as_ac_var+set}\" = set"; then
40750 echo $ECHO_N "(cached) $ECHO_C" >&6
40752 cat >conftest.
$ac_ext <<_ACEOF
40755 cat confdefs.h
>>conftest.
$ac_ext
40756 cat >>conftest.
$ac_ext <<_ACEOF
40757 /* end confdefs.h. */
40758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40760 #define $ac_func innocuous_$ac_func
40762 /* System header to define __stub macros and hopefully few prototypes,
40763 which can conflict with char $ac_func (); below.
40764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40765 <limits.h> exists even on freestanding compilers. */
40768 # include <limits.h>
40770 # include <assert.h>
40775 /* Override any gcc2 internal prototype to avoid an error. */
40780 /* We use char because int might match the return type of a gcc2
40781 builtin and then its argument prototype would still apply. */
40783 /* The GNU C library defines this for functions which it implements
40784 to always fail with ENOSYS. Some functions are actually named
40785 something starting with __ and the normal name is an alias. */
40786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40789 char (*f) () = $ac_func;
40798 return f != $ac_func;
40803 rm -f conftest.
$ac_objext conftest
$ac_exeext
40804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40805 (eval $ac_link) 2>conftest.er1
40807 grep -v '^ *+' conftest.er1
>conftest.err
40809 cat conftest.err
>&5
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); } &&
40812 { ac_try
='test -z "$ac_c_werror_flag"
40813 || test ! -s conftest.err'
40814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40815 (eval $ac_try) 2>&5
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); }; } &&
40819 { ac_try
='test -s conftest$ac_exeext'
40820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40821 (eval $ac_try) 2>&5
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); }; }; then
40825 eval "$as_ac_var=yes"
40827 echo "$as_me: failed program was:" >&5
40828 sed 's/^/| /' conftest.
$ac_ext >&5
40830 eval "$as_ac_var=no"
40832 rm -f conftest.err conftest.
$ac_objext \
40833 conftest
$ac_exeext conftest.
$ac_ext
40835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40837 if test `eval echo '${'$as_ac_var'}'` = yes; then
40838 cat >>confdefs.h
<<_ACEOF
40839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40845 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40846 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40847 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40848 echo "$as_me:$LINENO: result: yes" >&5
40849 echo "${ECHO_T}yes" >&6
40851 echo "$as_me:$LINENO: result: no" >&5
40852 echo "${ECHO_T}no" >&6
40854 # use different functions to avoid configure caching
40860 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40861 echo "$as_me:$LINENO: checking for $ac_func" >&5
40862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40863 if eval "test \"\${$as_ac_var+set}\" = set"; then
40864 echo $ECHO_N "(cached) $ECHO_C" >&6
40866 cat >conftest.
$ac_ext <<_ACEOF
40869 cat confdefs.h
>>conftest.
$ac_ext
40870 cat >>conftest.
$ac_ext <<_ACEOF
40871 /* end confdefs.h. */
40872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40874 #define $ac_func innocuous_$ac_func
40876 /* System header to define __stub macros and hopefully few prototypes,
40877 which can conflict with char $ac_func (); below.
40878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40879 <limits.h> exists even on freestanding compilers. */
40882 # include <limits.h>
40884 # include <assert.h>
40889 /* Override any gcc2 internal prototype to avoid an error. */
40894 /* We use char because int might match the return type of a gcc2
40895 builtin and then its argument prototype would still apply. */
40897 /* The GNU C library defines this for functions which it implements
40898 to always fail with ENOSYS. Some functions are actually named
40899 something starting with __ and the normal name is an alias. */
40900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40903 char (*f) () = $ac_func;
40912 return f != $ac_func;
40917 rm -f conftest.
$ac_objext conftest
$ac_exeext
40918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40919 (eval $ac_link) 2>conftest.er1
40921 grep -v '^ *+' conftest.er1
>conftest.err
40923 cat conftest.err
>&5
40924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40925 (exit $ac_status); } &&
40926 { ac_try
='test -z "$ac_c_werror_flag"
40927 || test ! -s conftest.err'
40928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40929 (eval $ac_try) 2>&5
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); }; } &&
40933 { ac_try
='test -s conftest$ac_exeext'
40934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40935 (eval $ac_try) 2>&5
40937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40938 (exit $ac_status); }; }; then
40939 eval "$as_ac_var=yes"
40941 echo "$as_me: failed program was:" >&5
40942 sed 's/^/| /' conftest.
$ac_ext >&5
40944 eval "$as_ac_var=no"
40946 rm -f conftest.err conftest.
$ac_objext \
40947 conftest
$ac_exeext conftest.
$ac_ext
40949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40951 if test `eval echo '${'$as_ac_var'}'` = yes; then
40952 cat >>confdefs.h
<<_ACEOF
40953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40960 for ac_func
in ceil
40962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40963 echo "$as_me:$LINENO: checking for $ac_func" >&5
40964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40965 if eval "test \"\${$as_ac_var+set}\" = set"; then
40966 echo $ECHO_N "(cached) $ECHO_C" >&6
40968 cat >conftest.
$ac_ext <<_ACEOF
40971 cat confdefs.h
>>conftest.
$ac_ext
40972 cat >>conftest.
$ac_ext <<_ACEOF
40973 /* end confdefs.h. */
40974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40976 #define $ac_func innocuous_$ac_func
40978 /* System header to define __stub macros and hopefully few prototypes,
40979 which can conflict with char $ac_func (); below.
40980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40981 <limits.h> exists even on freestanding compilers. */
40984 # include <limits.h>
40986 # include <assert.h>
40991 /* Override any gcc2 internal prototype to avoid an error. */
40996 /* We use char because int might match the return type of a gcc2
40997 builtin and then its argument prototype would still apply. */
40999 /* The GNU C library defines this for functions which it implements
41000 to always fail with ENOSYS. Some functions are actually named
41001 something starting with __ and the normal name is an alias. */
41002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41005 char (*f) () = $ac_func;
41014 return f != $ac_func;
41019 rm -f conftest.
$ac_objext conftest
$ac_exeext
41020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41021 (eval $ac_link) 2>conftest.er1
41023 grep -v '^ *+' conftest.er1
>conftest.err
41025 cat conftest.err
>&5
41026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41027 (exit $ac_status); } &&
41028 { ac_try
='test -z "$ac_c_werror_flag"
41029 || test ! -s conftest.err'
41030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41031 (eval $ac_try) 2>&5
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); }; } &&
41035 { ac_try
='test -s conftest$ac_exeext'
41036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41037 (eval $ac_try) 2>&5
41039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41040 (exit $ac_status); }; }; then
41041 eval "$as_ac_var=yes"
41043 echo "$as_me: failed program was:" >&5
41044 sed 's/^/| /' conftest.
$ac_ext >&5
41046 eval "$as_ac_var=no"
41048 rm -f conftest.err conftest.
$ac_objext \
41049 conftest
$ac_exeext conftest.
$ac_ext
41051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41053 if test `eval echo '${'$as_ac_var'}'` = yes; then
41054 cat >>confdefs.h
<<_ACEOF
41055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41061 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41062 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41063 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41064 echo "$as_me:$LINENO: result: yes" >&5
41065 echo "${ECHO_T}yes" >&6
41067 echo "$as_me:$LINENO: result: no" >&5
41068 echo "${ECHO_T}no" >&6
41069 # not sure we should warn the user, crash, etc.
41073 if test "$wxUSE_GUI" = "yes"; then
41076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41077 dynamic erase event exec font image minimal mobile \
41078 mobile/wxedit mobile/styles propsize render \
41079 richedit rotate shaped vscroll widgets"
41081 if test "$wxUSE_MONOLITHIC" != "yes"; then
41082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
41084 if test "$TOOLKIT" = "MSW"; then
41085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
41086 if test "$wxUSE_UNIVERSAL" != "yes"; then
41087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41090 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
41094 SAMPLES_SUBDIRS
="console"
41098 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41099 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41101 if test "$GXX" = yes ; then
41103 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
41106 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41108 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41109 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41110 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41112 if test "x$MWCC" = "xyes"; then
41114 CC
="$CC -cwd source -I-"
41115 CXX
="$CXX -cwd source -I-"
41120 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41121 EXTRALIBS_XML
="$EXPAT_LINK"
41122 EXTRALIBS_HTML
="$MSPACK_LINK"
41123 EXTRALIBS_ODBC
="$ODBC_LINK"
41124 if test "$wxUSE_GUI" = "yes"; then
41125 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41127 if test "$wxUSE_OPENGL" = "yes"; then
41128 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
41131 LDFLAGS
="$LDFLAGS $PROFILE"
41133 if test "$wxUSE_GTK" = 1; then
41136 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
41139 WXCONFIG_EXTRALIBS
="$LIBS"
41141 if test "$wxUSE_REGEX" = "builtin" ; then
41142 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41144 if test "$wxUSE_EXPAT" = "builtin" ; then
41145 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
41147 if test "$wxUSE_ODBC" = "builtin" ; then
41148 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
41150 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41151 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
41153 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41154 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
41156 if test "$wxUSE_LIBPNG" = "builtin" ; then
41157 wxconfig_3rdparty
="png $wxconfig_3rdparty"
41159 if test "$wxUSE_ZLIB" = "builtin" ; then
41160 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
41163 for i
in $wxconfig_3rdparty ; do
41164 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41168 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41182 if test $wxUSE_MONOLITHIC = "yes" ; then
41188 if test $wxUSE_PLUGINS = "yes" ; then
41194 if test $wxUSE_ODBC != "no" ; then
41200 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41206 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41234 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41245 TOOLKIT_USER
="GTK+"
41246 if test "$WXGTK20" = 1; then
41247 TOOLKIT_USER
="$TOOLKIT_USER 2"
41252 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
41256 if test "$wxUSE_WINE" = "yes"; then
41257 BAKEFILE_FORCE_PLATFORM
=win32
41263 if test "x$BAKEFILE_HOST" = "x"; then
41264 BAKEFILE_HOST
="${host}"
41267 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41269 if test -n "$ac_tool_prefix"; then
41270 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41271 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
41272 echo "$as_me:$LINENO: checking for $ac_word" >&5
41273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41274 if test "${ac_cv_prog_RANLIB+set}" = set; then
41275 echo $ECHO_N "(cached) $ECHO_C" >&6
41277 if test -n "$RANLIB"; then
41278 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
41280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41281 for as_dir
in $PATH
41284 test -z "$as_dir" && as_dir
=.
41285 for ac_exec_ext
in '' $ac_executable_extensions; do
41286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41287 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
41288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41296 RANLIB
=$ac_cv_prog_RANLIB
41297 if test -n "$RANLIB"; then
41298 echo "$as_me:$LINENO: result: $RANLIB" >&5
41299 echo "${ECHO_T}$RANLIB" >&6
41301 echo "$as_me:$LINENO: result: no" >&5
41302 echo "${ECHO_T}no" >&6
41306 if test -z "$ac_cv_prog_RANLIB"; then
41307 ac_ct_RANLIB
=$RANLIB
41308 # Extract the first word of "ranlib", so it can be a program name with args.
41309 set dummy ranlib
; ac_word
=$2
41310 echo "$as_me:$LINENO: checking for $ac_word" >&5
41311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41312 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41313 echo $ECHO_N "(cached) $ECHO_C" >&6
41315 if test -n "$ac_ct_RANLIB"; then
41316 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
41318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41319 for as_dir
in $PATH
41322 test -z "$as_dir" && as_dir
=.
41323 for ac_exec_ext
in '' $ac_executable_extensions; do
41324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41325 ac_cv_prog_ac_ct_RANLIB
="ranlib"
41326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41332 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
41335 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
41336 if test -n "$ac_ct_RANLIB"; then
41337 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41338 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41340 echo "$as_me:$LINENO: result: no" >&5
41341 echo "${ECHO_T}no" >&6
41344 RANLIB
=$ac_ct_RANLIB
41346 RANLIB
="$ac_cv_prog_RANLIB"
41349 # Find a good install program. We prefer a C program (faster),
41350 # so one script is as good as another. But avoid the broken or
41351 # incompatible versions:
41352 # SysV /etc/install, /usr/sbin/install
41353 # SunOS /usr/etc/install
41354 # IRIX /sbin/install
41356 # AmigaOS /C/install, which installs bootblocks on floppy discs
41357 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41358 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41360 # OS/2's system install, which has a completely different semantic
41361 # ./install, which can be erroneously created by make from ./install.sh.
41362 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41363 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41364 if test -z "$INSTALL"; then
41365 if test "${ac_cv_path_install+set}" = set; then
41366 echo $ECHO_N "(cached) $ECHO_C" >&6
41368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41369 for as_dir
in $PATH
41372 test -z "$as_dir" && as_dir
=.
41373 # Account for people who put trailing slashes in PATH elements.
41375 .
/ | .
// | /cC
/* | \
41376 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
41377 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
41380 # OSF1 and SCO ODT 3.0 have their own names for install.
41381 # Don't use installbsd from OSF since it installs stuff as root
41383 for ac_prog
in ginstall scoinst
install; do
41384 for ac_exec_ext
in '' $ac_executable_extensions; do
41385 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41386 if test $ac_prog = install &&
41387 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41388 # AIX install. It has an incompatible calling convention.
41390 elif test $ac_prog = install &&
41391 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41392 # program-specific install script used by HP pwplus--don't use.
41395 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
41407 if test "${ac_cv_path_install+set}" = set; then
41408 INSTALL
=$ac_cv_path_install
41410 # As a last resort, use the slow shell script. We don't cache a
41411 # path for INSTALL within a source directory, because that will
41412 # break other packages using the cache if that directory is
41413 # removed, or if the path is relative.
41414 INSTALL
=$ac_install_sh
41417 echo "$as_me:$LINENO: result: $INSTALL" >&5
41418 echo "${ECHO_T}$INSTALL" >&6
41420 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41421 # It thinks the first close brace ends the variable substitution.
41422 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
41424 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
41426 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
41428 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41429 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41431 if test "$LN_S" = "ln -s"; then
41432 echo "$as_me:$LINENO: result: yes" >&5
41433 echo "${ECHO_T}yes" >&6
41435 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41436 echo "${ECHO_T}no, using $LN_S" >&6
41440 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41441 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41442 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41443 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41444 echo $ECHO_N "(cached) $ECHO_C" >&6
41446 cat >conftest.
make <<\_ACEOF
41448 @
echo 'ac_maketemp="$(MAKE)"'
41450 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41451 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41452 if test -n "$ac_maketemp"; then
41453 eval ac_cv_prog_make_
${ac_make}_set
=yes
41455 eval ac_cv_prog_make_
${ac_make}_set
=no
41457 rm -f conftest.
make
41459 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41460 echo "$as_me:$LINENO: result: yes" >&5
41461 echo "${ECHO_T}yes" >&6
41464 echo "$as_me:$LINENO: result: no" >&5
41465 echo "${ECHO_T}no" >&6
41466 SET_MAKE
="MAKE=${MAKE-make}"
41471 if test -n "$ac_tool_prefix"; then
41472 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41473 set dummy
${ac_tool_prefix}ar; ac_word
=$2
41474 echo "$as_me:$LINENO: checking for $ac_word" >&5
41475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41476 if test "${ac_cv_prog_AR+set}" = set; then
41477 echo $ECHO_N "(cached) $ECHO_C" >&6
41479 if test -n "$AR"; then
41480 ac_cv_prog_AR
="$AR" # Let the user override the test.
41482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41483 for as_dir
in $PATH
41486 test -z "$as_dir" && as_dir
=.
41487 for ac_exec_ext
in '' $ac_executable_extensions; do
41488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41489 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41499 if test -n "$AR"; then
41500 echo "$as_me:$LINENO: result: $AR" >&5
41501 echo "${ECHO_T}$AR" >&6
41503 echo "$as_me:$LINENO: result: no" >&5
41504 echo "${ECHO_T}no" >&6
41508 if test -z "$ac_cv_prog_AR"; then
41510 # Extract the first word of "ar", so it can be a program name with args.
41511 set dummy
ar; ac_word
=$2
41512 echo "$as_me:$LINENO: checking for $ac_word" >&5
41513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41514 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41515 echo $ECHO_N "(cached) $ECHO_C" >&6
41517 if test -n "$ac_ct_AR"; then
41518 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41521 for as_dir
in $PATH
41524 test -z "$as_dir" && as_dir
=.
41525 for ac_exec_ext
in '' $ac_executable_extensions; do
41526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41527 ac_cv_prog_ac_ct_AR
="ar"
41528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41534 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41537 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41538 if test -n "$ac_ct_AR"; then
41539 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41540 echo "${ECHO_T}$ac_ct_AR" >&6
41542 echo "$as_me:$LINENO: result: no" >&5
41543 echo "${ECHO_T}no" >&6
41548 AR
="$ac_cv_prog_AR"
41551 if test -n "$ac_tool_prefix"; then
41552 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41553 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41554 echo "$as_me:$LINENO: checking for $ac_word" >&5
41555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41556 if test "${ac_cv_prog_STRIP+set}" = set; then
41557 echo $ECHO_N "(cached) $ECHO_C" >&6
41559 if test -n "$STRIP"; then
41560 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41563 for as_dir
in $PATH
41566 test -z "$as_dir" && as_dir
=.
41567 for ac_exec_ext
in '' $ac_executable_extensions; do
41568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41569 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41578 STRIP
=$ac_cv_prog_STRIP
41579 if test -n "$STRIP"; then
41580 echo "$as_me:$LINENO: result: $STRIP" >&5
41581 echo "${ECHO_T}$STRIP" >&6
41583 echo "$as_me:$LINENO: result: no" >&5
41584 echo "${ECHO_T}no" >&6
41588 if test -z "$ac_cv_prog_STRIP"; then
41590 # Extract the first word of "strip", so it can be a program name with args.
41591 set dummy strip
; ac_word
=$2
41592 echo "$as_me:$LINENO: checking for $ac_word" >&5
41593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41594 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41595 echo $ECHO_N "(cached) $ECHO_C" >&6
41597 if test -n "$ac_ct_STRIP"; then
41598 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41601 for as_dir
in $PATH
41604 test -z "$as_dir" && as_dir
=.
41605 for ac_exec_ext
in '' $ac_executable_extensions; do
41606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41607 ac_cv_prog_ac_ct_STRIP
="strip"
41608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41614 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
41617 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
41618 if test -n "$ac_ct_STRIP"; then
41619 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41620 echo "${ECHO_T}$ac_ct_STRIP" >&6
41622 echo "$as_me:$LINENO: result: no" >&5
41623 echo "${ECHO_T}no" >&6
41628 STRIP
="$ac_cv_prog_STRIP"
41631 if test -n "$ac_tool_prefix"; then
41632 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41633 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
41634 echo "$as_me:$LINENO: checking for $ac_word" >&5
41635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41636 if test "${ac_cv_prog_NM+set}" = set; then
41637 echo $ECHO_N "(cached) $ECHO_C" >&6
41639 if test -n "$NM"; then
41640 ac_cv_prog_NM
="$NM" # Let the user override the test.
41642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41643 for as_dir
in $PATH
41646 test -z "$as_dir" && as_dir
=.
41647 for ac_exec_ext
in '' $ac_executable_extensions; do
41648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41649 ac_cv_prog_NM
="${ac_tool_prefix}nm"
41650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41659 if test -n "$NM"; then
41660 echo "$as_me:$LINENO: result: $NM" >&5
41661 echo "${ECHO_T}$NM" >&6
41663 echo "$as_me:$LINENO: result: no" >&5
41664 echo "${ECHO_T}no" >&6
41668 if test -z "$ac_cv_prog_NM"; then
41670 # Extract the first word of "nm", so it can be a program name with args.
41671 set dummy nm
; ac_word
=$2
41672 echo "$as_me:$LINENO: checking for $ac_word" >&5
41673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41674 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41675 echo $ECHO_N "(cached) $ECHO_C" >&6
41677 if test -n "$ac_ct_NM"; then
41678 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
41680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41681 for as_dir
in $PATH
41684 test -z "$as_dir" && as_dir
=.
41685 for ac_exec_ext
in '' $ac_executable_extensions; do
41686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41687 ac_cv_prog_ac_ct_NM
="nm"
41688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41694 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
41697 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
41698 if test -n "$ac_ct_NM"; then
41699 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41700 echo "${ECHO_T}$ac_ct_NM" >&6
41702 echo "$as_me:$LINENO: result: no" >&5
41703 echo "${ECHO_T}no" >&6
41708 NM
="$ac_cv_prog_NM"
41712 case ${BAKEFILE_HOST} in
41714 INSTALL_DIR
="mkdir -p"
41716 *) INSTALL_DIR
="$INSTALL -d"
41722 case ${BAKEFILE_HOST} in
41723 *-*-cygwin* | *-*-mingw32* )
41724 LDFLAGS_GUI
="-mwindows"
41730 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41731 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41732 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41733 echo $ECHO_N "(cached) $ECHO_C" >&6
41736 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41737 egrep -s GNU
> /dev
/null
); then
41738 bakefile_cv_prog_makeisgnu
="yes"
41740 bakefile_cv_prog_makeisgnu
="no"
41744 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41745 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41747 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41764 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41765 case "${BAKEFILE_HOST}" in
41766 *-*-cygwin* | *-*-mingw32* )
41772 *-pc-os2_emx | *-pc-os2-emx )
41775 powerpc
-*-darwin* )
41782 powerpc
-apple-macos* )
41791 case "$BAKEFILE_FORCE_PLATFORM" in
41812 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41813 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41814 { (exit 1); exit 1; }; }
41829 # Check whether --enable-omf or --disable-omf was given.
41830 if test "${enable_omf+set}" = set; then
41831 enableval
="$enable_omf"
41832 bk_os2_use_omf
="$enableval"
41835 case "${BAKEFILE_HOST}" in
41837 CFLAGS
="$CFLAGS -fno-common"
41838 CXXFLAGS
="$CXXFLAGS -fno-common"
41841 *-pc-os2_emx | *-pc-os2-emx )
41842 if test "x$bk_os2_use_omf" = "xyes" ; then
41845 LDFLAGS
="-Zomf $LDFLAGS"
41846 CFLAGS
="-Zomf $CFLAGS"
41847 CXXFLAGS
="-Zomf $CXXFLAGS"
41855 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41861 SO_SUFFIX_MODULE
="so"
41866 DLLPREFIX_MODULE
=""
41869 case "${BAKEFILE_HOST}" in
41872 SO_SUFFIX_MODULE
="sl"
41876 SO_SUFFIX_MODULE
="a"
41878 *-*-cygwin* | *-*-mingw32* )
41880 SO_SUFFIX_MODULE
="dll"
41881 DLLIMP_SUFFIX
="dll.a"
41889 *-pc-os2_emx | *-pc-os2-emx )
41891 SO_SUFFIX_MODULE
="dll"
41892 DLLIMP_SUFFIX
=$OS2_LIBEXT
41896 LIBEXT
=".$OS2_LIBEXT"
41898 powerpc
-*-darwin* )
41900 SO_SUFFIX_MODULE
="bundle"
41904 if test "x$DLLIMP_SUFFIX" = "x" ; then
41905 DLLIMP_SUFFIX
="$SO_SUFFIX"
41919 if test "x$GCC" = "xyes"; then
41923 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41924 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41926 case "${BAKEFILE_HOST}" in
41928 if test "x$GCC" != "xyes"; then
41929 LDFLAGS
="$LDFLAGS -L/usr/lib"
41931 SHARED_LD_CC
="${CC} -b -o"
41932 SHARED_LD_CXX
="${CXX} -b -o"
41938 if test "x$GCC" != "xyes"; then
41939 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41940 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41941 if test "${bakefile_cv_prog_icc+set}" = set; then
41942 echo $ECHO_N "(cached) $ECHO_C" >&6
41945 cat >conftest.
$ac_ext <<_ACEOF
41948 cat confdefs.h
>>conftest.
$ac_ext
41949 cat >>conftest.
$ac_ext <<_ACEOF
41950 /* end confdefs.h. */
41956 #ifndef __INTEL_COMPILER
41964 rm -f conftest.
$ac_objext
41965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41966 (eval $ac_compile) 2>conftest.er1
41968 grep -v '^ *+' conftest.er1
>conftest.err
41970 cat conftest.err
>&5
41971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41972 (exit $ac_status); } &&
41973 { ac_try
='test -z "$ac_c_werror_flag"
41974 || test ! -s conftest.err'
41975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41976 (eval $ac_try) 2>&5
41978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41979 (exit $ac_status); }; } &&
41980 { ac_try
='test -s conftest.$ac_objext'
41981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41982 (eval $ac_try) 2>&5
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); }; }; then
41986 bakefile_cv_prog_icc
=yes
41988 echo "$as_me: failed program was:" >&5
41989 sed 's/^/| /' conftest.
$ac_ext >&5
41991 bakefile_cv_prog_icc
=no
41994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41997 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41998 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41999 if test "$bakefile_cv_prog_icc" = "yes"; then
42006 if test "x$GCC" != xyes
; then
42007 SHARED_LD_CC
="${CC} -G -o"
42008 SHARED_LD_CXX
="${CXX} -G -o"
42015 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42016 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42017 if test "${wx_cv_gcc31+set}" = set; then
42018 echo $ECHO_N "(cached) $ECHO_C" >&6
42021 cat >conftest.
$ac_ext <<_ACEOF
42024 cat confdefs.h
>>conftest.
$ac_ext
42025 cat >>conftest.
$ac_ext <<_ACEOF
42026 /* end confdefs.h. */
42032 #if (__GNUC__ < 3) || \
42033 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42041 rm -f conftest.
$ac_objext
42042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42043 (eval $ac_compile) 2>conftest.er1
42045 grep -v '^ *+' conftest.er1
>conftest.err
42047 cat conftest.err
>&5
42048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42049 (exit $ac_status); } &&
42050 { ac_try
='test -z "$ac_c_werror_flag"
42051 || test ! -s conftest.err'
42052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42053 (eval $ac_try) 2>&5
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); }; } &&
42057 { ac_try
='test -s conftest.$ac_objext'
42058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42059 (eval $ac_try) 2>&5
42061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42062 (exit $ac_status); }; }; then
42067 echo "$as_me: failed program was:" >&5
42068 sed 's/^/| /' conftest.
$ac_ext >&5
42075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42078 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42079 echo "${ECHO_T}$wx_cv_gcc31" >&6
42080 if test "$wx_cv_gcc31" = "no"; then
42083 cat <<EOF >shared-ld-sh
42085 #-----------------------------------------------------------------------------
42086 #-- Name: distrib/mac/shared-ld-sh
42087 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42088 #-- Author: Gilles Depeyrot
42089 #-- Copyright: (c) 2002 Gilles Depeyrot
42090 #-- Licence: any use permitted
42091 #-----------------------------------------------------------------------------
42096 linking_flag="-dynamiclib"
42098 while test ${D}# -gt 0; do
42105 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42106 # collect these options and values
42107 args="${D}{args} ${D}1 ${D}2"
42111 -l*|-L*|-Wl,*|-flat_namespace|-headerpad_max_install_names)
42112 # collect these options
42113 args="${D}{args} ${D}1"
42116 -dynamiclib|-bundle)
42117 linking_flag="${D}1"
42121 echo "shared-ld: unhandled option '${D}1'"
42125 *.o | *.a | *.dylib)
42126 # collect object files
42127 objects="${D}{objects} ${D}1"
42131 echo "shared-ld: unhandled argument '${D}1'"
42140 # Link one module containing all the others
42142 if test ${D}{verbose} = 1; then
42143 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
42145 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
42147 if test ${D}{status} != 0; then
42152 # Link the shared library from the single module created
42154 if test ${D}{verbose} = 1; then
42155 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42157 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42159 if test ${D}{status} != 0; then
42164 # Remove intermediate module
42166 rm -f master.${D}${D}.o
42171 chmod +x shared
-ld-sh
42173 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42174 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42175 SHARED_LD_CXX
="$SHARED_LD_CC"
42176 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
42178 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42179 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42180 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42181 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42184 PIC_FLAG
="-dynamic -fPIC"
42188 if test "x$GCC" != "xyes"; then
42189 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42190 set dummy makeC
++SharedLib
; ac_word
=$2
42191 echo "$as_me:$LINENO: checking for $ac_word" >&5
42192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42193 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42194 echo $ECHO_N "(cached) $ECHO_C" >&6
42196 if test -n "$AIX_CXX_LD"; then
42197 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
42199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42200 for as_dir
in $PATH
42203 test -z "$as_dir" && as_dir
=.
42204 for ac_exec_ext
in '' $ac_executable_extensions; do
42205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42206 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
42207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42213 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
42216 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
42217 if test -n "$AIX_CXX_LD"; then
42218 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42219 echo "${ECHO_T}$AIX_CXX_LD" >&6
42221 echo "$as_me:$LINENO: result: no" >&5
42222 echo "${ECHO_T}no" >&6
42225 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
42226 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
42231 SHARED_LD_CC
="${LD} -nostart -o"
42232 SHARED_LD_CXX
="${LD} -nostart -o"
42236 if test "x$GCC" != "xyes"; then
42241 *-*-cygwin* | *-*-mingw32* )
42243 SHARED_LD_CC
="\$(CC) -shared -o"
42244 SHARED_LD_CXX
="\$(CXX) -shared -o"
42247 *-pc-os2_emx | *-pc-os2-emx )
42248 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42249 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42253 cat <<EOF >dllar.sh
42256 # dllar - a tool to build both a .dll and an .a file
42257 # from a set of object (.o) files for EMX/OS2.
42259 # Written by Andrew Zabolotny, bit@freya.etu.ru
42260 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42262 # This script will accept a set of files on the command line.
42263 # All the public symbols from the .o files will be exported into
42264 # a .DEF file, then linker will be run (through gcc) against them to
42265 # build a shared library consisting of all given .o files. All libraries
42266 # (.a) will be first decompressed into component .o files then act as
42267 # described above. You can optionally give a description (-d "description")
42268 # which will be put into .DLL. To see the list of accepted options (as well
42269 # as command-line format) simply run this program without options. The .DLL
42270 # is built to be imported by name (there is no guarantee that new versions
42271 # of the library you build will have same ordinals for same symbols).
42273 # dllar is free software; you can redistribute it and/or modify
42274 # it under the terms of the GNU General Public License as published by
42275 # the Free Software Foundation; either version 2, or (at your option)
42276 # any later version.
42278 # dllar is distributed in the hope that it will be useful,
42279 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42280 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42281 # GNU General Public License for more details.
42283 # You should have received a copy of the GNU General Public License
42284 # along with dllar; see the file COPYING. If not, write to the Free
42285 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42288 # To successfuly run this program you will need:
42289 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42290 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42292 # (used to build the .dll)
42294 # (used to create .def file from .o files)
42296 # (used to create .a file from .def file)
42297 # - GNU text utilites (cat, sort, uniq)
42298 # used to process emxexp output
42299 # - GNU file utilities (mv, rm)
42301 # - lxlite (optional, see flag below)
42302 # (used for general .dll cleanup)
42309 # basnam, variant of basename, which does _not_ remove the path, _iff_
42310 # second argument (suffix to remove) is given
42314 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42317 echo ${D}1 | sed 's/'${D}2'${D}//'
42320 echo "error in basnam ${D}*"
42326 # Cleanup temporary files and output
42329 for i in ${D}inputFiles ; do
42332 rm -rf \`basnam ${D}i !\`
42339 # Kill result in case of failure as there is just to many stupid make/nmake
42340 # things out there which doesn't do this.
42341 if [ ${D}# -eq 0 ]; then
42342 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42346 # Print usage and exit script with rc=1.
42348 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42349 echo ' [-name-mangler-script script.sh]'
42350 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42351 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42352 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42353 echo ' [*.o] [*.a]'
42354 echo '*> "output_file" should have no extension.'
42355 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42356 echo ' The import library name is derived from this and is set to "name".a,'
42357 echo ' unless overridden by -import'
42358 echo '*> "importlib_name" should have no extension.'
42359 echo ' If it has the .o, or .a extension, it is automatically removed.'
42360 echo ' This name is used as the import library name and may be longer and'
42361 echo ' more descriptive than the DLL name which has to follow the old '
42362 echo ' 8.3 convention of FAT.'
42363 echo '*> "script.sh may be given to override the output_file name by a'
42364 echo ' different name. It is mainly useful if the regular make process'
42365 echo ' of some package does not take into account OS/2 restriction of'
42366 echo ' DLL name lengths. It takes the importlib name as input and is'
42367 echo ' supposed to procude a shorter name as output. The script should'
42368 echo ' expect to get importlib_name without extension and should produce'
42369 echo ' a (max.) 8 letter name without extension.'
42370 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42371 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42372 echo ' These flags will be put at the start of GCC command line.'
42373 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42374 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42375 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42376 echo ' If the last character of a symbol is "*", all symbols beginning'
42377 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42378 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42379 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42380 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42381 echo ' C runtime DLLs.'
42382 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42383 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42384 echo ' unchanged to GCC at the end of command line.'
42385 echo '*> If you create a DLL from a library and you do not specify -o,'
42386 echo ' the basename for DLL and import library will be set to library name,'
42387 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42388 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42389 echo ' library will be renamed into gcc_s.a.'
42392 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42393 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42398 # Execute a command.
42399 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42400 # @Uses Whatever CleanUp() uses.
42406 if [ ${D}rcCmd -ne 0 ]; then
42407 echo "command failed, exit code="${D}rcCmd
42422 CFLAGS="-s -Zcrtdll"
42424 EXPORT_BY_ORDINALS=0
42429 case ${D}curDirS in
42433 curDirS=${D}{curDirS}"/"
42436 # Parse commandline
42439 while [ ${D}1 ]; do
42442 EXPORT_BY_ORDINALS=1;
42452 -name-mangler-script)
42473 exclude_symbols=${D}{exclude_symbols}${D}1" "
42477 library_flags=${D}{library_flags}${D}1" "
42496 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42499 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42500 if [ ${D}omfLinking -eq 1 ]; then
42501 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42503 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42508 if [ ${D}libsToLink -ne 0 ]; then
42509 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42511 for file in ${D}1 ; do
42512 if [ -f ${D}file ]; then
42513 inputFiles="${D}{inputFiles} ${D}file"
42517 if [ ${D}found -eq 0 ]; then
42518 echo "ERROR: No file(s) found: "${D}1
42525 done # iterate cmdline words
42528 if [ -z "${D}inputFiles" ]; then
42529 echo "dllar: no input files"
42533 # Now extract all .o files from .a files
42535 for file in ${D}inputFiles ; do
42546 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42551 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42553 if [ ${D}? -ne 0 ]; then
42554 echo "Failed to create subdirectory ./${D}dirname"
42558 # Append '!' to indicate archive
42559 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42560 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42563 for subfile in ${D}dirname/*.o* ; do
42564 if [ -f ${D}subfile ]; then
42566 if [ -s ${D}subfile ]; then
42567 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42568 newInputFiles="${D}newInputFiles ${D}subfile"
42572 if [ ${D}found -eq 0 ]; then
42573 echo "WARNING: there are no files in archive \\'${D}file\\'"
42577 newInputFiles="${D}{newInputFiles} ${D}file"
42581 inputFiles="${D}newInputFiles"
42583 # Output filename(s).
42585 if [ -z ${D}outFile ]; then
42587 set outFile ${D}inputFiles; outFile=${D}2
42590 # If it is an archive, remove the '!' and the '_%' suffixes
42591 case ${D}outFile in
42593 outFile=\`basnam ${D}outFile _%!\`
42598 case ${D}outFile in
42600 outFile=\`basnam ${D}outFile .dll\`
42603 outFile=\`basnam ${D}outFile .DLL\`
42606 outFile=\`basnam ${D}outFile .o\`
42609 outFile=\`basnam ${D}outFile .obj\`
42612 outFile=\`basnam ${D}outFile .a\`
42615 outFile=\`basnam ${D}outFile .lib\`
42620 case ${D}outimpFile in
42622 outimpFile=\`basnam ${D}outimpFile .a\`
42625 outimpFile=\`basnam ${D}outimpFile .lib\`
42630 if [ -z ${D}outimpFile ]; then
42631 outimpFile=${D}outFile
42633 defFile="${D}{outFile}.def"
42634 arcFile="${D}{outimpFile}.a"
42635 arcFile2="${D}{outimpFile}.lib"
42637 #create ${D}dllFile as something matching 8.3 restrictions,
42638 if [ -z ${D}renameScript ] ; then
42639 dllFile="${D}outFile"
42641 dllFile=\`${D}renameScript ${D}outimpFile\`
42644 if [ ${D}do_backup -ne 0 ] ; then
42645 if [ -f ${D}arcFile ] ; then
42646 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42648 if [ -f ${D}arcFile2 ] ; then
42649 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42653 # Extract public symbols from all the object files.
42654 tmpdefFile=${D}{defFile}_%
42655 rm -f ${D}tmpdefFile
42656 for file in ${D}inputFiles ; do
42661 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42666 # Create the def file.
42668 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42669 dllFile="${D}{dllFile}.dll"
42670 if [ ! -z ${D}description ]; then
42671 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42673 echo "EXPORTS" >> ${D}defFile
42675 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42676 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42678 # Checks if the export is ok or not.
42679 for word in ${D}exclude_symbols; do
42680 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42681 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42685 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42686 sed "=" < ${D}tmpdefFile | \\
42690 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42692 ' > ${D}{tmpdefFile}%
42693 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42695 rm -f ${D}{tmpdefFile}%
42697 cat ${D}tmpdefFile >> ${D}defFile
42698 rm -f ${D}tmpdefFile
42700 # Do linking, create implib, and apply lxlite.
42702 for file in ${D}inputFiles ; do
42707 gccCmdl="${D}gccCmdl ${D}file"
42711 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42712 touch "${D}{outFile}.dll"
42714 doCommand "emximp -o ${D}arcFile ${D}defFile"
42715 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42717 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42720 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42722 doCommand "emxomf -s -l ${D}arcFile"
42732 powerpc
-apple-macos* | \
42733 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42742 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42743 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42744 { (exit 1); exit 1; }; }
42747 if test "x$PIC_FLAG" != "x" ; then
42748 PIC_FLAG
="$PIC_FLAG -DPIC"
42751 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42752 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42754 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42755 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42772 case "${BAKEFILE_HOST}" in
42773 *-*-linux* | *-*-freebsd* )
42774 SONAME_FLAG
="-Wl,-soname,"
42802 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42803 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42806 if test "x$GCC" = "xyes"; then
42809 case "${BAKEFILE_HOST}" in
42810 powerpc
-*-darwin* )
42811 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42814 DEPSFLAG_GCC
="-MMD"
42817 echo "$as_me:$LINENO: result: gcc" >&5
42818 echo "${ECHO_T}gcc" >&6
42819 elif test "x$MWCC" = "xyes"; then
42822 DEPSFLAG_MWCC
="-MM"
42823 echo "$as_me:$LINENO: result: mwcc" >&5
42824 echo "${ECHO_T}mwcc" >&6
42826 echo "$as_me:$LINENO: result: none" >&5
42827 echo "${ECHO_T}none" >&6
42830 if test $DEPS_TRACKING = 1 ; then
42836 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42837 # script. It is used to track C/C++ files dependencies in portable way.
42839 # Permission is given to use this file in any way.
42841 DEPSMODE=${DEPSMODE}
42843 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42844 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42846 mkdir -p ${D}DEPSDIR
42848 if test ${D}DEPSMODE = gcc ; then
42849 ${D}* ${D}{DEPSFLAG_GCC}
42851 if test ${D}{status} != 0 ; then
42854 # move created file to the location we want it in:
42855 while test ${D}# -gt 0; do
42869 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42870 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42871 if test -f ${D}depfile ; then
42872 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42875 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42876 if test -f ${D}depfile ; then
42877 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42882 elif test ${D}DEPSMODE = mwcc ; then
42885 if test ${D}{status} != 0 ; then
42888 # Run mwcc again with -MM and redirect into the dep file we want
42889 # NOTE: We can't use shift here because we need ${D}* to be valid
42891 for arg in ${D}* ; do
42892 if test "${D}prevarg" = "-o"; then
42905 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42922 case ${BAKEFILE_HOST} in
42923 *-*-cygwin* | *-*-mingw32* )
42924 if test "$build" != "$host" ; then
42925 RESCOMP
=$host_alias-windres
42927 # Extract the first word of "windres", so it can be a program name with args.
42928 set dummy windres
; ac_word
=$2
42929 echo "$as_me:$LINENO: checking for $ac_word" >&5
42930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42931 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42932 echo $ECHO_N "(cached) $ECHO_C" >&6
42934 if test -n "$RESCOMP"; then
42935 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42938 for as_dir
in $PATH
42941 test -z "$as_dir" && as_dir
=.
42942 for ac_exec_ext
in '' $ac_executable_extensions; do
42943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42944 ac_cv_prog_RESCOMP
="windres"
42945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42951 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42954 RESCOMP
=$ac_cv_prog_RESCOMP
42955 if test -n "$RESCOMP"; then
42956 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42957 echo "${ECHO_T}$RESCOMP" >&6
42959 echo "$as_me:$LINENO: result: no" >&5
42960 echo "${ECHO_T}no" >&6
42966 *-*-darwin* | powerpc
-apple-macos* )
42967 # Extract the first word of "Rez", so it can be a program name with args.
42968 set dummy Rez
; ac_word
=$2
42969 echo "$as_me:$LINENO: checking for $ac_word" >&5
42970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42971 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42972 echo $ECHO_N "(cached) $ECHO_C" >&6
42974 if test -n "$RESCOMP"; then
42975 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42978 for as_dir
in $PATH
42981 test -z "$as_dir" && as_dir
=.
42982 for ac_exec_ext
in '' $ac_executable_extensions; do
42983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42984 ac_cv_prog_RESCOMP
="Rez"
42985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42991 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42994 RESCOMP
=$ac_cv_prog_RESCOMP
42995 if test -n "$RESCOMP"; then
42996 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42997 echo "${ECHO_T}$RESCOMP" >&6
42999 echo "$as_me:$LINENO: result: no" >&5
43000 echo "${ECHO_T}no" >&6
43003 # Extract the first word of "SetFile", so it can be a program name with args.
43004 set dummy SetFile
; ac_word
=$2
43005 echo "$as_me:$LINENO: checking for $ac_word" >&5
43006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43007 if test "${ac_cv_prog_SETFILE+set}" = set; then
43008 echo $ECHO_N "(cached) $ECHO_C" >&6
43010 if test -n "$SETFILE"; then
43011 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
43013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43014 for as_dir
in $PATH
43017 test -z "$as_dir" && as_dir
=.
43018 for ac_exec_ext
in '' $ac_executable_extensions; do
43019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43020 ac_cv_prog_SETFILE
="SetFile"
43021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43027 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
43030 SETFILE
=$ac_cv_prog_SETFILE
43031 if test -n "$SETFILE"; then
43032 echo "$as_me:$LINENO: result: $SETFILE" >&5
43033 echo "${ECHO_T}$SETFILE" >&6
43035 echo "$as_me:$LINENO: result: no" >&5
43036 echo "${ECHO_T}no" >&6
43046 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
43049 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
43053 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43054 if test "${enable_precomp_headers+set}" = set; then
43055 enableval
="$enable_precomp_headers"
43056 bk_use_pch
="$enableval"
43061 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43062 if test "x$GCC" = "xyes"; then
43063 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43064 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43065 cat >conftest.
$ac_ext <<_ACEOF
43068 cat confdefs.h
>>conftest.
$ac_ext
43069 cat >>conftest.
$ac_ext <<_ACEOF
43070 /* end confdefs.h. */
43076 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43077 #error "no pch support"
43080 #error "no pch support"
43082 #if (__GNUC__ == 3) && \
43083 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43084 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43085 #error "no pch support"
43092 rm -f conftest.
$ac_objext
43093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43094 (eval $ac_compile) 2>conftest.er1
43096 grep -v '^ *+' conftest.er1
>conftest.err
43098 cat conftest.err
>&5
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); } &&
43101 { ac_try
='test -z "$ac_c_werror_flag"
43102 || test ! -s conftest.err'
43103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43104 (eval $ac_try) 2>&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); }; } &&
43108 { ac_try
='test -s conftest.$ac_objext'
43109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43110 (eval $ac_try) 2>&5
43112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43113 (exit $ac_status); }; }; then
43115 echo "$as_me:$LINENO: result: yes" >&5
43116 echo "${ECHO_T}yes" >&6
43120 echo "$as_me: failed program was:" >&5
43121 sed 's/^/| /' conftest.
$ac_ext >&5
43124 echo "$as_me:$LINENO: result: no" >&5
43125 echo "${ECHO_T}no" >&6
43128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43129 if test $GCC_PCH = 1 ; then
43132 cat <<EOF >bk-make-pch
43135 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43136 # script. It is used to generated precompiled headers.
43138 # Permission is given to use this file in any way.
43147 while test ${D}{#} -gt 0; do
43150 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43151 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43152 headerfile="${D}{incdir}/${D}{header}"
43156 compiler="${D}{compiler} ${D}{1}"
43160 if test "x${D}{headerfile}" = "x" ; then
43161 echo "error: can't find header ${D}{header} in include paths" >2
43163 if test -f ${D}{outfile} ; then
43164 rm -f ${D}{outfile}
43166 mkdir -p \`dirname ${D}{outfile}\`
43168 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43170 # can do this because gcc is >= 3.4:
43171 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43176 chmod +x bk
-make-pch
43183 COND_BUILD_DEBUG
="#"
43184 if test "x$BUILD" = "xdebug" ; then
43185 COND_BUILD_DEBUG
=""
43188 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
43189 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43190 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
43193 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
43194 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43195 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
43198 COND_BUILD_DEBUG_UNICODE_0
="#"
43199 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43200 COND_BUILD_DEBUG_UNICODE_0
=""
43203 COND_BUILD_DEBUG_UNICODE_1
="#"
43204 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43205 COND_BUILD_DEBUG_UNICODE_1
=""
43208 COND_BUILD_RELEASE
="#"
43209 if test "x$BUILD" = "xrelease" ; then
43210 COND_BUILD_RELEASE
=""
43213 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
43214 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43215 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
43218 COND_BUILD_RELEASE_UNICODE_0
="#"
43219 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43220 COND_BUILD_RELEASE_UNICODE_0
=""
43223 COND_BUILD_RELEASE_UNICODE_1
="#"
43224 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43225 COND_BUILD_RELEASE_UNICODE_1
=""
43228 COND_DEBUG_FLAG_1
="#"
43229 if test "x$DEBUG_FLAG" = "x1" ; then
43230 COND_DEBUG_FLAG_1
=""
43233 COND_DEBUG_INFO_0
="#"
43234 if test "x$DEBUG_INFO" = "x0" ; then
43235 COND_DEBUG_INFO_0
=""
43238 COND_DEBUG_INFO_1
="#"
43239 if test "x$DEBUG_INFO" = "x1" ; then
43240 COND_DEBUG_INFO_1
=""
43243 COND_DEPS_TRACKING_0
="#"
43244 if test "x$DEPS_TRACKING" = "x0" ; then
43245 COND_DEPS_TRACKING_0
=""
43248 COND_DEPS_TRACKING_1
="#"
43249 if test "x$DEPS_TRACKING" = "x1" ; then
43250 COND_DEPS_TRACKING_1
=""
43254 if test "x$GCC_PCH" = "x1" ; then
43258 COND_MONOLITHIC_0
="#"
43259 if test "x$MONOLITHIC" = "x0" ; then
43260 COND_MONOLITHIC_0
=""
43263 COND_MONOLITHIC_0_SHARED_0
="#"
43264 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43265 COND_MONOLITHIC_0_SHARED_0
=""
43268 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
43269 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43270 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
43273 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
43274 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43275 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
43278 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
43279 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43280 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
43283 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
43284 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43285 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
43288 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
43289 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43290 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
43293 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
43294 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43295 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
43298 COND_MONOLITHIC_0_SHARED_1
="#"
43299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43300 COND_MONOLITHIC_0_SHARED_1
=""
43303 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
43304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43305 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
43308 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
43309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43310 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
43313 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
43314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43315 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
43318 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
43319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43320 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
43323 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
43324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43325 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
43328 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
43329 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43330 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
43333 COND_MONOLITHIC_0_USE_ODBC_1
="#"
43334 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43335 COND_MONOLITHIC_0_USE_ODBC_1
=""
43338 COND_MONOLITHIC_1
="#"
43339 if test "x$MONOLITHIC" = "x1" ; then
43340 COND_MONOLITHIC_1
=""
43343 COND_MONOLITHIC_1_SHARED_0
="#"
43344 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43345 COND_MONOLITHIC_1_SHARED_0
=""
43348 COND_MONOLITHIC_1_SHARED_1
="#"
43349 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43350 COND_MONOLITHIC_1_SHARED_1
=""
43353 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
43354 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43355 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
43358 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
43359 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43360 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
43363 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
43364 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43365 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
43368 COND_PLATFORM_MACOSX_1
="#"
43369 if test "x$PLATFORM_MACOSX" = "x1" ; then
43370 COND_PLATFORM_MACOSX_1
=""
43373 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
43374 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43375 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
43378 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
43379 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43380 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
43383 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
43384 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43385 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
43388 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
43389 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43390 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
43393 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
43394 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43395 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
43398 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43399 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43400 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43403 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
43404 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43405 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
43408 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
43409 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43410 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
43413 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
43414 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43415 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
43418 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
43419 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43420 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
43423 COND_PLATFORM_MACOS_1
="#"
43424 if test "x$PLATFORM_MACOS" = "x1" ; then
43425 COND_PLATFORM_MACOS_1
=""
43428 COND_PLATFORM_MAC_1
="#"
43429 if test "x$PLATFORM_MAC" = "x1" ; then
43430 COND_PLATFORM_MAC_1
=""
43433 COND_PLATFORM_MSDOS_1
="#"
43434 if test "x$PLATFORM_MSDOS" = "x1" ; then
43435 COND_PLATFORM_MSDOS_1
=""
43438 COND_PLATFORM_OS2_1
="#"
43439 if test "x$PLATFORM_OS2" = "x1" ; then
43440 COND_PLATFORM_OS2_1
=""
43443 COND_PLATFORM_UNIX_0
="#"
43444 if test "x$PLATFORM_UNIX" = "x0" ; then
43445 COND_PLATFORM_UNIX_0
=""
43448 COND_PLATFORM_UNIX_1
="#"
43449 if test "x$PLATFORM_UNIX" = "x1" ; then
43450 COND_PLATFORM_UNIX_1
=""
43453 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
43454 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43455 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
43458 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
43459 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43460 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
43463 COND_PLATFORM_WIN32_0
="#"
43464 if test "x$PLATFORM_WIN32" = "x0" ; then
43465 COND_PLATFORM_WIN32_0
=""
43468 COND_PLATFORM_WIN32_1
="#"
43469 if test "x$PLATFORM_WIN32" = "x1" ; then
43470 COND_PLATFORM_WIN32_1
=""
43474 if test "x$SHARED" = "x0" ; then
43478 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
43479 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43480 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
43483 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
43484 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43485 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43488 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43489 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43490 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43493 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43494 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43495 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43498 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43499 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43500 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43503 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43504 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43505 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43508 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43509 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43510 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43513 COND_SHARED_0_USE_XRC_1
="#"
43514 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43515 COND_SHARED_0_USE_XRC_1
=""
43518 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
43519 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43520 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
43523 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
43524 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43525 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
43528 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
43529 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43530 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
43533 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
43534 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43535 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
43539 if test "x$SHARED" = "x1" ; then
43543 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43544 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43545 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43548 COND_SHARED_1_USE_XRC_1
="#"
43549 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43550 COND_SHARED_1_USE_XRC_1
=""
43554 if test "x$TOOLKIT" = "x" ; then
43558 COND_TOOLKIT_COCOA
="#"
43559 if test "x$TOOLKIT" = "xCOCOA" ; then
43560 COND_TOOLKIT_COCOA
=""
43563 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
43564 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43565 COND_TOOLKIT_COCOA_USE_GUI_1
=""
43568 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
43569 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43570 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
43573 COND_TOOLKIT_GTK
="#"
43574 if test "x$TOOLKIT" = "xGTK" ; then
43575 COND_TOOLKIT_GTK
=""
43578 COND_TOOLKIT_GTK_USE_GUI_1
="#"
43579 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43580 COND_TOOLKIT_GTK_USE_GUI_1
=""
43583 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
43584 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43585 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
43588 COND_TOOLKIT_MAC
="#"
43589 if test "x$TOOLKIT" = "xMAC" ; then
43590 COND_TOOLKIT_MAC
=""
43593 COND_TOOLKIT_MAC_USE_GUI_1
="#"
43594 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43595 COND_TOOLKIT_MAC_USE_GUI_1
=""
43598 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43599 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43600 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43603 COND_TOOLKIT_MGL
="#"
43604 if test "x$TOOLKIT" = "xMGL" ; then
43605 COND_TOOLKIT_MGL
=""
43608 COND_TOOLKIT_MGL_USE_GUI_1
="#"
43609 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43610 COND_TOOLKIT_MGL_USE_GUI_1
=""
43613 COND_TOOLKIT_MOTIF
="#"
43614 if test "x$TOOLKIT" = "xMOTIF" ; then
43615 COND_TOOLKIT_MOTIF
=""
43618 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
43619 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43620 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
43623 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
43624 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43625 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
43628 COND_TOOLKIT_MSW
="#"
43629 if test "x$TOOLKIT" = "xMSW" ; then
43630 COND_TOOLKIT_MSW
=""
43633 COND_TOOLKIT_MSW_USE_GUI_1
="#"
43634 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43635 COND_TOOLKIT_MSW_USE_GUI_1
=""
43638 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
43639 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43640 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
43643 COND_TOOLKIT_PM
="#"
43644 if test "x$TOOLKIT" = "xPM" ; then
43648 COND_TOOLKIT_PM_USE_GUI_1
="#"
43649 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43650 COND_TOOLKIT_PM_USE_GUI_1
=""
43653 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
43654 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43655 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
43658 COND_TOOLKIT_WINCE
="#"
43659 if test "x$TOOLKIT" = "xWINCE" ; then
43660 COND_TOOLKIT_WINCE
=""
43663 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
43664 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43665 COND_TOOLKIT_WINCE_USE_GUI_1
=""
43668 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
43669 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43670 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
43673 COND_TOOLKIT_X11
="#"
43674 if test "x$TOOLKIT" = "xX11" ; then
43675 COND_TOOLKIT_X11
=""
43678 COND_TOOLKIT_X11_USE_GUI_1
="#"
43679 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43680 COND_TOOLKIT_X11_USE_GUI_1
=""
43684 if test "x$UNICODE" = "x1" ; then
43688 COND_USE_EXCEPTIONS_0
="#"
43689 if test "x$USE_EXCEPTIONS" = "x0" ; then
43690 COND_USE_EXCEPTIONS_0
=""
43693 COND_USE_EXCEPTIONS_1
="#"
43694 if test "x$USE_EXCEPTIONS" = "x1" ; then
43695 COND_USE_EXCEPTIONS_1
=""
43699 if test "x$USE_GUI" = "x0" ; then
43704 if test "x$USE_GUI" = "x1" ; then
43708 COND_USE_GUI_1_WXUNIV_0
="#"
43709 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43710 COND_USE_GUI_1_WXUNIV_0
=""
43713 COND_USE_GUI_1_WXUNIV_1
="#"
43714 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43715 COND_USE_GUI_1_WXUNIV_1
=""
43718 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43719 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43720 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43723 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43724 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43725 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43728 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43729 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43730 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43733 COND_USE_ODBC_1
="#"
43734 if test "x$USE_ODBC" = "x1" ; then
43738 COND_USE_OPENGL_1
="#"
43739 if test "x$USE_OPENGL" = "x1" ; then
43740 COND_USE_OPENGL_1
=""
43743 COND_USE_PLUGINS_0
="#"
43744 if test "x$USE_PLUGINS" = "x0" ; then
43745 COND_USE_PLUGINS_0
=""
43748 COND_USE_RTTI_0
="#"
43749 if test "x$USE_RTTI" = "x0" ; then
43753 COND_USE_RTTI_1
="#"
43754 if test "x$USE_RTTI" = "x1" ; then
43758 COND_USE_SOSYMLINKS_1
="#"
43759 if test "x$USE_SOSYMLINKS" = "x1" ; then
43760 COND_USE_SOSYMLINKS_1
=""
43763 COND_USE_SOVERLINUX_1
="#"
43764 if test "x$USE_SOVERLINUX" = "x1" ; then
43765 COND_USE_SOVERLINUX_1
=""
43768 COND_USE_SOVERSION_0
="#"
43769 if test "x$USE_SOVERSION" = "x0" ; then
43770 COND_USE_SOVERSION_0
=""
43773 COND_USE_SOVERSOLARIS_1
="#"
43774 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43775 COND_USE_SOVERSOLARIS_1
=""
43778 COND_USE_THREADS_0
="#"
43779 if test "x$USE_THREADS" = "x0" ; then
43780 COND_USE_THREADS_0
=""
43783 COND_USE_THREADS_1
="#"
43784 if test "x$USE_THREADS" = "x1" ; then
43785 COND_USE_THREADS_1
=""
43789 if test "x$USE_XRC" = "x1" ; then
43793 COND_WITH_PLUGIN_SDL_1
="#"
43794 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43795 COND_WITH_PLUGIN_SDL_1
=""
43799 if test "x$WXUNIV" = "x0" ; then
43804 if test "x$WXUNIV" = "x1" ; then
43808 COND_WXUSE_EXPAT_BUILTIN
="#"
43809 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43810 COND_WXUSE_EXPAT_BUILTIN
=""
43813 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43814 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43815 COND_WXUSE_LIBJPEG_BUILTIN
=""
43818 COND_WXUSE_LIBPNG_BUILTIN
="#"
43819 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43820 COND_WXUSE_LIBPNG_BUILTIN
=""
43823 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43824 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43825 COND_WXUSE_LIBTIFF_BUILTIN
=""
43828 COND_WXUSE_ODBC_BUILTIN
="#"
43829 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43830 COND_WXUSE_ODBC_BUILTIN
=""
43833 COND_WXUSE_REGEX_BUILTIN
="#"
43834 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43835 COND_WXUSE_REGEX_BUILTIN
=""
43838 COND_WXUSE_ZLIB_BUILTIN
="#"
43839 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43840 COND_WXUSE_ZLIB_BUILTIN
=""
43845 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43846 { { 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
43847 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;}
43848 { (exit 1); exit 1; }; }
43852 if test "$wxUSE_WINE" = "yes"; then
43856 if test "$wxUSE_SHARED" = "yes"; then
43858 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43859 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43862 *-pc-os2_emx | *-pc-os2-emx )
43863 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43864 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43865 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43866 cp -p ${srcdir}/src
/os
2/dllar.sh .
43871 EXE_LINKER
="$CXX -o"
43874 if test "$wxUSE_OMF" = "yes"; then
43876 *-pc-os2_emx | *-pc-os2-emx )
43877 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
43878 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43879 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43884 GCC_PRAGMA_FLAGS
=""
43886 if test $GCC_PCH = 1 ; then
43887 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43888 PCH_FLAGS
="-DWX_PRECOMP"
43891 powerpc
-*-darwin* )
43892 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43895 if test "$wxUSE_STL" = "yes" -o \
43896 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43897 "$wxUSE_NO_RTTI" != "yes"; then
43898 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43899 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43900 cat >conftest.
$ac_ext <<_ACEOF
43903 cat confdefs.h
>>conftest.
$ac_ext
43904 cat >>conftest.
$ac_ext <<_ACEOF
43905 /* end confdefs.h. */
43910 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43911 #error "Not GCC 3.2 or greater"
43918 rm -f conftest.
$ac_objext
43919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43920 (eval $ac_compile) 2>conftest.er1
43922 grep -v '^ *+' conftest.er1
>conftest.err
43924 cat conftest.err
>&5
43925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926 (exit $ac_status); } &&
43927 { ac_try
='test -z "$ac_c_werror_flag"
43928 || test ! -s conftest.err'
43929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43930 (eval $ac_try) 2>&5
43932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43933 (exit $ac_status); }; } &&
43934 { ac_try
='test -s conftest.$ac_objext'
43935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43936 (eval $ac_try) 2>&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); }; }; then
43940 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43941 echo "$as_me:$LINENO: result: yes" >&5
43942 echo "${ECHO_T}yes" >&6
43944 echo "$as_me: failed program was:" >&5
43945 sed 's/^/| /' conftest.
$ac_ext >&5
43947 echo "$as_me:$LINENO: result: no" >&5
43948 echo "${ECHO_T}no" >&6
43950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43953 *-pc-os2_emx | *-pc-os2-emx )
43954 if test "$wxUSE_STL" = "yes"; then
43955 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43956 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43957 cat >conftest.
$ac_ext <<_ACEOF
43960 cat confdefs.h
>>conftest.
$ac_ext
43961 cat >>conftest.
$ac_ext <<_ACEOF
43962 /* end confdefs.h. */
43967 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43968 #error "Not GCC 3.2 or greater"
43975 rm -f conftest.
$ac_objext
43976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43977 (eval $ac_compile) 2>conftest.er1
43979 grep -v '^ *+' conftest.er1
>conftest.err
43981 cat conftest.err
>&5
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); } &&
43984 { ac_try
='test -z "$ac_c_werror_flag"
43985 || test ! -s conftest.err'
43986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43987 (eval $ac_try) 2>&5
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); }; } &&
43991 { ac_try
='test -s conftest.$ac_objext'
43992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43993 (eval $ac_try) 2>&5
43995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996 (exit $ac_status); }; }; then
43997 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43998 echo "$as_me:$LINENO: result: yes" >&5
43999 echo "${ECHO_T}yes" >&6
44001 echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.
$ac_ext >&5
44004 echo "$as_me:$LINENO: result: no" >&5
44005 echo "${ECHO_T}no" >&6
44007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44012 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44015 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44079 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44080 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44081 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
44082 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44083 echo $ECHO_N "(cached) $ECHO_C" >&6
44085 cat >conftest.
make <<\_ACEOF
44087 @
echo 'ac_maketemp="$(MAKE)"'
44089 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44090 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44091 if test -n "$ac_maketemp"; then
44092 eval ac_cv_prog_make_
${ac_make}_set
=yes
44094 eval ac_cv_prog_make_
${ac_make}_set
=no
44096 rm -f conftest.
make
44098 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44099 echo "$as_me:$LINENO: result: yes" >&5
44100 echo "${ECHO_T}yes" >&6
44103 echo "$as_me:$LINENO: result: no" >&5
44104 echo "${ECHO_T}no" >&6
44105 SET_MAKE
="MAKE=${MAKE-make}"
44110 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44113 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44116 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44119 ac_config_files
="$ac_config_files version-script Makefile"
44122 ac_config_commands
="$ac_config_commands wx-config
44128 if test "$wxUSE_GUI" = "yes"; then
44129 SUBDIRS
="samples demos utils contrib"
44130 else SUBDIRS
="samples utils"
44135 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44136 if test "${with_cppunit_prefix+set}" = set; then
44137 withval
="$with_cppunit_prefix"
44138 cppunit_config_prefix
="$withval"
44140 cppunit_config_prefix
=""
44143 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44144 if test "${with_cppunit_exec_prefix+set}" = set; then
44145 withval
="$with_cppunit_exec_prefix"
44146 cppunit_config_exec_prefix
="$withval"
44148 cppunit_config_exec_prefix
=""
44151 if test x
$cppunit_config_exec_prefix != x
; then
44152 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44153 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44154 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
44157 if test x
$cppunit_config_prefix != x
; then
44158 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
44159 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44160 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
44164 # Extract the first word of "cppunit-config", so it can be a program name with args.
44165 set dummy cppunit
-config; ac_word
=$2
44166 echo "$as_me:$LINENO: checking for $ac_word" >&5
44167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44168 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44169 echo $ECHO_N "(cached) $ECHO_C" >&6
44171 case $CPPUNIT_CONFIG in
44173 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44177 for as_dir
in $PATH
44180 test -z "$as_dir" && as_dir
=.
44181 for ac_exec_ext
in '' $ac_executable_extensions; do
44182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44183 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44190 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
44194 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
44196 if test -n "$CPPUNIT_CONFIG"; then
44197 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44198 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44200 echo "$as_me:$LINENO: result: no" >&5
44201 echo "${ECHO_T}no" >&6
44204 cppunit_version_min
=1.8.0
44206 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44207 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44209 if test "$CPPUNIT_CONFIG" = "no" ; then
44212 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
44213 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
44214 cppunit_version
=`$CPPUNIT_CONFIG --version`
44216 cppunit_major_version
=`echo $cppunit_version | \
44217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44218 cppunit_minor_version
=`echo $cppunit_version | \
44219 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44220 cppunit_micro_version
=`echo $cppunit_version | \
44221 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44223 cppunit_major_min
=`echo $cppunit_version_min | \
44224 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44225 cppunit_minor_min
=`echo $cppunit_version_min | \
44226 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44227 cppunit_micro_min
=`echo $cppunit_version_min | \
44228 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44230 cppunit_version_proper
=`expr \
44231 $cppunit_major_version \> $cppunit_major_min \| \
44232 $cppunit_major_version \= $cppunit_major_min \& \
44233 $cppunit_minor_version \> $cppunit_minor_min \| \
44234 $cppunit_major_version \= $cppunit_major_min \& \
44235 $cppunit_minor_version \= $cppunit_minor_min \& \
44236 $cppunit_micro_version \>= $cppunit_micro_min `
44238 if test "$cppunit_version_proper" = "1" ; then
44239 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44240 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44242 echo "$as_me:$LINENO: result: no" >&5
44243 echo "${ECHO_T}no" >&6
44248 if test "x$no_cppunit" = x
; then
44249 SUBDIRS
="$SUBDIRS tests"
44260 for subdir
in `echo $SUBDIRS`; do
44261 if test -d ${srcdir}/${subdir} ; then
44262 if test "$wxUSE_GUI" = "yes"; then
44263 if test ${subdir} = "samples"; then
44264 makefiles
="samples/Makefile.in $makefiles"
44265 for sample
in `echo $SAMPLES_SUBDIRS`; do
44266 if test -d $srcdir/samples
/$sample; then
44267 makefiles
="samples/$sample/Makefile.in $makefiles"
44271 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
44272 eval "disabled=\$$disabled_var"
44273 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
44274 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44276 else if test ${subdir} = "samples"; then
44277 makefiles
="samples/Makefile.in samples/console/Makefile.in"
44278 elif test ${subdir} = "utils"; then
44280 for util
in HelpGen tex2rtf
; do
44281 if test -d $srcdir/utils
/$util ; then
44282 makefiles
="utils/$util/Makefile.in \
44283 utils/$util/src/Makefile.in \
44287 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
44291 for mkin
in $makefiles ; do
44292 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44293 ac_config_files
="$ac_config_files $mk"
44300 cat >confcache
<<\_ACEOF
44301 # This file is a shell script that caches the results of configure
44302 # tests run on this system so they can be shared between configure
44303 # scripts and configure runs, see configure's option --config-cache.
44304 # It is not useful on other systems. If it contains results you don't
44305 # want to keep, you may remove or edit it.
44307 # config.status only pays attention to the cache file if you give it
44308 # the --recheck option to rerun configure.
44310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44312 # following values.
44316 # The following way of writing the cache mishandles newlines in values,
44317 # but we know of no workaround that is simple, portable, and efficient.
44318 # So, don't put newlines in cache variables' values.
44319 # Ultrix sh set writes to stderr and can't be redirected directly,
44320 # and sets the high bit in the cache file unless we assign to the vars.
44323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44325 # `set' does not quote correctly, so add quotes (double-quote
44326 # substitution turns \\\\ into \\, and sed turns \\ into \).
44329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44332 # `set' quotes correctly as required by POSIX, so do not add quotes.
44334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44345 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
44346 if test -w $cache_file; then
44347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44348 cat confcache
>$cache_file
44350 echo "not updating unwritable cache $cache_file"
44355 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
44356 # Let make expand exec_prefix.
44357 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
44359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44361 # trailing colons and then remove the whole line if VPATH becomes empty
44362 # (actually we leave an empty line to preserve line numbers).
44363 if test "x$srcdir" = x.
; then
44364 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
44365 s/:*\$(srcdir):*/:/;
44366 s/:*\${srcdir}:*/:/;
44368 s/^\([^=]*=[ ]*\):*/\1/;
44374 DEFS
=-DHAVE_CONFIG_H
44378 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
44379 # 1. Remove the extension, and $U if already installed.
44380 ac_i
=`echo "$ac_i" |
44381 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44383 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
44384 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
44386 LIBOBJS
=$ac_libobjs
44388 LTLIBOBJS
=$ac_ltlibobjs
44392 : ${CONFIG_STATUS=./config.status}
44393 ac_clean_files_save
=$ac_clean_files
44394 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
44395 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44396 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44397 cat >$CONFIG_STATUS <<_ACEOF
44399 # Generated by $as_me.
44400 # Run this file to recreate the current configuration.
44401 # Compiler output produced by configure, useful for debugging
44402 # configure, is in config.log if it exists.
44405 ac_cs_recheck=false
44407 SHELL=\${CONFIG_SHELL-$SHELL}
44410 cat >>$CONFIG_STATUS <<\_ACEOF
44411 ## --------------------- ##
44412 ## M4sh Initialization. ##
44413 ## --------------------- ##
44415 # Be Bourne compatible
44416 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
44419 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44420 # is contrary to our usage. Disable this feature.
44421 alias -g '${1+"$@"}'='"$@"'
44422 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
44425 DUALCASE
=1; export DUALCASE
# for MKS sh
44427 # Support unset when possible.
44428 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
44435 # Work around bugs in pre-3.0 UWIN ksh.
44436 $as_unset ENV MAIL MAILPATH
44443 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44444 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44445 LC_TELEPHONE LC_TIME
44447 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44448 eval $as_var=C
; export $as_var
44454 # Required to use basename.
44455 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44461 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
44462 as_basename
=basename
44468 # Name of the executable.
44469 as_me
=`$as_basename "$0" ||
44470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44471 X"$0" : 'X\(//\)$' \| \
44472 X"$0" : 'X\(/\)$' \| \
44473 . : '\(.\)' 2>/dev/null ||
44475 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44476 /^X\/\(\/\/\)$/{ s//\1/; q; }
44477 /^X\/\(\/\).*/{ s//\1/; q; }
44481 # PATH needs CR, and LINENO needs CR and PATH.
44482 # Avoid depending upon Character Ranges.
44483 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
44484 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44485 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
44486 as_cr_digits
='0123456789'
44487 as_cr_alnum
=$as_cr_Letters$as_cr_digits
44489 # The user is always right.
44490 if test "${PATH_SEPARATOR+set}" != set; then
44491 echo "#! /bin/sh" >conf$$.sh
44492 echo "exit 0" >>conf$$.sh
44494 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
44503 as_lineno_1
=$LINENO
44504 as_lineno_2
=$LINENO
44505 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
44506 test "x$as_lineno_1" != "x$as_lineno_2" &&
44507 test "x$as_lineno_3" = "x$as_lineno_2" || {
44508 # Find who we are. Look in the path if we contain no path at all
44511 *[\\/]* ) as_myself
=$0 ;;
44512 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44513 for as_dir
in $PATH
44516 test -z "$as_dir" && as_dir
=.
44517 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
44522 # We did not find ourselves, most probably we were run as `sh COMMAND'
44523 # in which case we are not to be found in the path.
44524 if test "x$as_myself" = x
; then
44527 if test ! -f "$as_myself"; then
44528 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44529 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44530 { (exit 1); exit 1; }; }
44532 case $CONFIG_SHELL in
44534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44535 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
44538 test -z "$as_dir" && as_dir
=.
44539 for as_base
in sh bash ksh sh5
; do
44542 if ("$as_dir/$as_base" -c '
44543 as_lineno_1=$LINENO
44544 as_lineno_2=$LINENO
44545 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44546 test "x$as_lineno_1" != "x$as_lineno_2" &&
44547 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
44548 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
44549 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
44550 CONFIG_SHELL
=$as_dir/$as_base
44551 export CONFIG_SHELL
44552 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44560 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44561 # uniformly replaced by the line number. The first 'sed' inserts a
44562 # line-number line before each line; the second 'sed' does the real
44563 # work. The second script uses 'N' to pair each line-number line
44564 # with the numbered line, and appends trailing '-' during
44565 # substitution so that $LINENO is not a special case at line end.
44566 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44567 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44568 sed '=' <$as_myself |
44573 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44576 s,^['$as_cr_digits']*\n,,
44577 ' >$as_me.lineno
&&
44578 chmod +x
$as_me.lineno
||
44579 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44580 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44581 { (exit 1); exit 1; }; }
44583 # Don't try to exec as it changes $[0], causing all sort of problems
44584 # (the dirname of $[0] is not the place where we might find the
44585 # original and so on. Autoconf is especially sensible to this).
44587 # Exit status is that of the last command.
44592 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44593 *c
*,-n*) ECHO_N
= ECHO_C
='
44595 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
44596 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
44599 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44605 rm -f conf$$ conf$$.exe conf$$.
file
44607 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
44608 # We could just check for DJGPP; but this test a) works b) is more generic
44609 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44610 if test -f conf$$.exe
; then
44611 # Don't use ln at all; we don't have any links
44616 elif ln conf$$.
file conf$$
2>/dev
/null
; then
44621 rm -f conf$$ conf$$.exe conf$$.
file
44623 if mkdir -p .
2>/dev
/null
; then
44626 test -d .
/-p && rmdir .
/-p
44630 as_executable_p
="test -f"
44632 # Sed expression to map a string onto a valid CPP name.
44633 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44635 # Sed expression to map a string onto a valid variable name.
44636 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44640 # We need space, tab and new line, in precisely that order.
44650 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44651 # report actual input values of CONFIG_FILES etc. instead of their
44652 # values after options handling. Logging --version etc. is OK.
44656 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44657 ## Running $as_me. ##
44662 This file was extended by wxWidgets $as_me 2.6.1, which was
44663 generated by GNU Autoconf 2.59. Invocation command line was
44665 CONFIG_FILES = $CONFIG_FILES
44666 CONFIG_HEADERS = $CONFIG_HEADERS
44667 CONFIG_LINKS = $CONFIG_LINKS
44668 CONFIG_COMMANDS = $CONFIG_COMMANDS
44672 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44676 # Files that config.status was made for.
44677 if test -n "$ac_config_files"; then
44678 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44681 if test -n "$ac_config_headers"; then
44682 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44685 if test -n "$ac_config_links"; then
44686 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44689 if test -n "$ac_config_commands"; then
44690 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44693 cat >>$CONFIG_STATUS <<\_ACEOF
44696 \`$as_me' instantiates files from templates according to the
44697 current configuration.
44699 Usage: $0 [OPTIONS] [FILE]...
44701 -h, --help print this help, then exit
44702 -V, --version print version number, then exit
44703 -q, --quiet do not print progress messages
44704 -d, --debug don't remove temporary files
44705 --recheck update $as_me by reconfiguring in the same conditions
44706 --file=FILE[:TEMPLATE]
44707 instantiate the configuration file FILE
44708 --header=FILE[:TEMPLATE]
44709 instantiate the configuration header FILE
44711 Configuration files:
44714 Configuration headers:
44717 Configuration commands:
44720 Report bugs to <bug-autoconf@gnu.org>."
44723 cat >>$CONFIG_STATUS <<_ACEOF
44725 wxWidgets config.status 2.6.1
44726 configured by $0, generated by GNU Autoconf 2.59,
44727 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44729 Copyright (C) 2003 Free Software Foundation, Inc.
44730 This config.status script is free software; the Free Software Foundation
44731 gives unlimited permission to copy, distribute and modify it."
44736 cat >>$CONFIG_STATUS <<\_ACEOF
44737 # If no file are specified by the user, then we need to provide default
44738 # value. By we need to know if files were specified by the user.
44744 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
44745 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
44753 *) # This is not an option, so the user has probably given explicit
44756 ac_need_defaults
=false
;;
44760 # Handling of the options.
44762 cat >>$CONFIG_STATUS <<\_ACEOF
44763 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44765 --version | --vers* | -V )
44766 echo "$ac_cs_version"; exit 0 ;;
44768 # Conflict between --help and --header
44769 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44770 Try \`$0 --help' for more information." >&5
44771 echo "$as_me: error: ambiguous option: $1
44772 Try \`$0 --help' for more information." >&2;}
44773 { (exit 1); exit 1; }; };;
44774 --help | --hel | -h )
44775 echo "$ac_cs_usage"; exit 0 ;;
44776 --debug | --d* | -d )
44778 --file | --fil | --fi | --f )
44780 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44781 ac_need_defaults
=false
;;
44782 --header | --heade | --head | --hea )
44784 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44785 ac_need_defaults
=false
;;
44786 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44787 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44790 # This is an error.
44791 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44792 Try \`$0 --help' for more information." >&5
44793 echo "$as_me: error: unrecognized option: $1
44794 Try \`$0 --help' for more information." >&2;}
44795 { (exit 1); exit 1; }; } ;;
44797 *) ac_config_targets
="$ac_config_targets $1" ;;
44803 ac_configure_extra_args
=
44805 if $ac_cs_silent; then
44807 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44811 cat >>$CONFIG_STATUS <<_ACEOF
44812 if \$ac_cs_recheck; then
44813 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44814 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44819 cat >>$CONFIG_STATUS <<_ACEOF
44821 # INIT-COMMANDS section.
44824 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44825 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44826 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44834 cat >>$CONFIG_STATUS <<\_ACEOF
44835 for ac_config_target
in $ac_config_targets
44837 case "$ac_config_target" in
44838 # Handling of arguments.
44839 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44840 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44841 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44842 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44843 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44844 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44845 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44846 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44847 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44848 { (exit 1); exit 1; }; };;
44852 # If the user did not use the arguments to specify the items to instantiate,
44853 # then the envvar interface is used. Set only those that are not.
44854 # We use the long form for the default assignment because of an extremely
44855 # bizarre bug on SunOS 4.1.3.
44856 if $ac_need_defaults; then
44857 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44858 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44859 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44862 # Have a temporary directory for convenience. Make it in the build tree
44863 # simply because there is no reason to put it here, and in addition,
44864 # creating and moving files from /tmp can sometimes cause problems.
44865 # Create a temporary directory, and hook for its removal unless debugging.
44868 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44869 trap '{ (exit 1); exit 1; }' 1 2 13 15
44872 # Create a (secure) tmp directory for tmp files.
44875 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44876 test -n "$tmp" && test -d "$tmp"
44879 tmp
=.
/confstat$$
-$RANDOM
44880 (umask 077 && mkdir $tmp)
44883 echo "$me: cannot create a temporary directory in ." >&2
44884 { (exit 1); exit 1; }
44889 cat >>$CONFIG_STATUS <<_ACEOF
44892 # CONFIG_FILES section.
44895 # No need to generate the scripts if there are no CONFIG_FILES.
44896 # This happens for instance when ./config.status config.h
44897 if test -n "\$CONFIG_FILES"; then
44898 # Protect against being on the right side of a sed subst in config.status.
44899 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44900 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44901 s,@SHELL@,$SHELL,;t t
44902 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44903 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44904 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44905 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44906 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44907 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44908 s,@exec_prefix@,$exec_prefix,;t t
44909 s,@prefix@,$prefix,;t t
44910 s,@program_transform_name@,$program_transform_name,;t t
44911 s,@bindir@,$bindir,;t t
44912 s,@sbindir@,$sbindir,;t t
44913 s,@libexecdir@,$libexecdir,;t t
44914 s,@datadir@,$datadir,;t t
44915 s,@sysconfdir@,$sysconfdir,;t t
44916 s,@sharedstatedir@,$sharedstatedir,;t t
44917 s,@localstatedir@,$localstatedir,;t t
44918 s,@libdir@,$libdir,;t t
44919 s,@includedir@,$includedir,;t t
44920 s,@oldincludedir@,$oldincludedir,;t t
44921 s,@infodir@,$infodir,;t t
44922 s,@mandir@,$mandir,;t t
44923 s,@build_alias@,$build_alias,;t t
44924 s,@host_alias@,$host_alias,;t t
44925 s,@target_alias@,$target_alias,;t t
44926 s,@DEFS@,$DEFS,;t t
44927 s,@ECHO_C@,$ECHO_C,;t t
44928 s,@ECHO_N@,$ECHO_N,;t t
44929 s,@ECHO_T@,$ECHO_T,;t t
44930 s,@LIBS@,$LIBS,;t t
44931 s,@build@,$build,;t t
44932 s,@build_cpu@,$build_cpu,;t t
44933 s,@build_vendor@,$build_vendor,;t t
44934 s,@build_os@,$build_os,;t t
44935 s,@host@,$host,;t t
44936 s,@host_cpu@,$host_cpu,;t t
44937 s,@host_vendor@,$host_vendor,;t t
44938 s,@host_os@,$host_os,;t t
44939 s,@target@,$target,;t t
44940 s,@target_cpu@,$target_cpu,;t t
44941 s,@target_vendor@,$target_vendor,;t t
44942 s,@target_os@,$target_os,;t t
44944 s,@CFLAGS@,$CFLAGS,;t t
44945 s,@LDFLAGS@,$LDFLAGS,;t t
44946 s,@CPPFLAGS@,$CPPFLAGS,;t t
44947 s,@ac_ct_CC@,$ac_ct_CC,;t t
44948 s,@EXEEXT@,$EXEEXT,;t t
44949 s,@OBJEXT@,$OBJEXT,;t t
44951 s,@EGREP@,$EGREP,;t t
44953 s,@CXXFLAGS@,$CXXFLAGS,;t t
44954 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44955 s,@RANLIB@,$RANLIB,;t t
44956 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44958 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44959 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44960 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44961 s,@STRIP@,$STRIP,;t t
44962 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44963 s,@LN_S@,$LN_S,;t t
44964 s,@CXXCPP@,$CXXCPP,;t t
44965 s,@subdirs@,$subdirs,;t t
44966 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44967 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44968 s,@GTK_LIBS@,$GTK_LIBS,;t t
44969 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44970 s,@X_CFLAGS@,$X_CFLAGS,;t t
44971 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44972 s,@X_LIBS@,$X_LIBS,;t t
44973 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44974 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44975 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44976 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44977 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44978 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44979 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44980 s,@RESCOMP@,$RESCOMP,;t t
44981 s,@DEREZ@,$DEREZ,;t t
44982 s,@SETFILE@,$SETFILE,;t t
44983 s,@LIBICONV@,$LIBICONV,;t t
44984 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44985 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44986 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44987 s,@SDL_LIBS@,$SDL_LIBS,;t t
44988 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44989 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44990 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44991 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44992 s,@GST_INSPECT@,$GST_INSPECT,;t t
44993 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44994 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44995 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44996 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44997 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44998 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44999 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45000 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45001 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45002 s,@VENDOR@,$VENDOR,;t t
45003 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45004 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45005 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45006 s,@WXUNIV@,$WXUNIV,;t t
45007 s,@MONOLITHIC@,$MONOLITHIC,;t t
45008 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45009 s,@EXTRALIBS@,$EXTRALIBS,;t t
45010 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45011 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45012 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45013 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45014 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45015 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45016 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45017 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45018 s,@UNICODE@,$UNICODE,;t t
45019 s,@BUILD@,$BUILD,;t t
45020 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45021 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45022 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45023 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45024 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45025 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45026 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45027 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45028 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45029 s,@SET_MAKE@,$SET_MAKE,;t t
45030 s,@MAKE_SET@,$MAKE_SET,;t t
45031 s,@ac_ct_AR@,$ac_ct_AR,;t t
45032 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45034 s,@ac_ct_NM@,$ac_ct_NM,;t t
45035 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45036 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45037 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45038 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45039 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45040 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45041 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45042 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45043 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45044 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45045 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45046 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45047 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45048 s,@LIBPREFIX@,$LIBPREFIX,;t t
45049 s,@LIBEXT@,$LIBEXT,;t t
45050 s,@DLLPREFIX@,$DLLPREFIX,;t t
45051 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45052 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45053 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45054 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45055 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45056 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45057 s,@PIC_FLAG@,$PIC_FLAG,;t t
45058 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45059 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45060 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45061 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45062 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45063 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45064 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45065 s,@GCC_PCH@,$GCC_PCH,;t t
45066 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45067 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45068 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45069 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45070 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45071 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45072 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45073 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45074 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45075 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45076 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45077 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45078 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45079 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45080 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45081 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45082 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45083 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45084 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
45085 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
45086 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
45087 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45088 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45089 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45090 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45091 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
45092 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
45093 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
45094 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45095 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45096 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45097 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45098 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45099 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45100 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45101 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45102 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45103 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45104 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45105 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45106 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45107 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45108 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45109 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
45110 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45111 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45112 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45113 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45114 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45115 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45116 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45117 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45118 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45119 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45120 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45121 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45122 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45123 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45124 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45125 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45126 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45127 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45128 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45129 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45130 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45131 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45132 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45133 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45134 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45135 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45136 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45137 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45138 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45139 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45140 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45141 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45142 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45143 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45144 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45145 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45146 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45147 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45148 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45149 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45150 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45151 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45152 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45153 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45154 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45155 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45156 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45157 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45158 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45159 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45160 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45161 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45162 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45163 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45164 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45165 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45166 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45167 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45168 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45169 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45170 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45171 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45172 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45173 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45174 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45175 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45176 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45177 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45178 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45179 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45180 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45181 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45182 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45183 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45184 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45185 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45186 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45187 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45188 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45189 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45190 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45191 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45192 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45193 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45194 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45195 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45196 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45197 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45198 s,@SHARED@,$SHARED,;t t
45199 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45200 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45201 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45202 s,@USE_GUI@,$USE_GUI,;t t
45203 s,@AFMINSTALL@,$AFMINSTALL,;t t
45204 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45205 s,@TOOLKIT@,$TOOLKIT,;t t
45206 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45207 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45208 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45209 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45210 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45211 s,@cross_compiling@,$cross_compiling,;t t
45212 s,@WIDGET_SET@,$WIDGET_SET,;t t
45213 s,@WX_RELEASE@,$WX_RELEASE,;t t
45214 s,@WX_VERSION@,$WX_VERSION,;t t
45215 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45216 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45217 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45218 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45219 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45220 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45221 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45222 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45223 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45224 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45225 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45226 s,@EXE_LINKER@,$EXE_LINKER,;t t
45227 s,@GUIDIST@,$GUIDIST,;t t
45228 s,@DISTDIR@,$DISTDIR,;t t
45229 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45230 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45231 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45232 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45233 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45234 s,@RESFLAGS@,$RESFLAGS,;t t
45235 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45236 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45237 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45238 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45239 s,@MACRESCOMP@,$MACRESCOMP,;t t
45240 s,@MACSETFILE@,$MACSETFILE,;t t
45241 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45243 s,@DLLTOOL@,$DLLTOOL,;t t
45244 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45245 s,@LIBOBJS@,$LIBOBJS,;t t
45246 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45251 cat >>$CONFIG_STATUS <<\_ACEOF
45252 # Split the substitutions into bite-sized pieces for seds with
45253 # small command number limits, like on Digital OSF/1 and HP-UX.
45254 ac_max_sed_lines
=48
45255 ac_sed_frag
=1 # Number of current file.
45256 ac_beg
=1 # First line for current file.
45257 ac_end
=$ac_max_sed_lines # Line after last line for current file.
45260 while $ac_more_lines; do
45261 if test $ac_beg -gt 1; then
45262 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45264 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45266 if test ! -s $tmp/subs.frag
; then
45267 ac_more_lines
=false
45269 # The purpose of the label and of the branching condition is to
45270 # speed up the sed processing (if there are no `@' at all, there
45271 # is no need to browse any of the substitutions).
45272 # These are the two extra sed commands mentioned above.
45274 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
45275 if test -z "$ac_sed_cmds"; then
45276 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
45278 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45280 ac_sed_frag
=`expr $ac_sed_frag + 1`
45282 ac_end
=`expr $ac_end + $ac_max_sed_lines`
45285 if test -z "$ac_sed_cmds"; then
45288 fi # test -n "$CONFIG_FILES"
45291 cat >>$CONFIG_STATUS <<\_ACEOF
45292 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
45293 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45295 - | *:- | *:-:* ) # input from stdin
45297 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45298 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45299 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45300 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45301 * ) ac_file_in
=$ac_file.
in ;;
45304 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45305 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45307 X"$ac_file" : 'X\(//\)[^/]' \| \
45308 X"$ac_file" : 'X\(//\)$' \| \
45309 X"$ac_file" : 'X\(/\)' \| \
45310 . : '\(.\)' 2>/dev/null ||
45312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45313 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45314 /^X\(\/\/\)$/{ s//\1/; q; }
45315 /^X\(\/\).*/{ s//\1/; q; }
45317 { if $as_mkdir_p; then
45322 while test ! -d "$as_dir"; do
45323 as_dirs
="$as_dir $as_dirs"
45324 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45325 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45326 X"$as_dir" : 'X\(//\)[^/]' \| \
45327 X"$as_dir" : 'X\(//\)$' \| \
45328 X"$as_dir" : 'X\(/\)' \| \
45329 . : '\(.\)' 2>/dev/null ||
45331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45332 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45333 /^X\(\/\/\)$/{ s//\1/; q; }
45334 /^X\(\/\).*/{ s//\1/; q; }
45337 test ! -n "$as_dirs" || mkdir $as_dirs
45338 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45339 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45340 { (exit 1); exit 1; }; }; }
45344 if test "$ac_dir" != .
; then
45345 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45346 # A "../" for each directory in $ac_dir_suffix.
45347 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45349 ac_dir_suffix
= ac_top_builddir
=
45353 .
) # No --srcdir option. We are building in place.
45355 if test -z "$ac_top_builddir"; then
45358 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45360 [\\/]* | ?
:[\\/]* ) # Absolute path.
45361 ac_srcdir
=$srcdir$ac_dir_suffix;
45362 ac_top_srcdir
=$srcdir ;;
45363 *) # Relative path.
45364 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45365 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45368 # Do not use `cd foo && pwd` to compute absolute paths, because
45369 # the directories may not exist.
45371 .
) ac_abs_builddir
="$ac_dir";;
45374 .
) ac_abs_builddir
=`pwd`;;
45375 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45376 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45379 case $ac_abs_builddir in
45380 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45382 case ${ac_top_builddir}.
in
45383 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45384 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45385 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45388 case $ac_abs_builddir in
45389 .
) ac_abs_srcdir
=$ac_srcdir;;
45392 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45393 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45394 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45397 case $ac_abs_builddir in
45398 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45400 case $ac_top_srcdir in
45401 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45402 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45403 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45409 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
45410 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
45413 if test x
"$ac_file" != x
-; then
45414 { echo "$as_me:$LINENO: creating $ac_file" >&5
45415 echo "$as_me: creating $ac_file" >&6;}
45418 # Let's still pretend it is `configure' which instantiates (i.e., don't
45419 # use $as_me), people would be surprised to read:
45420 # /* config.h. Generated by config.status. */
45421 if test x
"$ac_file" = x
-; then
45424 configure_input
="$ac_file. "
45426 configure_input
=$configure_input"Generated from `echo $ac_file_in |
45427 sed 's,.*/,,'` by configure."
45429 # First look for the input files in the build tree, otherwise in the
45431 ac_file_inputs
=`IFS=:
45432 for f in $ac_file_in; do
45434 -) echo $tmp/stdin ;;
45436 # Absolute (can't be DOS-style, as IFS=:)
45437 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45438 echo "$as_me: error: cannot find input file: $f" >&2;}
45439 { (exit 1); exit 1; }; }
45442 if test -f "$f"; then
45445 elif test -f "$srcdir/$f"; then
45450 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45451 echo "$as_me: error: cannot find input file: $f" >&2;}
45452 { (exit 1); exit 1; }; }
45455 done` || { (exit 1); exit 1; }
45457 cat >>$CONFIG_STATUS <<_ACEOF
45461 cat >>$CONFIG_STATUS <<\_ACEOF
45463 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
45464 s
,@configure_input@
,$configure_input,;t t
45465 s
,@srcdir@
,$ac_srcdir,;t t
45466 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
45467 s
,@top_srcdir@
,$ac_top_srcdir,;t t
45468 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
45469 s
,@builddir@
,$ac_builddir,;t t
45470 s
,@abs_builddir@
,$ac_abs_builddir,;t t
45471 s
,@top_builddir@
,$ac_top_builddir,;t t
45472 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
45473 s
,@INSTALL@
,$ac_INSTALL,;t t
45474 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45476 if test x"$ac_file" != x-; then
45477 mv $tmp/out $ac_file
45483 # Run the commands associated with the file.
45485 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45486 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45490 cat >>$CONFIG_STATUS <<\_ACEOF
45493 # CONFIG_HEADER section.
45496 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
45497 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45499 # ac_d sets the value in "#define NAME VALUE" lines.
45500 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45501 ac_dB
='[ ].*$,\1#\2'
45504 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45505 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45506 ac_uB
='$,\1#\2define\3'
45510 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
45511 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45513 - | *:- | *:-:* ) # input from stdin
45515 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45516 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45517 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45518 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45519 * ) ac_file_in
=$ac_file.
in ;;
45522 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45523 echo "$as_me: creating $ac_file" >&6;}
45525 # First look for the input files in the build tree, otherwise in the
45527 ac_file_inputs
=`IFS=:
45528 for f in $ac_file_in; do
45530 -) echo $tmp/stdin ;;
45532 # Absolute (can't be DOS-style, as IFS=:)
45533 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45534 echo "$as_me: error: cannot find input file: $f" >&2;}
45535 { (exit 1); exit 1; }; }
45536 # Do quote $f, to prevent DOS paths from being IFS'd.
45539 if test -f "$f"; then
45542 elif test -f "$srcdir/$f"; then
45547 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45548 echo "$as_me: error: cannot find input file: $f" >&2;}
45549 { (exit 1); exit 1; }; }
45552 done` || { (exit 1); exit 1; }
45553 # Remove the trailing spaces.
45554 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45558 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45559 # `conftest.undefs', that substitutes the proper values into
45560 # config.h.in to produce config.h. The first handles `#define'
45561 # templates, and the second `#undef' templates.
45562 # And first: Protect against being on the right side of a sed subst in
45563 # config.status. Protect against being in an unquoted here document
45564 # in config.status.
45565 rm -f conftest.defines conftest.undefs
45566 # Using a here document instead of a string reduces the quoting nightmare.
45567 # Putting comments in sed scripts is not portable.
45569 # `end' is used to avoid that the second main sed command (meant for
45570 # 0-ary CPP macros) applies to n-ary macro definitions.
45571 # See the Autoconf documentation for `clear'.
45572 cat >confdef2sed.
sed <<\_ACEOF
45577 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45579 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45582 # If some macros were called several times there might be several times
45583 # the same #defines, which is useless. Nevertheless, we may not want to
45584 # sort them, since we want the *last* AC-DEFINE to be honored.
45585 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45586 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45587 rm -f confdef2sed.sed
45589 # This sed command replaces #undef with comments. This is necessary, for
45590 # example, in the case of _POSIX_SOURCE, which is predefined and required
45591 # on some systems where configure will not decide to define it.
45592 cat >>conftest.undefs <<\_ACEOF
45593 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45596 # Break up conftest.defines because some shells have a limit on the size
45597 # of here documents, and old seds have small limits too (100 cmds).
45598 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45599 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45600 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45601 echo ' :' >>$CONFIG_STATUS
45602 rm -f conftest.tail
45603 while grep . conftest.defines >/dev/null
45605 # Write a limited-size here document to $tmp/defines.sed.
45606 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45607 # Speed up: don't consider the non `#define' lines.
45608 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45609 # Work around the forget-to-reset-the-flag bug.
45610 echo 't clr' >>$CONFIG_STATUS
45611 echo ': clr' >>$CONFIG_STATUS
45612 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
45614 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45616 mv $tmp/out $tmp/in
45618 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
45619 rm -f conftest.defines
45620 mv conftest.
tail conftest.defines
45622 rm -f conftest.defines
45623 echo ' fi # grep' >>$CONFIG_STATUS
45624 echo >>$CONFIG_STATUS
45626 # Break up conftest.undefs because some shells have a limit on the size
45627 # of here documents, and old seds have small limits too (100 cmds).
45628 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45629 rm -f conftest.
tail
45630 while grep . conftest.undefs
>/dev
/null
45632 # Write a limited-size here document to $tmp/undefs.sed.
45633 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45634 # Speed up: don't consider the non
`#undef'
45635 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45636 # Work around the forget-to-reset-the-flag bug.
45637 echo 't clr' >>$CONFIG_STATUS
45638 echo ': clr' >>$CONFIG_STATUS
45639 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45641 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45643 mv $tmp/out $tmp/in
45645 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45646 rm -f conftest.undefs
45647 mv conftest.tail conftest.undefs
45649 rm -f conftest.undefs
45651 cat >>$CONFIG_STATUS <<\_ACEOF
45652 # Let's still pretend it is `configure
' which instantiates (i.e., don't
45653 # use $as_me), people would be surprised to read:
45654 # /* config.h. Generated by config.status. */
45655 if test x
"$ac_file" = x
-; then
45656 echo "/* Generated by configure. */" >$tmp/config.h
45658 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45660 cat $tmp/in >>$tmp/config.h
45662 if test x
"$ac_file" != x
-; then
45663 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
45664 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45665 echo "$as_me: $ac_file is unchanged" >&6;}
45667 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45669 X"$ac_file" : 'X\(//\)[^/]' \| \
45670 X"$ac_file" : 'X\(//\)$' \| \
45671 X"$ac_file" : 'X\(/\)' \| \
45672 . : '\(.\)' 2>/dev/null ||
45674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45675 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45676 /^X\(\/\/\)$/{ s//\1/; q; }
45677 /^X\(\/\).*/{ s//\1/; q; }
45679 { if $as_mkdir_p; then
45684 while test ! -d "$as_dir"; do
45685 as_dirs
="$as_dir $as_dirs"
45686 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45687 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45688 X"$as_dir" : 'X\(//\)[^/]' \| \
45689 X"$as_dir" : 'X\(//\)$' \| \
45690 X"$as_dir" : 'X\(/\)' \| \
45691 . : '\(.\)' 2>/dev/null ||
45693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45694 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45695 /^X\(\/\/\)$/{ s//\1/; q; }
45696 /^X\(\/\).*/{ s//\1/; q; }
45699 test ! -n "$as_dirs" || mkdir $as_dirs
45700 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45701 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45702 { (exit 1); exit 1; }; }; }
45705 mv $tmp/config.h
$ac_file
45709 rm -f $tmp/config.h
45713 cat >>$CONFIG_STATUS <<\_ACEOF
45716 # CONFIG_COMMANDS section.
45718 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
45719 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
45720 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45721 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
45722 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45723 X"$ac_dest" : 'X\(//\)[^/]' \| \
45724 X"$ac_dest" : 'X\(//\)$' \| \
45725 X"$ac_dest" : 'X\(/\)' \| \
45726 . : '\(.\)' 2>/dev/null ||
45728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45729 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45730 /^X\(\/\/\)$/{ s//\1/; q; }
45731 /^X\(\/\).*/{ s//\1/; q; }
45733 { if $as_mkdir_p; then
45738 while test ! -d "$as_dir"; do
45739 as_dirs
="$as_dir $as_dirs"
45740 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45742 X"$as_dir" : 'X\(//\)[^/]' \| \
45743 X"$as_dir" : 'X\(//\)$' \| \
45744 X"$as_dir" : 'X\(/\)' \| \
45745 . : '\(.\)' 2>/dev/null ||
45747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45749 /^X\(\/\/\)$/{ s//\1/; q; }
45750 /^X\(\/\).*/{ s//\1/; q; }
45753 test ! -n "$as_dirs" || mkdir $as_dirs
45754 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45755 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45756 { (exit 1); exit 1; }; }; }
45760 if test "$ac_dir" != .
; then
45761 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45762 # A "../" for each directory in $ac_dir_suffix.
45763 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45765 ac_dir_suffix
= ac_top_builddir
=
45769 .
) # No --srcdir option. We are building in place.
45771 if test -z "$ac_top_builddir"; then
45774 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45776 [\\/]* | ?
:[\\/]* ) # Absolute path.
45777 ac_srcdir
=$srcdir$ac_dir_suffix;
45778 ac_top_srcdir
=$srcdir ;;
45779 *) # Relative path.
45780 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45781 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45784 # Do not use `cd foo && pwd` to compute absolute paths, because
45785 # the directories may not exist.
45787 .
) ac_abs_builddir
="$ac_dir";;
45790 .
) ac_abs_builddir
=`pwd`;;
45791 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45792 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45795 case $ac_abs_builddir in
45796 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45798 case ${ac_top_builddir}.
in
45799 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45800 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45801 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45804 case $ac_abs_builddir in
45805 .
) ac_abs_srcdir
=$ac_srcdir;;
45808 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45809 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45810 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45813 case $ac_abs_builddir in
45814 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45816 case $ac_top_srcdir in
45817 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45818 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45819 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45824 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45825 echo "$as_me: executing $ac_dest commands" >&6;}
45827 wx
-config ) rm -f wx
-config
45828 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45834 cat >>$CONFIG_STATUS <<\_ACEOF
45836 { (exit 0); exit 0; }
45838 chmod +x
$CONFIG_STATUS
45839 ac_clean_files
=$ac_clean_files_save
45842 # configure is writing to config.log, and then calls config.status.
45843 # config.status does its own redirection, appending to config.log.
45844 # Unfortunately, on DOS this fails, as config.log is still kept open
45845 # by configure, so config.status won't be able to write to it; its
45846 # output is simply discarded. So we exec the FD to /dev/null,
45847 # effectively closing config.log, so it can be properly (re)opened and
45848 # appended to by config.status. When coming back to configure, we
45849 # need to make the FD available again.
45850 if test "$no_create" != yes; then
45852 ac_config_status_args
=
45853 test "$silent" = yes &&
45854 ac_config_status_args
="$ac_config_status_args --quiet"
45856 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45858 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45859 # would make configure fail if this is the last instruction.
45860 $ac_cs_success || { (exit 1); exit 1; }
45864 # CONFIG_SUBDIRS section.
45866 if test "$no_recursion" != yes; then
45868 # Remove --cache-file and --srcdir arguments so they do not pile up.
45869 ac_sub_configure_args
=
45871 for ac_arg
in $ac_configure_args; do
45872 if test -n "$ac_prev"; then
45877 -cache-file | --cache-file | --cache-fil | --cache-fi \
45878 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45879 ac_prev
=cache_file
;;
45880 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45881 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45884 --config-cache | -C)
45886 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45888 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45890 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45892 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45894 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45898 # Always prepend --prefix to ensure using the same prefix
45899 # in subdir configurations.
45900 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45903 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45905 # Do not complain, so a configure script can configure whichever
45906 # parts of a large source tree are present.
45907 test -d $srcdir/$ac_dir || continue
45909 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45910 echo "$as_me: configuring in $ac_dir" >&6;}
45911 { if $as_mkdir_p; then
45916 while test ! -d "$as_dir"; do
45917 as_dirs
="$as_dir $as_dirs"
45918 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45919 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45920 X"$as_dir" : 'X\(//\)[^/]' \| \
45921 X"$as_dir" : 'X\(//\)$' \| \
45922 X"$as_dir" : 'X\(/\)' \| \
45923 . : '\(.\)' 2>/dev/null ||
45925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45926 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45927 /^X\(\/\/\)$/{ s//\1/; q; }
45928 /^X\(\/\).*/{ s//\1/; q; }
45931 test ! -n "$as_dirs" || mkdir $as_dirs
45932 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45933 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45934 { (exit 1); exit 1; }; }; }
45938 if test "$ac_dir" != .
; then
45939 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45940 # A "../" for each directory in $ac_dir_suffix.
45941 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45943 ac_dir_suffix
= ac_top_builddir
=
45947 .
) # No --srcdir option. We are building in place.
45949 if test -z "$ac_top_builddir"; then
45952 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45954 [\\/]* | ?
:[\\/]* ) # Absolute path.
45955 ac_srcdir
=$srcdir$ac_dir_suffix;
45956 ac_top_srcdir
=$srcdir ;;
45957 *) # Relative path.
45958 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45959 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45962 # Do not use `cd foo && pwd` to compute absolute paths, because
45963 # the directories may not exist.
45965 .
) ac_abs_builddir
="$ac_dir";;
45968 .
) ac_abs_builddir
=`pwd`;;
45969 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45970 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45973 case $ac_abs_builddir in
45974 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45976 case ${ac_top_builddir}.
in
45977 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45978 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45979 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45982 case $ac_abs_builddir in
45983 .
) ac_abs_srcdir
=$ac_srcdir;;
45986 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45987 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45988 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45991 case $ac_abs_builddir in
45992 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45994 case $ac_top_srcdir in
45995 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45996 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45997 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46004 # Check for guested configure; otherwise get Cygnus style configure.
46005 if test -f $ac_srcdir/configure.gnu
; then
46006 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
46007 elif test -f $ac_srcdir/configure
; then
46008 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
46009 elif test -f $ac_srcdir/configure.
in; then
46010 ac_sub_configure
=$ac_configure
46012 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46013 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46017 # The recursion is here.
46018 if test -n "$ac_sub_configure"; then
46019 # Make the cache file name correct relative to the subdirectory.
46020 case $cache_file in
46021 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
46022 *) # Relative path.
46023 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
46026 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46027 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46028 # The eval makes quoting arguments work.
46029 eval $ac_sub_configure $ac_sub_configure_args \
46030 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46031 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46032 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46033 { (exit 1); exit 1; }; }
46042 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46044 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46045 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46047 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46048 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46049 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46051 echo " What level of wxWidgets compatibility should be enabled?"
46052 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46053 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46055 echo " Which libraries should wxWidgets use?"
46056 echo " jpeg ${wxUSE_LIBJPEG-none}"
46057 echo " png ${wxUSE_LIBPNG-none}"
46058 echo " regex ${wxUSE_REGEX}"
46059 echo " tiff ${wxUSE_LIBTIFF-none}"
46060 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46061 echo " xpm ${wxUSE_LIBXPM-none}"
46063 echo " zlib ${wxUSE_ZLIB}"
46064 echo " odbc ${wxUSE_ODBC}"
46065 echo " expat ${wxUSE_EXPAT}"
46066 echo " libmspack ${wxUSE_LIBMSPACK}"
46067 echo " sdl ${wxUSE_LIBSDL}"
46068 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"