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.5.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.2'
274 PACKAGE_STRING
='wxWidgets 2.5.2'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED 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_MACOSX PLATFORM_OS2 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_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_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_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC 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_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_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_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_TOOLKIT_COCOA 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_MAC_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_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM_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_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 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 PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_SUBRELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_DATA_FILE WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY 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.5.2 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.2:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx
-config
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-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-constraints use layout
-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-mdidoc use docview architecture with MDI
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-webkit use wxWebKitCtrl
(Mac
)
955 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
956 --enable-prologio not available
; see contrib
957 --enable-resources not available
; see contrib
958 --enable-clipboard use wxClipboard class
959 --enable-dnd use Drag
'n'Drop classes
960 --enable-metafile use win32 metafiles
961 --enable-controls use all usual controls
962 --enable-accel use accelerators
963 --enable-button use wxButton class
964 --enable-bmpbutton use wxBitmapButton class
965 --enable-calendar use wxCalendarCtrl class
966 --enable-caret use wxCaret class
967 --enable-checkbox use wxCheckBox class
968 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
969 --enable-choice use wxChoice class
970 --enable-combobox use wxComboBox class
971 --enable-display use wxDisplay class
972 --enable-gauge use wxGauge class
973 --enable-grid use wxGrid class
974 --enable-imaglist use wxImageList class
975 --enable-listbook use wxListbook class
976 --enable-listbox use wxListBox class
977 --enable-listctrl use wxListCtrl class
978 --enable-notebook use wxNotebook class
979 --enable-radiobox use wxRadioBox class
980 --enable-radiobtn use wxRadioButton class
981 --enable-sash use wxSashWindow class
982 --enable-scrollbar use wxScrollBar class and scrollable windows
983 --enable-slider use wxSlider class
984 --enable-spinbtn use wxSpinButton class
985 --enable-spinctrl use wxSpinCtrl class
986 --enable-splitter use wxSplitterWindow class
987 --enable-statbmp use wxStaticBitmap class
988 --enable-statbox use wxStaticBox class
989 --enable-statline use wxStaticLine class
990 --enable-stattext use wxStaticText class
991 --enable-statusbar use wxStatusBar class
992 --enable-tabdialog use wxTabControl class
993 --enable-textctrl use wxTextCtrl class
994 --enable-togglebtn use wxToggleButton class
995 --enable-toolbar use wxToolBar class
996 --enable-tbarnative use native wxToolBar class
997 --enable-tbarsmpl use wxToolBarSimple class
998 --enable-treectrl use wxTreeCtrl class
999 --enable-tipwindow use wxTipWindow class
1000 --enable-popupwin use wxPopUpWindow class
1001 --enable-commondlg use all common dialogs
1002 --enable-choicedlg use wxChoiceDialog
1003 --enable-coldlg use wxColourDialog
1004 --enable-filedlg use wxFileDialog
1005 --enable-finddlg use wxFindReplaceDialog
1006 --enable-fontdlg use wxFontDialog
1007 --enable-dirdlg use wxDirDialog
1008 --enable-msgdlg use wxMessageDialog
1009 --enable-numberdlg use wxNumberEntryDialog
1010 --enable-splash use wxSplashScreen
1011 --enable-textdlg use wxTextDialog
1012 --enable-tipdlg use startup tips
1013 --enable-progressdlg use wxProgressDialog
1014 --enable-wizarddlg use wxWizard
1015 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1016 --enable-miniframe use wxMiniFrame class
1017 --enable-tooltips use wxToolTip class
1018 --enable-splines use spline drawing code
1019 --enable-validators use wxValidator and derived classes
1020 --enable-busyinfo use wxBusyInfo
1021 --enable-joystick use wxJoystick
(Linux only
)
1022 --enable-metafiles use wxMetaFile
(Windows only
)
1023 --enable-dragimage use wxDragImage
1024 --enable-accessibility enable accessibility support
1025 --enable-palette use wxPalette class
1026 --enable-image use wxImage class
1027 --enable-gif use gif images
(GIF
file format
)
1028 --enable-pcx use pcx images
(PCX
file format
)
1029 --enable-iff use iff images
(IFF
file format
)
1030 --enable-pnm use pnm images
(PNM
file format
)
1031 --enable-xpm use xpm images
(XPM
file format
)
1032 --enable-icocur use Windows ICO and CUR formats
1033 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1034 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1035 --disable-largefile omit support
for large files
1036 --disable-gtktest do not try to compile and run a
test GTK
+ program
1037 --disable-gtktest Do not try to compile and run a
test GTK program
1038 --disable-sdltest Do not try to compile and run a
test SDL program
1039 --enable-omf use OMF object format
(OS
/2)
1040 --disable-precomp-headers
1041 don
't use precompiled headers even if compiler can
1044 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1045 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1047 --with-motif use Motif/Lesstif
1048 --with-mac use Mac OS X
1049 --with-cocoa use Cocoa
1050 --with-wine use Wine
1051 --with-msw use MS-Windows
1052 --with-pm use OS/2 Presentation Manager
1053 --with-mgl use SciTech MGL
1054 --with-microwin use MicroWindows
1056 --with-libpng use libpng (PNG image format)
1057 --with-libjpeg use libjpeg (JPEG file format)
1058 --with-libtiff use libtiff (TIFF file format)
1059 --with-libxpm use libxpm (XPM file format)
1060 --with-libmspack use libmspack (CHM help files loading)
1061 --with-sdl use SDL for audio on Unix
1062 --with-opengl use OpenGL (or Mesa)
1063 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1064 --with-regex enable support for wxRegEx class
1065 --with-zlib use zlib for LZW compression
1066 --with-odbc use the IODBC and wxODBC classes
1067 --with-expat enable XML support using expat parser
1068 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1069 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1070 --with-x use the X Window System
1071 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1072 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1073 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1074 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1075 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1077 Some influential environment variables:
1078 CC C compiler command
1079 CFLAGS C compiler flags
1080 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1081 nonstandard directory <lib dir>
1082 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1083 headers in a nonstandard directory <include dir>
1085 CXX C++ compiler command
1086 CXXFLAGS C++ compiler flags
1087 CXXCPP C++ preprocessor
1089 Use these variables to override the choices made by `configure' or to
help
1090 it to
find libraries and programs with nonstandard names
/locations.
1092 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1096 if test "$ac_init_help" = "recursive"; then
1097 # If there are subdirs, report their specific --help.
1099 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1100 test -d $ac_dir || continue
1103 if test "$ac_dir" != .
; then
1104 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1105 # A "../" for each directory in $ac_dir_suffix.
1106 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1108 ac_dir_suffix
= ac_top_builddir
=
1112 .
) # No --srcdir option. We are building in place.
1114 if test -z "$ac_top_builddir"; then
1117 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1119 [\\/]* | ?
:[\\/]* ) # Absolute path.
1120 ac_srcdir
=$srcdir$ac_dir_suffix;
1121 ac_top_srcdir
=$srcdir ;;
1123 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1124 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1127 # Do not use `cd foo && pwd` to compute absolute paths, because
1128 # the directories may not exist.
1130 .
) ac_abs_builddir
="$ac_dir";;
1133 .
) ac_abs_builddir
=`pwd`;;
1134 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1135 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1138 case $ac_abs_builddir in
1139 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1141 case ${ac_top_builddir}.
in
1142 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1143 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1144 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1147 case $ac_abs_builddir in
1148 .
) ac_abs_srcdir
=$ac_srcdir;;
1151 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1152 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1153 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1156 case $ac_abs_builddir in
1157 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1159 case $ac_top_srcdir in
1160 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1161 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1162 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1167 # Check for guested configure; otherwise get Cygnus style configure.
1168 if test -f $ac_srcdir/configure.gnu
; then
1170 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1171 elif test -f $ac_srcdir/configure
; then
1173 $SHELL $ac_srcdir/configure
--help=recursive
1174 elif test -f $ac_srcdir/configure.ac
||
1175 test -f $ac_srcdir/configure.
in; then
1177 $ac_configure --help
1179 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1185 test -n "$ac_init_help" && exit 0
1186 if $ac_init_version; then
1188 wxWidgets configure
2.5.2
1189 generated by GNU Autoconf
2.59
1191 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1192 This configure
script is free software
; the Free Software Foundation
1193 gives unlimited permission to copy
, distribute and modify it.
1199 This file contains any messages produced by compilers while
1200 running configure, to aid debugging if configure makes a mistake.
1202 It was created by wxWidgets $as_me 2.5.2, which was
1203 generated by GNU Autoconf 2.59. Invocation command line was
1214 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1215 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1216 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1217 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1218 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1220 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1221 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1223 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1224 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1225 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1226 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1227 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1228 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1229 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1237 test -z "$as_dir" && as_dir
=.
1238 echo "PATH: $as_dir"
1253 # Keep a trace of the command line.
1254 # Strip out --no-create and --no-recursion so they do not pile up.
1255 # Strip out --silent because we don't want to record it for future runs.
1256 # Also quote any args containing shell meta-characters.
1257 # Make two passes to allow for proper duplicate-argument suppression.
1262 ac_must_keep_next
=false
1268 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1269 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1270 | -silent | --silent | --silen | --sile | --sil)
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1276 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1278 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1279 if test $ac_must_keep_next = true
; then
1280 ac_must_keep_next
=false
# Got value, back to normal.
1283 *=* | --config-cache | -C | -disable-* | --disable-* \
1284 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1285 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1286 | -with-* | --with-* | -without-* | --without-* | --x)
1287 case "$ac_configure_args0 " in
1288 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1291 -* ) ac_must_keep_next
=true
;;
1294 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1295 # Get rid of the leading space.
1301 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1302 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1304 # When interrupted or exit'd, cleanup temporary files, and complete
1305 # config.log. We remove comments because anyway the quotes in there
1306 # would cause problems or look ugly.
1307 # WARNING: Be sure not to use single quotes in there, as some shells,
1308 # such as our DU 5.0 friend, will then `close' the trap.
1309 trap 'exit_status=$?
1310 # Save into config.log some information that might help in debugging.
1315 ## ---------------- ##
1316 ## Cache variables. ##
1317 ## ---------------- ##
1320 # The following way of writing the cache mishandles newlines in values,
1323 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1326 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1338 ## ----------------- ##
1339 ## Output variables. ##
1340 ## ----------------- ##
1343 for ac_var in $ac_subst_vars
1345 eval ac_val=$`echo $ac_var`
1346 echo "$ac_var='"'"'$ac_val'"'"'"
1350 if test -n "$ac_subst_files"; then
1357 for ac_var in $ac_subst_files
1359 eval ac_val=$`echo $ac_var`
1360 echo "$ac_var='"'"'$ac_val'"'"'"
1365 if test -s confdefs.h; then
1372 sed "/^$/d" confdefs.h | sort
1375 test "$ac_signal" != 0 &&
1376 echo "$as_me: caught signal $ac_signal"
1377 echo "$as_me: exit $exit_status"
1379 rm -f core *.core &&
1380 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1383 for ac_signal
in 1 2 13 15; do
1384 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1389 rm -rf conftest
* confdefs.h
1390 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1393 # Predefined preprocessor variables.
1395 cat >>confdefs.h
<<_ACEOF
1396 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 cat >>confdefs.h
<<_ACEOF
1401 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 # Let the site file select an alternate cache file if it wants to.
1421 # Prefer explicitly selected file to automatically selected ones.
1422 if test -z "$CONFIG_SITE"; then
1423 if test "x$prefix" != xNONE
; then
1424 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1426 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1429 for ac_site_file
in $CONFIG_SITE; do
1430 if test -r "$ac_site_file"; then
1431 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1432 echo "$as_me: loading site script $ac_site_file" >&6;}
1433 sed 's/^/| /' "$ac_site_file" >&5
1438 if test -r "$cache_file"; then
1439 # Some versions of bash will fail to source /dev/null (special
1440 # files actually), so we avoid doing that.
1441 if test -f "$cache_file"; then
1442 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1443 echo "$as_me: loading cache $cache_file" >&6;}
1445 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1446 *) . .
/$cache_file;;
1450 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1451 echo "$as_me: creating cache $cache_file" >&6;}
1455 # Check that the precious variables saved in the cache have kept the same
1457 ac_cache_corrupted
=false
1458 for ac_var
in `(set) 2>&1 |
1459 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1460 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1461 eval ac_new_set
=\
$ac_env_${ac_var}_set
1462 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1463 eval ac_new_val
="\$ac_env_${ac_var}_value"
1464 case $ac_old_set,$ac_new_set in
1466 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1467 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1468 ac_cache_corrupted
=: ;;
1470 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1472 ac_cache_corrupted
=: ;;
1475 if test "x$ac_old_val" != "x$ac_new_val"; then
1476 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1477 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1478 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1479 echo "$as_me: former value: $ac_old_val" >&2;}
1480 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1481 echo "$as_me: current value: $ac_new_val" >&2;}
1482 ac_cache_corrupted
=:
1485 # Pass precious variables to config.status.
1486 if test "$ac_new_set" = set; then
1488 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1489 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1490 *) ac_arg
=$ac_var=$ac_new_val ;;
1492 case " $ac_configure_args " in
1493 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1494 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1498 if $ac_cache_corrupted; then
1499 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1500 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1501 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1502 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1503 { (exit 1); exit 1; }; }
1507 ac_cpp
='$CPP $CPPFLAGS'
1508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1542 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1543 if test -f $ac_dir/install-sh; then
1545 ac_install_sh
="$ac_aux_dir/install-sh -c"
1547 elif test -f $ac_dir/install.sh
; then
1549 ac_install_sh
="$ac_aux_dir/install.sh -c"
1551 elif test -f $ac_dir/shtool
; then
1553 ac_install_sh
="$ac_aux_dir/shtool install -c"
1557 if test -z "$ac_aux_dir"; then
1558 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1559 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1560 { (exit 1); exit 1; }; }
1562 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1563 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1564 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1566 # Make sure we can run config.sub.
1567 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1568 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1569 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1570 { (exit 1); exit 1; }; }
1572 echo "$as_me:$LINENO: checking build system type" >&5
1573 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1574 if test "${ac_cv_build+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 ac_cv_build_alias
=$build_alias
1578 test -z "$ac_cv_build_alias" &&
1579 ac_cv_build_alias
=`$ac_config_guess`
1580 test -z "$ac_cv_build_alias" &&
1581 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1582 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1583 { (exit 1); exit 1; }; }
1584 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1585 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1586 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1587 { (exit 1); exit 1; }; }
1590 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1591 echo "${ECHO_T}$ac_cv_build" >&6
1593 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1594 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1595 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1598 echo "$as_me:$LINENO: checking host system type" >&5
1599 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1600 if test "${ac_cv_host+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 ac_cv_host_alias
=$host_alias
1604 test -z "$ac_cv_host_alias" &&
1605 ac_cv_host_alias
=$ac_cv_build_alias
1606 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1607 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1608 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1609 { (exit 1); exit 1; }; }
1612 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1613 echo "${ECHO_T}$ac_cv_host" >&6
1615 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1616 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1617 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1620 echo "$as_me:$LINENO: checking target system type" >&5
1621 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1622 if test "${ac_cv_target+set}" = set; then
1623 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 ac_cv_target_alias
=$target_alias
1626 test "x$ac_cv_target_alias" = "x" &&
1627 ac_cv_target_alias
=$ac_cv_host_alias
1628 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1629 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1630 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1631 { (exit 1); exit 1; }; }
1634 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1635 echo "${ECHO_T}$ac_cv_target" >&6
1636 target
=$ac_cv_target
1637 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1638 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1639 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1642 # The aliases save the names the user supplied, while $host etc.
1643 # will get canonicalized.
1644 test -n "$target_alias" &&
1645 test "$program_prefix$program_suffix$program_transform_name" = \
1647 program_prefix
=${target_alias}-
1651 WX_MAJOR_VERSION_NUMBER
=2
1652 WX_MINOR_VERSION_NUMBER
=5
1654 WX_SUBRELEASE_NUMBER
=3
1656 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1657 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1659 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1675 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1681 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1687 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1689 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1691 DEFAULT_wxUSE_COCOA
=0
1695 DEFAULT_wxUSE_MICROWIN
=0
1696 DEFAULT_wxUSE_MOTIF
=0
1701 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1702 DEFAULT_DEFAULT_wxUSE_GTK
=0
1703 DEFAULT_DEFAULT_wxUSE_MAC
=0
1704 DEFAULT_DEFAULT_wxUSE_MGL
=0
1705 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1706 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1707 DEFAULT_DEFAULT_wxUSE_MSW
=0
1708 DEFAULT_DEFAULT_wxUSE_PM
=0
1709 DEFAULT_DEFAULT_wxUSE_X11
=0
1714 SAMPLES_RPATH_POSTLINK
=
1719 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1720 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1722 cat >>confdefs.h
<<\_ACEOF
1729 cat >>confdefs.h
<<\_ACEOF
1734 if test "x$TMP" = "xalpha"; then
1736 cat >>confdefs.h
<<\_ACEOF
1741 DEFAULT_DEFAULT_wxUSE_GTK
=1
1743 *-*-gnu* | *-*-k*bsd
*-gnu )
1746 if test "x$TMP" = "xalpha"; then
1748 cat >>confdefs.h
<<\_ACEOF
1753 DEFAULT_DEFAULT_wxUSE_GTK
=1
1755 *-*-irix5* | *-*-irix6* )
1758 cat >>confdefs.h
<<\_ACEOF
1762 cat >>confdefs.h
<<\_ACEOF
1766 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1772 cat >>confdefs.h
<<\_ACEOF
1776 cat >>confdefs.h
<<\_ACEOF
1777 #define __SOLARIS__ 1
1780 cat >>confdefs.h
<<\_ACEOF
1784 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1785 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1791 cat >>confdefs.h
<<\_ACEOF
1795 cat >>confdefs.h
<<\_ACEOF
1799 cat >>confdefs.h
<<\_ACEOF
1803 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1808 cat >>confdefs.h
<<\_ACEOF
1809 #define __FREEBSD__ 1
1812 cat >>confdefs.h
<<\_ACEOF
1816 DEFAULT_DEFAULT_wxUSE_GTK
=1
1821 cat >>confdefs.h
<<\_ACEOF
1822 #define __OPENBSD__ 1
1825 cat >>confdefs.h
<<\_ACEOF
1829 DEFAULT_DEFAULT_wxUSE_GTK
=1
1834 cat >>confdefs.h
<<\_ACEOF
1835 #define __NETBSD__ 1
1838 cat >>confdefs.h
<<\_ACEOF
1842 DEFAULT_DEFAULT_wxUSE_GTK
=1
1847 cat >>confdefs.h
<<\_ACEOF
1851 cat >>confdefs.h
<<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1856 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1861 cat >>confdefs.h
<<\_ACEOF
1865 cat >>confdefs.h
<<\_ACEOF
1869 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1874 cat >>confdefs.h
<<\_ACEOF
1878 cat >>confdefs.h
<<\_ACEOF
1882 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1889 cat >>confdefs.h
<<\_ACEOF
1893 cat >>confdefs.h
<<\_ACEOF
1897 cat >>confdefs.h
<<\_ACEOF
1901 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1908 cat >>confdefs.h
<<\_ACEOF
1909 #define __UNIXWARE__ 1
1914 *-*-cygwin* | *-*-mingw32* )
1918 DEFAULT_DEFAULT_wxUSE_MSW
=1
1924 cat >>confdefs.h
<<\_ACEOF
1929 DEFAULT_DEFAULT_wxUSE_MGL
=1
1930 LIBS
="$LIBS -lstdc++"
1933 *-pc-os2_emx | *-pc-os2-emx )
1934 cat >>confdefs.h
<<\_ACEOF
1939 cat >>confdefs.h
<<\_ACEOF
1944 DEFAULT_DEFAULT_wxUSE_PM
=1
1946 LDFLAGS
="$LDFLAGS -Zcrtdll"
1947 ac_executable_extensions
=".exe"
1948 export ac_executable_extensions
1952 for ac_dir
in $PATH; do
1954 if test -z "$ac_TEMP_PATH"; then
1955 ac_TEMP_PATH
="$ac_dir"
1957 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1960 export PATH
="$ac_TEMP_PATH"
1968 cat >>confdefs.h
<<\_ACEOF
1972 cat >>confdefs.h
<<\_ACEOF
1973 #define __DARWIN__ 1
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define __POWERPC__ 1
1980 cat >>confdefs.h
<<\_ACEOF
1981 #define TARGET_CARBON 1
1984 DEFAULT_DEFAULT_wxUSE_MAC
=1
1989 cat >>confdefs.h
<<\_ACEOF
1996 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1997 echo "$as_me: error: unknown system type ${host}." >&2;}
1998 { (exit 1); exit 1; }; }
2004 wx_arg_cache_file
="configarg.cache"
2005 echo "loading argument cache $wx_arg_cache_file"
2006 rm -f ${wx_arg_cache_file}.tmp
2007 touch ${wx_arg_cache_file}.tmp
2008 touch ${wx_arg_cache_file}
2012 if test $DEBUG_CONFIGURE = 1; then
2013 DEFAULT_wxUSE_UNIVERSAL
=no
2014 DEFAULT_wxUSE_STL
=no
2016 DEFAULT_wxUSE_NANOX
=no
2018 DEFAULT_wxUSE_THREADS
=yes
2020 DEFAULT_wxUSE_SHARED
=yes
2021 DEFAULT_wxUSE_OPTIMISE
=no
2022 DEFAULT_wxUSE_PROFILE
=no
2023 DEFAULT_wxUSE_NO_DEPS
=no
2024 DEFAULT_wxUSE_NO_RTTI
=no
2025 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2026 DEFAULT_wxUSE_PERMISSIVE
=no
2027 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2028 DEFAULT_wxUSE_DEBUG_INFO
=yes
2029 DEFAULT_wxUSE_DEBUG_GDB
=yes
2030 DEFAULT_wxUSE_MEM_TRACING
=no
2031 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2032 DEFAULT_wxUSE_DMALLOC
=no
2033 DEFAULT_wxUSE_APPLE_IEEE
=no
2035 DEFAULT_wxUSE_EXCEPTIONS
=no
2036 DEFAULT_wxUSE_LOG
=yes
2037 DEFAULT_wxUSE_LOGWINDOW
=no
2038 DEFAULT_wxUSE_LOGGUI
=no
2039 DEFAULT_wxUSE_LOGDIALOG
=no
2041 DEFAULT_wxUSE_GUI
=yes
2042 DEFAULT_wxUSE_CONTROLS
=no
2044 DEFAULT_wxUSE_REGEX
=no
2045 DEFAULT_wxUSE_XML
=no
2046 DEFAULT_wxUSE_EXPAT
=no
2047 DEFAULT_wxUSE_ZLIB
=no
2048 DEFAULT_wxUSE_LIBPNG
=no
2049 DEFAULT_wxUSE_LIBJPEG
=no
2050 DEFAULT_wxUSE_LIBTIFF
=no
2051 DEFAULT_wxUSE_LIBXPM
=no
2052 DEFAULT_wxUSE_LIBMSPACK
=no
2053 DEFAULT_wxUSE_LIBSDL
=no
2054 DEFAULT_wxUSE_ODBC
=no
2055 DEFAULT_wxUSE_OPENGL
=no
2057 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2058 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2059 DEFAULT_wxUSE_STD_IOSTREAM
=no
2060 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2061 DEFAULT_wxUSE_DATETIME
=no
2062 DEFAULT_wxUSE_TIMER
=no
2063 DEFAULT_wxUSE_STOPWATCH
=no
2064 DEFAULT_wxUSE_FILE
=no
2065 DEFAULT_wxUSE_FFILE
=no
2066 DEFAULT_wxUSE_TEXTBUFFER
=no
2067 DEFAULT_wxUSE_TEXTFILE
=no
2068 DEFAULT_wxUSE_SOUND
=no
2069 DEFAULT_wxUSE_INTL
=no
2070 DEFAULT_wxUSE_CONFIG
=no
2071 DEFAULT_wxUSE_FONTMAP
=no
2072 DEFAULT_wxUSE_STREAMS
=no
2073 DEFAULT_wxUSE_SOCKETS
=no
2074 DEFAULT_wxUSE_OLE
=no
2075 DEFAULT_wxUSE_DATAOBJ
=no
2076 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2077 DEFAULT_wxUSE_JOYSTICK
=no
2078 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2079 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2080 DEFAULT_wxUSE_LONGLONG
=no
2081 DEFAULT_wxUSE_GEOMETRY
=no
2083 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2084 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2085 DEFAULT_wxUSE_POSTSCRIPT
=no
2087 DEFAULT_wxUSE_CLIPBOARD
=no
2088 DEFAULT_wxUSE_TOOLTIPS
=no
2089 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2090 DEFAULT_wxUSE_DRAGIMAGE
=no
2091 DEFAULT_wxUSE_SPLINES
=no
2093 DEFAULT_wxUSE_MDI
=no
2094 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2095 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2096 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2098 DEFAULT_wxUSE_RESOURCES
=no
2099 DEFAULT_wxUSE_CONSTRAINTS
=no
2100 DEFAULT_wxUSE_IPC
=no
2101 DEFAULT_wxUSE_HELP
=no
2102 DEFAULT_wxUSE_MS_HTML_HELP
=no
2103 DEFAULT_wxUSE_WXHTML_HELP
=no
2104 DEFAULT_wxUSE_TREELAYOUT
=no
2105 DEFAULT_wxUSE_METAFILE
=no
2106 DEFAULT_wxUSE_MIMETYPE
=no
2107 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2108 DEFAULT_wxUSE_PROTOCOL
=no
2109 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2110 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2111 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2112 DEFAULT_wxUSE_URL
=no
2114 DEFAULT_wxUSE_COMMONDLGS
=no
2115 DEFAULT_wxUSE_CHOICEDLG
=no
2116 DEFAULT_wxUSE_COLOURDLG
=no
2117 DEFAULT_wxUSE_DIRDLG
=no
2118 DEFAULT_wxUSE_FILEDLG
=no
2119 DEFAULT_wxUSE_FINDREPLDLG
=no
2120 DEFAULT_wxUSE_FONTDLG
=no
2121 DEFAULT_wxUSE_MSGDLG
=no
2122 DEFAULT_wxUSE_NUMBERDLG
=no
2123 DEFAULT_wxUSE_TEXTDLG
=no
2124 DEFAULT_wxUSE_SPLASH
=no
2125 DEFAULT_wxUSE_STARTUP_TIPS
=no
2126 DEFAULT_wxUSE_PROGRESSDLG
=no
2127 DEFAULT_wxUSE_WIZARDDLG
=no
2129 DEFAULT_wxUSE_MENUS
=no
2130 DEFAULT_wxUSE_MINIFRAME
=no
2131 DEFAULT_wxUSE_HTML
=no
2132 DEFAULT_wxUSE_WEBKIT
=no
2133 DEFAULT_wxUSE_FILESYSTEM
=no
2134 DEFAULT_wxUSE_FS_INET
=no
2135 DEFAULT_wxUSE_FS_ZIP
=no
2136 DEFAULT_wxUSE_BUSYINFO
=no
2137 DEFAULT_wxUSE_ZIPSTREAM
=no
2138 DEFAULT_wxUSE_VALIDATORS
=no
2140 DEFAULT_wxUSE_ACCEL
=no
2141 DEFAULT_wxUSE_BUTTON
=no
2142 DEFAULT_wxUSE_BMPBUTTON
=no
2143 DEFAULT_wxUSE_CALCTRL
=no
2144 DEFAULT_wxUSE_CARET
=no
2145 DEFAULT_wxUSE_CHECKBOX
=no
2146 DEFAULT_wxUSE_CHECKLST
=no
2147 DEFAULT_wxUSE_CHOICE
=no
2148 DEFAULT_wxUSE_COMBOBOX
=no
2149 DEFAULT_wxUSE_DISPLAY
=no
2150 DEFAULT_wxUSE_GAUGE
=no
2151 DEFAULT_wxUSE_GRID
=no
2152 DEFAULT_wxUSE_IMAGLIST
=no
2153 DEFAULT_wxUSE_LISTBOOK
=no
2154 DEFAULT_wxUSE_LISTBOX
=no
2155 DEFAULT_wxUSE_LISTCTRL
=no
2156 DEFAULT_wxUSE_NOTEBOOK
=no
2157 DEFAULT_wxUSE_RADIOBOX
=no
2158 DEFAULT_wxUSE_RADIOBTN
=no
2159 DEFAULT_wxUSE_SASH
=no
2160 DEFAULT_wxUSE_SCROLLBAR
=no
2161 DEFAULT_wxUSE_SLIDER
=no
2162 DEFAULT_wxUSE_SPINBTN
=no
2163 DEFAULT_wxUSE_SPINCTRL
=no
2164 DEFAULT_wxUSE_SPLITTER
=no
2165 DEFAULT_wxUSE_STATBMP
=no
2166 DEFAULT_wxUSE_STATBOX
=no
2167 DEFAULT_wxUSE_STATLINE
=no
2168 DEFAULT_wxUSE_STATTEXT
=no
2169 DEFAULT_wxUSE_STATUSBAR
=yes
2170 DEFAULT_wxUSE_TABDIALOG
=no
2171 DEFAULT_wxUSE_TEXTCTRL
=no
2172 DEFAULT_wxUSE_TOGGLEBTN
=no
2173 DEFAULT_wxUSE_TOOLBAR
=no
2174 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2175 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2176 DEFAULT_wxUSE_TREECTRL
=no
2177 DEFAULT_wxUSE_POPUPWIN
=no
2178 DEFAULT_wxUSE_TIPWINDOW
=no
2180 DEFAULT_wxUSE_UNICODE
=no
2181 DEFAULT_wxUSE_UNICODE_MSLU
=no
2182 DEFAULT_wxUSE_WCSRTOMBS
=no
2184 DEFAULT_wxUSE_PALETTE
=no
2185 DEFAULT_wxUSE_IMAGE
=no
2186 DEFAULT_wxUSE_GIF
=no
2187 DEFAULT_wxUSE_PCX
=no
2188 DEFAULT_wxUSE_PNM
=no
2189 DEFAULT_wxUSE_IFF
=no
2190 DEFAULT_wxUSE_XPM
=no
2191 DEFAULT_wxUSE_ICO_CUR
=no
2192 DEFAULT_wxUSE_ACCESSIBILITY
=no
2194 DEFAULT_wxUSE_MONOLITHIC
=no
2195 DEFAULT_wxUSE_PLUGINS
=no
2196 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2198 DEFAULT_wxUSE_UNIVERSAL
=no
2199 DEFAULT_wxUSE_STL
=no
2201 DEFAULT_wxUSE_NANOX
=no
2203 DEFAULT_wxUSE_THREADS
=yes
2205 DEFAULT_wxUSE_SHARED
=yes
2206 DEFAULT_wxUSE_OPTIMISE
=yes
2207 DEFAULT_wxUSE_PROFILE
=no
2208 DEFAULT_wxUSE_NO_DEPS
=no
2209 DEFAULT_wxUSE_NO_RTTI
=no
2210 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2211 DEFAULT_wxUSE_PERMISSIVE
=no
2212 DEFAULT_wxUSE_DEBUG_FLAG
=no
2213 DEFAULT_wxUSE_DEBUG_INFO
=no
2214 DEFAULT_wxUSE_DEBUG_GDB
=no
2215 DEFAULT_wxUSE_MEM_TRACING
=no
2216 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2217 DEFAULT_wxUSE_DMALLOC
=no
2218 DEFAULT_wxUSE_APPLE_IEEE
=yes
2220 DEFAULT_wxUSE_EXCEPTIONS
=yes
2221 DEFAULT_wxUSE_LOG
=yes
2222 DEFAULT_wxUSE_LOGWINDOW
=yes
2223 DEFAULT_wxUSE_LOGGUI
=yes
2224 DEFAULT_wxUSE_LOGDIALOG
=yes
2226 DEFAULT_wxUSE_GUI
=yes
2228 DEFAULT_wxUSE_REGEX
=yes
2229 DEFAULT_wxUSE_XML
=yes
2230 DEFAULT_wxUSE_EXPAT
=yes
2231 DEFAULT_wxUSE_ZLIB
=yes
2232 DEFAULT_wxUSE_LIBPNG
=yes
2233 DEFAULT_wxUSE_LIBJPEG
=yes
2234 DEFAULT_wxUSE_LIBTIFF
=yes
2235 DEFAULT_wxUSE_LIBXPM
=yes
2236 DEFAULT_wxUSE_LIBMSPACK
=yes
2237 DEFAULT_wxUSE_LIBSDL
=no
2238 DEFAULT_wxUSE_ODBC
=no
2239 DEFAULT_wxUSE_OPENGL
=no
2241 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2242 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2243 DEFAULT_wxUSE_STD_IOSTREAM
=no
2244 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2245 DEFAULT_wxUSE_DATETIME
=yes
2246 DEFAULT_wxUSE_TIMER
=yes
2247 DEFAULT_wxUSE_STOPWATCH
=yes
2248 DEFAULT_wxUSE_FILE
=yes
2249 DEFAULT_wxUSE_FFILE
=yes
2250 DEFAULT_wxUSE_TEXTBUFFER
=yes
2251 DEFAULT_wxUSE_TEXTFILE
=yes
2252 DEFAULT_wxUSE_SOUND
=yes
2253 DEFAULT_wxUSE_INTL
=yes
2254 DEFAULT_wxUSE_CONFIG
=yes
2255 DEFAULT_wxUSE_FONTMAP
=yes
2256 DEFAULT_wxUSE_STREAMS
=yes
2257 DEFAULT_wxUSE_SOCKETS
=yes
2258 DEFAULT_wxUSE_OLE
=yes
2259 DEFAULT_wxUSE_DATAOBJ
=yes
2260 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2261 DEFAULT_wxUSE_JOYSTICK
=yes
2262 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2263 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2264 DEFAULT_wxUSE_LONGLONG
=yes
2265 DEFAULT_wxUSE_GEOMETRY
=yes
2267 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2268 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2269 DEFAULT_wxUSE_POSTSCRIPT
=yes
2271 DEFAULT_wxUSE_CLIPBOARD
=yes
2272 DEFAULT_wxUSE_TOOLTIPS
=yes
2273 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2274 DEFAULT_wxUSE_DRAGIMAGE
=yes
2275 DEFAULT_wxUSE_SPLINES
=yes
2277 DEFAULT_wxUSE_MDI
=yes
2278 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2279 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2280 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2282 DEFAULT_wxUSE_RESOURCES
=no
2283 DEFAULT_wxUSE_CONSTRAINTS
=yes
2284 DEFAULT_wxUSE_IPC
=yes
2285 DEFAULT_wxUSE_HELP
=yes
2286 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2287 DEFAULT_wxUSE_WXHTML_HELP
=yes
2288 DEFAULT_wxUSE_TREELAYOUT
=yes
2289 DEFAULT_wxUSE_METAFILE
=yes
2290 DEFAULT_wxUSE_MIMETYPE
=yes
2291 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2292 DEFAULT_wxUSE_PROTOCOL
=yes
2293 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2294 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2295 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2296 DEFAULT_wxUSE_URL
=yes
2298 DEFAULT_wxUSE_COMMONDLGS
=yes
2299 DEFAULT_wxUSE_CHOICEDLG
=yes
2300 DEFAULT_wxUSE_COLOURDLG
=yes
2301 DEFAULT_wxUSE_DIRDLG
=yes
2302 DEFAULT_wxUSE_FILEDLG
=yes
2303 DEFAULT_wxUSE_FINDREPLDLG
=yes
2304 DEFAULT_wxUSE_FONTDLG
=yes
2305 DEFAULT_wxUSE_MSGDLG
=yes
2306 DEFAULT_wxUSE_NUMBERDLG
=yes
2307 DEFAULT_wxUSE_TEXTDLG
=yes
2308 DEFAULT_wxUSE_SPLASH
=yes
2309 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2310 DEFAULT_wxUSE_PROGRESSDLG
=yes
2311 DEFAULT_wxUSE_WIZARDDLG
=yes
2313 DEFAULT_wxUSE_MENUS
=yes
2314 DEFAULT_wxUSE_MINIFRAME
=yes
2315 DEFAULT_wxUSE_HTML
=yes
2316 DEFAULT_wxUSE_WEBKIT
=yes
2317 DEFAULT_wxUSE_FILESYSTEM
=yes
2318 DEFAULT_wxUSE_FS_INET
=yes
2319 DEFAULT_wxUSE_FS_ZIP
=yes
2320 DEFAULT_wxUSE_BUSYINFO
=yes
2321 DEFAULT_wxUSE_ZIPSTREAM
=yes
2322 DEFAULT_wxUSE_VALIDATORS
=yes
2324 DEFAULT_wxUSE_ACCEL
=yes
2325 DEFAULT_wxUSE_BUTTON
=yes
2326 DEFAULT_wxUSE_BMPBUTTON
=yes
2327 DEFAULT_wxUSE_CALCTRL
=yes
2328 DEFAULT_wxUSE_CARET
=yes
2329 DEFAULT_wxUSE_CHECKBOX
=yes
2330 DEFAULT_wxUSE_CHECKLST
=yes
2331 DEFAULT_wxUSE_CHOICE
=yes
2332 DEFAULT_wxUSE_COMBOBOX
=yes
2333 DEFAULT_wxUSE_DISPLAY
=yes
2334 DEFAULT_wxUSE_GAUGE
=yes
2335 DEFAULT_wxUSE_GRID
=yes
2336 DEFAULT_wxUSE_IMAGLIST
=yes
2337 DEFAULT_wxUSE_LISTBOOK
=yes
2338 DEFAULT_wxUSE_LISTBOX
=yes
2339 DEFAULT_wxUSE_LISTCTRL
=yes
2340 DEFAULT_wxUSE_NOTEBOOK
=yes
2341 DEFAULT_wxUSE_RADIOBOX
=yes
2342 DEFAULT_wxUSE_RADIOBTN
=yes
2343 DEFAULT_wxUSE_SASH
=yes
2344 DEFAULT_wxUSE_SCROLLBAR
=yes
2345 DEFAULT_wxUSE_SLIDER
=yes
2346 DEFAULT_wxUSE_SPINBTN
=yes
2347 DEFAULT_wxUSE_SPINCTRL
=yes
2348 DEFAULT_wxUSE_SPLITTER
=yes
2349 DEFAULT_wxUSE_STATBMP
=yes
2350 DEFAULT_wxUSE_STATBOX
=yes
2351 DEFAULT_wxUSE_STATLINE
=yes
2352 DEFAULT_wxUSE_STATTEXT
=yes
2353 DEFAULT_wxUSE_STATUSBAR
=yes
2354 DEFAULT_wxUSE_TABDIALOG
=no
2355 DEFAULT_wxUSE_TEXTCTRL
=yes
2356 DEFAULT_wxUSE_TOGGLEBTN
=yes
2357 DEFAULT_wxUSE_TOOLBAR
=yes
2358 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2359 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2360 DEFAULT_wxUSE_TREECTRL
=yes
2361 DEFAULT_wxUSE_POPUPWIN
=yes
2362 DEFAULT_wxUSE_TIPWINDOW
=yes
2364 DEFAULT_wxUSE_UNICODE
=no
2365 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2366 DEFAULT_wxUSE_WCSRTOMBS
=no
2368 DEFAULT_wxUSE_PALETTE
=yes
2369 DEFAULT_wxUSE_IMAGE
=yes
2370 DEFAULT_wxUSE_GIF
=yes
2371 DEFAULT_wxUSE_PCX
=yes
2372 DEFAULT_wxUSE_IFF
=no
2373 DEFAULT_wxUSE_PNM
=yes
2374 DEFAULT_wxUSE_XPM
=yes
2375 DEFAULT_wxUSE_ICO_CUR
=yes
2376 DEFAULT_wxUSE_ACCESSIBILITY
=no
2378 DEFAULT_wxUSE_MONOLITHIC
=no
2379 DEFAULT_wxUSE_PLUGINS
=no
2380 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2382 DEFAULT_wxUSE_GTK2
=yes
2387 for toolkit
in `echo $ALL_TOOLKITS`; do
2388 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2389 if test "x$LINE" != "x" ; then
2390 has_toolkit_in_cache
=1
2391 eval "DEFAULT_$LINE"
2392 eval "CACHE_$toolkit=1"
2399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2400 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2402 # Check whether --enable-gui or --disable-gui was given.
2403 if test "${enable_gui+set}" = set; then
2404 enableval
="$enable_gui"
2406 if test "$enableval" = yes; then
2407 ac_cv_use_gui
='wxUSE_GUI=yes'
2409 ac_cv_use_gui
='wxUSE_GUI=no'
2414 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2415 if test "x$LINE" != x
; then
2416 eval "DEFAULT_$LINE"
2421 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2425 eval "$ac_cv_use_gui"
2426 if test "$no_cache" != 1; then
2427 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2430 if test "$wxUSE_GUI" = yes; then
2431 echo "$as_me:$LINENO: result: yes" >&5
2432 echo "${ECHO_T}yes" >&6
2434 echo "$as_me:$LINENO: result: no" >&5
2435 echo "${ECHO_T}no" >&6
2440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2441 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2443 # Check whether --enable-monolithic or --disable-monolithic was given.
2444 if test "${enable_monolithic+set}" = set; then
2445 enableval
="$enable_monolithic"
2447 if test "$enableval" = yes; then
2448 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2450 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2455 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x
; then
2457 eval "DEFAULT_$LINE"
2462 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2466 eval "$ac_cv_use_monolithic"
2467 if test "$no_cache" != 1; then
2468 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2471 if test "$wxUSE_MONOLITHIC" = yes; then
2472 echo "$as_me:$LINENO: result: yes" >&5
2473 echo "${ECHO_T}yes" >&6
2475 echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6
2481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2482 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2484 # Check whether --enable-plugins or --disable-plugins was given.
2485 if test "${enable_plugins+set}" = set; then
2486 enableval
="$enable_plugins"
2488 if test "$enableval" = yes; then
2489 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2491 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2496 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2497 if test "x$LINE" != x
; then
2498 eval "DEFAULT_$LINE"
2503 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2507 eval "$ac_cv_use_plugins"
2508 if test "$no_cache" != 1; then
2509 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2512 if test "$wxUSE_PLUGINS" = yes; then
2513 echo "$as_me:$LINENO: result: yes" >&5
2514 echo "${ECHO_T}yes" >&6
2516 echo "$as_me:$LINENO: result: no" >&5
2517 echo "${ECHO_T}no" >&6
2521 if test "$wxUSE_GUI" = "yes"; then
2525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2526 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2528 # Check whether --enable-universal or --disable-universal was given.
2529 if test "${enable_universal+set}" = set; then
2530 enableval
="$enable_universal"
2532 if test "$enableval" = yes; then
2533 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2535 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2540 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2541 if test "x$LINE" != x
; then
2542 eval "DEFAULT_$LINE"
2547 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2551 eval "$ac_cv_use_universal"
2552 if test "$no_cache" != 1; then
2553 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2556 if test "$wxUSE_UNIVERSAL" = yes; then
2557 echo "$as_me:$LINENO: result: yes" >&5
2558 echo "${ECHO_T}yes" >&6
2560 echo "$as_me:$LINENO: result: no" >&5
2561 echo "${ECHO_T}no" >&6
2565 # Check whether --with-gtk or --without-gtk was given.
2566 if test "${with_gtk+set}" = set; then
2568 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2571 # Check whether --with-motif or --without-motif was given.
2572 if test "${with_motif+set}" = set; then
2573 withval
="$with_motif"
2574 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2577 # Check whether --with-mac or --without-mac was given.
2578 if test "${with_mac+set}" = set; then
2580 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2583 # Check whether --with-cocoa or --without-cocoa was given.
2584 if test "${with_cocoa+set}" = set; then
2585 withval
="$with_cocoa"
2586 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2589 # Check whether --with-wine or --without-wine was given.
2590 if test "${with_wine+set}" = set; then
2591 withval
="$with_wine"
2592 wxUSE_WINE
="$withval" CACHE_WINE
=1
2595 # Check whether --with-msw or --without-msw was given.
2596 if test "${with_msw+set}" = set; then
2598 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2601 # Check whether --with-pm or --without-pm was given.
2602 if test "${with_pm+set}" = set; then
2604 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2607 # Check whether --with-mgl or --without-mgl was given.
2608 if test "${with_mgl+set}" = set; then
2610 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2613 # Check whether --with-microwin or --without-microwin was given.
2614 if test "${with_microwin+set}" = set; then
2615 withval
="$with_microwin"
2616 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2619 # Check whether --with-x11 or --without-x11 was given.
2620 if test "${with_x11+set}" = set; then
2622 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2627 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2629 # Check whether --enable-nanox or --disable-nanox was given.
2630 if test "${enable_nanox+set}" = set; then
2631 enableval
="$enable_nanox"
2633 if test "$enableval" = yes; then
2634 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2636 ac_cv_use_nanox
='wxUSE_NANOX=no'
2641 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x
; then
2643 eval "DEFAULT_$LINE"
2648 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2652 eval "$ac_cv_use_nanox"
2653 if test "$no_cache" != 1; then
2654 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2657 if test "$wxUSE_NANOX" = yes; then
2658 echo "$as_me:$LINENO: result: yes" >&5
2659 echo "${ECHO_T}yes" >&6
2661 echo "$as_me:$LINENO: result: no" >&5
2662 echo "${ECHO_T}no" >&6
2668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2669 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2671 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2672 if test "${enable_gtk2+set}" = set; then
2673 enableval
="$enable_gtk2"
2675 if test "$enableval" = yes; then
2676 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2678 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2683 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2684 if test "x$LINE" != x
; then
2685 eval "DEFAULT_$LINE"
2690 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2694 eval "$ac_cv_use_gtk2"
2695 if test "$no_cache" != 1; then
2696 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2699 if test "$wxUSE_GTK2" = yes; then
2700 echo "$as_me:$LINENO: result: yes" >&5
2701 echo "${ECHO_T}yes" >&6
2703 echo "$as_me:$LINENO: result: no" >&5
2704 echo "${ECHO_T}no" >&6
2709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2710 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2712 # Check whether --enable-gpe or --disable-gpe was given.
2713 if test "${enable_gpe+set}" = set; then
2714 enableval
="$enable_gpe"
2716 if test "$enableval" = yes; then
2717 ac_cv_use_gpe
='wxUSE_GPE=yes'
2719 ac_cv_use_gpe
='wxUSE_GPE=no'
2724 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2725 if test "x$LINE" != x
; then
2726 eval "DEFAULT_$LINE"
2731 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2735 eval "$ac_cv_use_gpe"
2736 if test "$no_cache" != 1; then
2737 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2740 if test "$wxUSE_GPE" = yes; then
2741 echo "$as_me:$LINENO: result: yes" >&5
2742 echo "${ECHO_T}yes" >&6
2744 echo "$as_me:$LINENO: result: no" >&5
2745 echo "${ECHO_T}no" >&6
2750 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2751 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2754 # Check whether --with-libpng or --without-libpng was given.
2755 if test "${with_libpng+set}" = set; then
2756 withval
="$with_libpng"
2758 if test "$withval" = yes; then
2759 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2760 elif test "$withval" = no
; then
2761 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2762 elif test "$withval" = sys
; then
2763 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2764 elif test "$withval" = builtin; then
2765 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2768 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2769 { (exit 1); exit 1; }; }
2774 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x
; then
2776 eval "DEFAULT_$LINE"
2781 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2785 eval "$ac_cv_use_libpng"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2790 if test "$wxUSE_LIBPNG" = yes; then
2791 echo "$as_me:$LINENO: result: yes" >&5
2792 echo "${ECHO_T}yes" >&6
2793 elif test "$wxUSE_LIBPNG" = no
; then
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2796 elif test "$wxUSE_LIBPNG" = sys
; then
2797 echo "$as_me:$LINENO: result: system version" >&5
2798 echo "${ECHO_T}system version" >&6
2799 elif test "$wxUSE_LIBPNG" = builtin; then
2800 echo "$as_me:$LINENO: result: builtin version" >&5
2801 echo "${ECHO_T}builtin version" >&6
2803 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2804 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2805 { (exit 1); exit 1; }; }
2809 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2810 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2813 # Check whether --with-libjpeg or --without-libjpeg was given.
2814 if test "${with_libjpeg+set}" = set; then
2815 withval
="$with_libjpeg"
2817 if test "$withval" = yes; then
2818 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2819 elif test "$withval" = no
; then
2820 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2821 elif test "$withval" = sys
; then
2822 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2823 elif test "$withval" = builtin; then
2824 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2827 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2828 { (exit 1); exit 1; }; }
2833 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2834 if test "x$LINE" != x
; then
2835 eval "DEFAULT_$LINE"
2840 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2844 eval "$ac_cv_use_libjpeg"
2845 if test "$no_cache" != 1; then
2846 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2849 if test "$wxUSE_LIBJPEG" = yes; then
2850 echo "$as_me:$LINENO: result: yes" >&5
2851 echo "${ECHO_T}yes" >&6
2852 elif test "$wxUSE_LIBJPEG" = no
; then
2853 echo "$as_me:$LINENO: result: no" >&5
2854 echo "${ECHO_T}no" >&6
2855 elif test "$wxUSE_LIBJPEG" = sys
; then
2856 echo "$as_me:$LINENO: result: system version" >&5
2857 echo "${ECHO_T}system version" >&6
2858 elif test "$wxUSE_LIBJPEG" = builtin; then
2859 echo "$as_me:$LINENO: result: builtin version" >&5
2860 echo "${ECHO_T}builtin version" >&6
2862 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2863 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2864 { (exit 1); exit 1; }; }
2868 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2869 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2872 # Check whether --with-libtiff or --without-libtiff was given.
2873 if test "${with_libtiff+set}" = set; then
2874 withval
="$with_libtiff"
2876 if test "$withval" = yes; then
2877 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2878 elif test "$withval" = no
; then
2879 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2880 elif test "$withval" = sys
; then
2881 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2882 elif test "$withval" = builtin; then
2883 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2885 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2886 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2887 { (exit 1); exit 1; }; }
2892 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x
; then
2894 eval "DEFAULT_$LINE"
2899 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2903 eval "$ac_cv_use_libtiff"
2904 if test "$no_cache" != 1; then
2905 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2908 if test "$wxUSE_LIBTIFF" = yes; then
2909 echo "$as_me:$LINENO: result: yes" >&5
2910 echo "${ECHO_T}yes" >&6
2911 elif test "$wxUSE_LIBTIFF" = no
; then
2912 echo "$as_me:$LINENO: result: no" >&5
2913 echo "${ECHO_T}no" >&6
2914 elif test "$wxUSE_LIBTIFF" = sys
; then
2915 echo "$as_me:$LINENO: result: system version" >&5
2916 echo "${ECHO_T}system version" >&6
2917 elif test "$wxUSE_LIBTIFF" = builtin; then
2918 echo "$as_me:$LINENO: result: builtin version" >&5
2919 echo "${ECHO_T}builtin version" >&6
2921 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2922 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2923 { (exit 1); exit 1; }; }
2927 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2928 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2931 # Check whether --with-libxpm or --without-libxpm was given.
2932 if test "${with_libxpm+set}" = set; then
2933 withval
="$with_libxpm"
2935 if test "$withval" = yes; then
2936 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2937 elif test "$withval" = no
; then
2938 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2939 elif test "$withval" = sys
; then
2940 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2941 elif test "$withval" = builtin; then
2942 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2944 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2945 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2946 { (exit 1); exit 1; }; }
2951 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2952 if test "x$LINE" != x
; then
2953 eval "DEFAULT_$LINE"
2958 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2962 eval "$ac_cv_use_libxpm"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2967 if test "$wxUSE_LIBXPM" = yes; then
2968 echo "$as_me:$LINENO: result: yes" >&5
2969 echo "${ECHO_T}yes" >&6
2970 elif test "$wxUSE_LIBXPM" = no
; then
2971 echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2973 elif test "$wxUSE_LIBXPM" = sys
; then
2974 echo "$as_me:$LINENO: result: system version" >&5
2975 echo "${ECHO_T}system version" >&6
2976 elif test "$wxUSE_LIBXPM" = builtin; then
2977 echo "$as_me:$LINENO: result: builtin version" >&5
2978 echo "${ECHO_T}builtin version" >&6
2980 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2981 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2982 { (exit 1); exit 1; }; }
2986 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2987 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2990 # Check whether --with-libmspack or --without-libmspack was given.
2991 if test "${with_libmspack+set}" = set; then
2992 withval
="$with_libmspack"
2994 if test "$withval" = yes; then
2995 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2997 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3002 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x
; then
3004 eval "DEFAULT_$LINE"
3009 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3013 eval "$ac_cv_use_libmspack"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3018 if test "$wxUSE_LIBMSPACK" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020 echo "${ECHO_T}yes" >&6
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3027 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3028 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3031 # Check whether --with-sdl or --without-sdl was given.
3032 if test "${with_sdl+set}" = set; then
3035 if test "$withval" = yes; then
3036 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3038 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3043 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x
; then
3045 eval "DEFAULT_$LINE"
3050 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3054 eval "$ac_cv_use_sdl"
3055 if test "$no_cache" != 1; then
3056 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3059 if test "$wxUSE_LIBSDL" = yes; then
3060 echo "$as_me:$LINENO: result: yes" >&5
3061 echo "${ECHO_T}yes" >&6
3063 echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6
3068 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3069 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3072 # Check whether --with-opengl or --without-opengl was given.
3073 if test "${with_opengl+set}" = set; then
3074 withval
="$with_opengl"
3076 if test "$withval" = yes; then
3077 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3079 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3084 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3085 if test "x$LINE" != x
; then
3086 eval "DEFAULT_$LINE"
3091 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3095 eval "$ac_cv_use_opengl"
3096 if test "$no_cache" != 1; then
3097 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3100 if test "$wxUSE_OPENGL" = yes; then
3101 echo "$as_me:$LINENO: result: yes" >&5
3102 echo "${ECHO_T}yes" >&6
3104 echo "$as_me:$LINENO: result: no" >&5
3105 echo "${ECHO_T}no" >&6
3112 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3113 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3116 # Check whether --with-dmalloc or --without-dmalloc was given.
3117 if test "${with_dmalloc+set}" = set; then
3118 withval
="$with_dmalloc"
3120 if test "$withval" = yes; then
3121 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3123 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3128 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x
; then
3130 eval "DEFAULT_$LINE"
3135 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3139 eval "$ac_cv_use_dmalloc"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3144 if test "$wxUSE_DMALLOC" = yes; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146 echo "${ECHO_T}yes" >&6
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3153 echo "$as_me:$LINENO: checking for --with-regex" >&5
3154 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3157 # Check whether --with-regex or --without-regex was given.
3158 if test "${with_regex+set}" = set; then
3159 withval
="$with_regex"
3161 if test "$withval" = yes; then
3162 ac_cv_use_regex
='wxUSE_REGEX=yes'
3163 elif test "$withval" = no
; then
3164 ac_cv_use_regex
='wxUSE_REGEX=no'
3165 elif test "$withval" = sys
; then
3166 ac_cv_use_regex
='wxUSE_REGEX=sys'
3167 elif test "$withval" = builtin; then
3168 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3170 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3171 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3172 { (exit 1); exit 1; }; }
3177 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3178 if test "x$LINE" != x
; then
3179 eval "DEFAULT_$LINE"
3184 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3188 eval "$ac_cv_use_regex"
3189 if test "$no_cache" != 1; then
3190 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3193 if test "$wxUSE_REGEX" = yes; then
3194 echo "$as_me:$LINENO: result: yes" >&5
3195 echo "${ECHO_T}yes" >&6
3196 elif test "$wxUSE_REGEX" = no
; then
3197 echo "$as_me:$LINENO: result: no" >&5
3198 echo "${ECHO_T}no" >&6
3199 elif test "$wxUSE_REGEX" = sys
; then
3200 echo "$as_me:$LINENO: result: system version" >&5
3201 echo "${ECHO_T}system version" >&6
3202 elif test "$wxUSE_REGEX" = builtin; then
3203 echo "$as_me:$LINENO: result: builtin version" >&5
3204 echo "${ECHO_T}builtin version" >&6
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3212 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3213 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3216 # Check whether --with-zlib or --without-zlib was given.
3217 if test "${with_zlib+set}" = set; then
3218 withval
="$with_zlib"
3220 if test "$withval" = yes; then
3221 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3222 elif test "$withval" = no
; then
3223 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3224 elif test "$withval" = sys
; then
3225 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3226 elif test "$withval" = builtin; then
3227 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3229 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3230 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3231 { (exit 1); exit 1; }; }
3236 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x
; then
3238 eval "DEFAULT_$LINE"
3243 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3247 eval "$ac_cv_use_zlib"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3252 if test "$wxUSE_ZLIB" = yes; then
3253 echo "$as_me:$LINENO: result: yes" >&5
3254 echo "${ECHO_T}yes" >&6
3255 elif test "$wxUSE_ZLIB" = no
; then
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3258 elif test "$wxUSE_ZLIB" = sys
; then
3259 echo "$as_me:$LINENO: result: system version" >&5
3260 echo "${ECHO_T}system version" >&6
3261 elif test "$wxUSE_ZLIB" = builtin; then
3262 echo "$as_me:$LINENO: result: builtin version" >&5
3263 echo "${ECHO_T}builtin version" >&6
3265 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3266 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3267 { (exit 1); exit 1; }; }
3271 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3272 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3275 # Check whether --with-odbc or --without-odbc was given.
3276 if test "${with_odbc+set}" = set; then
3277 withval
="$with_odbc"
3279 if test "$withval" = yes; then
3280 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3281 elif test "$withval" = no
; then
3282 ac_cv_use_odbc
='wxUSE_ODBC=no'
3283 elif test "$withval" = sys
; then
3284 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3285 elif test "$withval" = builtin; then
3286 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3288 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3289 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3290 { (exit 1); exit 1; }; }
3295 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3296 if test "x$LINE" != x
; then
3297 eval "DEFAULT_$LINE"
3302 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3306 eval "$ac_cv_use_odbc"
3307 if test "$no_cache" != 1; then
3308 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3311 if test "$wxUSE_ODBC" = yes; then
3312 echo "$as_me:$LINENO: result: yes" >&5
3313 echo "${ECHO_T}yes" >&6
3314 elif test "$wxUSE_ODBC" = no
; then
3315 echo "$as_me:$LINENO: result: no" >&5
3316 echo "${ECHO_T}no" >&6
3317 elif test "$wxUSE_ODBC" = sys
; then
3318 echo "$as_me:$LINENO: result: system version" >&5
3319 echo "${ECHO_T}system version" >&6
3320 elif test "$wxUSE_ODBC" = builtin; then
3321 echo "$as_me:$LINENO: result: builtin version" >&5
3322 echo "${ECHO_T}builtin version" >&6
3324 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3325 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3326 { (exit 1); exit 1; }; }
3330 echo "$as_me:$LINENO: checking for --with-expat" >&5
3331 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3334 # Check whether --with-expat or --without-expat was given.
3335 if test "${with_expat+set}" = set; then
3336 withval
="$with_expat"
3338 if test "$withval" = yes; then
3339 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3340 elif test "$withval" = no
; then
3341 ac_cv_use_expat
='wxUSE_EXPAT=no'
3342 elif test "$withval" = sys
; then
3343 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3344 elif test "$withval" = builtin; then
3345 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3347 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3348 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3349 { (exit 1); exit 1; }; }
3354 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x
; then
3356 eval "DEFAULT_$LINE"
3361 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3365 eval "$ac_cv_use_expat"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3370 if test "$wxUSE_EXPAT" = yes; then
3371 echo "$as_me:$LINENO: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3373 elif test "$wxUSE_EXPAT" = no
; then
3374 echo "$as_me:$LINENO: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3376 elif test "$wxUSE_EXPAT" = sys
; then
3377 echo "$as_me:$LINENO: result: system version" >&5
3378 echo "${ECHO_T}system version" >&6
3379 elif test "$wxUSE_EXPAT" = builtin; then
3380 echo "$as_me:$LINENO: result: builtin version" >&5
3381 echo "${ECHO_T}builtin version" >&6
3383 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3384 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3385 { (exit 1); exit 1; }; }
3392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3393 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3395 # Check whether --enable-shared or --disable-shared was given.
3396 if test "${enable_shared+set}" = set; then
3397 enableval
="$enable_shared"
3399 if test "$enableval" = yes; then
3400 ac_cv_use_shared
='wxUSE_SHARED=yes'
3402 ac_cv_use_shared
='wxUSE_SHARED=no'
3407 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3418 eval "$ac_cv_use_shared"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3423 if test "$wxUSE_SHARED" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3434 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3436 # Check whether --enable-optimise or --disable-optimise was given.
3437 if test "${enable_optimise+set}" = set; then
3438 enableval
="$enable_optimise"
3440 if test "$enableval" = yes; then
3441 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3443 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3448 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x
; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3459 eval "$ac_cv_use_optimise"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3464 if test "$wxUSE_OPTIMISE" = yes; then
3465 echo "$as_me:$LINENO: result: yes" >&5
3466 echo "${ECHO_T}yes" >&6
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3475 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3477 # Check whether --enable-debug or --disable-debug was given.
3478 if test "${enable_debug+set}" = set; then
3479 enableval
="$enable_debug"
3481 if test "$enableval" = yes; then
3482 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3484 ac_cv_use_debug
='wxUSE_DEBUG=no'
3489 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3490 if test "x$LINE" != x
; then
3491 eval "DEFAULT_$LINE"
3496 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3500 eval "$ac_cv_use_debug"
3501 if test "$no_cache" != 1; then
3502 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3505 if test "$wxUSE_DEBUG" = yes; then
3506 echo "$as_me:$LINENO: result: yes" >&5
3507 echo "${ECHO_T}yes" >&6
3509 echo "$as_me:$LINENO: result: no" >&5
3510 echo "${ECHO_T}no" >&6
3515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3516 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3518 # Check whether --enable-stl or --disable-stl was given.
3519 if test "${enable_stl+set}" = set; then
3520 enableval
="$enable_stl"
3522 if test "$enableval" = yes; then
3523 ac_cv_use_stl
='wxUSE_STL=yes'
3525 ac_cv_use_stl
='wxUSE_STL=no'
3530 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3531 if test "x$LINE" != x
; then
3532 eval "DEFAULT_$LINE"
3537 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3541 eval "$ac_cv_use_stl"
3542 if test "$no_cache" != 1; then
3543 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3546 if test "$wxUSE_STL" = yes; then
3547 echo "$as_me:$LINENO: result: yes" >&5
3548 echo "${ECHO_T}yes" >&6
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3554 if test "$USE_OS2" = "1"; then
3557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3558 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3560 # Check whether --enable-omf or --disable-omf was given.
3561 if test "${enable_omf+set}" = set; then
3562 enableval
="$enable_omf"
3564 if test "$enableval" = yes; then
3565 ac_cv_use_omf
='wxUSE_OMF=yes'
3567 ac_cv_use_omf
='wxUSE_OMF=no'
3572 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x
; then
3574 eval "DEFAULT_$LINE"
3579 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3583 eval "$ac_cv_use_omf"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_OMF" = yes; then
3589 echo "$as_me:$LINENO: result: yes" >&5
3590 echo "${ECHO_T}yes" >&6
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3598 if test "$wxUSE_DEBUG" = "yes"; then
3599 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3600 DEFAULT_wxUSE_DEBUG_INFO
=yes
3602 elif test "$wxUSE_DEBUG" = "no"; then
3603 DEFAULT_wxUSE_DEBUG_FLAG
=no
3604 DEFAULT_wxUSE_DEBUG_INFO
=no
3610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3611 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3613 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3614 if test "${enable_debug_flag+set}" = set; then
3615 enableval
="$enable_debug_flag"
3617 if test "$enableval" = yes; then
3618 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3620 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3625 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x
; then
3627 eval "DEFAULT_$LINE"
3632 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3636 eval "$ac_cv_use_debug_flag"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_DEBUG_FLAG" = yes; then
3642 echo "$as_me:$LINENO: result: yes" >&5
3643 echo "${ECHO_T}yes" >&6
3645 echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6
3651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3652 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3654 # Check whether --enable-debug_info or --disable-debug_info was given.
3655 if test "${enable_debug_info+set}" = set; then
3656 enableval
="$enable_debug_info"
3658 if test "$enableval" = yes; then
3659 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3661 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3666 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3667 if test "x$LINE" != x
; then
3668 eval "DEFAULT_$LINE"
3673 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3677 eval "$ac_cv_use_debug_info"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_DEBUG_INFO" = yes; then
3683 echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6
3686 echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6
3692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3693 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3695 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3696 if test "${enable_debug_gdb+set}" = set; then
3697 enableval
="$enable_debug_gdb"
3699 if test "$enableval" = yes; then
3700 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3702 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3707 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3708 if test "x$LINE" != x
; then
3709 eval "DEFAULT_$LINE"
3714 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3718 eval "$ac_cv_use_debug_gdb"
3719 if test "$no_cache" != 1; then
3720 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3723 if test "$wxUSE_DEBUG_GDB" = yes; then
3724 echo "$as_me:$LINENO: result: yes" >&5
3725 echo "${ECHO_T}yes" >&6
3727 echo "$as_me:$LINENO: result: no" >&5
3728 echo "${ECHO_T}no" >&6
3733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3734 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3736 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3737 if test "${enable_debug_cntxt+set}" = set; then
3738 enableval
="$enable_debug_cntxt"
3740 if test "$enableval" = yes; then
3741 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3743 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3748 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3749 if test "x$LINE" != x
; then
3750 eval "DEFAULT_$LINE"
3755 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3759 eval "$ac_cv_use_debug_cntxt"
3760 if test "$no_cache" != 1; then
3761 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3764 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3765 echo "$as_me:$LINENO: result: yes" >&5
3766 echo "${ECHO_T}yes" >&6
3768 echo "$as_me:$LINENO: result: no" >&5
3769 echo "${ECHO_T}no" >&6
3774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3775 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3777 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3778 if test "${enable_mem_tracing+set}" = set; then
3779 enableval
="$enable_mem_tracing"
3781 if test "$enableval" = yes; then
3782 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3784 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3789 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x
; then
3791 eval "DEFAULT_$LINE"
3796 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3800 eval "$ac_cv_use_mem_tracing"
3801 if test "$no_cache" != 1; then
3802 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3805 if test "$wxUSE_MEM_TRACING" = yes; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807 echo "${ECHO_T}yes" >&6
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3816 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3818 # Check whether --enable-profile or --disable-profile was given.
3819 if test "${enable_profile+set}" = set; then
3820 enableval
="$enable_profile"
3822 if test "$enableval" = yes; then
3823 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3825 ac_cv_use_profile
='wxUSE_PROFILE=no'
3830 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x
; then
3832 eval "DEFAULT_$LINE"
3837 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3841 eval "$ac_cv_use_profile"
3842 if test "$no_cache" != 1; then
3843 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3846 if test "$wxUSE_PROFILE" = yes; then
3847 echo "$as_me:$LINENO: result: yes" >&5
3848 echo "${ECHO_T}yes" >&6
3850 echo "$as_me:$LINENO: result: no" >&5
3851 echo "${ECHO_T}no" >&6
3856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3857 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3859 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3860 if test "${enable_no_rtti+set}" = set; then
3861 enableval
="$enable_no_rtti"
3863 if test "$enableval" = yes; then
3864 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3866 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3871 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3872 if test "x$LINE" != x
; then
3873 eval "DEFAULT_$LINE"
3878 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3882 eval "$ac_cv_use_no_rtti"
3883 if test "$no_cache" != 1; then
3884 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3887 if test "$wxUSE_NO_RTTI" = yes; then
3888 echo "$as_me:$LINENO: result: yes" >&5
3889 echo "${ECHO_T}yes" >&6
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3898 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3900 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3901 if test "${enable_no_exceptions+set}" = set; then
3902 enableval
="$enable_no_exceptions"
3904 if test "$enableval" = yes; then
3905 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3907 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3912 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x
; then
3914 eval "DEFAULT_$LINE"
3919 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3923 eval "$ac_cv_use_no_exceptions"
3924 if test "$no_cache" != 1; then
3925 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3928 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3929 echo "$as_me:$LINENO: result: yes" >&5
3930 echo "${ECHO_T}yes" >&6
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3939 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3941 # Check whether --enable-permissive or --disable-permissive was given.
3942 if test "${enable_permissive+set}" = set; then
3943 enableval
="$enable_permissive"
3945 if test "$enableval" = yes; then
3946 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3948 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3953 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x
; then
3955 eval "DEFAULT_$LINE"
3960 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3964 eval "$ac_cv_use_permissive"
3965 if test "$no_cache" != 1; then
3966 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3969 if test "$wxUSE_PERMISSIVE" = yes; then
3970 echo "$as_me:$LINENO: result: yes" >&5
3971 echo "${ECHO_T}yes" >&6
3973 echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3980 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3982 # Check whether --enable-no_deps or --disable-no_deps was given.
3983 if test "${enable_no_deps+set}" = set; then
3984 enableval
="$enable_no_deps"
3986 if test "$enableval" = yes; then
3987 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3989 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3994 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x
; then
3996 eval "DEFAULT_$LINE"
4001 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4005 eval "$ac_cv_use_no_deps"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4010 if test "$wxUSE_NO_DEPS" = yes; then
4011 echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4022 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4024 # Check whether --enable-compat22 or --disable-compat22 was given.
4025 if test "${enable_compat22+set}" = set; then
4026 enableval
="$enable_compat22"
4028 if test "$enableval" = yes; then
4029 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4031 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4036 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x
; then
4038 eval "DEFAULT_$LINE"
4043 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4047 eval "$ac_cv_use_compat22"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4052 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4053 echo "$as_me:$LINENO: result: yes" >&5
4054 echo "${ECHO_T}yes" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4061 enablestring
=disable
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4063 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4065 # Check whether --enable-compat24 or --disable-compat24 was given.
4066 if test "${enable_compat24+set}" = set; then
4067 enableval
="$enable_compat24"
4069 if test "$enableval" = yes; then
4070 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4072 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4077 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x
; then
4079 eval "DEFAULT_$LINE"
4084 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4088 eval "$ac_cv_use_compat24"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4093 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4102 # Check whether --enable-rpath or --disable-rpath was given.
4103 if test "${enable_rpath+set}" = set; then
4104 enableval
="$enable_rpath"
4105 wxRPATH_DIR
="$enableval"
4108 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4109 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4117 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4119 # Check whether --enable-intl or --disable-intl was given.
4120 if test "${enable_intl+set}" = set; then
4121 enableval
="$enable_intl"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_intl
='wxUSE_INTL=yes'
4126 ac_cv_use_intl
='wxUSE_INTL=no'
4131 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x
; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4142 eval "$ac_cv_use_intl"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4147 if test "$wxUSE_INTL" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4151 echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6
4157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4158 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4160 # Check whether --enable-config or --disable-config was given.
4161 if test "${enable_config+set}" = set; then
4162 enableval
="$enable_config"
4164 if test "$enableval" = yes; then
4165 ac_cv_use_config
='wxUSE_CONFIG=yes'
4167 ac_cv_use_config
='wxUSE_CONFIG=no'
4172 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x
; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4183 eval "$ac_cv_use_config"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_CONFIG" = yes; then
4189 echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4200 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4202 # Check whether --enable-protocols or --disable-protocols was given.
4203 if test "${enable_protocols+set}" = set; then
4204 enableval
="$enable_protocols"
4206 if test "$enableval" = yes; then
4207 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4209 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4214 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4215 if test "x$LINE" != x
; then
4216 eval "DEFAULT_$LINE"
4221 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4225 eval "$ac_cv_use_protocols"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4230 if test "$wxUSE_PROTOCOL" = yes; then
4231 echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6
4234 echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6
4240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4241 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4243 # Check whether --enable-ftp or --disable-ftp was given.
4244 if test "${enable_ftp+set}" = set; then
4245 enableval
="$enable_ftp"
4247 if test "$enableval" = yes; then
4248 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4250 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4255 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4256 if test "x$LINE" != x
; then
4257 eval "DEFAULT_$LINE"
4262 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4266 eval "$ac_cv_use_ftp"
4267 if test "$no_cache" != 1; then
4268 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4271 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4272 echo "$as_me:$LINENO: result: yes" >&5
4273 echo "${ECHO_T}yes" >&6
4275 echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6
4281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4282 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4284 # Check whether --enable-http or --disable-http was given.
4285 if test "${enable_http+set}" = set; then
4286 enableval
="$enable_http"
4288 if test "$enableval" = yes; then
4289 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4291 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4296 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4297 if test "x$LINE" != x
; then
4298 eval "DEFAULT_$LINE"
4303 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4307 eval "$ac_cv_use_http"
4308 if test "$no_cache" != 1; then
4309 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4312 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4313 echo "$as_me:$LINENO: result: yes" >&5
4314 echo "${ECHO_T}yes" >&6
4316 echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6
4322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4323 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4325 # Check whether --enable-fileproto or --disable-fileproto was given.
4326 if test "${enable_fileproto+set}" = set; then
4327 enableval
="$enable_fileproto"
4329 if test "$enableval" = yes; then
4330 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4332 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4337 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4338 if test "x$LINE" != x
; then
4339 eval "DEFAULT_$LINE"
4344 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4348 eval "$ac_cv_use_fileproto"
4349 if test "$no_cache" != 1; then
4350 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4353 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4354 echo "$as_me:$LINENO: result: yes" >&5
4355 echo "${ECHO_T}yes" >&6
4357 echo "$as_me:$LINENO: result: no" >&5
4358 echo "${ECHO_T}no" >&6
4363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4364 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4366 # Check whether --enable-sockets or --disable-sockets was given.
4367 if test "${enable_sockets+set}" = set; then
4368 enableval
="$enable_sockets"
4370 if test "$enableval" = yes; then
4371 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4373 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4378 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4379 if test "x$LINE" != x
; then
4380 eval "DEFAULT_$LINE"
4385 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4389 eval "$ac_cv_use_sockets"
4390 if test "$no_cache" != 1; then
4391 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4394 if test "$wxUSE_SOCKETS" = yes; then
4395 echo "$as_me:$LINENO: result: yes" >&5
4396 echo "${ECHO_T}yes" >&6
4398 echo "$as_me:$LINENO: result: no" >&5
4399 echo "${ECHO_T}no" >&6
4404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4405 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4407 # Check whether --enable-ole or --disable-ole was given.
4408 if test "${enable_ole+set}" = set; then
4409 enableval
="$enable_ole"
4411 if test "$enableval" = yes; then
4412 ac_cv_use_ole
='wxUSE_OLE=yes'
4414 ac_cv_use_ole
='wxUSE_OLE=no'
4419 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x
; then
4421 eval "DEFAULT_$LINE"
4426 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4430 eval "$ac_cv_use_ole"
4431 if test "$no_cache" != 1; then
4432 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4435 if test "$wxUSE_OLE" = yes; then
4436 echo "$as_me:$LINENO: result: yes" >&5
4437 echo "${ECHO_T}yes" >&6
4439 echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6
4445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4448 # Check whether --enable-dataobj or --disable-dataobj was given.
4449 if test "${enable_dataobj+set}" = set; then
4450 enableval
="$enable_dataobj"
4452 if test "$enableval" = yes; then
4453 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4455 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4460 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4461 if test "x$LINE" != x
; then
4462 eval "DEFAULT_$LINE"
4467 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4471 eval "$ac_cv_use_dataobj"
4472 if test "$no_cache" != 1; then
4473 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4476 if test "$wxUSE_DATAOBJ" = yes; then
4477 echo "$as_me:$LINENO: result: yes" >&5
4478 echo "${ECHO_T}yes" >&6
4480 echo "$as_me:$LINENO: result: no" >&5
4481 echo "${ECHO_T}no" >&6
4487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4488 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4490 # Check whether --enable-ipc or --disable-ipc was given.
4491 if test "${enable_ipc+set}" = set; then
4492 enableval
="$enable_ipc"
4494 if test "$enableval" = yes; then
4495 ac_cv_use_ipc
='wxUSE_IPC=yes'
4497 ac_cv_use_ipc
='wxUSE_IPC=no'
4502 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x
; then
4504 eval "DEFAULT_$LINE"
4509 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4513 eval "$ac_cv_use_ipc"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4518 if test "$wxUSE_IPC" = yes; then
4519 echo "$as_me:$LINENO: result: yes" >&5
4520 echo "${ECHO_T}yes" >&6
4522 echo "$as_me:$LINENO: result: no" >&5
4523 echo "${ECHO_T}no" >&6
4529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4532 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4533 if test "${enable_apple_ieee+set}" = set; then
4534 enableval
="$enable_apple_ieee"
4536 if test "$enableval" = yes; then
4537 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4539 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4544 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x
; then
4546 eval "DEFAULT_$LINE"
4551 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4555 eval "$ac_cv_use_apple_ieee"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4560 if test "$wxUSE_APPLE_IEEE" = yes; then
4561 echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6
4564 echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6
4570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4573 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4574 if test "${enable_catch_segvs+set}" = set; then
4575 enableval
="$enable_catch_segvs"
4577 if test "$enableval" = yes; then
4578 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4580 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4585 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4586 if test "x$LINE" != x
; then
4587 eval "DEFAULT_$LINE"
4592 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4596 eval "$ac_cv_use_catch_segvs"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4601 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4602 echo "$as_me:$LINENO: result: yes" >&5
4603 echo "${ECHO_T}yes" >&6
4605 echo "$as_me:$LINENO: result: no" >&5
4606 echo "${ECHO_T}no" >&6
4611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4612 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4614 # Check whether --enable-cmdline or --disable-cmdline was given.
4615 if test "${enable_cmdline+set}" = set; then
4616 enableval
="$enable_cmdline"
4618 if test "$enableval" = yes; then
4619 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4621 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4626 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4627 if test "x$LINE" != x
; then
4628 eval "DEFAULT_$LINE"
4633 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4637 eval "$ac_cv_use_cmdline"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4642 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4643 echo "$as_me:$LINENO: result: yes" >&5
4644 echo "${ECHO_T}yes" >&6
4646 echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6
4652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4655 # Check whether --enable-datetime or --disable-datetime was given.
4656 if test "${enable_datetime+set}" = set; then
4657 enableval
="$enable_datetime"
4659 if test "$enableval" = yes; then
4660 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4662 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4667 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x
; then
4669 eval "DEFAULT_$LINE"
4674 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4678 eval "$ac_cv_use_datetime"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4683 if test "$wxUSE_DATETIME" = yes; then
4684 echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6
4687 echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6
4693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4696 # Check whether --enable-dialupman or --disable-dialupman was given.
4697 if test "${enable_dialupman+set}" = set; then
4698 enableval
="$enable_dialupman"
4700 if test "$enableval" = yes; then
4701 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4703 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4708 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4709 if test "x$LINE" != x
; then
4710 eval "DEFAULT_$LINE"
4715 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4719 eval "$ac_cv_use_dialupman"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4725 echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6
4728 echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6
4734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4735 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4737 # Check whether --enable-dynlib or --disable-dynlib was given.
4738 if test "${enable_dynlib+set}" = set; then
4739 enableval
="$enable_dynlib"
4741 if test "$enableval" = yes; then
4742 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4744 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4749 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x
; then
4751 eval "DEFAULT_$LINE"
4756 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4760 eval "$ac_cv_use_dynlib"
4761 if test "$no_cache" != 1; then
4762 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4765 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4766 echo "$as_me:$LINENO: result: yes" >&5
4767 echo "${ECHO_T}yes" >&6
4769 echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6
4775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4776 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4778 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4779 if test "${enable_dynamicloader+set}" = set; then
4780 enableval
="$enable_dynamicloader"
4782 if test "$enableval" = yes; then
4783 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4785 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4790 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x
; then
4792 eval "DEFAULT_$LINE"
4797 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4801 eval "$ac_cv_use_dynamicloader"
4802 if test "$no_cache" != 1; then
4803 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4806 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4807 echo "$as_me:$LINENO: result: yes" >&5
4808 echo "${ECHO_T}yes" >&6
4810 echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6
4816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4817 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4819 # Check whether --enable-exceptions or --disable-exceptions was given.
4820 if test "${enable_exceptions+set}" = set; then
4821 enableval
="$enable_exceptions"
4823 if test "$enableval" = yes; then
4824 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4826 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4831 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x
; then
4833 eval "DEFAULT_$LINE"
4838 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4842 eval "$ac_cv_use_exceptions"
4843 if test "$no_cache" != 1; then
4844 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4847 if test "$wxUSE_EXCEPTIONS" = yes; then
4848 echo "$as_me:$LINENO: result: yes" >&5
4849 echo "${ECHO_T}yes" >&6
4851 echo "$as_me:$LINENO: result: no" >&5
4852 echo "${ECHO_T}no" >&6
4857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4860 # Check whether --enable-ffile or --disable-ffile was given.
4861 if test "${enable_ffile+set}" = set; then
4862 enableval
="$enable_ffile"
4864 if test "$enableval" = yes; then
4865 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4867 ac_cv_use_ffile
='wxUSE_FFILE=no'
4872 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4873 if test "x$LINE" != x
; then
4874 eval "DEFAULT_$LINE"
4879 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4883 eval "$ac_cv_use_ffile"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4888 if test "$wxUSE_FFILE" = yes; then
4889 echo "$as_me:$LINENO: result: yes" >&5
4890 echo "${ECHO_T}yes" >&6
4892 echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6
4898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4899 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4901 # Check whether --enable-file or --disable-file was given.
4902 if test "${enable_file+set}" = set; then
4903 enableval
="$enable_file"
4905 if test "$enableval" = yes; then
4906 ac_cv_use_file
='wxUSE_FILE=yes'
4908 ac_cv_use_file
='wxUSE_FILE=no'
4913 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x
; then
4915 eval "DEFAULT_$LINE"
4920 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4924 eval "$ac_cv_use_file"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4929 if test "$wxUSE_FILE" = yes; then
4930 echo "$as_me:$LINENO: result: yes" >&5
4931 echo "${ECHO_T}yes" >&6
4933 echo "$as_me:$LINENO: result: no" >&5
4934 echo "${ECHO_T}no" >&6
4939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4940 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4942 # Check whether --enable-filesystem or --disable-filesystem was given.
4943 if test "${enable_filesystem+set}" = set; then
4944 enableval
="$enable_filesystem"
4946 if test "$enableval" = yes; then
4947 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4949 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4954 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x
; then
4956 eval "DEFAULT_$LINE"
4961 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4965 eval "$ac_cv_use_filesystem"
4966 if test "$no_cache" != 1; then
4967 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4970 if test "$wxUSE_FILESYSTEM" = yes; then
4971 echo "$as_me:$LINENO: result: yes" >&5
4972 echo "${ECHO_T}yes" >&6
4974 echo "$as_me:$LINENO: result: no" >&5
4975 echo "${ECHO_T}no" >&6
4980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4983 # Check whether --enable-fontmap or --disable-fontmap was given.
4984 if test "${enable_fontmap+set}" = set; then
4985 enableval
="$enable_fontmap"
4987 if test "$enableval" = yes; then
4988 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4990 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4995 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x
; then
4997 eval "DEFAULT_$LINE"
5002 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5006 eval "$ac_cv_use_fontmap"
5007 if test "$no_cache" != 1; then
5008 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5011 if test "$wxUSE_FONTMAP" = yes; then
5012 echo "$as_me:$LINENO: result: yes" >&5
5013 echo "${ECHO_T}yes" >&6
5015 echo "$as_me:$LINENO: result: no" >&5
5016 echo "${ECHO_T}no" >&6
5021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5024 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5025 if test "${enable_fs_inet+set}" = set; then
5026 enableval
="$enable_fs_inet"
5028 if test "$enableval" = yes; then
5029 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5031 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5036 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x
; then
5038 eval "DEFAULT_$LINE"
5043 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5047 eval "$ac_cv_use_fs_inet"
5048 if test "$no_cache" != 1; then
5049 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5052 if test "$wxUSE_FS_INET" = yes; then
5053 echo "$as_me:$LINENO: result: yes" >&5
5054 echo "${ECHO_T}yes" >&6
5056 echo "$as_me:$LINENO: result: no" >&5
5057 echo "${ECHO_T}no" >&6
5062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5063 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5065 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5066 if test "${enable_fs_zip+set}" = set; then
5067 enableval
="$enable_fs_zip"
5069 if test "$enableval" = yes; then
5070 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5072 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5077 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5078 if test "x$LINE" != x
; then
5079 eval "DEFAULT_$LINE"
5084 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5088 eval "$ac_cv_use_fs_zip"
5089 if test "$no_cache" != 1; then
5090 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5093 if test "$wxUSE_FS_ZIP" = yes; then
5094 echo "$as_me:$LINENO: result: yes" >&5
5095 echo "${ECHO_T}yes" >&6
5097 echo "$as_me:$LINENO: result: no" >&5
5098 echo "${ECHO_T}no" >&6
5103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5104 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5106 # Check whether --enable-geometry or --disable-geometry was given.
5107 if test "${enable_geometry+set}" = set; then
5108 enableval
="$enable_geometry"
5110 if test "$enableval" = yes; then
5111 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5113 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5118 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5119 if test "x$LINE" != x
; then
5120 eval "DEFAULT_$LINE"
5125 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5129 eval "$ac_cv_use_geometry"
5130 if test "$no_cache" != 1; then
5131 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5134 if test "$wxUSE_GEOMETRY" = yes; then
5135 echo "$as_me:$LINENO: result: yes" >&5
5136 echo "${ECHO_T}yes" >&6
5138 echo "$as_me:$LINENO: result: no" >&5
5139 echo "${ECHO_T}no" >&6
5144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5145 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5147 # Check whether --enable-log or --disable-log was given.
5148 if test "${enable_log+set}" = set; then
5149 enableval
="$enable_log"
5151 if test "$enableval" = yes; then
5152 ac_cv_use_log
='wxUSE_LOG=yes'
5154 ac_cv_use_log
='wxUSE_LOG=no'
5159 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5160 if test "x$LINE" != x
; then
5161 eval "DEFAULT_$LINE"
5166 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5170 eval "$ac_cv_use_log"
5171 if test "$no_cache" != 1; then
5172 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5175 if test "$wxUSE_LOG" = yes; then
5176 echo "$as_me:$LINENO: result: yes" >&5
5177 echo "${ECHO_T}yes" >&6
5179 echo "$as_me:$LINENO: result: no" >&5
5180 echo "${ECHO_T}no" >&6
5185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5186 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5188 # Check whether --enable-longlong or --disable-longlong was given.
5189 if test "${enable_longlong+set}" = set; then
5190 enableval
="$enable_longlong"
5192 if test "$enableval" = yes; then
5193 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5195 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5200 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5201 if test "x$LINE" != x
; then
5202 eval "DEFAULT_$LINE"
5207 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5211 eval "$ac_cv_use_longlong"
5212 if test "$no_cache" != 1; then
5213 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5216 if test "$wxUSE_LONGLONG" = yes; then
5217 echo "$as_me:$LINENO: result: yes" >&5
5218 echo "${ECHO_T}yes" >&6
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5227 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5229 # Check whether --enable-mimetype or --disable-mimetype was given.
5230 if test "${enable_mimetype+set}" = set; then
5231 enableval
="$enable_mimetype"
5233 if test "$enableval" = yes; then
5234 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5236 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5241 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5242 if test "x$LINE" != x
; then
5243 eval "DEFAULT_$LINE"
5248 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5252 eval "$ac_cv_use_mimetype"
5253 if test "$no_cache" != 1; then
5254 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5257 if test "$wxUSE_MIMETYPE" = yes; then
5258 echo "$as_me:$LINENO: result: yes" >&5
5259 echo "${ECHO_T}yes" >&6
5261 echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5268 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5270 # Check whether --enable-mslu or --disable-mslu was given.
5271 if test "${enable_mslu+set}" = set; then
5272 enableval
="$enable_mslu"
5274 if test "$enableval" = yes; then
5275 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5277 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5282 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5283 if test "x$LINE" != x
; then
5284 eval "DEFAULT_$LINE"
5289 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5293 eval "$ac_cv_use_mslu"
5294 if test "$no_cache" != 1; then
5295 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5298 if test "$wxUSE_UNICODE_MSLU" = yes; then
5299 echo "$as_me:$LINENO: result: yes" >&5
5300 echo "${ECHO_T}yes" >&6
5302 echo "$as_me:$LINENO: result: no" >&5
5303 echo "${ECHO_T}no" >&6
5308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5309 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5311 # Check whether --enable-snglinst or --disable-snglinst was given.
5312 if test "${enable_snglinst+set}" = set; then
5313 enableval
="$enable_snglinst"
5315 if test "$enableval" = yes; then
5316 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5318 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5323 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5324 if test "x$LINE" != x
; then
5325 eval "DEFAULT_$LINE"
5330 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5334 eval "$ac_cv_use_snglinst"
5335 if test "$no_cache" != 1; then
5336 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5339 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5340 echo "$as_me:$LINENO: result: yes" >&5
5341 echo "${ECHO_T}yes" >&6
5343 echo "$as_me:$LINENO: result: no" >&5
5344 echo "${ECHO_T}no" >&6
5349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5350 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5352 # Check whether --enable-streams or --disable-streams was given.
5353 if test "${enable_streams+set}" = set; then
5354 enableval
="$enable_streams"
5356 if test "$enableval" = yes; then
5357 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5359 ac_cv_use_streams
='wxUSE_STREAMS=no'
5364 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5365 if test "x$LINE" != x
; then
5366 eval "DEFAULT_$LINE"
5371 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5375 eval "$ac_cv_use_streams"
5376 if test "$no_cache" != 1; then
5377 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5380 if test "$wxUSE_STREAMS" = yes; then
5381 echo "$as_me:$LINENO: result: yes" >&5
5382 echo "${ECHO_T}yes" >&6
5384 echo "$as_me:$LINENO: result: no" >&5
5385 echo "${ECHO_T}no" >&6
5390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5391 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5393 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5394 if test "${enable_std_iostreams+set}" = set; then
5395 enableval
="$enable_std_iostreams"
5397 if test "$enableval" = yes; then
5398 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5400 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5405 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5406 if test "x$LINE" != x
; then
5407 eval "DEFAULT_$LINE"
5412 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5416 eval "$ac_cv_use_std_iostreams"
5417 if test "$no_cache" != 1; then
5418 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5421 if test "$wxUSE_STD_IOSTREAM" = yes; then
5422 echo "$as_me:$LINENO: result: yes" >&5
5423 echo "${ECHO_T}yes" >&6
5425 echo "$as_me:$LINENO: result: no" >&5
5426 echo "${ECHO_T}no" >&6
5431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5432 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5434 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5435 if test "${enable_stopwatch+set}" = set; then
5436 enableval
="$enable_stopwatch"
5438 if test "$enableval" = yes; then
5439 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5441 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5446 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5447 if test "x$LINE" != x
; then
5448 eval "DEFAULT_$LINE"
5453 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5457 eval "$ac_cv_use_stopwatch"
5458 if test "$no_cache" != 1; then
5459 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5462 if test "$wxUSE_STOPWATCH" = yes; then
5463 echo "$as_me:$LINENO: result: yes" >&5
5464 echo "${ECHO_T}yes" >&6
5466 echo "$as_me:$LINENO: result: no" >&5
5467 echo "${ECHO_T}no" >&6
5472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5473 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5475 # Check whether --enable-system_options or --disable-system_options was given.
5476 if test "${enable_system_options+set}" = set; then
5477 enableval
="$enable_system_options"
5479 if test "$enableval" = yes; then
5480 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5482 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5487 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5488 if test "x$LINE" != x
; then
5489 eval "DEFAULT_$LINE"
5494 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5498 eval "$ac_cv_use_system_options"
5499 if test "$no_cache" != 1; then
5500 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5503 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5504 echo "$as_me:$LINENO: result: yes" >&5
5505 echo "${ECHO_T}yes" >&6
5507 echo "$as_me:$LINENO: result: no" >&5
5508 echo "${ECHO_T}no" >&6
5513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5514 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5516 # Check whether --enable-textbuf or --disable-textbuf was given.
5517 if test "${enable_textbuf+set}" = set; then
5518 enableval
="$enable_textbuf"
5520 if test "$enableval" = yes; then
5521 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5523 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5528 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5529 if test "x$LINE" != x
; then
5530 eval "DEFAULT_$LINE"
5535 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5539 eval "$ac_cv_use_textbuf"
5540 if test "$no_cache" != 1; then
5541 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5544 if test "$wxUSE_TEXTBUFFER" = yes; then
5545 echo "$as_me:$LINENO: result: yes" >&5
5546 echo "${ECHO_T}yes" >&6
5548 echo "$as_me:$LINENO: result: no" >&5
5549 echo "${ECHO_T}no" >&6
5554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5555 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5557 # Check whether --enable-textfile or --disable-textfile was given.
5558 if test "${enable_textfile+set}" = set; then
5559 enableval
="$enable_textfile"
5561 if test "$enableval" = yes; then
5562 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5564 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5569 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5570 if test "x$LINE" != x
; then
5571 eval "DEFAULT_$LINE"
5576 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5580 eval "$ac_cv_use_textfile"
5581 if test "$no_cache" != 1; then
5582 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5585 if test "$wxUSE_TEXTFILE" = yes; then
5586 echo "$as_me:$LINENO: result: yes" >&5
5587 echo "${ECHO_T}yes" >&6
5589 echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6
5595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5596 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5598 # Check whether --enable-timer or --disable-timer was given.
5599 if test "${enable_timer+set}" = set; then
5600 enableval
="$enable_timer"
5602 if test "$enableval" = yes; then
5603 ac_cv_use_timer
='wxUSE_TIMER=yes'
5605 ac_cv_use_timer
='wxUSE_TIMER=no'
5610 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5611 if test "x$LINE" != x
; then
5612 eval "DEFAULT_$LINE"
5617 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5621 eval "$ac_cv_use_timer"
5622 if test "$no_cache" != 1; then
5623 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5626 if test "$wxUSE_TIMER" = yes; then
5627 echo "$as_me:$LINENO: result: yes" >&5
5628 echo "${ECHO_T}yes" >&6
5630 echo "$as_me:$LINENO: result: no" >&5
5631 echo "${ECHO_T}no" >&6
5636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5637 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5639 # Check whether --enable-unicode or --disable-unicode was given.
5640 if test "${enable_unicode+set}" = set; then
5641 enableval
="$enable_unicode"
5643 if test "$enableval" = yes; then
5644 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5646 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5651 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5652 if test "x$LINE" != x
; then
5653 eval "DEFAULT_$LINE"
5658 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5662 eval "$ac_cv_use_unicode"
5663 if test "$no_cache" != 1; then
5664 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5667 if test "$wxUSE_UNICODE" = yes; then
5668 echo "$as_me:$LINENO: result: yes" >&5
5669 echo "${ECHO_T}yes" >&6
5671 echo "$as_me:$LINENO: result: no" >&5
5672 echo "${ECHO_T}no" >&6
5677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5678 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5680 # Check whether --enable-sound or --disable-sound was given.
5681 if test "${enable_sound+set}" = set; then
5682 enableval
="$enable_sound"
5684 if test "$enableval" = yes; then
5685 ac_cv_use_sound
='wxUSE_SOUND=yes'
5687 ac_cv_use_sound
='wxUSE_SOUND=no'
5692 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5693 if test "x$LINE" != x
; then
5694 eval "DEFAULT_$LINE"
5699 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5703 eval "$ac_cv_use_sound"
5704 if test "$no_cache" != 1; then
5705 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5708 if test "$wxUSE_SOUND" = yes; then
5709 echo "$as_me:$LINENO: result: yes" >&5
5710 echo "${ECHO_T}yes" >&6
5712 echo "$as_me:$LINENO: result: no" >&5
5713 echo "${ECHO_T}no" >&6
5718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5719 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5721 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5722 if test "${enable_wxprintfv+set}" = set; then
5723 enableval
="$enable_wxprintfv"
5725 if test "$enableval" = yes; then
5726 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5728 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5733 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5734 if test "x$LINE" != x
; then
5735 eval "DEFAULT_$LINE"
5740 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5744 eval "$ac_cv_use_wxprintfv"
5745 if test "$no_cache" != 1; then
5746 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5749 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5750 echo "$as_me:$LINENO: result: yes" >&5
5751 echo "${ECHO_T}yes" >&6
5753 echo "$as_me:$LINENO: result: no" >&5
5754 echo "${ECHO_T}no" >&6
5759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5760 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5762 # Check whether --enable-zipstream or --disable-zipstream was given.
5763 if test "${enable_zipstream+set}" = set; then
5764 enableval
="$enable_zipstream"
5766 if test "$enableval" = yes; then
5767 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5769 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5774 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5775 if test "x$LINE" != x
; then
5776 eval "DEFAULT_$LINE"
5781 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5785 eval "$ac_cv_use_zipstream"
5786 if test "$no_cache" != 1; then
5787 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5790 if test "$wxUSE_ZIPSTREAM" = yes; then
5791 echo "$as_me:$LINENO: result: yes" >&5
5792 echo "${ECHO_T}yes" >&6
5794 echo "$as_me:$LINENO: result: no" >&5
5795 echo "${ECHO_T}no" >&6
5801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5804 # Check whether --enable-url or --disable-url was given.
5805 if test "${enable_url+set}" = set; then
5806 enableval
="$enable_url"
5808 if test "$enableval" = yes; then
5809 ac_cv_use_url
='wxUSE_URL=yes'
5811 ac_cv_use_url
='wxUSE_URL=no'
5816 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5817 if test "x$LINE" != x
; then
5818 eval "DEFAULT_$LINE"
5823 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5827 eval "$ac_cv_use_url"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5832 if test "$wxUSE_URL" = yes; then
5833 echo "$as_me:$LINENO: result: yes" >&5
5834 echo "${ECHO_T}yes" >&6
5836 echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6
5842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5843 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5845 # Check whether --enable-protocol or --disable-protocol was given.
5846 if test "${enable_protocol+set}" = set; then
5847 enableval
="$enable_protocol"
5849 if test "$enableval" = yes; then
5850 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5852 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5857 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5858 if test "x$LINE" != x
; then
5859 eval "DEFAULT_$LINE"
5864 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5868 eval "$ac_cv_use_protocol"
5869 if test "$no_cache" != 1; then
5870 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5873 if test "$wxUSE_PROTOCOL" = yes; then
5874 echo "$as_me:$LINENO: result: yes" >&5
5875 echo "${ECHO_T}yes" >&6
5877 echo "$as_me:$LINENO: result: no" >&5
5878 echo "${ECHO_T}no" >&6
5883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5884 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5886 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5887 if test "${enable_protocol_http+set}" = set; then
5888 enableval
="$enable_protocol_http"
5890 if test "$enableval" = yes; then
5891 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5893 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5898 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5899 if test "x$LINE" != x
; then
5900 eval "DEFAULT_$LINE"
5905 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5909 eval "$ac_cv_use_protocol_http"
5910 if test "$no_cache" != 1; then
5911 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5914 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5915 echo "$as_me:$LINENO: result: yes" >&5
5916 echo "${ECHO_T}yes" >&6
5918 echo "$as_me:$LINENO: result: no" >&5
5919 echo "${ECHO_T}no" >&6
5924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5925 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5927 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5928 if test "${enable_protocol_ftp+set}" = set; then
5929 enableval
="$enable_protocol_ftp"
5931 if test "$enableval" = yes; then
5932 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5934 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5939 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5940 if test "x$LINE" != x
; then
5941 eval "DEFAULT_$LINE"
5946 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5950 eval "$ac_cv_use_protocol_ftp"
5951 if test "$no_cache" != 1; then
5952 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5955 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5956 echo "$as_me:$LINENO: result: yes" >&5
5957 echo "${ECHO_T}yes" >&6
5959 echo "$as_me:$LINENO: result: no" >&5
5960 echo "${ECHO_T}no" >&6
5965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5966 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5968 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5969 if test "${enable_protocol_file+set}" = set; then
5970 enableval
="$enable_protocol_file"
5972 if test "$enableval" = yes; then
5973 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5975 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5980 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5981 if test "x$LINE" != x
; then
5982 eval "DEFAULT_$LINE"
5987 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5991 eval "$ac_cv_use_protocol_file"
5992 if test "$no_cache" != 1; then
5993 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5996 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5997 echo "$as_me:$LINENO: result: yes" >&5
5998 echo "${ECHO_T}yes" >&6
6000 echo "$as_me:$LINENO: result: no" >&5
6001 echo "${ECHO_T}no" >&6
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6012 # Check whether --enable-threads or --disable-threads was given.
6013 if test "${enable_threads+set}" = set; then
6014 enableval
="$enable_threads"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_threads
='wxUSE_THREADS=yes'
6019 ac_cv_use_threads
='wxUSE_THREADS=no'
6024 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6035 eval "$ac_cv_use_threads"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6040 if test "$wxUSE_THREADS" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6049 if test "$wxUSE_GUI" = "yes"; then
6054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6055 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6057 # Check whether --enable-docview or --disable-docview was given.
6058 if test "${enable_docview+set}" = set; then
6059 enableval
="$enable_docview"
6061 if test "$enableval" = yes; then
6062 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6064 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6069 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6070 if test "x$LINE" != x
; then
6071 eval "DEFAULT_$LINE"
6076 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6080 eval "$ac_cv_use_docview"
6081 if test "$no_cache" != 1; then
6082 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6085 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6086 echo "$as_me:$LINENO: result: yes" >&5
6087 echo "${ECHO_T}yes" >&6
6089 echo "$as_me:$LINENO: result: no" >&5
6090 echo "${ECHO_T}no" >&6
6095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6098 # Check whether --enable-help or --disable-help was given.
6099 if test "${enable_help+set}" = set; then
6100 enableval
="$enable_help"
6102 if test "$enableval" = yes; then
6103 ac_cv_use_help
='wxUSE_HELP=yes'
6105 ac_cv_use_help
='wxUSE_HELP=no'
6110 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6111 if test "x$LINE" != x
; then
6112 eval "DEFAULT_$LINE"
6117 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6121 eval "$ac_cv_use_help"
6122 if test "$no_cache" != 1; then
6123 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6126 if test "$wxUSE_HELP" = yes; then
6127 echo "$as_me:$LINENO: result: yes" >&5
6128 echo "${ECHO_T}yes" >&6
6130 echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6
6136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6137 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6139 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6140 if test "${enable_mshtmlhelp+set}" = set; then
6141 enableval
="$enable_mshtmlhelp"
6143 if test "$enableval" = yes; then
6144 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6146 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6151 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6152 if test "x$LINE" != x
; then
6153 eval "DEFAULT_$LINE"
6158 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6162 eval "$ac_cv_use_mshtmlhelp"
6163 if test "$no_cache" != 1; then
6164 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6167 if test "$wxUSE_MS_HTML_HELP" = yes; then
6168 echo "$as_me:$LINENO: result: yes" >&5
6169 echo "${ECHO_T}yes" >&6
6171 echo "$as_me:$LINENO: result: no" >&5
6172 echo "${ECHO_T}no" >&6
6177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6178 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6180 # Check whether --enable-html or --disable-html was given.
6181 if test "${enable_html+set}" = set; then
6182 enableval
="$enable_html"
6184 if test "$enableval" = yes; then
6185 ac_cv_use_html
='wxUSE_HTML=yes'
6187 ac_cv_use_html
='wxUSE_HTML=no'
6192 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6193 if test "x$LINE" != x
; then
6194 eval "DEFAULT_$LINE"
6199 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6203 eval "$ac_cv_use_html"
6204 if test "$no_cache" != 1; then
6205 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6208 if test "$wxUSE_HTML" = yes; then
6209 echo "$as_me:$LINENO: result: yes" >&5
6210 echo "${ECHO_T}yes" >&6
6212 echo "$as_me:$LINENO: result: no" >&5
6213 echo "${ECHO_T}no" >&6
6218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6219 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6221 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6222 if test "${enable_htmlhelp+set}" = set; then
6223 enableval
="$enable_htmlhelp"
6225 if test "$enableval" = yes; then
6226 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6228 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6233 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6234 if test "x$LINE" != x
; then
6235 eval "DEFAULT_$LINE"
6240 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6244 eval "$ac_cv_use_htmlhelp"
6245 if test "$no_cache" != 1; then
6246 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6249 if test "$wxUSE_WXHTML_HELP" = yes; then
6250 echo "$as_me:$LINENO: result: yes" >&5
6251 echo "${ECHO_T}yes" >&6
6253 echo "$as_me:$LINENO: result: no" >&5
6254 echo "${ECHO_T}no" >&6
6259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6260 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6262 # Check whether --enable-constraints or --disable-constraints was given.
6263 if test "${enable_constraints+set}" = set; then
6264 enableval
="$enable_constraints"
6266 if test "$enableval" = yes; then
6267 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6269 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6274 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6275 if test "x$LINE" != x
; then
6276 eval "DEFAULT_$LINE"
6281 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6285 eval "$ac_cv_use_constraints"
6286 if test "$no_cache" != 1; then
6287 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6290 if test "$wxUSE_CONSTRAINTS" = yes; then
6291 echo "$as_me:$LINENO: result: yes" >&5
6292 echo "${ECHO_T}yes" >&6
6294 echo "$as_me:$LINENO: result: no" >&5
6295 echo "${ECHO_T}no" >&6
6300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6301 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6303 # Check whether --enable-printarch or --disable-printarch was given.
6304 if test "${enable_printarch+set}" = set; then
6305 enableval
="$enable_printarch"
6307 if test "$enableval" = yes; then
6308 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6310 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6315 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6316 if test "x$LINE" != x
; then
6317 eval "DEFAULT_$LINE"
6322 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6326 eval "$ac_cv_use_printarch"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6331 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6332 echo "$as_me:$LINENO: result: yes" >&5
6333 echo "${ECHO_T}yes" >&6
6335 echo "$as_me:$LINENO: result: no" >&5
6336 echo "${ECHO_T}no" >&6
6341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6344 # Check whether --enable-mdi or --disable-mdi was given.
6345 if test "${enable_mdi+set}" = set; then
6346 enableval
="$enable_mdi"
6348 if test "$enableval" = yes; then
6349 ac_cv_use_mdi
='wxUSE_MDI=yes'
6351 ac_cv_use_mdi
='wxUSE_MDI=no'
6356 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x
; then
6358 eval "DEFAULT_$LINE"
6363 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6367 eval "$ac_cv_use_mdi"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6372 if test "$wxUSE_MDI" = yes; then
6373 echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6383 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6385 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6386 if test "${enable_mdidoc+set}" = set; then
6387 enableval
="$enable_mdidoc"
6389 if test "$enableval" = yes; then
6390 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6392 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6397 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6398 if test "x$LINE" != x
; then
6399 eval "DEFAULT_$LINE"
6404 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6408 eval "$ac_cv_use_mdidoc"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6413 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6414 echo "$as_me:$LINENO: result: yes" >&5
6415 echo "${ECHO_T}yes" >&6
6417 echo "$as_me:$LINENO: result: no" >&5
6418 echo "${ECHO_T}no" >&6
6423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6424 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6426 # Check whether --enable-loggui or --disable-loggui was given.
6427 if test "${enable_loggui+set}" = set; then
6428 enableval
="$enable_loggui"
6430 if test "$enableval" = yes; then
6431 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6433 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6438 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6439 if test "x$LINE" != x
; then
6440 eval "DEFAULT_$LINE"
6445 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6449 eval "$ac_cv_use_loggui"
6450 if test "$no_cache" != 1; then
6451 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6454 if test "$wxUSE_LOGGUI" = yes; then
6455 echo "$as_me:$LINENO: result: yes" >&5
6456 echo "${ECHO_T}yes" >&6
6458 echo "$as_me:$LINENO: result: no" >&5
6459 echo "${ECHO_T}no" >&6
6464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6465 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6467 # Check whether --enable-logwin or --disable-logwin was given.
6468 if test "${enable_logwin+set}" = set; then
6469 enableval
="$enable_logwin"
6471 if test "$enableval" = yes; then
6472 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6474 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6479 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6480 if test "x$LINE" != x
; then
6481 eval "DEFAULT_$LINE"
6486 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6490 eval "$ac_cv_use_logwin"
6491 if test "$no_cache" != 1; then
6492 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6495 if test "$wxUSE_LOGWINDOW" = yes; then
6496 echo "$as_me:$LINENO: result: yes" >&5
6497 echo "${ECHO_T}yes" >&6
6499 echo "$as_me:$LINENO: result: no" >&5
6500 echo "${ECHO_T}no" >&6
6505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6506 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6508 # Check whether --enable-logdialog or --disable-logdialog was given.
6509 if test "${enable_logdialog+set}" = set; then
6510 enableval
="$enable_logdialog"
6512 if test "$enableval" = yes; then
6513 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6515 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6520 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6521 if test "x$LINE" != x
; then
6522 eval "DEFAULT_$LINE"
6527 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6531 eval "$ac_cv_use_logdialog"
6532 if test "$no_cache" != 1; then
6533 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6536 if test "$wxUSE_LOGDIALOG" = yes; then
6537 echo "$as_me:$LINENO: result: yes" >&5
6538 echo "${ECHO_T}yes" >&6
6540 echo "$as_me:$LINENO: result: no" >&5
6541 echo "${ECHO_T}no" >&6
6546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6547 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6549 # Check whether --enable-webkit or --disable-webkit was given.
6550 if test "${enable_webkit+set}" = set; then
6551 enableval
="$enable_webkit"
6553 if test "$enableval" = yes; then
6554 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6556 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6561 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6562 if test "x$LINE" != x
; then
6563 eval "DEFAULT_$LINE"
6568 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6572 eval "$ac_cv_use_webkit"
6573 if test "$no_cache" != 1; then
6574 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6577 if test "$wxUSE_WEBKIT" = yes; then
6578 echo "$as_me:$LINENO: result: yes" >&5
6579 echo "${ECHO_T}yes" >&6
6581 echo "$as_me:$LINENO: result: no" >&5
6582 echo "${ECHO_T}no" >&6
6588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6589 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6591 # Check whether --enable-postscript or --disable-postscript was given.
6592 if test "${enable_postscript+set}" = set; then
6593 enableval
="$enable_postscript"
6595 if test "$enableval" = yes; then
6596 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6598 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6603 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x
; then
6605 eval "DEFAULT_$LINE"
6610 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6614 eval "$ac_cv_use_postscript"
6615 if test "$no_cache" != 1; then
6616 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6619 if test "$wxUSE_POSTSCRIPT" = yes; then
6620 echo "$as_me:$LINENO: result: yes" >&5
6621 echo "${ECHO_T}yes" >&6
6623 echo "$as_me:$LINENO: result: no" >&5
6624 echo "${ECHO_T}no" >&6
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6635 # Check whether --enable-prologio or --disable-prologio was given.
6636 if test "${enable_prologio+set}" = set; then
6637 enableval
="$enable_prologio"
6639 if test "$enableval" = yes; then
6640 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6642 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6647 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x
; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6658 eval "$ac_cv_use_prologio"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6663 if test "$wxUSE_PROLOGIO" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6676 # Check whether --enable-resources or --disable-resources was given.
6677 if test "${enable_resources+set}" = set; then
6678 enableval
="$enable_resources"
6680 if test "$enableval" = yes; then
6681 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6683 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6688 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x
; then
6690 eval "DEFAULT_$LINE"
6695 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6699 eval "$ac_cv_use_resources"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6704 if test "$wxUSE_RESOURCES" = yes; then
6705 echo "$as_me:$LINENO: result: yes" >&5
6706 echo "${ECHO_T}yes" >&6
6708 echo "$as_me:$LINENO: result: no" >&5
6709 echo "${ECHO_T}no" >&6
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6719 # Check whether --enable-clipboard or --disable-clipboard was given.
6720 if test "${enable_clipboard+set}" = set; then
6721 enableval
="$enable_clipboard"
6723 if test "$enableval" = yes; then
6724 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6726 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6731 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x
; then
6733 eval "DEFAULT_$LINE"
6738 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6742 eval "$ac_cv_use_clipboard"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6747 if test "$wxUSE_CLIPBOARD" = 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}-dnd" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6760 # Check whether --enable-dnd or --disable-dnd was given.
6761 if test "${enable_dnd+set}" = set; then
6762 enableval
="$enable_dnd"
6764 if test "$enableval" = yes; then
6765 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6767 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6772 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x
; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6783 eval "$ac_cv_use_dnd"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6788 if test "$wxUSE_DRAG_AND_DROP" = 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}-metafile" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6801 # Check whether --enable-metafile or --disable-metafile was given.
6802 if test "${enable_metafile+set}" = set; then
6803 enableval
="$enable_metafile"
6805 if test "$enableval" = yes; then
6806 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6808 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6813 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x
; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6824 eval "$ac_cv_use_metafile"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6829 if test "$wxUSE_METAFILE" = 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
6842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6843 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6845 # Check whether --enable-controls or --disable-controls was given.
6846 if test "${enable_controls+set}" = set; then
6847 enableval
="$enable_controls"
6849 if test "$enableval" = yes; then
6850 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6852 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6857 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6858 if test "x$LINE" != x
; then
6859 eval "DEFAULT_$LINE"
6864 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6868 eval "$ac_cv_use_controls"
6869 if test "$no_cache" != 1; then
6870 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6873 if test "$wxUSE_CONTROLS" = yes; then
6874 echo "$as_me:$LINENO: result: yes" >&5
6875 echo "${ECHO_T}yes" >&6
6877 echo "$as_me:$LINENO: result: no" >&5
6878 echo "${ECHO_T}no" >&6
6882 if test "$wxUSE_CONTROLS" = "yes"; then
6883 DEFAULT_wxUSE_ACCEL
=yes
6884 DEFAULT_wxUSE_BMPBUTTON
=yes
6885 DEFAULT_wxUSE_BUTTON
=yes
6886 DEFAULT_wxUSE_CALCTRL
=no
6887 DEFAULT_wxUSE_CARET
=yes
6888 DEFAULT_wxUSE_COMBOBOX
=yes
6889 DEFAULT_wxUSE_CHECKBOX
=yes
6890 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6891 DEFAULT_wxUSE_CHOICE
=yes
6892 DEFAULT_wxUSE_GAUGE
=yes
6893 DEFAULT_wxUSE_GRID
=yes
6894 DEFAULT_wxUSE_IMAGLIST
=yes
6895 DEFAULT_wxUSE_LISTBOOK
=yes
6896 DEFAULT_wxUSE_LISTBOX
=yes
6897 DEFAULT_wxUSE_LISTCTRL
=yes
6898 DEFAULT_wxUSE_NOTEBOOK
=yes
6899 DEFAULT_wxUSE_RADIOBOX
=yes
6900 DEFAULT_wxUSE_RADIOBTN
=yes
6901 DEFAULT_wxUSE_SASH
=yes
6902 DEFAULT_wxUSE_SCROLLBAR
=yes
6903 DEFAULT_wxUSE_SLIDER
=yes
6904 DEFAULT_wxUSE_SPINBTN
=yes
6905 DEFAULT_wxUSE_SPINCTRL
=yes
6906 DEFAULT_wxUSE_SPLITTER
=yes
6907 DEFAULT_wxUSE_STATBMP
=yes
6908 DEFAULT_wxUSE_STATBOX
=yes
6909 DEFAULT_wxUSE_STATLINE
=yes
6910 DEFAULT_wxUSE_STATUSBAR
=yes
6911 DEFAULT_wxUSE_TAB_DIALOG
=yes
6912 DEFAULT_wxUSE_TOGGLEBTN
=yes
6913 DEFAULT_wxUSE_TOOLBAR
=yes
6914 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6915 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6916 DEFAULT_wxUSE_TOOLTIPS
=yes
6917 DEFAULT_wxUSE_TREECTRL
=yes
6918 DEFAULT_wxUSE_POPUPWIN
=yes
6919 DEFAULT_wxUSE_TIPWINDOW
=yes
6920 elif test "$wxUSE_CONTROLS" = "no"; then
6921 DEFAULT_wxUSE_ACCEL
=no
6922 DEFAULT_wxUSE_BMPBUTTON
=no
6923 DEFAULT_wxUSE_BUTTON
=no
6924 DEFAULT_wxUSE_CALCTRL
=no
6925 DEFAULT_wxUSE_CARET
=no
6926 DEFAULT_wxUSE_COMBOBOX
=no
6927 DEFAULT_wxUSE_CHECKBOX
=no
6928 DEFAULT_wxUSE_CHECKLISTBOX
=no
6929 DEFAULT_wxUSE_CHOICE
=no
6930 DEFAULT_wxUSE_GAUGE
=no
6931 DEFAULT_wxUSE_GRID
=no
6932 DEFAULT_wxUSE_IMAGLIST
=no
6933 DEFAULT_wxUSE_LISTBOOK
=no
6934 DEFAULT_wxUSE_LISTBOX
=no
6935 DEFAULT_wxUSE_LISTCTRL
=no
6936 DEFAULT_wxUSE_NOTEBOOK
=no
6937 DEFAULT_wxUSE_RADIOBOX
=no
6938 DEFAULT_wxUSE_RADIOBTN
=no
6939 DEFAULT_wxUSE_SASH
=no
6940 DEFAULT_wxUSE_SCROLLBAR
=no
6941 DEFAULT_wxUSE_SLIDER
=no
6942 DEFAULT_wxUSE_SPINBTN
=no
6943 DEFAULT_wxUSE_SPINCTRL
=no
6944 DEFAULT_wxUSE_SPLITTER
=no
6945 DEFAULT_wxUSE_STATBMP
=no
6946 DEFAULT_wxUSE_STATBOX
=no
6947 DEFAULT_wxUSE_STATLINE
=no
6948 DEFAULT_wxUSE_STATUSBAR
=no
6949 DEFAULT_wxUSE_TAB_DIALOG
=no
6950 DEFAULT_wxUSE_TOGGLEBTN
=no
6951 DEFAULT_wxUSE_TOOLBAR
=no
6952 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6953 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6954 DEFAULT_wxUSE_TOOLTIPS
=no
6955 DEFAULT_wxUSE_TREECTRL
=no
6956 DEFAULT_wxUSE_POPUPWIN
=no
6957 DEFAULT_wxUSE_TIPWINDOW
=no
6960 ## FIXME: This is a blatant hack
6961 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6962 wxUSE_PRINTING_ARCHITECTURE
=no
6963 wxUSE_DRAG_AND_DROP
=no
6964 DEFAULT_wxUSE_TOOLTIPS
=no
6965 DEFAULT_wxUSE_DRAGIMAGE
=no
6970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6971 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6973 # Check whether --enable-accel or --disable-accel was given.
6974 if test "${enable_accel+set}" = set; then
6975 enableval
="$enable_accel"
6977 if test "$enableval" = yes; then
6978 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6980 ac_cv_use_accel
='wxUSE_ACCEL=no'
6985 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6986 if test "x$LINE" != x
; then
6987 eval "DEFAULT_$LINE"
6992 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6996 eval "$ac_cv_use_accel"
6997 if test "$no_cache" != 1; then
6998 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7001 if test "$wxUSE_ACCEL" = yes; then
7002 echo "$as_me:$LINENO: result: yes" >&5
7003 echo "${ECHO_T}yes" >&6
7005 echo "$as_me:$LINENO: result: no" >&5
7006 echo "${ECHO_T}no" >&6
7011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7012 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7014 # Check whether --enable-button or --disable-button was given.
7015 if test "${enable_button+set}" = set; then
7016 enableval
="$enable_button"
7018 if test "$enableval" = yes; then
7019 ac_cv_use_button
='wxUSE_BUTTON=yes'
7021 ac_cv_use_button
='wxUSE_BUTTON=no'
7026 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7027 if test "x$LINE" != x
; then
7028 eval "DEFAULT_$LINE"
7033 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7037 eval "$ac_cv_use_button"
7038 if test "$no_cache" != 1; then
7039 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7042 if test "$wxUSE_BUTTON" = yes; then
7043 echo "$as_me:$LINENO: result: yes" >&5
7044 echo "${ECHO_T}yes" >&6
7046 echo "$as_me:$LINENO: result: no" >&5
7047 echo "${ECHO_T}no" >&6
7052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7053 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7055 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7056 if test "${enable_bmpbutton+set}" = set; then
7057 enableval
="$enable_bmpbutton"
7059 if test "$enableval" = yes; then
7060 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7062 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7067 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x
; then
7069 eval "DEFAULT_$LINE"
7074 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7078 eval "$ac_cv_use_bmpbutton"
7079 if test "$no_cache" != 1; then
7080 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7083 if test "$wxUSE_BMPBUTTON" = yes; then
7084 echo "$as_me:$LINENO: result: yes" >&5
7085 echo "${ECHO_T}yes" >&6
7087 echo "$as_me:$LINENO: result: no" >&5
7088 echo "${ECHO_T}no" >&6
7093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7096 # Check whether --enable-calendar or --disable-calendar was given.
7097 if test "${enable_calendar+set}" = set; then
7098 enableval
="$enable_calendar"
7100 if test "$enableval" = yes; then
7101 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7103 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7108 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x
; then
7110 eval "DEFAULT_$LINE"
7115 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7119 eval "$ac_cv_use_calendar"
7120 if test "$no_cache" != 1; then
7121 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7124 if test "$wxUSE_CALCTRL" = yes; then
7125 echo "$as_me:$LINENO: result: yes" >&5
7126 echo "${ECHO_T}yes" >&6
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7137 # Check whether --enable-caret or --disable-caret was given.
7138 if test "${enable_caret+set}" = set; then
7139 enableval
="$enable_caret"
7141 if test "$enableval" = yes; then
7142 ac_cv_use_caret
='wxUSE_CARET=yes'
7144 ac_cv_use_caret
='wxUSE_CARET=no'
7149 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7150 if test "x$LINE" != x
; then
7151 eval "DEFAULT_$LINE"
7156 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7160 eval "$ac_cv_use_caret"
7161 if test "$no_cache" != 1; then
7162 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7165 if test "$wxUSE_CARET" = yes; then
7166 echo "$as_me:$LINENO: result: yes" >&5
7167 echo "${ECHO_T}yes" >&6
7169 echo "$as_me:$LINENO: result: no" >&5
7170 echo "${ECHO_T}no" >&6
7175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7178 # Check whether --enable-checkbox or --disable-checkbox was given.
7179 if test "${enable_checkbox+set}" = set; then
7180 enableval
="$enable_checkbox"
7182 if test "$enableval" = yes; then
7183 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7185 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7190 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x
; then
7192 eval "DEFAULT_$LINE"
7197 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7201 eval "$ac_cv_use_checkbox"
7202 if test "$no_cache" != 1; then
7203 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7206 if test "$wxUSE_CHECKBOX" = yes; then
7207 echo "$as_me:$LINENO: result: yes" >&5
7208 echo "${ECHO_T}yes" >&6
7210 echo "$as_me:$LINENO: result: no" >&5
7211 echo "${ECHO_T}no" >&6
7216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7217 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7219 # Check whether --enable-checklst or --disable-checklst was given.
7220 if test "${enable_checklst+set}" = set; then
7221 enableval
="$enable_checklst"
7223 if test "$enableval" = yes; then
7224 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7226 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7231 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7232 if test "x$LINE" != x
; then
7233 eval "DEFAULT_$LINE"
7238 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7242 eval "$ac_cv_use_checklst"
7243 if test "$no_cache" != 1; then
7244 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7247 if test "$wxUSE_CHECKLST" = yes; then
7248 echo "$as_me:$LINENO: result: yes" >&5
7249 echo "${ECHO_T}yes" >&6
7251 echo "$as_me:$LINENO: result: no" >&5
7252 echo "${ECHO_T}no" >&6
7257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7260 # Check whether --enable-choice or --disable-choice was given.
7261 if test "${enable_choice+set}" = set; then
7262 enableval
="$enable_choice"
7264 if test "$enableval" = yes; then
7265 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7267 ac_cv_use_choice
='wxUSE_CHOICE=no'
7272 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7273 if test "x$LINE" != x
; then
7274 eval "DEFAULT_$LINE"
7279 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7283 eval "$ac_cv_use_choice"
7284 if test "$no_cache" != 1; then
7285 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7288 if test "$wxUSE_CHOICE" = yes; then
7289 echo "$as_me:$LINENO: result: yes" >&5
7290 echo "${ECHO_T}yes" >&6
7292 echo "$as_me:$LINENO: result: no" >&5
7293 echo "${ECHO_T}no" >&6
7298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7299 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7301 # Check whether --enable-combobox or --disable-combobox was given.
7302 if test "${enable_combobox+set}" = set; then
7303 enableval
="$enable_combobox"
7305 if test "$enableval" = yes; then
7306 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7308 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7313 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x
; then
7315 eval "DEFAULT_$LINE"
7320 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7324 eval "$ac_cv_use_combobox"
7325 if test "$no_cache" != 1; then
7326 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7329 if test "$wxUSE_COMBOBOX" = yes; then
7330 echo "$as_me:$LINENO: result: yes" >&5
7331 echo "${ECHO_T}yes" >&6
7333 echo "$as_me:$LINENO: result: no" >&5
7334 echo "${ECHO_T}no" >&6
7339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7340 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7342 # Check whether --enable-display or --disable-display was given.
7343 if test "${enable_display+set}" = set; then
7344 enableval
="$enable_display"
7346 if test "$enableval" = yes; then
7347 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7349 ac_cv_use_display
='wxUSE_DISPLAY=no'
7354 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7355 if test "x$LINE" != x
; then
7356 eval "DEFAULT_$LINE"
7361 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7365 eval "$ac_cv_use_display"
7366 if test "$no_cache" != 1; then
7367 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7370 if test "$wxUSE_DISPLAY" = yes; then
7371 echo "$as_me:$LINENO: result: yes" >&5
7372 echo "${ECHO_T}yes" >&6
7374 echo "$as_me:$LINENO: result: no" >&5
7375 echo "${ECHO_T}no" >&6
7380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7383 # Check whether --enable-gauge or --disable-gauge was given.
7384 if test "${enable_gauge+set}" = set; then
7385 enableval
="$enable_gauge"
7387 if test "$enableval" = yes; then
7388 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7390 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7395 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x
; then
7397 eval "DEFAULT_$LINE"
7402 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7406 eval "$ac_cv_use_gauge"
7407 if test "$no_cache" != 1; then
7408 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7411 if test "$wxUSE_GAUGE" = yes; then
7412 echo "$as_me:$LINENO: result: yes" >&5
7413 echo "${ECHO_T}yes" >&6
7415 echo "$as_me:$LINENO: result: no" >&5
7416 echo "${ECHO_T}no" >&6
7421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7424 # Check whether --enable-grid or --disable-grid was given.
7425 if test "${enable_grid+set}" = set; then
7426 enableval
="$enable_grid"
7428 if test "$enableval" = yes; then
7429 ac_cv_use_grid
='wxUSE_GRID=yes'
7431 ac_cv_use_grid
='wxUSE_GRID=no'
7436 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x
; then
7438 eval "DEFAULT_$LINE"
7443 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7447 eval "$ac_cv_use_grid"
7448 if test "$no_cache" != 1; then
7449 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7452 if test "$wxUSE_GRID" = yes; then
7453 echo "$as_me:$LINENO: result: yes" >&5
7454 echo "${ECHO_T}yes" >&6
7456 echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6
7462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7465 # Check whether --enable-imaglist or --disable-imaglist was given.
7466 if test "${enable_imaglist+set}" = set; then
7467 enableval
="$enable_imaglist"
7469 if test "$enableval" = yes; then
7470 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7472 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7477 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7478 if test "x$LINE" != x
; then
7479 eval "DEFAULT_$LINE"
7484 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7488 eval "$ac_cv_use_imaglist"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7493 if test "$wxUSE_IMAGLIST" = yes; then
7494 echo "$as_me:$LINENO: result: yes" >&5
7495 echo "${ECHO_T}yes" >&6
7497 echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6
7503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7506 # Check whether --enable-listbook or --disable-listbook was given.
7507 if test "${enable_listbook+set}" = set; then
7508 enableval
="$enable_listbook"
7510 if test "$enableval" = yes; then
7511 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7513 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7518 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7519 if test "x$LINE" != x
; then
7520 eval "DEFAULT_$LINE"
7525 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7529 eval "$ac_cv_use_listbook"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7534 if test "$wxUSE_LISTBOOK" = yes; then
7535 echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6
7538 echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6
7544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7547 # Check whether --enable-listbox or --disable-listbox was given.
7548 if test "${enable_listbox+set}" = set; then
7549 enableval
="$enable_listbox"
7551 if test "$enableval" = yes; then
7552 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7554 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7559 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x
; then
7561 eval "DEFAULT_$LINE"
7566 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7570 eval "$ac_cv_use_listbox"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7575 if test "$wxUSE_LISTBOX" = yes; then
7576 echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6
7579 echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6
7585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7588 # Check whether --enable-listctrl or --disable-listctrl was given.
7589 if test "${enable_listctrl+set}" = set; then
7590 enableval
="$enable_listctrl"
7592 if test "$enableval" = yes; then
7593 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7595 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7600 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7601 if test "x$LINE" != x
; then
7602 eval "DEFAULT_$LINE"
7607 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7611 eval "$ac_cv_use_listctrl"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7616 if test "$wxUSE_LISTCTRL" = yes; then
7617 echo "$as_me:$LINENO: result: yes" >&5
7618 echo "${ECHO_T}yes" >&6
7620 echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6
7626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7627 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7629 # Check whether --enable-notebook or --disable-notebook was given.
7630 if test "${enable_notebook+set}" = set; then
7631 enableval
="$enable_notebook"
7633 if test "$enableval" = yes; then
7634 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7636 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7641 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x
; then
7643 eval "DEFAULT_$LINE"
7648 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7652 eval "$ac_cv_use_notebook"
7653 if test "$no_cache" != 1; then
7654 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7657 if test "$wxUSE_NOTEBOOK" = yes; then
7658 echo "$as_me:$LINENO: result: yes" >&5
7659 echo "${ECHO_T}yes" >&6
7661 echo "$as_me:$LINENO: result: no" >&5
7662 echo "${ECHO_T}no" >&6
7667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7668 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7670 # Check whether --enable-radiobox or --disable-radiobox was given.
7671 if test "${enable_radiobox+set}" = set; then
7672 enableval
="$enable_radiobox"
7674 if test "$enableval" = yes; then
7675 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7677 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7682 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x
; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7693 eval "$ac_cv_use_radiobox"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7698 if test "$wxUSE_RADIOBOX" = yes; then
7699 echo "$as_me:$LINENO: result: yes" >&5
7700 echo "${ECHO_T}yes" >&6
7702 echo "$as_me:$LINENO: result: no" >&5
7703 echo "${ECHO_T}no" >&6
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7711 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7712 if test "${enable_radiobtn+set}" = set; then
7713 enableval
="$enable_radiobtn"
7715 if test "$enableval" = yes; then
7716 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7718 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7723 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x
; then
7725 eval "DEFAULT_$LINE"
7730 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7734 eval "$ac_cv_use_radiobtn"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7739 if test "$wxUSE_RADIOBTN" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7752 # Check whether --enable-sash or --disable-sash was given.
7753 if test "${enable_sash+set}" = set; then
7754 enableval
="$enable_sash"
7756 if test "$enableval" = yes; then
7757 ac_cv_use_sash
='wxUSE_SASH=yes'
7759 ac_cv_use_sash
='wxUSE_SASH=no'
7764 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x
; then
7766 eval "DEFAULT_$LINE"
7771 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7775 eval "$ac_cv_use_sash"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_SASH" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7791 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7793 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7794 if test "${enable_scrollbar+set}" = set; then
7795 enableval
="$enable_scrollbar"
7797 if test "$enableval" = yes; then
7798 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7800 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7805 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x
; then
7807 eval "DEFAULT_$LINE"
7812 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7816 eval "$ac_cv_use_scrollbar"
7817 if test "$no_cache" != 1; then
7818 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7821 if test "$wxUSE_SCROLLBAR" = yes; then
7822 echo "$as_me:$LINENO: result: yes" >&5
7823 echo "${ECHO_T}yes" >&6
7825 echo "$as_me:$LINENO: result: no" >&5
7826 echo "${ECHO_T}no" >&6
7831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7832 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7834 # Check whether --enable-slider or --disable-slider was given.
7835 if test "${enable_slider+set}" = set; then
7836 enableval
="$enable_slider"
7838 if test "$enableval" = yes; then
7839 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7841 ac_cv_use_slider
='wxUSE_SLIDER=no'
7846 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x
; then
7848 eval "DEFAULT_$LINE"
7853 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7857 eval "$ac_cv_use_slider"
7858 if test "$no_cache" != 1; then
7859 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7862 if test "$wxUSE_SLIDER" = yes; then
7863 echo "$as_me:$LINENO: result: yes" >&5
7864 echo "${ECHO_T}yes" >&6
7866 echo "$as_me:$LINENO: result: no" >&5
7867 echo "${ECHO_T}no" >&6
7872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7875 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7876 if test "${enable_spinbtn+set}" = set; then
7877 enableval
="$enable_spinbtn"
7879 if test "$enableval" = yes; then
7880 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7882 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7887 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x
; then
7889 eval "DEFAULT_$LINE"
7894 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7898 eval "$ac_cv_use_spinbtn"
7899 if test "$no_cache" != 1; then
7900 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7903 if test "$wxUSE_SPINBTN" = yes; then
7904 echo "$as_me:$LINENO: result: yes" >&5
7905 echo "${ECHO_T}yes" >&6
7907 echo "$as_me:$LINENO: result: no" >&5
7908 echo "${ECHO_T}no" >&6
7913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7916 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7917 if test "${enable_spinctrl+set}" = set; then
7918 enableval
="$enable_spinctrl"
7920 if test "$enableval" = yes; then
7921 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7923 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7928 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7929 if test "x$LINE" != x
; then
7930 eval "DEFAULT_$LINE"
7935 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7939 eval "$ac_cv_use_spinctrl"
7940 if test "$no_cache" != 1; then
7941 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7944 if test "$wxUSE_SPINCTRL" = yes; then
7945 echo "$as_me:$LINENO: result: yes" >&5
7946 echo "${ECHO_T}yes" >&6
7948 echo "$as_me:$LINENO: result: no" >&5
7949 echo "${ECHO_T}no" >&6
7954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7955 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7957 # Check whether --enable-splitter or --disable-splitter was given.
7958 if test "${enable_splitter+set}" = set; then
7959 enableval
="$enable_splitter"
7961 if test "$enableval" = yes; then
7962 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7964 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7969 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x
; then
7971 eval "DEFAULT_$LINE"
7976 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7980 eval "$ac_cv_use_splitter"
7981 if test "$no_cache" != 1; then
7982 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7985 if test "$wxUSE_SPLITTER" = yes; then
7986 echo "$as_me:$LINENO: result: yes" >&5
7987 echo "${ECHO_T}yes" >&6
7989 echo "$as_me:$LINENO: result: no" >&5
7990 echo "${ECHO_T}no" >&6
7995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7998 # Check whether --enable-statbmp or --disable-statbmp was given.
7999 if test "${enable_statbmp+set}" = set; then
8000 enableval
="$enable_statbmp"
8002 if test "$enableval" = yes; then
8003 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8005 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8010 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x
; then
8012 eval "DEFAULT_$LINE"
8017 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8021 eval "$ac_cv_use_statbmp"
8022 if test "$no_cache" != 1; then
8023 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8026 if test "$wxUSE_STATBMP" = yes; then
8027 echo "$as_me:$LINENO: result: yes" >&5
8028 echo "${ECHO_T}yes" >&6
8030 echo "$as_me:$LINENO: result: no" >&5
8031 echo "${ECHO_T}no" >&6
8036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8037 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8039 # Check whether --enable-statbox or --disable-statbox was given.
8040 if test "${enable_statbox+set}" = set; then
8041 enableval
="$enable_statbox"
8043 if test "$enableval" = yes; then
8044 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8046 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8051 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x
; then
8053 eval "DEFAULT_$LINE"
8058 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8062 eval "$ac_cv_use_statbox"
8063 if test "$no_cache" != 1; then
8064 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8067 if test "$wxUSE_STATBOX" = yes; then
8068 echo "$as_me:$LINENO: result: yes" >&5
8069 echo "${ECHO_T}yes" >&6
8071 echo "$as_me:$LINENO: result: no" >&5
8072 echo "${ECHO_T}no" >&6
8077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8080 # Check whether --enable-statline or --disable-statline was given.
8081 if test "${enable_statline+set}" = set; then
8082 enableval
="$enable_statline"
8084 if test "$enableval" = yes; then
8085 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8087 ac_cv_use_statline
='wxUSE_STATLINE=no'
8092 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x
; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8103 eval "$ac_cv_use_statline"
8104 if test "$no_cache" != 1; then
8105 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8108 if test "$wxUSE_STATLINE" = yes; then
8109 echo "$as_me:$LINENO: result: yes" >&5
8110 echo "${ECHO_T}yes" >&6
8112 echo "$as_me:$LINENO: result: no" >&5
8113 echo "${ECHO_T}no" >&6
8118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8121 # Check whether --enable-stattext or --disable-stattext was given.
8122 if test "${enable_stattext+set}" = set; then
8123 enableval
="$enable_stattext"
8125 if test "$enableval" = yes; then
8126 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8128 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8133 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x
; then
8135 eval "DEFAULT_$LINE"
8140 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8144 eval "$ac_cv_use_stattext"
8145 if test "$no_cache" != 1; then
8146 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8149 if test "$wxUSE_STATTEXT" = yes; then
8150 echo "$as_me:$LINENO: result: yes" >&5
8151 echo "${ECHO_T}yes" >&6
8153 echo "$as_me:$LINENO: result: no" >&5
8154 echo "${ECHO_T}no" >&6
8159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8160 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8162 # Check whether --enable-statusbar or --disable-statusbar was given.
8163 if test "${enable_statusbar+set}" = set; then
8164 enableval
="$enable_statusbar"
8166 if test "$enableval" = yes; then
8167 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8169 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8174 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x
; then
8176 eval "DEFAULT_$LINE"
8181 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8185 eval "$ac_cv_use_statusbar"
8186 if test "$no_cache" != 1; then
8187 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8190 if test "$wxUSE_STATUSBAR" = yes; then
8191 echo "$as_me:$LINENO: result: yes" >&5
8192 echo "${ECHO_T}yes" >&6
8194 echo "$as_me:$LINENO: result: no" >&5
8195 echo "${ECHO_T}no" >&6
8200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8201 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8203 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8204 if test "${enable_tabdialog+set}" = set; then
8205 enableval
="$enable_tabdialog"
8207 if test "$enableval" = yes; then
8208 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8210 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8215 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x
; then
8217 eval "DEFAULT_$LINE"
8222 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8226 eval "$ac_cv_use_tabdialog"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8231 if test "$wxUSE_TABDIALOG" = yes; then
8232 echo "$as_me:$LINENO: result: yes" >&5
8233 echo "${ECHO_T}yes" >&6
8235 echo "$as_me:$LINENO: result: no" >&5
8236 echo "${ECHO_T}no" >&6
8241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8244 # Check whether --enable-textctrl or --disable-textctrl was given.
8245 if test "${enable_textctrl+set}" = set; then
8246 enableval
="$enable_textctrl"
8248 if test "$enableval" = yes; then
8249 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8251 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8256 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x
; then
8258 eval "DEFAULT_$LINE"
8263 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8267 eval "$ac_cv_use_textctrl"
8268 if test "$no_cache" != 1; then
8269 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8272 if test "$wxUSE_TEXTCTRL" = yes; then
8273 echo "$as_me:$LINENO: result: yes" >&5
8274 echo "${ECHO_T}yes" >&6
8276 echo "$as_me:$LINENO: result: no" >&5
8277 echo "${ECHO_T}no" >&6
8282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8285 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8286 if test "${enable_togglebtn+set}" = set; then
8287 enableval
="$enable_togglebtn"
8289 if test "$enableval" = yes; then
8290 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8292 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8297 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x
; then
8299 eval "DEFAULT_$LINE"
8304 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8308 eval "$ac_cv_use_togglebtn"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8313 if test "$wxUSE_TOGGLEBTN" = yes; then
8314 echo "$as_me:$LINENO: result: yes" >&5
8315 echo "${ECHO_T}yes" >&6
8317 echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6
8323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8326 # Check whether --enable-toolbar or --disable-toolbar was given.
8327 if test "${enable_toolbar+set}" = set; then
8328 enableval
="$enable_toolbar"
8330 if test "$enableval" = yes; then
8331 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8333 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8338 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x
; then
8340 eval "DEFAULT_$LINE"
8345 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8349 eval "$ac_cv_use_toolbar"
8350 if test "$no_cache" != 1; then
8351 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8354 if test "$wxUSE_TOOLBAR" = yes; then
8355 echo "$as_me:$LINENO: result: yes" >&5
8356 echo "${ECHO_T}yes" >&6
8358 echo "$as_me:$LINENO: result: no" >&5
8359 echo "${ECHO_T}no" >&6
8364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8367 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8368 if test "${enable_tbarnative+set}" = set; then
8369 enableval
="$enable_tbarnative"
8371 if test "$enableval" = yes; then
8372 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8374 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8379 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8380 if test "x$LINE" != x
; then
8381 eval "DEFAULT_$LINE"
8386 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8390 eval "$ac_cv_use_tbarnative"
8391 if test "$no_cache" != 1; then
8392 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8395 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8396 echo "$as_me:$LINENO: result: yes" >&5
8397 echo "${ECHO_T}yes" >&6
8399 echo "$as_me:$LINENO: result: no" >&5
8400 echo "${ECHO_T}no" >&6
8405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8408 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8409 if test "${enable_tbarsmpl+set}" = set; then
8410 enableval
="$enable_tbarsmpl"
8412 if test "$enableval" = yes; then
8413 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8415 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8420 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x
; then
8422 eval "DEFAULT_$LINE"
8427 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8431 eval "$ac_cv_use_tbarsmpl"
8432 if test "$no_cache" != 1; then
8433 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8436 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8437 echo "$as_me:$LINENO: result: yes" >&5
8438 echo "${ECHO_T}yes" >&6
8440 echo "$as_me:$LINENO: result: no" >&5
8441 echo "${ECHO_T}no" >&6
8446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8449 # Check whether --enable-treectrl or --disable-treectrl was given.
8450 if test "${enable_treectrl+set}" = set; then
8451 enableval
="$enable_treectrl"
8453 if test "$enableval" = yes; then
8454 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8456 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8461 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x
; then
8463 eval "DEFAULT_$LINE"
8468 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8472 eval "$ac_cv_use_treectrl"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8477 if test "$wxUSE_TREECTRL" = yes; then
8478 echo "$as_me:$LINENO: result: yes" >&5
8479 echo "${ECHO_T}yes" >&6
8481 echo "$as_me:$LINENO: result: no" >&5
8482 echo "${ECHO_T}no" >&6
8487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8490 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8491 if test "${enable_tipwindow+set}" = set; then
8492 enableval
="$enable_tipwindow"
8494 if test "$enableval" = yes; then
8495 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8497 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8502 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8503 if test "x$LINE" != x
; then
8504 eval "DEFAULT_$LINE"
8509 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8513 eval "$ac_cv_use_tipwindow"
8514 if test "$no_cache" != 1; then
8515 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8518 if test "$wxUSE_TIPWINDOW" = yes; then
8519 echo "$as_me:$LINENO: result: yes" >&5
8520 echo "${ECHO_T}yes" >&6
8522 echo "$as_me:$LINENO: result: no" >&5
8523 echo "${ECHO_T}no" >&6
8528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8531 # Check whether --enable-popupwin or --disable-popupwin was given.
8532 if test "${enable_popupwin+set}" = set; then
8533 enableval
="$enable_popupwin"
8535 if test "$enableval" = yes; then
8536 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8538 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8543 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8544 if test "x$LINE" != x
; then
8545 eval "DEFAULT_$LINE"
8550 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8554 eval "$ac_cv_use_popupwin"
8555 if test "$no_cache" != 1; then
8556 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8559 if test "$wxUSE_POPUPWIN" = yes; then
8560 echo "$as_me:$LINENO: result: yes" >&5
8561 echo "${ECHO_T}yes" >&6
8563 echo "$as_me:$LINENO: result: no" >&5
8564 echo "${ECHO_T}no" >&6
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8574 # Check whether --enable-commondlg or --disable-commondlg was given.
8575 if test "${enable_commondlg+set}" = set; then
8576 enableval
="$enable_commondlg"
8578 if test "$enableval" = yes; then
8579 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8581 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8586 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x
; then
8588 eval "DEFAULT_$LINE"
8593 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8597 eval "$ac_cv_use_commondlg"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8602 if test "$wxUSE_COMMONDLGS" = 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}-choicedlg" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8615 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8616 if test "${enable_choicedlg+set}" = set; then
8617 enableval
="$enable_choicedlg"
8619 if test "$enableval" = yes; then
8620 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8622 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8627 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x
; then
8629 eval "DEFAULT_$LINE"
8634 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8638 eval "$ac_cv_use_choicedlg"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8643 if test "$wxUSE_CHOICEDLG" = 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}-coldlg" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8656 # Check whether --enable-coldlg or --disable-coldlg was given.
8657 if test "${enable_coldlg+set}" = set; then
8658 enableval
="$enable_coldlg"
8660 if test "$enableval" = yes; then
8661 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8663 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8668 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x
; then
8670 eval "DEFAULT_$LINE"
8675 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8679 eval "$ac_cv_use_coldlg"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8684 if test "$wxUSE_COLOURDLG" = 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}-filedlg" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8697 # Check whether --enable-filedlg or --disable-filedlg was given.
8698 if test "${enable_filedlg+set}" = set; then
8699 enableval
="$enable_filedlg"
8701 if test "$enableval" = yes; then
8702 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8704 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8709 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x
; then
8711 eval "DEFAULT_$LINE"
8716 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8720 eval "$ac_cv_use_filedlg"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8725 if test "$wxUSE_FILEDLG" = 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}-finddlg" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8738 # Check whether --enable-finddlg or --disable-finddlg was given.
8739 if test "${enable_finddlg+set}" = set; then
8740 enableval
="$enable_finddlg"
8742 if test "$enableval" = yes; then
8743 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8745 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8750 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x
; then
8752 eval "DEFAULT_$LINE"
8757 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8761 eval "$ac_cv_use_finddlg"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8766 if test "$wxUSE_FINDREPLDLG" = 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}-fontdlg" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8779 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8780 if test "${enable_fontdlg+set}" = set; then
8781 enableval
="$enable_fontdlg"
8783 if test "$enableval" = yes; then
8784 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8786 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8791 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x
; then
8793 eval "DEFAULT_$LINE"
8798 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8802 eval "$ac_cv_use_fontdlg"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8807 if test "$wxUSE_FONTDLG" = 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}-dirdlg" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8820 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8821 if test "${enable_dirdlg+set}" = set; then
8822 enableval
="$enable_dirdlg"
8824 if test "$enableval" = yes; then
8825 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8827 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8832 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x
; then
8834 eval "DEFAULT_$LINE"
8839 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8843 eval "$ac_cv_use_dirdlg"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8848 if test "$wxUSE_DIRDLG" = 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}-msgdlg" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8861 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8862 if test "${enable_msgdlg+set}" = set; then
8863 enableval
="$enable_msgdlg"
8865 if test "$enableval" = yes; then
8866 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8868 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8873 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x
; then
8875 eval "DEFAULT_$LINE"
8880 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8884 eval "$ac_cv_use_msgdlg"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8889 if test "$wxUSE_MSGDLG" = 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}-numberdlg" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8902 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8903 if test "${enable_numberdlg+set}" = set; then
8904 enableval
="$enable_numberdlg"
8906 if test "$enableval" = yes; then
8907 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8909 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8914 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x
; then
8916 eval "DEFAULT_$LINE"
8921 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8925 eval "$ac_cv_use_numberdlg"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8930 if test "$wxUSE_NUMBERDLG" = 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}-splash" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8943 # Check whether --enable-splash or --disable-splash was given.
8944 if test "${enable_splash+set}" = set; then
8945 enableval
="$enable_splash"
8947 if test "$enableval" = yes; then
8948 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8950 ac_cv_use_splash
='wxUSE_SPLASH=no'
8955 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x
; then
8957 eval "DEFAULT_$LINE"
8962 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8966 eval "$ac_cv_use_splash"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8971 if test "$wxUSE_SPLASH" = 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}-textdlg" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8984 # Check whether --enable-textdlg or --disable-textdlg was given.
8985 if test "${enable_textdlg+set}" = set; then
8986 enableval
="$enable_textdlg"
8988 if test "$enableval" = yes; then
8989 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8991 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8996 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x
; then
8998 eval "DEFAULT_$LINE"
9003 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9007 eval "$ac_cv_use_textdlg"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9012 if test "$wxUSE_TEXTDLG" = 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
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9025 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9026 if test "${enable_tipdlg+set}" = set; then
9027 enableval
="$enable_tipdlg"
9029 if test "$enableval" = yes; then
9030 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9032 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9037 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x
; then
9039 eval "DEFAULT_$LINE"
9044 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9048 eval "$ac_cv_use_tipdlg"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9053 if test "$wxUSE_STARTUP_TIPS" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9066 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9067 if test "${enable_progressdlg+set}" = set; then
9068 enableval
="$enable_progressdlg"
9070 if test "$enableval" = yes; then
9071 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9073 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9078 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x
; then
9080 eval "DEFAULT_$LINE"
9085 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9089 eval "$ac_cv_use_progressdlg"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9094 if test "$wxUSE_PROGRESSDLG" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9107 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9108 if test "${enable_wizarddlg+set}" = set; then
9109 enableval
="$enable_wizarddlg"
9111 if test "$enableval" = yes; then
9112 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9114 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9119 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x
; then
9121 eval "DEFAULT_$LINE"
9126 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9130 eval "$ac_cv_use_wizarddlg"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9135 if test "$wxUSE_WIZARDDLG" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9150 # Check whether --enable-menus or --disable-menus was given.
9151 if test "${enable_menus+set}" = set; then
9152 enableval
="$enable_menus"
9154 if test "$enableval" = yes; then
9155 ac_cv_use_menus
='wxUSE_MENUS=yes'
9157 ac_cv_use_menus
='wxUSE_MENUS=no'
9162 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x
; then
9164 eval "DEFAULT_$LINE"
9169 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9173 eval "$ac_cv_use_menus"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9178 if test "$wxUSE_MENUS" = 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}-miniframe" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9191 # Check whether --enable-miniframe or --disable-miniframe was given.
9192 if test "${enable_miniframe+set}" = set; then
9193 enableval
="$enable_miniframe"
9195 if test "$enableval" = yes; then
9196 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9198 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9203 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x
; then
9205 eval "DEFAULT_$LINE"
9210 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9214 eval "$ac_cv_use_miniframe"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9219 if test "$wxUSE_MINIFRAME" = 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}-tooltips" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9232 # Check whether --enable-tooltips or --disable-tooltips was given.
9233 if test "${enable_tooltips+set}" = set; then
9234 enableval
="$enable_tooltips"
9236 if test "$enableval" = yes; then
9237 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9239 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9244 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x
; then
9246 eval "DEFAULT_$LINE"
9251 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9255 eval "$ac_cv_use_tooltips"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9260 if test "$wxUSE_TOOLTIPS" = 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}-splines" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9273 # Check whether --enable-splines or --disable-splines was given.
9274 if test "${enable_splines+set}" = set; then
9275 enableval
="$enable_splines"
9277 if test "$enableval" = yes; then
9278 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9280 ac_cv_use_splines
='wxUSE_SPLINES=no'
9285 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x
; then
9287 eval "DEFAULT_$LINE"
9292 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9296 eval "$ac_cv_use_splines"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9301 if test "$wxUSE_SPLINES" = 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}-validators" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9314 # Check whether --enable-validators or --disable-validators was given.
9315 if test "${enable_validators+set}" = set; then
9316 enableval
="$enable_validators"
9318 if test "$enableval" = yes; then
9319 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9321 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9326 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x
; then
9328 eval "DEFAULT_$LINE"
9333 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9337 eval "$ac_cv_use_validators"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9342 if test "$wxUSE_VALIDATORS" = 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}-busyinfo" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9355 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9356 if test "${enable_busyinfo+set}" = set; then
9357 enableval
="$enable_busyinfo"
9359 if test "$enableval" = yes; then
9360 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9362 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9367 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x
; then
9369 eval "DEFAULT_$LINE"
9374 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9378 eval "$ac_cv_use_busyinfo"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9383 if test "$wxUSE_BUSYINFO" = 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}-joystick" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9396 # Check whether --enable-joystick or --disable-joystick was given.
9397 if test "${enable_joystick+set}" = set; then
9398 enableval
="$enable_joystick"
9400 if test "$enableval" = yes; then
9401 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9403 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9408 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x
; then
9410 eval "DEFAULT_$LINE"
9415 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9419 eval "$ac_cv_use_joystick"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9424 if test "$wxUSE_JOYSTICK" = 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}-metafile" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9437 # Check whether --enable-metafile or --disable-metafile was given.
9438 if test "${enable_metafile+set}" = set; then
9439 enableval
="$enable_metafile"
9441 if test "$enableval" = yes; then
9442 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9444 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9449 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x
; then
9451 eval "DEFAULT_$LINE"
9456 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9460 eval "$ac_cv_use_metafile"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9465 if test "$wxUSE_METAFILE" = 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}-dragimage" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9478 # Check whether --enable-dragimage or --disable-dragimage was given.
9479 if test "${enable_dragimage+set}" = set; then
9480 enableval
="$enable_dragimage"
9482 if test "$enableval" = yes; then
9483 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9485 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9490 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x
; then
9492 eval "DEFAULT_$LINE"
9497 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9501 eval "$ac_cv_use_dragimage"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9506 if test "$wxUSE_DRAGIMAGE" = 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}-accessibility" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9519 # Check whether --enable-accessibility or --disable-accessibility was given.
9520 if test "${enable_accessibility+set}" = set; then
9521 enableval
="$enable_accessibility"
9523 if test "$enableval" = yes; then
9524 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9526 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9531 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x
; then
9533 eval "DEFAULT_$LINE"
9538 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9542 eval "$ac_cv_use_accessibility"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9547 if test "$wxUSE_ACCESSIBILITY" = 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
9559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9562 # Check whether --enable-palette or --disable-palette was given.
9563 if test "${enable_palette+set}" = set; then
9564 enableval
="$enable_palette"
9566 if test "$enableval" = yes; then
9567 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9569 ac_cv_use_palette
='wxUSE_PALETTE=no'
9574 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x
; then
9576 eval "DEFAULT_$LINE"
9581 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9585 eval "$ac_cv_use_palette"
9586 if test "$no_cache" != 1; then
9587 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9590 if test "$wxUSE_PALETTE" = yes; then
9591 echo "$as_me:$LINENO: result: yes" >&5
9592 echo "${ECHO_T}yes" >&6
9594 echo "$as_me:$LINENO: result: no" >&5
9595 echo "${ECHO_T}no" >&6
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9603 # Check whether --enable-image or --disable-image was given.
9604 if test "${enable_image+set}" = set; then
9605 enableval
="$enable_image"
9607 if test "$enableval" = yes; then
9608 ac_cv_use_image
='wxUSE_IMAGE=yes'
9610 ac_cv_use_image
='wxUSE_IMAGE=no'
9615 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x
; then
9617 eval "DEFAULT_$LINE"
9622 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9626 eval "$ac_cv_use_image"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9631 if test "$wxUSE_IMAGE" = 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}-gif" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9644 # Check whether --enable-gif or --disable-gif was given.
9645 if test "${enable_gif+set}" = set; then
9646 enableval
="$enable_gif"
9648 if test "$enableval" = yes; then
9649 ac_cv_use_gif
='wxUSE_GIF=yes'
9651 ac_cv_use_gif
='wxUSE_GIF=no'
9656 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x
; then
9658 eval "DEFAULT_$LINE"
9663 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9667 eval "$ac_cv_use_gif"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9672 if test "$wxUSE_GIF" = 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}-pcx" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9685 # Check whether --enable-pcx or --disable-pcx was given.
9686 if test "${enable_pcx+set}" = set; then
9687 enableval
="$enable_pcx"
9689 if test "$enableval" = yes; then
9690 ac_cv_use_pcx
='wxUSE_PCX=yes'
9692 ac_cv_use_pcx
='wxUSE_PCX=no'
9697 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x
; then
9699 eval "DEFAULT_$LINE"
9704 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9708 eval "$ac_cv_use_pcx"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9713 if test "$wxUSE_PCX" = 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}-iff" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9726 # Check whether --enable-iff or --disable-iff was given.
9727 if test "${enable_iff+set}" = set; then
9728 enableval
="$enable_iff"
9730 if test "$enableval" = yes; then
9731 ac_cv_use_iff
='wxUSE_IFF=yes'
9733 ac_cv_use_iff
='wxUSE_IFF=no'
9738 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x
; then
9740 eval "DEFAULT_$LINE"
9745 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9749 eval "$ac_cv_use_iff"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9754 if test "$wxUSE_IFF" = 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}-pnm" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9767 # Check whether --enable-pnm or --disable-pnm was given.
9768 if test "${enable_pnm+set}" = set; then
9769 enableval
="$enable_pnm"
9771 if test "$enableval" = yes; then
9772 ac_cv_use_pnm
='wxUSE_PNM=yes'
9774 ac_cv_use_pnm
='wxUSE_PNM=no'
9779 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x
; then
9781 eval "DEFAULT_$LINE"
9786 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9790 eval "$ac_cv_use_pnm"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9795 if test "$wxUSE_PNM" = 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}-xpm" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9808 # Check whether --enable-xpm or --disable-xpm was given.
9809 if test "${enable_xpm+set}" = set; then
9810 enableval
="$enable_xpm"
9812 if test "$enableval" = yes; then
9813 ac_cv_use_xpm
='wxUSE_XPM=yes'
9815 ac_cv_use_xpm
='wxUSE_XPM=no'
9820 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x
; then
9822 eval "DEFAULT_$LINE"
9827 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9831 eval "$ac_cv_use_xpm"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9836 if test "$wxUSE_XPM" = 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}-ico_cur" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9849 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9850 if test "${enable_ico_cur+set}" = set; then
9851 enableval
="$enable_ico_cur"
9853 if test "$enableval" = yes; then
9854 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9856 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9861 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x
; then
9863 eval "DEFAULT_$LINE"
9868 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9872 eval "$ac_cv_use_ico_cur"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9877 if test "$wxUSE_ICO_CUR" = 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
9891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9894 # Check whether --enable-official_build or --disable-official_build was given.
9895 if test "${enable_official_build+set}" = set; then
9896 enableval
="$enable_official_build"
9898 if test "$enableval" = yes; then
9899 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9901 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9906 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x
; then
9908 eval "DEFAULT_$LINE"
9913 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9917 eval "$ac_cv_use_official_build"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9922 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9923 echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6
9926 echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6
9930 # Check whether --enable-vendor or --disable-vendor was given.
9931 if test "${enable_vendor+set}" = set; then
9932 enableval
="$enable_vendor"
9935 if test "x$VENDOR" = "x"; then
9940 *-pc-os2_emx | *-pc-os2-emx )
9950 echo "saving argument cache $wx_arg_cache_file"
9951 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9955 echo "$as_me:$LINENO: checking for toolkit" >&5
9956 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9958 # In Wine, we need to default to MSW, not GTK or MOTIF
9959 if test "$wxUSE_WINE" = "yes"; then
9960 DEFAULT_DEFAULT_wxUSE_GTK
=0
9961 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9962 DEFAULT_DEFAULT_wxUSE_MSW
=1
9966 if test "$wxUSE_GUI" = "yes"; then
9968 if test "$USE_BEOS" = 1; then
9969 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9970 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9971 { (exit 1); exit 1; }; }
9974 if test "$TOOLKIT_GIVEN" = 1; then
9975 for toolkit
in `echo $ALL_TOOLKITS`; do
9977 eval "value=\$${var}"
9978 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9981 for toolkit
in `echo $ALL_TOOLKITS`; do
9982 if test "$has_toolkit_in_cache" != 1; then
9983 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9985 var
=DEFAULT_wxUSE_
$toolkit
9987 eval "wxUSE_$toolkit=\$${var}"
9991 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9992 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9993 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9996 *-pc-os2_emx | *-pc-os2-emx )
9997 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10000 case "$NUM_TOOLKITS" in
10004 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10005 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10006 { (exit 1); exit 1; }; }
10009 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10010 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10011 { (exit 1); exit 1; }; }
10014 for toolkit
in `echo $ALL_TOOLKITS`; do
10016 eval "value=\$${var}"
10017 if test "x$value" != x
; then
10018 cache_var
=CACHE_
$toolkit
10019 eval "cache=\$${cache_var}"
10020 if test "$cache" = 1; then
10021 echo "$var=$value" >> ${wx_arg_cache_file}
10023 if test "$value" = 1; then
10024 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10025 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10026 echo "${ECHO_T}$toolkit_echo" >&6
10031 if test "x$host_alias" != "x"; then
10032 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10033 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10035 echo "$as_me:$LINENO: result: base only" >&5
10036 echo "${ECHO_T}base only" >&6
10041 doesnt_want_win32
=0
10044 if test "$wxUSE_MSW" = 1 ; then
10047 doesnt_want_win32
=1
10055 if test "$wxUSE_WINE" = "yes"; then
10060 LDFLAGS_GUI
="-mwindows"
10063 if test "$wants_win32" = 1 ; then
10066 cat >>confdefs.h
<<\_ACEOF
10067 #define __WIN32__ 1
10070 cat >>confdefs.h
<<\_ACEOF
10071 #define __WIN95__ 1
10074 cat >>confdefs.h
<<\_ACEOF
10075 #define __WINDOWS__ 1
10078 cat >>confdefs.h
<<\_ACEOF
10079 #define __GNUWIN32__ 1
10082 cat >>confdefs.h
<<\_ACEOF
10086 cat >>confdefs.h
<<\_ACEOF
10087 #define WINVER 0x0400
10091 if test "$doesnt_want_win32" = 1 ; then
10096 if test "$USE_UNIX" = 1 ; then
10098 cat >>confdefs.h
<<\_ACEOF
10105 cat >confcache
<<\_ACEOF
10106 # This file is a shell script that caches the results of configure
10107 # tests run on this system so they can be shared between configure
10108 # scripts and configure runs, see configure's option --config-cache.
10109 # It is not useful on other systems. If it contains results you don't
10110 # want to keep, you may remove or edit it.
10112 # config.status only pays attention to the cache file if you give it
10113 # the --recheck option to rerun configure.
10115 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10116 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10117 # following values.
10121 # The following way of writing the cache mishandles newlines in values,
10122 # but we know of no workaround that is simple, portable, and efficient.
10123 # So, don't put newlines in cache variables' values.
10124 # Ultrix sh set writes to stderr and can't be redirected directly,
10125 # and sets the high bit in the cache file unless we assign to the vars.
10128 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10130 # `set' does not quote correctly, so add quotes (double-quote
10131 # substitution turns \\\\ into \\, and sed turns \\ into \).
10134 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10137 # `set' quotes correctly as required by POSIX, so do not add quotes.
10139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10148 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10150 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10151 if test -w $cache_file; then
10152 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10153 cat confcache
>$cache_file
10155 echo "not updating unwritable cache $cache_file"
10160 if test "$build" != "$host" ; then
10161 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10163 CXX
=$host_alias-c++
10165 RANLIB
=$host_alias-ranlib
10166 DLLTOOL
=$host_alias-dlltool
10167 RESCOMP
=$host_alias-windres
10170 STRIP
=$host_alias-strip
10172 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10173 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10174 { (exit 1); exit 1; }; }
10180 ac_cpp
='$CPP $CPPFLAGS'
10181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10184 if test -n "$ac_tool_prefix"; then
10185 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10186 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10187 echo "$as_me:$LINENO: checking for $ac_word" >&5
10188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10189 if test "${ac_cv_prog_CC+set}" = set; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10192 if test -n "$CC"; then
10193 ac_cv_prog_CC
="$CC" # Let the user override the test.
10195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10196 for as_dir
in $PATH
10199 test -z "$as_dir" && as_dir
=.
10200 for ac_exec_ext
in '' $ac_executable_extensions; do
10201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10202 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10212 if test -n "$CC"; then
10213 echo "$as_me:$LINENO: result: $CC" >&5
10214 echo "${ECHO_T}$CC" >&6
10216 echo "$as_me:$LINENO: result: no" >&5
10217 echo "${ECHO_T}no" >&6
10221 if test -z "$ac_cv_prog_CC"; then
10223 # Extract the first word of "gcc", so it can be a program name with args.
10224 set dummy gcc
; ac_word
=$2
10225 echo "$as_me:$LINENO: checking for $ac_word" >&5
10226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10227 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10230 if test -n "$ac_ct_CC"; then
10231 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10234 for as_dir
in $PATH
10237 test -z "$as_dir" && as_dir
=.
10238 for ac_exec_ext
in '' $ac_executable_extensions; do
10239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10240 ac_cv_prog_ac_ct_CC
="gcc"
10241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10249 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10250 if test -n "$ac_ct_CC"; then
10251 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10252 echo "${ECHO_T}$ac_ct_CC" >&6
10254 echo "$as_me:$LINENO: result: no" >&5
10255 echo "${ECHO_T}no" >&6
10260 CC
="$ac_cv_prog_CC"
10263 if test -z "$CC"; then
10264 if test -n "$ac_tool_prefix"; then
10265 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10266 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10267 echo "$as_me:$LINENO: checking for $ac_word" >&5
10268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10269 if test "${ac_cv_prog_CC+set}" = set; then
10270 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 if test -n "$CC"; then
10273 ac_cv_prog_CC
="$CC" # Let the user override the test.
10275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10276 for as_dir
in $PATH
10279 test -z "$as_dir" && as_dir
=.
10280 for ac_exec_ext
in '' $ac_executable_extensions; do
10281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10282 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10292 if test -n "$CC"; then
10293 echo "$as_me:$LINENO: result: $CC" >&5
10294 echo "${ECHO_T}$CC" >&6
10296 echo "$as_me:$LINENO: result: no" >&5
10297 echo "${ECHO_T}no" >&6
10301 if test -z "$ac_cv_prog_CC"; then
10303 # Extract the first word of "cc", so it can be a program name with args.
10304 set dummy cc
; ac_word
=$2
10305 echo "$as_me:$LINENO: checking for $ac_word" >&5
10306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10307 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 if test -n "$ac_ct_CC"; then
10311 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10314 for as_dir
in $PATH
10317 test -z "$as_dir" && as_dir
=.
10318 for ac_exec_ext
in '' $ac_executable_extensions; do
10319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10320 ac_cv_prog_ac_ct_CC
="cc"
10321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10329 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10330 if test -n "$ac_ct_CC"; then
10331 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10332 echo "${ECHO_T}$ac_ct_CC" >&6
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10340 CC
="$ac_cv_prog_CC"
10344 if test -z "$CC"; then
10345 # Extract the first word of "cc", so it can be a program name with args.
10346 set dummy cc
; ac_word
=$2
10347 echo "$as_me:$LINENO: checking for $ac_word" >&5
10348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10349 if test "${ac_cv_prog_CC+set}" = set; then
10350 echo $ECHO_N "(cached) $ECHO_C" >&6
10352 if test -n "$CC"; then
10353 ac_cv_prog_CC
="$CC" # Let the user override the test.
10355 ac_prog_rejected
=no
10356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10357 for as_dir
in $PATH
10360 test -z "$as_dir" && as_dir
=.
10361 for ac_exec_ext
in '' $ac_executable_extensions; do
10362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10363 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10364 ac_prog_rejected
=yes
10368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10374 if test $ac_prog_rejected = yes; then
10375 # We found a bogon in the path, so make sure we never use it.
10376 set dummy
$ac_cv_prog_CC
10378 if test $# != 0; then
10379 # We chose a different compiler from the bogus one.
10380 # However, it has the same basename, so the bogon will be chosen
10381 # first if we set CC to just the basename; use the full file name.
10383 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10389 if test -n "$CC"; then
10390 echo "$as_me:$LINENO: result: $CC" >&5
10391 echo "${ECHO_T}$CC" >&6
10393 echo "$as_me:$LINENO: result: no" >&5
10394 echo "${ECHO_T}no" >&6
10398 if test -z "$CC"; then
10399 if test -n "$ac_tool_prefix"; then
10402 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10403 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10404 echo "$as_me:$LINENO: checking for $ac_word" >&5
10405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10406 if test "${ac_cv_prog_CC+set}" = set; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10409 if test -n "$CC"; then
10410 ac_cv_prog_CC
="$CC" # Let the user override the test.
10412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10413 for as_dir
in $PATH
10416 test -z "$as_dir" && as_dir
=.
10417 for ac_exec_ext
in '' $ac_executable_extensions; do
10418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10419 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10429 if test -n "$CC"; then
10430 echo "$as_me:$LINENO: result: $CC" >&5
10431 echo "${ECHO_T}$CC" >&6
10433 echo "$as_me:$LINENO: result: no" >&5
10434 echo "${ECHO_T}no" >&6
10437 test -n "$CC" && break
10440 if test -z "$CC"; then
10444 # Extract the first word of "$ac_prog", so it can be a program name with args.
10445 set dummy
$ac_prog; ac_word
=$2
10446 echo "$as_me:$LINENO: checking for $ac_word" >&5
10447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10448 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10449 echo $ECHO_N "(cached) $ECHO_C" >&6
10451 if test -n "$ac_ct_CC"; then
10452 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10455 for as_dir
in $PATH
10458 test -z "$as_dir" && as_dir
=.
10459 for ac_exec_ext
in '' $ac_executable_extensions; do
10460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10461 ac_cv_prog_ac_ct_CC
="$ac_prog"
10462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10470 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10471 if test -n "$ac_ct_CC"; then
10472 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10473 echo "${ECHO_T}$ac_ct_CC" >&6
10475 echo "$as_me:$LINENO: result: no" >&5
10476 echo "${ECHO_T}no" >&6
10479 test -n "$ac_ct_CC" && break
10488 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10489 See \`config.log' for more details." >&5
10490 echo "$as_me: error: no acceptable C compiler found in \$PATH
10491 See \`config.log' for more details." >&2;}
10492 { (exit 1); exit 1; }; }
10494 # Provide some information about the compiler.
10495 echo "$as_me:$LINENO:" \
10496 "checking for C compiler version" >&5
10497 ac_compiler
=`set X $ac_compile; echo $2`
10498 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10499 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }
10503 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10504 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); }
10508 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10509 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); }
10514 cat >conftest.
$ac_ext <<_ACEOF
10517 cat confdefs.h
>>conftest.
$ac_ext
10518 cat >>conftest.
$ac_ext <<_ACEOF
10519 /* end confdefs.h. */
10529 ac_clean_files_save
=$ac_clean_files
10530 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10531 # Try to create an executable without -o first, disregard a.out.
10532 # It will help us diagnose broken compilers, and finding out an intuition
10534 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10535 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10536 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10537 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10538 (eval $ac_link_default) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; then
10542 # Find the output, starting from the most likely. This scheme is
10543 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10546 # Be careful to initialize this variable, since it used to be cached.
10547 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10549 # b.out is created by i960 compilers.
10550 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10552 test -f "$ac_file" || continue
10554 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10557 # This is the source file.
10560 # We found the default executable, but exeext='' is most
10564 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10565 # FIXME: I believe we export ac_cv_exeext for Libtool,
10566 # but it would be cool to find out if it's true. Does anybody
10567 # maintain Libtool? --akim.
10568 export ac_cv_exeext
10575 echo "$as_me: failed program was:" >&5
10576 sed 's/^/| /' conftest.
$ac_ext >&5
10578 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10579 See \`config.log' for more details." >&5
10580 echo "$as_me: error: C compiler cannot create executables
10581 See \`config.log' for more details." >&2;}
10582 { (exit 77); exit 77; }; }
10585 ac_exeext
=$ac_cv_exeext
10586 echo "$as_me:$LINENO: result: $ac_file" >&5
10587 echo "${ECHO_T}$ac_file" >&6
10589 # Check the compiler produces executables we can run. If not, either
10590 # the compiler is broken, or we cross compile.
10591 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10592 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10593 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10594 # If not cross compiling, check that we can run a simple program.
10595 if test "$cross_compiling" != yes; then
10596 if { ac_try
='./$ac_file'
10597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10598 (eval $ac_try) 2>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); }; }; then
10604 if test "$cross_compiling" = maybe
; then
10605 cross_compiling
=yes
10607 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10608 If you meant to cross compile, use \`--host'.
10609 See \`config.log' for more details." >&5
10610 echo "$as_me: error: cannot run C compiled programs.
10611 If you meant to cross compile, use \`--host'.
10612 See \`config.log' for more details." >&2;}
10613 { (exit 1); exit 1; }; }
10617 echo "$as_me:$LINENO: result: yes" >&5
10618 echo "${ECHO_T}yes" >&6
10620 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10621 ac_clean_files
=$ac_clean_files_save
10622 # Check the compiler produces executables we can run. If not, either
10623 # the compiler is broken, or we cross compile.
10624 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10625 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10626 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10627 echo "${ECHO_T}$cross_compiling" >&6
10629 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10630 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10632 (eval $ac_link) 2>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }; then
10636 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10637 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10638 # work properly (i.e., refer to `conftest.exe'), while it won't with
10640 for ac_file
in conftest.exe conftest conftest.
*; do
10641 test -f "$ac_file" || continue
10643 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10644 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10645 export ac_cv_exeext
10651 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10652 See \`config.log' for more details." >&5
10653 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10654 See \`config.log' for more details." >&2;}
10655 { (exit 1); exit 1; }; }
10658 rm -f conftest
$ac_cv_exeext
10659 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10660 echo "${ECHO_T}$ac_cv_exeext" >&6
10662 rm -f conftest.
$ac_ext
10663 EXEEXT
=$ac_cv_exeext
10665 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10666 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10667 if test "${ac_cv_objext+set}" = set; then
10668 echo $ECHO_N "(cached) $ECHO_C" >&6
10670 cat >conftest.
$ac_ext <<_ACEOF
10673 cat confdefs.h
>>conftest.
$ac_ext
10674 cat >>conftest.
$ac_ext <<_ACEOF
10675 /* end confdefs.h. */
10685 rm -f conftest.o conftest.obj
10686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10687 (eval $ac_compile) 2>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; then
10691 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10693 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10694 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10699 echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.
$ac_ext >&5
10702 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10703 See \`config.log' for more details." >&5
10704 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10705 See \`config.log' for more details." >&2;}
10706 { (exit 1); exit 1; }; }
10709 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10711 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10712 echo "${ECHO_T}$ac_cv_objext" >&6
10713 OBJEXT
=$ac_cv_objext
10715 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10716 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10717 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 cat >conftest.
$ac_ext <<_ACEOF
10723 cat confdefs.h
>>conftest.
$ac_ext
10724 cat >>conftest.
$ac_ext <<_ACEOF
10725 /* end confdefs.h. */
10738 rm -f conftest.
$ac_objext
10739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10740 (eval $ac_compile) 2>conftest.er1
10742 grep -v '^ *+' conftest.er1
>conftest.err
10744 cat conftest.err
>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } &&
10747 { ac_try
='test -z "$ac_c_werror_flag"
10748 || test ! -s conftest.err'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; } &&
10754 { ac_try
='test -s conftest.$ac_objext'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; }; then
10760 ac_compiler_gnu
=yes
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.
$ac_ext >&5
10767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10768 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10771 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10772 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10773 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10774 ac_test_CFLAGS
=${CFLAGS+set}
10775 ac_save_CFLAGS
=$CFLAGS
10777 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10778 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10779 if test "${ac_cv_prog_cc_g+set}" = set; then
10780 echo $ECHO_N "(cached) $ECHO_C" >&6
10782 cat >conftest.
$ac_ext <<_ACEOF
10785 cat confdefs.h
>>conftest.
$ac_ext
10786 cat >>conftest.
$ac_ext <<_ACEOF
10787 /* end confdefs.h. */
10797 rm -f conftest.
$ac_objext
10798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10799 (eval $ac_compile) 2>conftest.er1
10801 grep -v '^ *+' conftest.er1
>conftest.err
10803 cat conftest.err
>&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); } &&
10806 { ac_try
='test -z "$ac_c_werror_flag"
10807 || test ! -s conftest.err'
10808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10809 (eval $ac_try) 2>&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); }; } &&
10813 { ac_try
='test -s conftest.$ac_objext'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; }; then
10819 ac_cv_prog_cc_g
=yes
10821 echo "$as_me: failed program was:" >&5
10822 sed 's/^/| /' conftest.
$ac_ext >&5
10826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10828 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10829 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10830 if test "$ac_test_CFLAGS" = set; then
10831 CFLAGS
=$ac_save_CFLAGS
10832 elif test $ac_cv_prog_cc_g = yes; then
10833 if test "$GCC" = yes; then
10839 if test "$GCC" = yes; then
10845 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10846 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10847 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10848 echo $ECHO_N "(cached) $ECHO_C" >&6
10850 ac_cv_prog_cc_stdc
=no
10852 cat >conftest.
$ac_ext <<_ACEOF
10855 cat confdefs.h
>>conftest.
$ac_ext
10856 cat >>conftest.
$ac_ext <<_ACEOF
10857 /* end confdefs.h. */
10858 #include <stdarg.h>
10860 #include <sys/types.h>
10861 #include <sys/stat.h>
10862 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10863 struct buf { int x; };
10864 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10865 static char *e (p, i)
10871 static char *f (char * (*g) (char **, int), char **p, ...)
10876 s = g (p, va_arg (v,int));
10881 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10882 function prototypes and stuff, but not '\xHH' hex character constants.
10883 These don't provoke an error unfortunately, instead are silently treated
10884 as 'x'. The following induces an error, until -std1 is added to get
10885 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10886 array size at least. It's necessary to write '\x00'==0 to get something
10887 that's true only with -std1. */
10888 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10890 int test (int i, double x);
10891 struct s1 {int (*f) (int a);};
10892 struct s2 {int (*f) (double a);};
10893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10899 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10904 # Don't try gcc -ansi; that turns off useful extensions and
10905 # breaks some systems' header files.
10906 # AIX -qlanglvl=ansi
10907 # Ultrix and OSF/1 -std1
10908 # HP-UX 10.20 and later -Ae
10909 # HP-UX older versions -Aa -D_HPUX_SOURCE
10910 # SVR4 -Xc -D__EXTENSIONS__
10911 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10913 CC
="$ac_save_CC $ac_arg"
10914 rm -f conftest.
$ac_objext
10915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10916 (eval $ac_compile) 2>conftest.er1
10918 grep -v '^ *+' conftest.er1
>conftest.err
10920 cat conftest.err
>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); } &&
10923 { ac_try
='test -z "$ac_c_werror_flag"
10924 || test ! -s conftest.err'
10925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10926 (eval $ac_try) 2>&5
10928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929 (exit $ac_status); }; } &&
10930 { ac_try
='test -s conftest.$ac_objext'
10931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932 (eval $ac_try) 2>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); }; }; then
10936 ac_cv_prog_cc_stdc
=$ac_arg
10939 echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.
$ac_ext >&5
10943 rm -f conftest.err conftest.
$ac_objext
10945 rm -f conftest.
$ac_ext conftest.
$ac_objext
10950 case "x$ac_cv_prog_cc_stdc" in
10952 echo "$as_me:$LINENO: result: none needed" >&5
10953 echo "${ECHO_T}none needed" >&6 ;;
10955 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10956 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10957 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10960 # Some people use a C++ compiler to compile C. Since we use `exit',
10961 # in C++ we need to declare it. In case someone uses the same compiler
10962 # for both compiling C and C++ we need to have the C++ compiler decide
10963 # the declaration of exit, since it's the most demanding environment.
10964 cat >conftest.
$ac_ext <<_ACEOF
10965 #ifndef __cplusplus
10969 rm -f conftest.
$ac_objext
10970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10971 (eval $ac_compile) 2>conftest.er1
10973 grep -v '^ *+' conftest.er1
>conftest.err
10975 cat conftest.err
>&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); } &&
10978 { ac_try
='test -z "$ac_c_werror_flag"
10979 || test ! -s conftest.err'
10980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10981 (eval $ac_try) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; } &&
10985 { ac_try
='test -s conftest.$ac_objext'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; }; then
10991 for ac_declaration
in \
10993 'extern "C" void std::exit (int) throw (); using std::exit;' \
10994 'extern "C" void std::exit (int); using std::exit;' \
10995 'extern "C" void exit (int) throw ();' \
10996 'extern "C" void exit (int);' \
10999 cat >conftest.
$ac_ext <<_ACEOF
11002 cat confdefs.h
>>conftest.
$ac_ext
11003 cat >>conftest.
$ac_ext <<_ACEOF
11004 /* end confdefs.h. */
11006 #include <stdlib.h>
11015 rm -f conftest.
$ac_objext
11016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11017 (eval $ac_compile) 2>conftest.er1
11019 grep -v '^ *+' conftest.er1
>conftest.err
11021 cat conftest.err
>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); } &&
11024 { ac_try
='test -z "$ac_c_werror_flag"
11025 || test ! -s conftest.err'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; } &&
11031 { ac_try
='test -s conftest.$ac_objext'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; }; then
11039 echo "$as_me: failed program was:" >&5
11040 sed 's/^/| /' conftest.
$ac_ext >&5
11044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11045 cat >conftest.
$ac_ext <<_ACEOF
11048 cat confdefs.h
>>conftest.
$ac_ext
11049 cat >>conftest.
$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11060 rm -f conftest.
$ac_objext
11061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11062 (eval $ac_compile) 2>conftest.er1
11064 grep -v '^ *+' conftest.er1
>conftest.err
11066 cat conftest.err
>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } &&
11069 { ac_try
='test -z "$ac_c_werror_flag"
11070 || test ! -s conftest.err'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); }; } &&
11076 { ac_try
='test -s conftest.$ac_objext'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; }; then
11084 echo "$as_me: failed program was:" >&5
11085 sed 's/^/| /' conftest.
$ac_ext >&5
11088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11091 if test -n "$ac_declaration"; then
11092 echo '#ifdef __cplusplus' >>confdefs.h
11093 echo $ac_declaration >>confdefs.h
11094 echo '#endif' >>confdefs.h
11098 echo "$as_me: failed program was:" >&5
11099 sed 's/^/| /' conftest.
$ac_ext >&5
11102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11104 ac_cpp
='$CPP $CPPFLAGS'
11105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11112 ac_cpp
='$CPP $CPPFLAGS'
11113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11116 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11117 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11118 # On Suns, sometimes $CPP names a directory.
11119 if test -n "$CPP" && test -d "$CPP"; then
11122 if test -z "$CPP"; then
11123 if test "${ac_cv_prog_CPP+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 # Double quotes because CPP needs to be expanded
11127 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11129 ac_preproc_ok
=false
11130 for ac_c_preproc_warn_flag
in '' yes
11132 # Use a header file that comes with gcc, so configuring glibc
11133 # with a fresh cross-compiler works.
11134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11135 # <limits.h> exists even on freestanding compilers.
11136 # On the NeXT, cc -E runs the code through the compiler's parser,
11137 # not just through cpp. "Syntax error" is here to catch this case.
11138 cat >conftest.
$ac_ext <<_ACEOF
11141 cat confdefs.h
>>conftest.
$ac_ext
11142 cat >>conftest.
$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11145 # include <limits.h>
11147 # include <assert.h>
11151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11154 grep -v '^ *+' conftest.er1
>conftest.err
11156 cat conftest.err
>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); } >/dev
/null
; then
11159 if test -s conftest.err
; then
11160 ac_cpp_err
=$ac_c_preproc_warn_flag
11161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11168 if test -z "$ac_cpp_err"; then
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.
$ac_ext >&5
11174 # Broken: fails on valid input.
11177 rm -f conftest.err conftest.
$ac_ext
11179 # OK, works on sane cases. Now check whether non-existent headers
11180 # can be detected and how.
11181 cat >conftest.
$ac_ext <<_ACEOF
11184 cat confdefs.h
>>conftest.
$ac_ext
11185 cat >>conftest.
$ac_ext <<_ACEOF
11186 /* end confdefs.h. */
11187 #include <ac_nonexistent.h>
11189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11192 grep -v '^ *+' conftest.er1
>conftest.err
11194 cat conftest.err
>&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); } >/dev
/null
; then
11197 if test -s conftest.err
; then
11198 ac_cpp_err
=$ac_c_preproc_warn_flag
11199 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11206 if test -z "$ac_cpp_err"; then
11207 # Broken: success on invalid input.
11210 echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.
$ac_ext >&5
11213 # Passes both tests.
11217 rm -f conftest.err conftest.
$ac_ext
11220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11221 rm -f conftest.err conftest.
$ac_ext
11222 if $ac_preproc_ok; then
11227 ac_cv_prog_CPP
=$CPP
11230 CPP
=$ac_cv_prog_CPP
11232 ac_cv_prog_CPP
=$CPP
11234 echo "$as_me:$LINENO: result: $CPP" >&5
11235 echo "${ECHO_T}$CPP" >&6
11236 ac_preproc_ok
=false
11237 for ac_c_preproc_warn_flag
in '' yes
11239 # Use a header file that comes with gcc, so configuring glibc
11240 # with a fresh cross-compiler works.
11241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11242 # <limits.h> exists even on freestanding compilers.
11243 # On the NeXT, cc -E runs the code through the compiler's parser,
11244 # not just through cpp. "Syntax error" is here to catch this case.
11245 cat >conftest.
$ac_ext <<_ACEOF
11248 cat confdefs.h
>>conftest.
$ac_ext
11249 cat >>conftest.
$ac_ext <<_ACEOF
11250 /* end confdefs.h. */
11252 # include <limits.h>
11254 # include <assert.h>
11258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11261 grep -v '^ *+' conftest.er1
>conftest.err
11263 cat conftest.err
>&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } >/dev
/null
; then
11266 if test -s conftest.err
; then
11267 ac_cpp_err
=$ac_c_preproc_warn_flag
11268 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11275 if test -z "$ac_cpp_err"; then
11278 echo "$as_me: failed program was:" >&5
11279 sed 's/^/| /' conftest.
$ac_ext >&5
11281 # Broken: fails on valid input.
11284 rm -f conftest.err conftest.
$ac_ext
11286 # OK, works on sane cases. Now check whether non-existent headers
11287 # can be detected and how.
11288 cat >conftest.
$ac_ext <<_ACEOF
11291 cat confdefs.h
>>conftest.
$ac_ext
11292 cat >>conftest.
$ac_ext <<_ACEOF
11293 /* end confdefs.h. */
11294 #include <ac_nonexistent.h>
11296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11297 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11299 grep -v '^ *+' conftest.er1
>conftest.err
11301 cat conftest.err
>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); } >/dev
/null
; then
11304 if test -s conftest.err
; then
11305 ac_cpp_err
=$ac_c_preproc_warn_flag
11306 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11313 if test -z "$ac_cpp_err"; then
11314 # Broken: success on invalid input.
11317 echo "$as_me: failed program was:" >&5
11318 sed 's/^/| /' conftest.
$ac_ext >&5
11320 # Passes both tests.
11324 rm -f conftest.err conftest.
$ac_ext
11327 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11328 rm -f conftest.err conftest.
$ac_ext
11329 if $ac_preproc_ok; then
11332 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11333 See \`config.log' for more details." >&5
11334 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11335 See \`config.log' for more details." >&2;}
11336 { (exit 1); exit 1; }; }
11340 ac_cpp
='$CPP $CPPFLAGS'
11341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11346 echo "$as_me:$LINENO: checking for egrep" >&5
11347 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11348 if test "${ac_cv_prog_egrep+set}" = set; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11351 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11352 then ac_cv_prog_egrep
='grep -E'
11353 else ac_cv_prog_egrep
='egrep'
11356 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11357 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11358 EGREP
=$ac_cv_prog_egrep
11361 if test $ac_cv_c_compiler_gnu = yes; then
11362 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11363 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11364 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 ac_pattern
="Autoconf.*'x'"
11368 cat >conftest.
$ac_ext <<_ACEOF
11371 cat confdefs.h
>>conftest.
$ac_ext
11372 cat >>conftest.
$ac_ext <<_ACEOF
11373 /* end confdefs.h. */
11377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11378 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11379 ac_cv_prog_gcc_traditional
=yes
11381 ac_cv_prog_gcc_traditional
=no
11386 if test $ac_cv_prog_gcc_traditional = no
; then
11387 cat >conftest.
$ac_ext <<_ACEOF
11390 cat confdefs.h
>>conftest.
$ac_ext
11391 cat >>conftest.
$ac_ext <<_ACEOF
11392 /* end confdefs.h. */
11393 #include <termio.h>
11396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11397 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11398 ac_cv_prog_gcc_traditional
=yes
11404 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11405 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11406 if test $ac_cv_prog_gcc_traditional = yes; then
11407 CC
="$CC -traditional"
11415 ac_cpp
='$CXXCPP $CPPFLAGS'
11416 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11417 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11418 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11421 CXXFLAGS
=${CXXFLAGS:=}
11423 ac_cpp
='$CXXCPP $CPPFLAGS'
11424 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11425 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11426 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11427 if test -n "$ac_tool_prefix"; then
11428 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11431 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11432 echo "$as_me:$LINENO: checking for $ac_word" >&5
11433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11434 if test "${ac_cv_prog_CXX+set}" = set; then
11435 echo $ECHO_N "(cached) $ECHO_C" >&6
11437 if test -n "$CXX"; then
11438 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11441 for as_dir
in $PATH
11444 test -z "$as_dir" && as_dir
=.
11445 for ac_exec_ext
in '' $ac_executable_extensions; do
11446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11447 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11456 CXX
=$ac_cv_prog_CXX
11457 if test -n "$CXX"; then
11458 echo "$as_me:$LINENO: result: $CXX" >&5
11459 echo "${ECHO_T}$CXX" >&6
11461 echo "$as_me:$LINENO: result: no" >&5
11462 echo "${ECHO_T}no" >&6
11465 test -n "$CXX" && break
11468 if test -z "$CXX"; then
11470 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11472 # Extract the first word of "$ac_prog", so it can be a program name with args.
11473 set dummy
$ac_prog; ac_word
=$2
11474 echo "$as_me:$LINENO: checking for $ac_word" >&5
11475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11476 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11477 echo $ECHO_N "(cached) $ECHO_C" >&6
11479 if test -n "$ac_ct_CXX"; then
11480 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11483 for as_dir
in $PATH
11486 test -z "$as_dir" && as_dir
=.
11487 for ac_exec_ext
in '' $ac_executable_extensions; do
11488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11489 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11498 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11499 if test -n "$ac_ct_CXX"; then
11500 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11501 echo "${ECHO_T}$ac_ct_CXX" >&6
11503 echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6
11507 test -n "$ac_ct_CXX" && break
11509 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11515 # Provide some information about the compiler.
11516 echo "$as_me:$LINENO:" \
11517 "checking for C++ compiler version" >&5
11518 ac_compiler
=`set X $ac_compile; echo $2`
11519 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11520 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); }
11524 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11525 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); }
11529 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11530 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }
11535 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11536 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11537 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 cat >conftest.
$ac_ext <<_ACEOF
11543 cat confdefs.h
>>conftest.
$ac_ext
11544 cat >>conftest.
$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11558 rm -f conftest.
$ac_objext
11559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11560 (eval $ac_compile) 2>conftest.er1
11562 grep -v '^ *+' conftest.er1
>conftest.err
11564 cat conftest.err
>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try
='test -z "$ac_cxx_werror_flag"
11568 || test ! -s conftest.err'
11569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570 (eval $ac_try) 2>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); }; } &&
11574 { ac_try
='test -s conftest.$ac_objext'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; }; then
11580 ac_compiler_gnu
=yes
11582 echo "$as_me: failed program was:" >&5
11583 sed 's/^/| /' conftest.
$ac_ext >&5
11587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11588 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11591 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11592 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11593 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11594 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11595 ac_save_CXXFLAGS
=$CXXFLAGS
11597 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11598 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11599 if test "${ac_cv_prog_cxx_g+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 cat >conftest.
$ac_ext <<_ACEOF
11605 cat confdefs.h
>>conftest.
$ac_ext
11606 cat >>conftest.
$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11617 rm -f conftest.
$ac_objext
11618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11619 (eval $ac_compile) 2>conftest.er1
11621 grep -v '^ *+' conftest.er1
>conftest.err
11623 cat conftest.err
>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); } &&
11626 { ac_try
='test -z "$ac_cxx_werror_flag"
11627 || test ! -s conftest.err'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; } &&
11633 { ac_try
='test -s conftest.$ac_objext'
11634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 (eval $ac_try) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; }; then
11639 ac_cv_prog_cxx_g
=yes
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.
$ac_ext >&5
11644 ac_cv_prog_cxx_g
=no
11646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11648 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11649 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11650 if test "$ac_test_CXXFLAGS" = set; then
11651 CXXFLAGS
=$ac_save_CXXFLAGS
11652 elif test $ac_cv_prog_cxx_g = yes; then
11653 if test "$GXX" = yes; then
11659 if test "$GXX" = yes; then
11665 for ac_declaration
in \
11667 'extern "C" void std::exit (int) throw (); using std::exit;' \
11668 'extern "C" void std::exit (int); using std::exit;' \
11669 'extern "C" void exit (int) throw ();' \
11670 'extern "C" void exit (int);' \
11673 cat >conftest.
$ac_ext <<_ACEOF
11676 cat confdefs.h
>>conftest.
$ac_ext
11677 cat >>conftest.
$ac_ext <<_ACEOF
11678 /* end confdefs.h. */
11680 #include <stdlib.h>
11689 rm -f conftest.
$ac_objext
11690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11691 (eval $ac_compile) 2>conftest.er1
11693 grep -v '^ *+' conftest.er1
>conftest.err
11695 cat conftest.err
>&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } &&
11698 { ac_try
='test -z "$ac_cxx_werror_flag"
11699 || test ! -s conftest.err'
11700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 (eval $ac_try) 2>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; } &&
11705 { ac_try
='test -s conftest.$ac_objext'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; }; then
11713 echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.
$ac_ext >&5
11718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11719 cat >conftest.
$ac_ext <<_ACEOF
11722 cat confdefs.h
>>conftest.
$ac_ext
11723 cat >>conftest.
$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11734 rm -f conftest.
$ac_objext
11735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11736 (eval $ac_compile) 2>conftest.er1
11738 grep -v '^ *+' conftest.er1
>conftest.err
11740 cat conftest.err
>&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); } &&
11743 { ac_try
='test -z "$ac_cxx_werror_flag"
11744 || test ! -s conftest.err'
11745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11746 (eval $ac_try) 2>&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); }; } &&
11750 { ac_try
='test -s conftest.$ac_objext'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; }; then
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.
$ac_ext >&5
11762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11765 if test -n "$ac_declaration"; then
11766 echo '#ifdef __cplusplus' >>confdefs.h
11767 echo $ac_declaration >>confdefs.h
11768 echo '#endif' >>confdefs.h
11772 ac_cpp
='$CXXCPP $CPPFLAGS'
11773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11779 ac_cpp
='$CPP $CPPFLAGS'
11780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11785 if test -n "$ac_tool_prefix"; then
11786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11787 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11788 echo "$as_me:$LINENO: checking for $ac_word" >&5
11789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11790 if test "${ac_cv_prog_RANLIB+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 if test -n "$RANLIB"; then
11794 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11797 for as_dir
in $PATH
11800 test -z "$as_dir" && as_dir
=.
11801 for ac_exec_ext
in '' $ac_executable_extensions; do
11802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11803 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11812 RANLIB
=$ac_cv_prog_RANLIB
11813 if test -n "$RANLIB"; then
11814 echo "$as_me:$LINENO: result: $RANLIB" >&5
11815 echo "${ECHO_T}$RANLIB" >&6
11817 echo "$as_me:$LINENO: result: no" >&5
11818 echo "${ECHO_T}no" >&6
11822 if test -z "$ac_cv_prog_RANLIB"; then
11823 ac_ct_RANLIB
=$RANLIB
11824 # Extract the first word of "ranlib", so it can be a program name with args.
11825 set dummy ranlib
; ac_word
=$2
11826 echo "$as_me:$LINENO: checking for $ac_word" >&5
11827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11828 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11829 echo $ECHO_N "(cached) $ECHO_C" >&6
11831 if test -n "$ac_ct_RANLIB"; then
11832 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11835 for as_dir
in $PATH
11838 test -z "$as_dir" && as_dir
=.
11839 for ac_exec_ext
in '' $ac_executable_extensions; do
11840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11841 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11848 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11851 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11852 if test -n "$ac_ct_RANLIB"; then
11853 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11854 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11856 echo "$as_me:$LINENO: result: no" >&5
11857 echo "${ECHO_T}no" >&6
11860 RANLIB
=$ac_ct_RANLIB
11862 RANLIB
="$ac_cv_prog_RANLIB"
11866 # Extract the first word of "ar", so it can be a program name with args.
11867 set dummy
ar; ac_word
=$2
11868 echo "$as_me:$LINENO: checking for $ac_word" >&5
11869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11870 if test "${ac_cv_prog_AR+set}" = set; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 if test -n "$AR"; then
11874 ac_cv_prog_AR
="$AR" # Let the user override the test.
11876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11877 for as_dir
in $PATH
11880 test -z "$as_dir" && as_dir
=.
11881 for ac_exec_ext
in '' $ac_executable_extensions; do
11882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11893 if test -n "$AR"; then
11894 echo "$as_me:$LINENO: result: $AR" >&5
11895 echo "${ECHO_T}$AR" >&6
11897 echo "$as_me:$LINENO: result: no" >&5
11898 echo "${ECHO_T}no" >&6
11901 if test "x$AR" = "x" ; then
11902 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11903 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11904 { (exit 1); exit 1; }; }
11907 # Find a good install program. We prefer a C program (faster),
11908 # so one script is as good as another. But avoid the broken or
11909 # incompatible versions:
11910 # SysV /etc/install, /usr/sbin/install
11911 # SunOS /usr/etc/install
11912 # IRIX /sbin/install
11914 # AmigaOS /C/install, which installs bootblocks on floppy discs
11915 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11916 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11917 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11918 # OS/2's system install, which has a completely different semantic
11919 # ./install, which can be erroneously created by make from ./install.sh.
11920 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11921 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11922 if test -z "$INSTALL"; then
11923 if test "${ac_cv_path_install+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11927 for as_dir
in $PATH
11930 test -z "$as_dir" && as_dir
=.
11931 # Account for people who put trailing slashes in PATH elements.
11933 .
/ | .
// | /cC
/* | \
11934 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11935 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11938 # OSF1 and SCO ODT 3.0 have their own names for install.
11939 # Don't use installbsd from OSF since it installs stuff as root
11941 for ac_prog
in ginstall scoinst
install; do
11942 for ac_exec_ext
in '' $ac_executable_extensions; do
11943 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11944 if test $ac_prog = install &&
11945 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11946 # AIX install. It has an incompatible calling convention.
11948 elif test $ac_prog = install &&
11949 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11950 # program-specific install script used by HP pwplus--don't use.
11953 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11965 if test "${ac_cv_path_install+set}" = set; then
11966 INSTALL
=$ac_cv_path_install
11968 # As a last resort, use the slow shell script. We don't cache a
11969 # path for INSTALL within a source directory, because that will
11970 # break other packages using the cache if that directory is
11971 # removed, or if the path is relative.
11972 INSTALL
=$ac_install_sh
11975 echo "$as_me:$LINENO: result: $INSTALL" >&5
11976 echo "${ECHO_T}$INSTALL" >&6
11978 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11979 # It thinks the first close brace ends the variable substitution.
11980 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11982 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11984 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11990 ?
:* ) # Drive letter, considered as absolute.
11993 INSTALL
=`pwd`/${INSTALL} ;;
11998 INSTALL_DIR
="mkdir"
12001 *) INSTALL_DIR
="$INSTALL -d"
12008 powerpc
-*-darwin* )
12009 INSTALL_PROGRAM
="cp -fp"
12010 INSTALL_DATA
="cp -fp"
12016 # Extract the first word of "strip", so it can be a program name with args.
12017 set dummy strip
; ac_word
=$2
12018 echo "$as_me:$LINENO: checking for $ac_word" >&5
12019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12020 if test "${ac_cv_prog_STRIP+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 if test -n "$STRIP"; then
12024 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12027 for as_dir
in $PATH
12030 test -z "$as_dir" && as_dir
=.
12031 for ac_exec_ext
in '' $ac_executable_extensions; do
12032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12033 ac_cv_prog_STRIP
="strip"
12034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12040 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12043 STRIP
=$ac_cv_prog_STRIP
12044 if test -n "$STRIP"; then
12045 echo "$as_me:$LINENO: result: $STRIP" >&5
12046 echo "${ECHO_T}$STRIP" >&6
12048 echo "$as_me:$LINENO: result: no" >&5
12049 echo "${ECHO_T}no" >&6
12053 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12054 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12055 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12060 egrep -s GNU
> /dev
/null
); then
12061 wx_cv_prog_makeisgnu
="yes"
12063 wx_cv_prog_makeisgnu
="no"
12067 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12068 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12070 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12078 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12079 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12080 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12081 if test "${wx_cv_prog_makevpath+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 cat - << EOF > confMake
12091 if test ! -d sub
; then
12094 echo dummy
> sub
/file
12095 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12097 rm -f sub
/file check final_file confMake
12099 if test "$RESULT" = 0; then
12100 wx_cv_prog_makevpath
="yes"
12102 wx_cv_prog_makevpath
="no"
12106 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12107 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12109 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12110 { { echo "$as_me:$LINENO: error:
12111 You need a make-utility that is able to use the variable
12113 If your version of make does not support VPATH correctly,
12114 please install GNU-make (possibly as gmake), and start
12115 configure with the following command:
12116 export MAKE=gmake; ./configure for sh-type shells
12117 setenv MAKE gmake; ./configure for csh-type shells
12118 Also please do remember to use gmake in this case every time
12119 you are trying to compile.
12121 echo "$as_me: error:
12122 You need a make-utility that is able to use the variable
12124 If your version of make does not support VPATH correctly,
12125 please install GNU-make (possibly as gmake), and start
12126 configure with the following command:
12127 export MAKE=gmake; ./configure for sh-type shells
12128 setenv MAKE gmake; ./configure for csh-type shells
12129 Also please do remember to use gmake in this case every time
12130 you are trying to compile.
12132 { (exit 1); exit 1; }; }
12134 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12135 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12137 if test "$LN_S" = "ln -s"; then
12138 echo "$as_me:$LINENO: result: yes" >&5
12139 echo "${ECHO_T}yes" >&6
12141 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12142 echo "${ECHO_T}no, using $LN_S" >&6
12148 *-pc-os2_emx | *-pc-os2-emx )
12149 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12150 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12151 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12152 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 ac_check_lib_save_LIBS
=$LIBS
12156 LIBS
="-lcExt $LIBS"
12157 cat >conftest.
$ac_ext <<_ACEOF
12160 cat confdefs.h
>>conftest.
$ac_ext
12161 cat >>conftest.
$ac_ext <<_ACEOF
12162 /* end confdefs.h. */
12164 /* Override any gcc2 internal prototype to avoid an error. */
12168 /* We use char because int might match the return type of a gcc2
12169 builtin and then its argument prototype would still apply. */
12179 rm -f conftest.
$ac_objext conftest
$ac_exeext
12180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12181 (eval $ac_link) 2>conftest.er1
12183 grep -v '^ *+' conftest.er1
>conftest.err
12185 cat conftest.err
>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } &&
12188 { ac_try
='test -z "$ac_c_werror_flag"
12189 || test ! -s conftest.err'
12190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191 (eval $ac_try) 2>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; } &&
12195 { ac_try
='test -s conftest$ac_exeext'
12196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); }; }; then
12201 ac_cv_lib_cExt_drand48
=yes
12203 echo "$as_me: failed program was:" >&5
12204 sed 's/^/| /' conftest.
$ac_ext >&5
12206 ac_cv_lib_cExt_drand48
=no
12208 rm -f conftest.err conftest.
$ac_objext \
12209 conftest
$ac_exeext conftest.
$ac_ext
12210 LIBS
=$ac_check_lib_save_LIBS
12212 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12213 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12214 if test $ac_cv_lib_cExt_drand48 = yes; then
12215 LIBS
="$LIBS -lcExt"
12219 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12221 echo "$as_me:$LINENO: checking for gcc version" >&5
12222 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12223 if test "${wx_cv_gccversion+set}" = set; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 cat >conftest.
$ac_ext <<_ACEOF
12230 cat confdefs.h
>>conftest.
$ac_ext
12231 cat >>conftest.
$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12246 rm -f conftest.
$ac_objext
12247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12248 (eval $ac_compile) 2>conftest.er1
12250 grep -v '^ *+' conftest.er1
>conftest.err
12252 cat conftest.err
>&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } &&
12255 { ac_try
='test -z "$ac_c_werror_flag"
12256 || test ! -s conftest.err'
12257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12258 (eval $ac_try) 2>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); }; } &&
12262 { ac_try
='test -s conftest.$ac_objext'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; }; then
12269 cat >conftest.
$ac_ext <<_ACEOF
12272 cat confdefs.h
>>conftest.
$ac_ext
12273 cat >>conftest.
$ac_ext <<_ACEOF
12274 /* end confdefs.h. */
12280 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12281 #error intermediate gcc
12288 rm -f conftest.
$ac_objext
12289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12290 (eval $ac_compile) 2>conftest.er1
12292 grep -v '^ *+' conftest.er1
>conftest.err
12294 cat conftest.err
>&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); } &&
12297 { ac_try
='test -z "$ac_c_werror_flag"
12298 || test ! -s conftest.err'
12299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 (eval $ac_try) 2>&5
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); }; } &&
12304 { ac_try
='test -s conftest.$ac_objext'
12305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306 (eval $ac_try) 2>&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); }; }; then
12311 wx_cv_gccversion
=Innotek
12314 echo "$as_me: failed program was:" >&5
12315 sed 's/^/| /' conftest.
$ac_ext >&5
12322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12325 echo "$as_me: failed program was:" >&5
12326 sed 's/^/| /' conftest.
$ac_ext >&5
12333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12336 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12337 echo "${ECHO_T}$wx_cv_gccversion" >&6
12338 if test "$wx_cv_gccversion" = "2"; then
12339 LIBS
="$LIBS -lstdcpp"
12340 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12342 if test "$wx_cv_gccversion" = "3"; then
12343 LIBS
="$LIBS -lstdcxx"
12344 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12346 LIBS
="$LIBS -lstdc++"
12349 if test "$wxUSE_OMF" = "yes"; then
12350 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12358 ac_cpp
='$CXXCPP $CPPFLAGS'
12359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12365 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12366 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12367 if test "${ac_cv_string_strcasecmp+set}" = set; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 cat >conftest.
$ac_ext <<_ACEOF
12374 cat confdefs.h
>>conftest.
$ac_ext
12375 cat >>conftest.
$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12378 #include <string.h>
12384 strcasecmp("foo", "bar");
12390 rm -f conftest.
$ac_objext conftest
$ac_exeext
12391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12392 (eval $ac_link) 2>conftest.er1
12394 grep -v '^ *+' conftest.er1
>conftest.err
12396 cat conftest.err
>&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); } &&
12399 { ac_try
='test -z "$ac_cxx_werror_flag"
12400 || test ! -s conftest.err'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; } &&
12406 { ac_try
='test -s conftest$ac_exeext'
12407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408 (eval $ac_try) 2>&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); }; }; then
12412 ac_cv_string_strcasecmp
=yes
12414 echo "$as_me: failed program was:" >&5
12415 sed 's/^/| /' conftest.
$ac_ext >&5
12417 ac_cv_string_strcasecmp
=no
12420 rm -f conftest.err conftest.
$ac_objext \
12421 conftest
$ac_exeext conftest.
$ac_ext
12424 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12425 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12427 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12428 cat >>confdefs.h
<<\_ACEOF
12429 #define HAVE_STRCASECMP_IN_STRING_H 1
12433 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12434 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12435 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12436 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 cat >conftest.
$ac_ext <<_ACEOF
12442 cat confdefs.h
>>conftest.
$ac_ext
12443 cat >>conftest.
$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12446 #include <strings.h>
12452 strcasecmp("foo", "bar");
12458 rm -f conftest.
$ac_objext conftest
$ac_exeext
12459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12460 (eval $ac_link) 2>conftest.er1
12462 grep -v '^ *+' conftest.er1
>conftest.err
12464 cat conftest.err
>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } &&
12467 { ac_try
='test -z "$ac_cxx_werror_flag"
12468 || test ! -s conftest.err'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; } &&
12474 { ac_try
='test -s conftest$ac_exeext'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; }; then
12480 ac_cv_strings_strcasecmp
=yes
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.
$ac_ext >&5
12485 ac_cv_strings_strcasecmp
=no
12488 rm -f conftest.err conftest.
$ac_objext \
12489 conftest
$ac_exeext conftest.
$ac_ext
12492 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12493 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12495 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12496 cat >>confdefs.h
<<\_ACEOF
12497 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12501 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12502 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12503 { (exit 1); exit 1; }; }
12508 ac_cpp
='$CPP $CPPFLAGS'
12509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12517 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12518 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12519 if test "${ac_cv_header_stdc+set}" = set; then
12520 echo $ECHO_N "(cached) $ECHO_C" >&6
12522 cat >conftest.
$ac_ext <<_ACEOF
12525 cat confdefs.h
>>conftest.
$ac_ext
12526 cat >>conftest.
$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12528 #include <stdlib.h>
12529 #include <stdarg.h>
12530 #include <string.h>
12541 rm -f conftest.
$ac_objext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12543 (eval $ac_compile) 2>conftest.er1
12545 grep -v '^ *+' conftest.er1
>conftest.err
12547 cat conftest.err
>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); } &&
12550 { ac_try
='test -z "$ac_c_werror_flag"
12551 || test ! -s conftest.err'
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); }; } &&
12557 { ac_try
='test -s conftest.$ac_objext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 ac_cv_header_stdc
=yes
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.
$ac_ext >&5
12568 ac_cv_header_stdc
=no
12570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12572 if test $ac_cv_header_stdc = yes; then
12573 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12574 cat >conftest.
$ac_ext <<_ACEOF
12577 cat confdefs.h
>>conftest.
$ac_ext
12578 cat >>conftest.
$ac_ext <<_ACEOF
12579 /* end confdefs.h. */
12580 #include <string.h>
12583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12584 $EGREP "memchr" >/dev
/null
2>&1; then
12587 ac_cv_header_stdc
=no
12593 if test $ac_cv_header_stdc = yes; then
12594 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12595 cat >conftest.
$ac_ext <<_ACEOF
12598 cat confdefs.h
>>conftest.
$ac_ext
12599 cat >>conftest.
$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 #include <stdlib.h>
12604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12605 $EGREP "free" >/dev
/null
2>&1; then
12608 ac_cv_header_stdc
=no
12614 if test $ac_cv_header_stdc = yes; then
12615 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12616 if test "$cross_compiling" = yes; then
12619 cat >conftest.
$ac_ext <<_ACEOF
12622 cat confdefs.h
>>conftest.
$ac_ext
12623 cat >>conftest.
$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12626 #if ((' ' & 0x0FF) == 0x020)
12627 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12628 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12630 # define ISLOWER(c) \
12631 (('a' <= (c) && (c) <= 'i') \
12632 || ('j' <= (c) && (c) <= 'r') \
12633 || ('s' <= (c) && (c) <= 'z'))
12634 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12637 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12642 for (i = 0; i < 256; i++)
12643 if (XOR (islower (i), ISLOWER (i))
12644 || toupper (i) != TOUPPER (i))
12649 rm -f conftest
$ac_exeext
12650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12651 (eval $ac_link) 2>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12656 (eval $ac_try) 2>&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }; }; then
12662 echo "$as_me: program exited with status $ac_status" >&5
12663 echo "$as_me: failed program was:" >&5
12664 sed 's/^/| /' conftest.
$ac_ext >&5
12666 ( exit $ac_status )
12667 ac_cv_header_stdc
=no
12669 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12673 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12674 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12675 if test $ac_cv_header_stdc = yes; then
12677 cat >>confdefs.h
<<\_ACEOF
12678 #define STDC_HEADERS 1
12683 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12693 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12694 inttypes.h stdint.h unistd.h
12696 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12697 echo "$as_me:$LINENO: checking for $ac_header" >&5
12698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6
12702 cat >conftest.
$ac_ext <<_ACEOF
12705 cat confdefs.h
>>conftest.
$ac_ext
12706 cat >>conftest.
$ac_ext <<_ACEOF
12707 /* end confdefs.h. */
12708 $ac_includes_default
12710 #include <$ac_header>
12712 rm -f conftest.
$ac_objext
12713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12714 (eval $ac_compile) 2>conftest.er1
12716 grep -v '^ *+' conftest.er1
>conftest.err
12718 cat conftest.err
>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } &&
12721 { ac_try
='test -z "$ac_c_werror_flag"
12722 || test ! -s conftest.err'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; } &&
12728 { ac_try
='test -s conftest.$ac_objext'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; }; then
12734 eval "$as_ac_Header=yes"
12736 echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.
$ac_ext >&5
12739 eval "$as_ac_Header=no"
12741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12746 cat >>confdefs.h
<<_ACEOF
12747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12756 for ac_header
in stdlib.h
12758 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12760 echo "$as_me:$LINENO: checking for $ac_header" >&5
12761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12768 # Is the header compilable?
12769 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12771 cat >conftest.
$ac_ext <<_ACEOF
12774 cat confdefs.h
>>conftest.
$ac_ext
12775 cat >>conftest.
$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12777 $ac_includes_default
12778 #include <$ac_header>
12780 rm -f conftest.
$ac_objext
12781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12782 (eval $ac_compile) 2>conftest.er1
12784 grep -v '^ *+' conftest.er1
>conftest.err
12786 cat conftest.err
>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } &&
12789 { ac_try
='test -z "$ac_c_werror_flag"
12790 || test ! -s conftest.err'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; } &&
12796 { ac_try
='test -s conftest.$ac_objext'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; }; then
12802 ac_header_compiler
=yes
12804 echo "$as_me: failed program was:" >&5
12805 sed 's/^/| /' conftest.
$ac_ext >&5
12807 ac_header_compiler
=no
12809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12811 echo "${ECHO_T}$ac_header_compiler" >&6
12813 # Is the header present?
12814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12816 cat >conftest.
$ac_ext <<_ACEOF
12819 cat confdefs.h
>>conftest.
$ac_ext
12820 cat >>conftest.
$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12822 #include <$ac_header>
12824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12825 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12827 grep -v '^ *+' conftest.er1
>conftest.err
12829 cat conftest.err
>&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } >/dev
/null
; then
12832 if test -s conftest.err
; then
12833 ac_cpp_err
=$ac_c_preproc_warn_flag
12834 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12841 if test -z "$ac_cpp_err"; then
12842 ac_header_preproc
=yes
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.
$ac_ext >&5
12847 ac_header_preproc
=no
12849 rm -f conftest.err conftest.
$ac_ext
12850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12851 echo "${ECHO_T}$ac_header_preproc" >&6
12853 # So? What about this header?
12854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12860 ac_header_preproc
=yes
12863 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12865 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12866 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12867 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12869 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12870 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12873 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12877 ## ----------------------------------------- ##
12878 ## Report this to wx-dev@lists.wxwidgets.org ##
12879 ## ----------------------------------------- ##
12882 sed "s/^/$as_me: WARNING: /" >&2
12885 echo "$as_me:$LINENO: checking for $ac_header" >&5
12886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12888 echo $ECHO_N "(cached) $ECHO_C" >&6
12890 eval "$as_ac_Header=\$ac_header_preproc"
12892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12897 cat >>confdefs.h
<<_ACEOF
12898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12906 for ac_header
in malloc.h
12908 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12910 echo "$as_me:$LINENO: checking for $ac_header" >&5
12911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12913 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12918 # Is the header compilable?
12919 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12921 cat >conftest.
$ac_ext <<_ACEOF
12924 cat confdefs.h
>>conftest.
$ac_ext
12925 cat >>conftest.
$ac_ext <<_ACEOF
12926 /* end confdefs.h. */
12927 $ac_includes_default
12928 #include <$ac_header>
12930 rm -f conftest.
$ac_objext
12931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12932 (eval $ac_compile) 2>conftest.er1
12934 grep -v '^ *+' conftest.er1
>conftest.err
12936 cat conftest.err
>&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } &&
12939 { ac_try
='test -z "$ac_c_werror_flag"
12940 || test ! -s conftest.err'
12941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12942 (eval $ac_try) 2>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); }; } &&
12946 { ac_try
='test -s conftest.$ac_objext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_header_compiler
=yes
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.
$ac_ext >&5
12957 ac_header_compiler
=no
12959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12960 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12961 echo "${ECHO_T}$ac_header_compiler" >&6
12963 # Is the header present?
12964 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12965 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12966 cat >conftest.
$ac_ext <<_ACEOF
12969 cat confdefs.h
>>conftest.
$ac_ext
12970 cat >>conftest.
$ac_ext <<_ACEOF
12971 /* end confdefs.h. */
12972 #include <$ac_header>
12974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12975 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12977 grep -v '^ *+' conftest.er1
>conftest.err
12979 cat conftest.err
>&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); } >/dev
/null
; then
12982 if test -s conftest.err
; then
12983 ac_cpp_err
=$ac_c_preproc_warn_flag
12984 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12991 if test -z "$ac_cpp_err"; then
12992 ac_header_preproc
=yes
12994 echo "$as_me: failed program was:" >&5
12995 sed 's/^/| /' conftest.
$ac_ext >&5
12997 ac_header_preproc
=no
12999 rm -f conftest.err conftest.
$ac_ext
13000 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13001 echo "${ECHO_T}$ac_header_preproc" >&6
13003 # So? What about this header?
13004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13007 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13009 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13010 ac_header_preproc
=yes
13013 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13014 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13015 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13016 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13017 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13018 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13019 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13020 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13022 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13023 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13024 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13027 ## ----------------------------------------- ##
13028 ## Report this to wx-dev@lists.wxwidgets.org ##
13029 ## ----------------------------------------- ##
13032 sed "s/^/$as_me: WARNING: /" >&2
13035 echo "$as_me:$LINENO: checking for $ac_header" >&5
13036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 eval "$as_ac_Header=\$ac_header_preproc"
13042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13046 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13047 cat >>confdefs.h
<<_ACEOF
13048 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13056 for ac_header
in unistd.h
13058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13060 echo "$as_me:$LINENO: checking for $ac_header" >&5
13061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13068 # Is the header compilable?
13069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13071 cat >conftest.
$ac_ext <<_ACEOF
13074 cat confdefs.h
>>conftest.
$ac_ext
13075 cat >>conftest.
$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13077 $ac_includes_default
13078 #include <$ac_header>
13080 rm -f conftest.
$ac_objext
13081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13082 (eval $ac_compile) 2>conftest.er1
13084 grep -v '^ *+' conftest.er1
>conftest.err
13086 cat conftest.err
>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } &&
13089 { ac_try
='test -z "$ac_c_werror_flag"
13090 || test ! -s conftest.err'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; } &&
13096 { ac_try
='test -s conftest.$ac_objext'
13097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13098 (eval $ac_try) 2>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); }; }; then
13102 ac_header_compiler
=yes
13104 echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.
$ac_ext >&5
13107 ac_header_compiler
=no
13109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13111 echo "${ECHO_T}$ac_header_compiler" >&6
13113 # Is the header present?
13114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13116 cat >conftest.
$ac_ext <<_ACEOF
13119 cat confdefs.h
>>conftest.
$ac_ext
13120 cat >>conftest.
$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13122 #include <$ac_header>
13124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13125 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13127 grep -v '^ *+' conftest.er1
>conftest.err
13129 cat conftest.err
>&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); } >/dev
/null
; then
13132 if test -s conftest.err
; then
13133 ac_cpp_err
=$ac_c_preproc_warn_flag
13134 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13141 if test -z "$ac_cpp_err"; then
13142 ac_header_preproc
=yes
13144 echo "$as_me: failed program was:" >&5
13145 sed 's/^/| /' conftest.
$ac_ext >&5
13147 ac_header_preproc
=no
13149 rm -f conftest.err conftest.
$ac_ext
13150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13151 echo "${ECHO_T}$ac_header_preproc" >&6
13153 # So? What about this header?
13154 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13156 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13157 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13159 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13160 ac_header_preproc
=yes
13163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13167 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13168 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13169 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13170 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13173 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13174 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13177 ## ----------------------------------------- ##
13178 ## Report this to wx-dev@lists.wxwidgets.org ##
13179 ## ----------------------------------------- ##
13182 sed "s/^/$as_me: WARNING: /" >&2
13185 echo "$as_me:$LINENO: checking for $ac_header" >&5
13186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13188 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 eval "$as_ac_Header=\$ac_header_preproc"
13192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13197 cat >>confdefs.h
<<_ACEOF
13198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13206 for ac_header
in wchar.h
13208 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13210 echo "$as_me:$LINENO: checking for $ac_header" >&5
13211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13213 echo $ECHO_N "(cached) $ECHO_C" >&6
13215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13218 # Is the header compilable?
13219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13221 cat >conftest.
$ac_ext <<_ACEOF
13224 cat confdefs.h
>>conftest.
$ac_ext
13225 cat >>conftest.
$ac_ext <<_ACEOF
13226 /* end confdefs.h. */
13227 $ac_includes_default
13228 #include <$ac_header>
13230 rm -f conftest.
$ac_objext
13231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13232 (eval $ac_compile) 2>conftest.er1
13234 grep -v '^ *+' conftest.er1
>conftest.err
13236 cat conftest.err
>&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } &&
13239 { ac_try
='test -z "$ac_c_werror_flag"
13240 || test ! -s conftest.err'
13241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242 (eval $ac_try) 2>&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); }; } &&
13246 { ac_try
='test -s conftest.$ac_objext'
13247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13248 (eval $ac_try) 2>&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; }; then
13252 ac_header_compiler
=yes
13254 echo "$as_me: failed program was:" >&5
13255 sed 's/^/| /' conftest.
$ac_ext >&5
13257 ac_header_compiler
=no
13259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13261 echo "${ECHO_T}$ac_header_compiler" >&6
13263 # Is the header present?
13264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13266 cat >conftest.
$ac_ext <<_ACEOF
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 #include <$ac_header>
13274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13277 grep -v '^ *+' conftest.er1
>conftest.err
13279 cat conftest.err
>&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } >/dev
/null
; then
13282 if test -s conftest.err
; then
13283 ac_cpp_err
=$ac_c_preproc_warn_flag
13284 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13291 if test -z "$ac_cpp_err"; then
13292 ac_header_preproc
=yes
13294 echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.
$ac_ext >&5
13297 ac_header_preproc
=no
13299 rm -f conftest.err conftest.
$ac_ext
13300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13301 echo "${ECHO_T}$ac_header_preproc" >&6
13303 # So? What about this header?
13304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13310 ac_header_preproc
=yes
13313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13327 ## ----------------------------------------- ##
13328 ## Report this to wx-dev@lists.wxwidgets.org ##
13329 ## ----------------------------------------- ##
13332 sed "s/^/$as_me: WARNING: /" >&2
13335 echo "$as_me:$LINENO: checking for $ac_header" >&5
13336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13338 echo $ECHO_N "(cached) $ECHO_C" >&6
13340 eval "$as_ac_Header=\$ac_header_preproc"
13342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13347 cat >>confdefs.h
<<_ACEOF
13348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13356 if test "$ac_cv_header_wchar_h" != "yes"; then
13358 for ac_header
in wcstr.h
13360 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13362 echo "$as_me:$LINENO: checking for $ac_header" >&5
13363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13370 # Is the header compilable?
13371 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13373 cat >conftest.
$ac_ext <<_ACEOF
13376 cat confdefs.h
>>conftest.
$ac_ext
13377 cat >>conftest.
$ac_ext <<_ACEOF
13378 /* end confdefs.h. */
13379 $ac_includes_default
13380 #include <$ac_header>
13382 rm -f conftest.
$ac_objext
13383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13384 (eval $ac_compile) 2>conftest.er1
13386 grep -v '^ *+' conftest.er1
>conftest.err
13388 cat conftest.err
>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); } &&
13391 { ac_try
='test -z "$ac_c_werror_flag"
13392 || test ! -s conftest.err'
13393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13394 (eval $ac_try) 2>&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); }; } &&
13398 { ac_try
='test -s conftest.$ac_objext'
13399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400 (eval $ac_try) 2>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; }; then
13404 ac_header_compiler
=yes
13406 echo "$as_me: failed program was:" >&5
13407 sed 's/^/| /' conftest.
$ac_ext >&5
13409 ac_header_compiler
=no
13411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13413 echo "${ECHO_T}$ac_header_compiler" >&6
13415 # Is the header present?
13416 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13417 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13418 cat >conftest.
$ac_ext <<_ACEOF
13421 cat confdefs.h
>>conftest.
$ac_ext
13422 cat >>conftest.
$ac_ext <<_ACEOF
13423 /* end confdefs.h. */
13424 #include <$ac_header>
13426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13427 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
13434 if test -s conftest.err
; then
13435 ac_cpp_err
=$ac_c_preproc_warn_flag
13436 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13443 if test -z "$ac_cpp_err"; then
13444 ac_header_preproc
=yes
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.
$ac_ext >&5
13449 ac_header_preproc
=no
13451 rm -f conftest.err conftest.
$ac_ext
13452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13453 echo "${ECHO_T}$ac_header_preproc" >&6
13455 # So? What about this header?
13456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13458 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13459 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13461 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13462 ac_header_preproc
=yes
13465 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13466 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13467 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13468 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13469 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13470 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13471 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13472 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13473 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13474 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13475 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13476 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13479 ## ----------------------------------------- ##
13480 ## Report this to wx-dev@lists.wxwidgets.org ##
13481 ## ----------------------------------------- ##
13484 sed "s/^/$as_me: WARNING: /" >&2
13487 echo "$as_me:$LINENO: checking for $ac_header" >&5
13488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13492 eval "$as_ac_Header=\$ac_header_preproc"
13494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13499 cat >>confdefs.h
<<_ACEOF
13500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13510 for ac_header
in fnmatch.h
13512 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13514 echo "$as_me:$LINENO: checking for $ac_header" >&5
13515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13517 echo $ECHO_N "(cached) $ECHO_C" >&6
13519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13522 # Is the header compilable?
13523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13525 cat >conftest.
$ac_ext <<_ACEOF
13528 cat confdefs.h
>>conftest.
$ac_ext
13529 cat >>conftest.
$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13531 $ac_includes_default
13532 #include <$ac_header>
13534 rm -f conftest.
$ac_objext
13535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13536 (eval $ac_compile) 2>conftest.er1
13538 grep -v '^ *+' conftest.er1
>conftest.err
13540 cat conftest.err
>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); } &&
13543 { ac_try
='test -z "$ac_c_werror_flag"
13544 || test ! -s conftest.err'
13545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13546 (eval $ac_try) 2>&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); }; } &&
13550 { ac_try
='test -s conftest.$ac_objext'
13551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13552 (eval $ac_try) 2>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); }; }; then
13556 ac_header_compiler
=yes
13558 echo "$as_me: failed program was:" >&5
13559 sed 's/^/| /' conftest.
$ac_ext >&5
13561 ac_header_compiler
=no
13563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13565 echo "${ECHO_T}$ac_header_compiler" >&6
13567 # Is the header present?
13568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13570 cat >conftest.
$ac_ext <<_ACEOF
13573 cat confdefs.h
>>conftest.
$ac_ext
13574 cat >>conftest.
$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13576 #include <$ac_header>
13578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13579 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13581 grep -v '^ *+' conftest.er1
>conftest.err
13583 cat conftest.err
>&5
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); } >/dev
/null
; then
13586 if test -s conftest.err
; then
13587 ac_cpp_err
=$ac_c_preproc_warn_flag
13588 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13595 if test -z "$ac_cpp_err"; then
13596 ac_header_preproc
=yes
13598 echo "$as_me: failed program was:" >&5
13599 sed 's/^/| /' conftest.
$ac_ext >&5
13601 ac_header_preproc
=no
13603 rm -f conftest.err conftest.
$ac_ext
13604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13605 echo "${ECHO_T}$ac_header_preproc" >&6
13607 # So? What about this header?
13608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13614 ac_header_preproc
=yes
13617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13631 ## ----------------------------------------- ##
13632 ## Report this to wx-dev@lists.wxwidgets.org ##
13633 ## ----------------------------------------- ##
13636 sed "s/^/$as_me: WARNING: /" >&2
13639 echo "$as_me:$LINENO: checking for $ac_header" >&5
13640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 eval "$as_ac_Header=\$ac_header_preproc"
13646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13651 cat >>confdefs.h
<<_ACEOF
13652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13660 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13662 for ac_func
in fnmatch
13664 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13665 echo "$as_me:$LINENO: checking for $ac_func" >&5
13666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13667 if eval "test \"\${$as_ac_var+set}\" = set"; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13670 cat >conftest.
$ac_ext <<_ACEOF
13673 cat confdefs.h
>>conftest.
$ac_ext
13674 cat >>conftest.
$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13678 #define $ac_func innocuous_$ac_func
13680 /* System header to define __stub macros and hopefully few prototypes,
13681 which can conflict with char $ac_func (); below.
13682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13683 <limits.h> exists even on freestanding compilers. */
13686 # include <limits.h>
13688 # include <assert.h>
13693 /* Override any gcc2 internal prototype to avoid an error. */
13698 /* We use char because int might match the return type of a gcc2
13699 builtin and then its argument prototype would still apply. */
13701 /* The GNU C library defines this for functions which it implements
13702 to always fail with ENOSYS. Some functions are actually named
13703 something starting with __ and the normal name is an alias. */
13704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13707 char (*f) () = $ac_func;
13716 return f != $ac_func;
13721 rm -f conftest.
$ac_objext conftest
$ac_exeext
13722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13723 (eval $ac_link) 2>conftest.er1
13725 grep -v '^ *+' conftest.er1
>conftest.err
13727 cat conftest.err
>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); } &&
13730 { ac_try
='test -z "$ac_c_werror_flag"
13731 || test ! -s conftest.err'
13732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13733 (eval $ac_try) 2>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); }; } &&
13737 { ac_try
='test -s conftest$ac_exeext'
13738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13739 (eval $ac_try) 2>&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); }; }; then
13743 eval "$as_ac_var=yes"
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.
$ac_ext >&5
13748 eval "$as_ac_var=no"
13750 rm -f conftest.err conftest.
$ac_objext \
13751 conftest
$ac_exeext conftest.
$ac_ext
13753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13755 if test `eval echo '${'$as_ac_var'}'` = yes; then
13756 cat >>confdefs.h
<<_ACEOF
13757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13766 for ac_header
in langinfo.h
13768 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13770 echo "$as_me:$LINENO: checking for $ac_header" >&5
13771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13773 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13778 # Is the header compilable?
13779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13781 cat >conftest.
$ac_ext <<_ACEOF
13784 cat confdefs.h
>>conftest.
$ac_ext
13785 cat >>conftest.
$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13787 $ac_includes_default
13788 #include <$ac_header>
13790 rm -f conftest.
$ac_objext
13791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13792 (eval $ac_compile) 2>conftest.er1
13794 grep -v '^ *+' conftest.er1
>conftest.err
13796 cat conftest.err
>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); } &&
13799 { ac_try
='test -z "$ac_c_werror_flag"
13800 || test ! -s conftest.err'
13801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13802 (eval $ac_try) 2>&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); }; } &&
13806 { ac_try
='test -s conftest.$ac_objext'
13807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13808 (eval $ac_try) 2>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); }; }; then
13812 ac_header_compiler
=yes
13814 echo "$as_me: failed program was:" >&5
13815 sed 's/^/| /' conftest.
$ac_ext >&5
13817 ac_header_compiler
=no
13819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13821 echo "${ECHO_T}$ac_header_compiler" >&6
13823 # Is the header present?
13824 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13826 cat >conftest.
$ac_ext <<_ACEOF
13829 cat confdefs.h
>>conftest.
$ac_ext
13830 cat >>conftest.
$ac_ext <<_ACEOF
13831 /* end confdefs.h. */
13832 #include <$ac_header>
13834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13835 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13837 grep -v '^ *+' conftest.er1
>conftest.err
13839 cat conftest.err
>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } >/dev
/null
; then
13842 if test -s conftest.err
; then
13843 ac_cpp_err
=$ac_c_preproc_warn_flag
13844 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13851 if test -z "$ac_cpp_err"; then
13852 ac_header_preproc
=yes
13854 echo "$as_me: failed program was:" >&5
13855 sed 's/^/| /' conftest.
$ac_ext >&5
13857 ac_header_preproc
=no
13859 rm -f conftest.err conftest.
$ac_ext
13860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13861 echo "${ECHO_T}$ac_header_preproc" >&6
13863 # So? What about this header?
13864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13866 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13867 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13869 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13870 ac_header_preproc
=yes
13873 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13874 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13875 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13876 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13878 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13879 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13880 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13883 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13884 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13887 ## ----------------------------------------- ##
13888 ## Report this to wx-dev@lists.wxwidgets.org ##
13889 ## ----------------------------------------- ##
13892 sed "s/^/$as_me: WARNING: /" >&2
13895 echo "$as_me:$LINENO: checking for $ac_header" >&5
13896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13900 eval "$as_ac_Header=\$ac_header_preproc"
13902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13907 cat >>confdefs.h
<<_ACEOF
13908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13917 *-pc-os2_emx | *-pc-os2-emx )
13918 if test $ac_cv_header_langinfo_h = "yes"; then
13919 LIBS
="$LIBS -lintl"
13924 if test "$wxUSE_GUI" = "yes"; then
13925 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13927 for ac_header
in X
11/Xlib.h
13929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13931 echo "$as_me:$LINENO: checking for $ac_header" >&5
13932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13939 # Is the header compilable?
13940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13942 cat >conftest.
$ac_ext <<_ACEOF
13945 cat confdefs.h
>>conftest.
$ac_ext
13946 cat >>conftest.
$ac_ext <<_ACEOF
13947 /* end confdefs.h. */
13948 $ac_includes_default
13949 #include <$ac_header>
13951 rm -f conftest.
$ac_objext
13952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13953 (eval $ac_compile) 2>conftest.er1
13955 grep -v '^ *+' conftest.er1
>conftest.err
13957 cat conftest.err
>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } &&
13960 { ac_try
='test -z "$ac_c_werror_flag"
13961 || test ! -s conftest.err'
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; } &&
13967 { ac_try
='test -s conftest.$ac_objext'
13968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13969 (eval $ac_try) 2>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }; }; then
13973 ac_header_compiler
=yes
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.
$ac_ext >&5
13978 ac_header_compiler
=no
13980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13982 echo "${ECHO_T}$ac_header_compiler" >&6
13984 # Is the header present?
13985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13987 cat >conftest.
$ac_ext <<_ACEOF
13990 cat confdefs.h
>>conftest.
$ac_ext
13991 cat >>conftest.
$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13993 #include <$ac_header>
13995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13998 grep -v '^ *+' conftest.er1
>conftest.err
14000 cat conftest.err
>&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); } >/dev
/null
; then
14003 if test -s conftest.err
; then
14004 ac_cpp_err
=$ac_c_preproc_warn_flag
14005 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14012 if test -z "$ac_cpp_err"; then
14013 ac_header_preproc
=yes
14015 echo "$as_me: failed program was:" >&5
14016 sed 's/^/| /' conftest.
$ac_ext >&5
14018 ac_header_preproc
=no
14020 rm -f conftest.err conftest.
$ac_ext
14021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14022 echo "${ECHO_T}$ac_header_preproc" >&6
14024 # So? What about this header?
14025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14031 ac_header_preproc
=yes
14034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14048 ## ----------------------------------------- ##
14049 ## Report this to wx-dev@lists.wxwidgets.org ##
14050 ## ----------------------------------------- ##
14053 sed "s/^/$as_me: WARNING: /" >&2
14056 echo "$as_me:$LINENO: checking for $ac_header" >&5
14057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 eval "$as_ac_Header=\$ac_header_preproc"
14063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14068 cat >>confdefs.h
<<_ACEOF
14069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14077 for ac_header
in X
11/XKBlib.h
14079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
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 cat >conftest.
$ac_ext <<_ACEOF
14088 cat confdefs.h
>>conftest.
$ac_ext
14089 cat >>conftest.
$ac_ext <<_ACEOF
14090 /* end confdefs.h. */
14092 #if HAVE_X11_XLIB_H
14093 #include <X11/Xlib.h>
14097 #include <$ac_header>
14099 rm -f conftest.
$ac_objext
14100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14101 (eval $ac_compile) 2>conftest.er1
14103 grep -v '^ *+' conftest.er1
>conftest.err
14105 cat conftest.err
>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); } &&
14108 { ac_try
='test -z "$ac_c_werror_flag"
14109 || test ! -s conftest.err'
14110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14111 (eval $ac_try) 2>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }; } &&
14115 { ac_try
='test -s conftest.$ac_objext'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; }; then
14121 eval "$as_ac_Header=yes"
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.
$ac_ext >&5
14126 eval "$as_ac_Header=no"
14128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14133 cat >>confdefs.h
<<_ACEOF
14134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14145 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14146 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14147 if test "${ac_cv_c_const+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 cat >conftest.
$ac_ext <<_ACEOF
14153 cat confdefs.h
>>conftest.
$ac_ext
14154 cat >>conftest.
$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14160 /* FIXME: Include the comments suggested by Paul. */
14161 #ifndef __cplusplus
14162 /* Ultrix mips cc rejects this. */
14163 typedef int charset[2];
14165 /* SunOS 4.1.1 cc rejects this. */
14166 char const *const *ccp;
14168 /* NEC SVR4.0.2 mips cc rejects this. */
14169 struct point {int x, y;};
14170 static struct point const zero = {0,0};
14171 /* AIX XL C 1.02.0.0 rejects this.
14172 It does not let you subtract one const X* pointer from another in
14173 an arm of an if-expression whose if-part is not a constant
14175 const char *g = "string";
14176 ccp = &g + (g ? g-g : 0);
14177 /* HPUX 7.0 cc rejects these. */
14180 ccp = (char const *const *) p;
14181 { /* SCO 3.2v4 cc rejects this. */
14183 char const *s = 0 ? (char *) 0 : (char const *) 0;
14187 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14188 int x[] = {25, 17};
14189 const int *foo = &x[0];
14192 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14193 typedef const int *iptr;
14197 { /* AIX XL C 1.02.0.0 rejects this saying
14198 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14199 struct s { int j; const int *ap[3]; };
14200 struct s *b; b->j = 5;
14202 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14203 const int foo = 10;
14211 rm -f conftest.
$ac_objext
14212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14213 (eval $ac_compile) 2>conftest.er1
14215 grep -v '^ *+' conftest.er1
>conftest.err
14217 cat conftest.err
>&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } &&
14220 { ac_try
='test -z "$ac_c_werror_flag"
14221 || test ! -s conftest.err'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; } &&
14227 { ac_try
='test -s conftest.$ac_objext'
14228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 (eval $ac_try) 2>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); }; }; then
14235 echo "$as_me: failed program was:" >&5
14236 sed 's/^/| /' conftest.
$ac_ext >&5
14240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14242 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14243 echo "${ECHO_T}$ac_cv_c_const" >&6
14244 if test $ac_cv_c_const = no
; then
14246 cat >>confdefs.h
<<\_ACEOF
14252 echo "$as_me:$LINENO: checking for inline" >&5
14253 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14254 if test "${ac_cv_c_inline+set}" = set; then
14255 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 for ac_kw
in inline __inline__ __inline
; do
14259 cat >conftest.
$ac_ext <<_ACEOF
14262 cat confdefs.h
>>conftest.
$ac_ext
14263 cat >>conftest.
$ac_ext <<_ACEOF
14264 /* end confdefs.h. */
14265 #ifndef __cplusplus
14267 static $ac_kw foo_t static_foo () {return 0; }
14268 $ac_kw foo_t foo () {return 0; }
14272 rm -f conftest.
$ac_objext
14273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14274 (eval $ac_compile) 2>conftest.er1
14276 grep -v '^ *+' conftest.er1
>conftest.err
14278 cat conftest.err
>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); } &&
14281 { ac_try
='test -z "$ac_c_werror_flag"
14282 || test ! -s conftest.err'
14283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14284 (eval $ac_try) 2>&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); }; } &&
14288 { ac_try
='test -s conftest.$ac_objext'
14289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290 (eval $ac_try) 2>&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }; }; then
14294 ac_cv_c_inline
=$ac_kw; break
14296 echo "$as_me: failed program was:" >&5
14297 sed 's/^/| /' conftest.
$ac_ext >&5
14300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14304 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14305 echo "${ECHO_T}$ac_cv_c_inline" >&6
14308 case $ac_cv_c_inline in
14311 case $ac_cv_c_inline in
14313 *) ac_val
=$ac_cv_c_inline;;
14315 cat >>confdefs.h
<<_ACEOF
14316 #ifndef __cplusplus
14317 #define inline $ac_val
14324 echo "$as_me:$LINENO: checking for char" >&5
14325 echo $ECHO_N "checking for char... $ECHO_C" >&6
14326 if test "${ac_cv_type_char+set}" = set; then
14327 echo $ECHO_N "(cached) $ECHO_C" >&6
14329 cat >conftest.
$ac_ext <<_ACEOF
14332 cat confdefs.h
>>conftest.
$ac_ext
14333 cat >>conftest.
$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14335 $ac_includes_default
14347 rm -f conftest.
$ac_objext
14348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14349 (eval $ac_compile) 2>conftest.er1
14351 grep -v '^ *+' conftest.er1
>conftest.err
14353 cat conftest.err
>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } &&
14356 { ac_try
='test -z "$ac_c_werror_flag"
14357 || test ! -s conftest.err'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; } &&
14363 { ac_try
='test -s conftest.$ac_objext'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; }; then
14369 ac_cv_type_char
=yes
14371 echo "$as_me: failed program was:" >&5
14372 sed 's/^/| /' conftest.
$ac_ext >&5
14376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14378 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14379 echo "${ECHO_T}$ac_cv_type_char" >&6
14381 echo "$as_me:$LINENO: checking size of char" >&5
14382 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14383 if test "${ac_cv_sizeof_char+set}" = set; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 if test "$ac_cv_type_char" = yes; then
14387 # The cast to unsigned long works around a bug in the HP C Compiler
14388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14390 # This bug is HP SR number 8606223364.
14391 if test "$cross_compiling" = yes; then
14392 # Depending upon the size, compute the lo and hi bounds.
14393 cat >conftest.
$ac_ext <<_ACEOF
14396 cat confdefs.h
>>conftest.
$ac_ext
14397 cat >>conftest.
$ac_ext <<_ACEOF
14398 /* end confdefs.h. */
14399 $ac_includes_default
14403 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14410 rm -f conftest.
$ac_objext
14411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14412 (eval $ac_compile) 2>conftest.er1
14414 grep -v '^ *+' conftest.er1
>conftest.err
14416 cat conftest.err
>&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } &&
14419 { ac_try
='test -z "$ac_c_werror_flag"
14420 || test ! -s conftest.err'
14421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14422 (eval $ac_try) 2>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); }; } &&
14426 { ac_try
='test -s conftest.$ac_objext'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; }; then
14434 cat >conftest.
$ac_ext <<_ACEOF
14437 cat confdefs.h
>>conftest.
$ac_ext
14438 cat >>conftest.
$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14440 $ac_includes_default
14444 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14451 rm -f conftest.
$ac_objext
14452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14453 (eval $ac_compile) 2>conftest.er1
14455 grep -v '^ *+' conftest.er1
>conftest.err
14457 cat conftest.err
>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try
='test -z "$ac_c_werror_flag"
14461 || test ! -s conftest.err'
14462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14463 (eval $ac_try) 2>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; } &&
14467 { ac_try
='test -s conftest.$ac_objext'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; }; then
14473 ac_hi
=$ac_mid; break
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.
$ac_ext >&5
14478 ac_lo
=`expr $ac_mid + 1`
14479 if test $ac_lo -le $ac_mid; then
14483 ac_mid
=`expr 2 '*' $ac_mid + 1`
14485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.
$ac_ext >&5
14491 cat >conftest.
$ac_ext <<_ACEOF
14494 cat confdefs.h
>>conftest.
$ac_ext
14495 cat >>conftest.
$ac_ext <<_ACEOF
14496 /* end confdefs.h. */
14497 $ac_includes_default
14501 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14508 rm -f conftest.
$ac_objext
14509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14510 (eval $ac_compile) 2>conftest.er1
14512 grep -v '^ *+' conftest.er1
>conftest.err
14514 cat conftest.err
>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); } &&
14517 { ac_try
='test -z "$ac_c_werror_flag"
14518 || test ! -s conftest.err'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; } &&
14524 { ac_try
='test -s conftest.$ac_objext'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; }; then
14532 cat >conftest.
$ac_ext <<_ACEOF
14535 cat confdefs.h
>>conftest.
$ac_ext
14536 cat >>conftest.
$ac_ext <<_ACEOF
14537 /* end confdefs.h. */
14538 $ac_includes_default
14542 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14549 rm -f conftest.
$ac_objext
14550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14551 (eval $ac_compile) 2>conftest.er1
14553 grep -v '^ *+' conftest.er1
>conftest.err
14555 cat conftest.err
>&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } &&
14558 { ac_try
='test -z "$ac_c_werror_flag"
14559 || test ! -s conftest.err'
14560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 (eval $ac_try) 2>&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); }; } &&
14565 { ac_try
='test -s conftest.$ac_objext'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14571 ac_lo
=$ac_mid; break
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.
$ac_ext >&5
14576 ac_hi
=`expr '(' $ac_mid ')' - 1`
14577 if test $ac_mid -le $ac_hi; then
14581 ac_mid
=`expr 2 '*' $ac_mid`
14583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14586 echo "$as_me: failed program was:" >&5
14587 sed 's/^/| /' conftest.
$ac_ext >&5
14591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14594 # Binary search between lo and hi bounds.
14595 while test "x$ac_lo" != "x$ac_hi"; do
14596 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14597 cat >conftest.
$ac_ext <<_ACEOF
14600 cat confdefs.h
>>conftest.
$ac_ext
14601 cat >>conftest.
$ac_ext <<_ACEOF
14602 /* end confdefs.h. */
14603 $ac_includes_default
14607 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14614 rm -f conftest.
$ac_objext
14615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14616 (eval $ac_compile) 2>conftest.er1
14618 grep -v '^ *+' conftest.er1
>conftest.err
14620 cat conftest.err
>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } &&
14623 { ac_try
='test -z "$ac_c_werror_flag"
14624 || test ! -s conftest.err'
14625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14626 (eval $ac_try) 2>&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); }; } &&
14630 { ac_try
='test -s conftest.$ac_objext'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; }; then
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.
$ac_ext >&5
14641 ac_lo
=`expr '(' $ac_mid ')' + 1`
14643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14646 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14648 See \`config.log' for more details." >&5
14649 echo "$as_me: error: cannot compute sizeof (char), 77
14650 See \`config.log' for more details." >&2;}
14651 { (exit 1); exit 1; }; } ;;
14654 if test "$cross_compiling" = yes; then
14655 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14656 See \`config.log' for more details." >&5
14657 echo "$as_me: error: cannot run test program while cross compiling
14658 See \`config.log' for more details." >&2;}
14659 { (exit 1); exit 1; }; }
14661 cat >conftest.
$ac_ext <<_ACEOF
14664 cat confdefs.h
>>conftest.
$ac_ext
14665 cat >>conftest.
$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14667 $ac_includes_default
14668 long longval () { return (long) (sizeof (char)); }
14669 unsigned long ulongval () { return (long) (sizeof (char)); }
14671 #include <stdlib.h>
14676 FILE *f = fopen ("conftest.val", "w");
14679 if (((long) (sizeof (char))) < 0)
14681 long i = longval ();
14682 if (i != ((long) (sizeof (char))))
14684 fprintf (f, "%ld\n", i);
14688 unsigned long i = ulongval ();
14689 if (i != ((long) (sizeof (char))))
14691 fprintf (f, "%lu\n", i);
14693 exit (ferror (f) || fclose (f) != 0);
14699 rm -f conftest
$ac_exeext
14700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14701 (eval $ac_link) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14706 (eval $ac_try) 2>&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); }; }; then
14710 ac_cv_sizeof_char
=`cat conftest.val`
14712 echo "$as_me: program exited with status $ac_status" >&5
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.
$ac_ext >&5
14716 ( exit $ac_status )
14717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14718 See \`config.log' for more details." >&5
14719 echo "$as_me: error: cannot compute sizeof (char), 77
14720 See \`config.log' for more details." >&2;}
14721 { (exit 1); exit 1; }; }
14723 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14728 ac_cv_sizeof_char
=0
14731 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14732 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14733 cat >>confdefs.h
<<_ACEOF
14734 #define SIZEOF_CHAR $ac_cv_sizeof_char
14738 echo "$as_me:$LINENO: checking for short" >&5
14739 echo $ECHO_N "checking for short... $ECHO_C" >&6
14740 if test "${ac_cv_type_short+set}" = set; then
14741 echo $ECHO_N "(cached) $ECHO_C" >&6
14743 cat >conftest.
$ac_ext <<_ACEOF
14746 cat confdefs.h
>>conftest.
$ac_ext
14747 cat >>conftest.
$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14749 $ac_includes_default
14755 if (sizeof (short))
14761 rm -f conftest.
$ac_objext
14762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14763 (eval $ac_compile) 2>conftest.er1
14765 grep -v '^ *+' conftest.er1
>conftest.err
14767 cat conftest.err
>&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } &&
14770 { ac_try
='test -z "$ac_c_werror_flag"
14771 || test ! -s conftest.err'
14772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14773 (eval $ac_try) 2>&5
14775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14776 (exit $ac_status); }; } &&
14777 { ac_try
='test -s conftest.$ac_objext'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; }; then
14783 ac_cv_type_short
=yes
14785 echo "$as_me: failed program was:" >&5
14786 sed 's/^/| /' conftest.
$ac_ext >&5
14788 ac_cv_type_short
=no
14790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14792 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14793 echo "${ECHO_T}$ac_cv_type_short" >&6
14795 echo "$as_me:$LINENO: checking size of short" >&5
14796 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14797 if test "${ac_cv_sizeof_short+set}" = set; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14800 if test "$ac_cv_type_short" = yes; then
14801 # The cast to unsigned long works around a bug in the HP C Compiler
14802 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14803 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14804 # This bug is HP SR number 8606223364.
14805 if test "$cross_compiling" = yes; then
14806 # Depending upon the size, compute the lo and hi bounds.
14807 cat >conftest.
$ac_ext <<_ACEOF
14810 cat confdefs.h
>>conftest.
$ac_ext
14811 cat >>conftest.
$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14813 $ac_includes_default
14817 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14824 rm -f conftest.
$ac_objext
14825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14826 (eval $ac_compile) 2>conftest.er1
14828 grep -v '^ *+' conftest.er1
>conftest.err
14830 cat conftest.err
>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } &&
14833 { ac_try
='test -z "$ac_c_werror_flag"
14834 || test ! -s conftest.err'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; } &&
14840 { ac_try
='test -s conftest.$ac_objext'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; }; then
14848 cat >conftest.
$ac_ext <<_ACEOF
14851 cat confdefs.h
>>conftest.
$ac_ext
14852 cat >>conftest.
$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854 $ac_includes_default
14858 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14865 rm -f conftest.
$ac_objext
14866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14867 (eval $ac_compile) 2>conftest.er1
14869 grep -v '^ *+' conftest.er1
>conftest.err
14871 cat conftest.err
>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); } &&
14874 { ac_try
='test -z "$ac_c_werror_flag"
14875 || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try
='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14887 ac_hi
=$ac_mid; break
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.
$ac_ext >&5
14892 ac_lo
=`expr $ac_mid + 1`
14893 if test $ac_lo -le $ac_mid; then
14897 ac_mid
=`expr 2 '*' $ac_mid + 1`
14899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.
$ac_ext >&5
14905 cat >conftest.
$ac_ext <<_ACEOF
14908 cat confdefs.h
>>conftest.
$ac_ext
14909 cat >>conftest.
$ac_ext <<_ACEOF
14910 /* end confdefs.h. */
14911 $ac_includes_default
14915 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14922 rm -f conftest.
$ac_objext
14923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14924 (eval $ac_compile) 2>conftest.er1
14926 grep -v '^ *+' conftest.er1
>conftest.err
14928 cat conftest.err
>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); } &&
14931 { ac_try
='test -z "$ac_c_werror_flag"
14932 || test ! -s conftest.err'
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); }; } &&
14938 { ac_try
='test -s conftest.$ac_objext'
14939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940 (eval $ac_try) 2>&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; }; then
14946 cat >conftest.
$ac_ext <<_ACEOF
14949 cat confdefs.h
>>conftest.
$ac_ext
14950 cat >>conftest.
$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952 $ac_includes_default
14956 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14963 rm -f conftest.
$ac_objext
14964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14965 (eval $ac_compile) 2>conftest.er1
14967 grep -v '^ *+' conftest.er1
>conftest.err
14969 cat conftest.err
>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } &&
14972 { ac_try
='test -z "$ac_c_werror_flag"
14973 || test ! -s conftest.err'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; } &&
14979 { ac_try
='test -s conftest.$ac_objext'
14980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14981 (eval $ac_try) 2>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); }; }; then
14985 ac_lo
=$ac_mid; break
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.
$ac_ext >&5
14990 ac_hi
=`expr '(' $ac_mid ')' - 1`
14991 if test $ac_mid -le $ac_hi; then
14995 ac_mid
=`expr 2 '*' $ac_mid`
14997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15000 echo "$as_me: failed program was:" >&5
15001 sed 's/^/| /' conftest.
$ac_ext >&5
15005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15008 # Binary search between lo and hi bounds.
15009 while test "x$ac_lo" != "x$ac_hi"; do
15010 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15011 cat >conftest.
$ac_ext <<_ACEOF
15014 cat confdefs.h
>>conftest.
$ac_ext
15015 cat >>conftest.
$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15017 $ac_includes_default
15021 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15028 rm -f conftest.
$ac_objext
15029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15030 (eval $ac_compile) 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); } &&
15037 { ac_try
='test -z "$ac_c_werror_flag"
15038 || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try
='test -s conftest.$ac_objext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.
$ac_ext >&5
15055 ac_lo
=`expr '(' $ac_mid ')' + 1`
15057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15060 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15061 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15062 See \`config.log' for more details." >&5
15063 echo "$as_me: error: cannot compute sizeof (short), 77
15064 See \`config.log' for more details." >&2;}
15065 { (exit 1); exit 1; }; } ;;
15068 if test "$cross_compiling" = yes; then
15069 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15070 See \`config.log' for more details." >&5
15071 echo "$as_me: error: cannot run test program while cross compiling
15072 See \`config.log' for more details." >&2;}
15073 { (exit 1); exit 1; }; }
15075 cat >conftest.
$ac_ext <<_ACEOF
15078 cat confdefs.h
>>conftest.
$ac_ext
15079 cat >>conftest.
$ac_ext <<_ACEOF
15080 /* end confdefs.h. */
15081 $ac_includes_default
15082 long longval () { return (long) (sizeof (short)); }
15083 unsigned long ulongval () { return (long) (sizeof (short)); }
15085 #include <stdlib.h>
15090 FILE *f = fopen ("conftest.val", "w");
15093 if (((long) (sizeof (short))) < 0)
15095 long i = longval ();
15096 if (i != ((long) (sizeof (short))))
15098 fprintf (f, "%ld\n", i);
15102 unsigned long i = ulongval ();
15103 if (i != ((long) (sizeof (short))))
15105 fprintf (f, "%lu\n", i);
15107 exit (ferror (f) || fclose (f) != 0);
15113 rm -f conftest
$ac_exeext
15114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15115 (eval $ac_link) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; }; then
15124 ac_cv_sizeof_short
=`cat conftest.val`
15126 echo "$as_me: program exited with status $ac_status" >&5
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.
$ac_ext >&5
15130 ( exit $ac_status )
15131 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15132 See \`config.log' for more details." >&5
15133 echo "$as_me: error: cannot compute sizeof (short), 77
15134 See \`config.log' for more details." >&2;}
15135 { (exit 1); exit 1; }; }
15137 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15142 ac_cv_sizeof_short
=0
15145 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15146 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15147 cat >>confdefs.h
<<_ACEOF
15148 #define SIZEOF_SHORT $ac_cv_sizeof_short
15152 echo "$as_me:$LINENO: checking for void *" >&5
15153 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15154 if test "${ac_cv_type_void_p+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 cat >conftest.
$ac_ext <<_ACEOF
15160 cat confdefs.h
>>conftest.
$ac_ext
15161 cat >>conftest.
$ac_ext <<_ACEOF
15162 /* end confdefs.h. */
15163 $ac_includes_default
15169 if (sizeof (void *))
15175 rm -f conftest.
$ac_objext
15176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15177 (eval $ac_compile) 2>conftest.er1
15179 grep -v '^ *+' conftest.er1
>conftest.err
15181 cat conftest.err
>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } &&
15184 { ac_try
='test -z "$ac_c_werror_flag"
15185 || test ! -s conftest.err'
15186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15187 (eval $ac_try) 2>&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; } &&
15191 { ac_try
='test -s conftest.$ac_objext'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; }; then
15197 ac_cv_type_void_p
=yes
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.
$ac_ext >&5
15202 ac_cv_type_void_p
=no
15204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15206 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15207 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15209 echo "$as_me:$LINENO: checking size of void *" >&5
15210 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15211 if test "${ac_cv_sizeof_void_p+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 if test "$ac_cv_type_void_p" = yes; then
15215 # The cast to unsigned long works around a bug in the HP C Compiler
15216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15218 # This bug is HP SR number 8606223364.
15219 if test "$cross_compiling" = yes; then
15220 # Depending upon the size, compute the lo and hi bounds.
15221 cat >conftest.
$ac_ext <<_ACEOF
15224 cat confdefs.h
>>conftest.
$ac_ext
15225 cat >>conftest.
$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15227 $ac_includes_default
15231 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15238 rm -f conftest.
$ac_objext
15239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15240 (eval $ac_compile) 2>conftest.er1
15242 grep -v '^ *+' conftest.er1
>conftest.err
15244 cat conftest.err
>&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } &&
15247 { ac_try
='test -z "$ac_c_werror_flag"
15248 || test ! -s conftest.err'
15249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15250 (eval $ac_try) 2>&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; } &&
15254 { ac_try
='test -s conftest.$ac_objext'
15255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15256 (eval $ac_try) 2>&5
15258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15259 (exit $ac_status); }; }; then
15262 cat >conftest.
$ac_ext <<_ACEOF
15265 cat confdefs.h
>>conftest.
$ac_ext
15266 cat >>conftest.
$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15268 $ac_includes_default
15272 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15279 rm -f conftest.
$ac_objext
15280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15281 (eval $ac_compile) 2>conftest.er1
15283 grep -v '^ *+' conftest.er1
>conftest.err
15285 cat conftest.err
>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } &&
15288 { ac_try
='test -z "$ac_c_werror_flag"
15289 || test ! -s conftest.err'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; } &&
15295 { ac_try
='test -s conftest.$ac_objext'
15296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15297 (eval $ac_try) 2>&5
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); }; }; then
15301 ac_hi
=$ac_mid; break
15303 echo "$as_me: failed program was:" >&5
15304 sed 's/^/| /' conftest.
$ac_ext >&5
15306 ac_lo
=`expr $ac_mid + 1`
15307 if test $ac_lo -le $ac_mid; then
15311 ac_mid
=`expr 2 '*' $ac_mid + 1`
15313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15316 echo "$as_me: failed program was:" >&5
15317 sed 's/^/| /' conftest.
$ac_ext >&5
15319 cat >conftest.
$ac_ext <<_ACEOF
15322 cat confdefs.h
>>conftest.
$ac_ext
15323 cat >>conftest.
$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15325 $ac_includes_default
15329 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15336 rm -f conftest.
$ac_objext
15337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15338 (eval $ac_compile) 2>conftest.er1
15340 grep -v '^ *+' conftest.er1
>conftest.err
15342 cat conftest.err
>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } &&
15345 { ac_try
='test -z "$ac_c_werror_flag"
15346 || test ! -s conftest.err'
15347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15348 (eval $ac_try) 2>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); }; } &&
15352 { ac_try
='test -s conftest.$ac_objext'
15353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15354 (eval $ac_try) 2>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; }; then
15360 cat >conftest.
$ac_ext <<_ACEOF
15363 cat confdefs.h
>>conftest.
$ac_ext
15364 cat >>conftest.
$ac_ext <<_ACEOF
15365 /* end confdefs.h. */
15366 $ac_includes_default
15370 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15377 rm -f conftest.
$ac_objext
15378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15379 (eval $ac_compile) 2>conftest.er1
15381 grep -v '^ *+' conftest.er1
>conftest.err
15383 cat conftest.err
>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } &&
15386 { ac_try
='test -z "$ac_c_werror_flag"
15387 || test ! -s conftest.err'
15388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15389 (eval $ac_try) 2>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); }; } &&
15393 { ac_try
='test -s conftest.$ac_objext'
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15395 (eval $ac_try) 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; }; then
15399 ac_lo
=$ac_mid; break
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.
$ac_ext >&5
15404 ac_hi
=`expr '(' $ac_mid ')' - 1`
15405 if test $ac_mid -le $ac_hi; then
15409 ac_mid
=`expr 2 '*' $ac_mid`
15411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.
$ac_ext >&5
15419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15422 # Binary search between lo and hi bounds.
15423 while test "x$ac_lo" != "x$ac_hi"; do
15424 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15425 cat >conftest.
$ac_ext <<_ACEOF
15428 cat confdefs.h
>>conftest.
$ac_ext
15429 cat >>conftest.
$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15431 $ac_includes_default
15435 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15442 rm -f conftest.
$ac_objext
15443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15444 (eval $ac_compile) 2>conftest.er1
15446 grep -v '^ *+' conftest.er1
>conftest.err
15448 cat conftest.err
>&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); } &&
15451 { ac_try
='test -z "$ac_c_werror_flag"
15452 || test ! -s conftest.err'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; } &&
15458 { ac_try
='test -s conftest.$ac_objext'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; }; then
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.
$ac_ext >&5
15469 ac_lo
=`expr '(' $ac_mid ')' + 1`
15471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15474 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15475 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15476 See \`config.log' for more details." >&5
15477 echo "$as_me: error: cannot compute sizeof (void *), 77
15478 See \`config.log' for more details." >&2;}
15479 { (exit 1); exit 1; }; } ;;
15482 if test "$cross_compiling" = yes; then
15483 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15484 See \`config.log' for more details." >&5
15485 echo "$as_me: error: cannot run test program while cross compiling
15486 See \`config.log' for more details." >&2;}
15487 { (exit 1); exit 1; }; }
15489 cat >conftest.
$ac_ext <<_ACEOF
15492 cat confdefs.h
>>conftest.
$ac_ext
15493 cat >>conftest.
$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15495 $ac_includes_default
15496 long longval () { return (long) (sizeof (void *)); }
15497 unsigned long ulongval () { return (long) (sizeof (void *)); }
15499 #include <stdlib.h>
15504 FILE *f = fopen ("conftest.val", "w");
15507 if (((long) (sizeof (void *))) < 0)
15509 long i = longval ();
15510 if (i != ((long) (sizeof (void *))))
15512 fprintf (f, "%ld\n", i);
15516 unsigned long i = ulongval ();
15517 if (i != ((long) (sizeof (void *))))
15519 fprintf (f, "%lu\n", i);
15521 exit (ferror (f) || fclose (f) != 0);
15527 rm -f conftest
$ac_exeext
15528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15529 (eval $ac_link) 2>&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 ac_cv_sizeof_void_p
=`cat conftest.val`
15540 echo "$as_me: program exited with status $ac_status" >&5
15541 echo "$as_me: failed program was:" >&5
15542 sed 's/^/| /' conftest.
$ac_ext >&5
15544 ( exit $ac_status )
15545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15546 See \`config.log' for more details." >&5
15547 echo "$as_me: error: cannot compute sizeof (void *), 77
15548 See \`config.log' for more details." >&2;}
15549 { (exit 1); exit 1; }; }
15551 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15556 ac_cv_sizeof_void_p
=0
15559 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15560 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15561 cat >>confdefs.h
<<_ACEOF
15562 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15566 echo "$as_me:$LINENO: checking for int" >&5
15567 echo $ECHO_N "checking for int... $ECHO_C" >&6
15568 if test "${ac_cv_type_int+set}" = set; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 cat >conftest.
$ac_ext <<_ACEOF
15574 cat confdefs.h
>>conftest.
$ac_ext
15575 cat >>conftest.
$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15577 $ac_includes_default
15589 rm -f conftest.
$ac_objext
15590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15591 (eval $ac_compile) 2>conftest.er1
15593 grep -v '^ *+' conftest.er1
>conftest.err
15595 cat conftest.err
>&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } &&
15598 { ac_try
='test -z "$ac_c_werror_flag"
15599 || test ! -s conftest.err'
15600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15601 (eval $ac_try) 2>&5
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); }; } &&
15605 { ac_try
='test -s conftest.$ac_objext'
15606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15607 (eval $ac_try) 2>&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); }; }; then
15613 echo "$as_me: failed program was:" >&5
15614 sed 's/^/| /' conftest.
$ac_ext >&5
15618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15620 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15621 echo "${ECHO_T}$ac_cv_type_int" >&6
15623 echo "$as_me:$LINENO: checking size of int" >&5
15624 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15625 if test "${ac_cv_sizeof_int+set}" = set; then
15626 echo $ECHO_N "(cached) $ECHO_C" >&6
15628 if test "$ac_cv_type_int" = yes; then
15629 # The cast to unsigned long works around a bug in the HP C Compiler
15630 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15631 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15632 # This bug is HP SR number 8606223364.
15633 if test "$cross_compiling" = yes; then
15634 # Depending upon the size, compute the lo and hi bounds.
15635 cat >conftest.
$ac_ext <<_ACEOF
15638 cat confdefs.h
>>conftest.
$ac_ext
15639 cat >>conftest.
$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641 $ac_includes_default
15645 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15652 rm -f conftest.
$ac_objext
15653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15654 (eval $ac_compile) 2>conftest.er1
15656 grep -v '^ *+' conftest.er1
>conftest.err
15658 cat conftest.err
>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } &&
15661 { ac_try
='test -z "$ac_c_werror_flag"
15662 || test ! -s conftest.err'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; } &&
15668 { ac_try
='test -s conftest.$ac_objext'
15669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670 (eval $ac_try) 2>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; }; then
15676 cat >conftest.
$ac_ext <<_ACEOF
15679 cat confdefs.h
>>conftest.
$ac_ext
15680 cat >>conftest.
$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15682 $ac_includes_default
15686 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15693 rm -f conftest.
$ac_objext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695 (eval $ac_compile) 2>conftest.er1
15697 grep -v '^ *+' conftest.er1
>conftest.err
15699 cat conftest.err
>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try
='test -z "$ac_c_werror_flag"
15703 || test ! -s conftest.err'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } &&
15709 { ac_try
='test -s conftest.$ac_objext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_hi
=$ac_mid; break
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.
$ac_ext >&5
15720 ac_lo
=`expr $ac_mid + 1`
15721 if test $ac_lo -le $ac_mid; then
15725 ac_mid
=`expr 2 '*' $ac_mid + 1`
15727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.
$ac_ext >&5
15733 cat >conftest.
$ac_ext <<_ACEOF
15736 cat confdefs.h
>>conftest.
$ac_ext
15737 cat >>conftest.
$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15739 $ac_includes_default
15743 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15750 rm -f conftest.
$ac_objext
15751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15752 (eval $ac_compile) 2>conftest.er1
15754 grep -v '^ *+' conftest.er1
>conftest.err
15756 cat conftest.err
>&5
15757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758 (exit $ac_status); } &&
15759 { ac_try
='test -z "$ac_c_werror_flag"
15760 || test ! -s conftest.err'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; } &&
15766 { ac_try
='test -s conftest.$ac_objext'
15767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768 (eval $ac_try) 2>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); }; }; then
15774 cat >conftest.
$ac_ext <<_ACEOF
15777 cat confdefs.h
>>conftest.
$ac_ext
15778 cat >>conftest.
$ac_ext <<_ACEOF
15779 /* end confdefs.h. */
15780 $ac_includes_default
15784 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15791 rm -f conftest.
$ac_objext
15792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15793 (eval $ac_compile) 2>conftest.er1
15795 grep -v '^ *+' conftest.er1
>conftest.err
15797 cat conftest.err
>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); } &&
15800 { ac_try
='test -z "$ac_c_werror_flag"
15801 || test ! -s conftest.err'
15802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803 (eval $ac_try) 2>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); }; } &&
15807 { ac_try
='test -s conftest.$ac_objext'
15808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15809 (eval $ac_try) 2>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); }; }; then
15813 ac_lo
=$ac_mid; break
15815 echo "$as_me: failed program was:" >&5
15816 sed 's/^/| /' conftest.
$ac_ext >&5
15818 ac_hi
=`expr '(' $ac_mid ')' - 1`
15819 if test $ac_mid -le $ac_hi; then
15823 ac_mid
=`expr 2 '*' $ac_mid`
15825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.
$ac_ext >&5
15833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15836 # Binary search between lo and hi bounds.
15837 while test "x$ac_lo" != "x$ac_hi"; do
15838 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15839 cat >conftest.
$ac_ext <<_ACEOF
15842 cat confdefs.h
>>conftest.
$ac_ext
15843 cat >>conftest.
$ac_ext <<_ACEOF
15844 /* end confdefs.h. */
15845 $ac_includes_default
15849 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15856 rm -f conftest.
$ac_objext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15858 (eval $ac_compile) 2>conftest.er1
15860 grep -v '^ *+' conftest.er1
>conftest.err
15862 cat conftest.err
>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); } &&
15865 { ac_try
='test -z "$ac_c_werror_flag"
15866 || test ! -s conftest.err'
15867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15868 (eval $ac_try) 2>&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); }; } &&
15872 { ac_try
='test -s conftest.$ac_objext'
15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15874 (eval $ac_try) 2>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; }; then
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.
$ac_ext >&5
15883 ac_lo
=`expr '(' $ac_mid ')' + 1`
15885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15888 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15889 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15890 See \`config.log' for more details." >&5
15891 echo "$as_me: error: cannot compute sizeof (int), 77
15892 See \`config.log' for more details." >&2;}
15893 { (exit 1); exit 1; }; } ;;
15896 if test "$cross_compiling" = yes; then
15897 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15898 See \`config.log' for more details." >&5
15899 echo "$as_me: error: cannot run test program while cross compiling
15900 See \`config.log' for more details." >&2;}
15901 { (exit 1); exit 1; }; }
15903 cat >conftest.
$ac_ext <<_ACEOF
15906 cat confdefs.h
>>conftest.
$ac_ext
15907 cat >>conftest.
$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15909 $ac_includes_default
15910 long longval () { return (long) (sizeof (int)); }
15911 unsigned long ulongval () { return (long) (sizeof (int)); }
15913 #include <stdlib.h>
15918 FILE *f = fopen ("conftest.val", "w");
15921 if (((long) (sizeof (int))) < 0)
15923 long i = longval ();
15924 if (i != ((long) (sizeof (int))))
15926 fprintf (f, "%ld\n", i);
15930 unsigned long i = ulongval ();
15931 if (i != ((long) (sizeof (int))))
15933 fprintf (f, "%lu\n", i);
15935 exit (ferror (f) || fclose (f) != 0);
15941 rm -f conftest
$ac_exeext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15943 (eval $ac_link) 2>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 ac_cv_sizeof_int
=`cat conftest.val`
15954 echo "$as_me: program exited with status $ac_status" >&5
15955 echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.
$ac_ext >&5
15958 ( exit $ac_status )
15959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15960 See \`config.log' for more details." >&5
15961 echo "$as_me: error: cannot compute sizeof (int), 77
15962 See \`config.log' for more details." >&2;}
15963 { (exit 1); exit 1; }; }
15965 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15973 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15974 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15975 cat >>confdefs.h
<<_ACEOF
15976 #define SIZEOF_INT $ac_cv_sizeof_int
15980 echo "$as_me:$LINENO: checking for long" >&5
15981 echo $ECHO_N "checking for long... $ECHO_C" >&6
15982 if test "${ac_cv_type_long+set}" = set; then
15983 echo $ECHO_N "(cached) $ECHO_C" >&6
15985 cat >conftest.
$ac_ext <<_ACEOF
15988 cat confdefs.h
>>conftest.
$ac_ext
15989 cat >>conftest.
$ac_ext <<_ACEOF
15990 /* end confdefs.h. */
15991 $ac_includes_default
16003 rm -f conftest.
$ac_objext
16004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16005 (eval $ac_compile) 2>conftest.er1
16007 grep -v '^ *+' conftest.er1
>conftest.err
16009 cat conftest.err
>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); } &&
16012 { ac_try
='test -z "$ac_c_werror_flag"
16013 || test ! -s conftest.err'
16014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16015 (eval $ac_try) 2>&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); }; } &&
16019 { ac_try
='test -s conftest.$ac_objext'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then
16025 ac_cv_type_long
=yes
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.
$ac_ext >&5
16032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16034 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16035 echo "${ECHO_T}$ac_cv_type_long" >&6
16037 echo "$as_me:$LINENO: checking size of long" >&5
16038 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16039 if test "${ac_cv_sizeof_long+set}" = set; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16042 if test "$ac_cv_type_long" = yes; then
16043 # The cast to unsigned long works around a bug in the HP C Compiler
16044 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16045 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16046 # This bug is HP SR number 8606223364.
16047 if test "$cross_compiling" = yes; then
16048 # Depending upon the size, compute the lo and hi bounds.
16049 cat >conftest.
$ac_ext <<_ACEOF
16052 cat confdefs.h
>>conftest.
$ac_ext
16053 cat >>conftest.
$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055 $ac_includes_default
16059 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16066 rm -f conftest.
$ac_objext
16067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16068 (eval $ac_compile) 2>conftest.er1
16070 grep -v '^ *+' conftest.er1
>conftest.err
16072 cat conftest.err
>&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); } &&
16075 { ac_try
='test -z "$ac_c_werror_flag"
16076 || test ! -s conftest.err'
16077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16078 (eval $ac_try) 2>&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); }; } &&
16082 { ac_try
='test -s conftest.$ac_objext'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; }; then
16090 cat >conftest.
$ac_ext <<_ACEOF
16093 cat confdefs.h
>>conftest.
$ac_ext
16094 cat >>conftest.
$ac_ext <<_ACEOF
16095 /* end confdefs.h. */
16096 $ac_includes_default
16100 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16107 rm -f conftest.
$ac_objext
16108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16109 (eval $ac_compile) 2>conftest.er1
16111 grep -v '^ *+' conftest.er1
>conftest.err
16113 cat conftest.err
>&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); } &&
16116 { ac_try
='test -z "$ac_c_werror_flag"
16117 || test ! -s conftest.err'
16118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16119 (eval $ac_try) 2>&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; } &&
16123 { ac_try
='test -s conftest.$ac_objext'
16124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16125 (eval $ac_try) 2>&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); }; }; then
16129 ac_hi
=$ac_mid; break
16131 echo "$as_me: failed program was:" >&5
16132 sed 's/^/| /' conftest.
$ac_ext >&5
16134 ac_lo
=`expr $ac_mid + 1`
16135 if test $ac_lo -le $ac_mid; then
16139 ac_mid
=`expr 2 '*' $ac_mid + 1`
16141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16144 echo "$as_me: failed program was:" >&5
16145 sed 's/^/| /' conftest.
$ac_ext >&5
16147 cat >conftest.
$ac_ext <<_ACEOF
16150 cat confdefs.h
>>conftest.
$ac_ext
16151 cat >>conftest.
$ac_ext <<_ACEOF
16152 /* end confdefs.h. */
16153 $ac_includes_default
16157 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16164 rm -f conftest.
$ac_objext
16165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16166 (eval $ac_compile) 2>conftest.er1
16168 grep -v '^ *+' conftest.er1
>conftest.err
16170 cat conftest.err
>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); } &&
16173 { ac_try
='test -z "$ac_c_werror_flag"
16174 || test ! -s conftest.err'
16175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16176 (eval $ac_try) 2>&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); }; } &&
16180 { ac_try
='test -s conftest.$ac_objext'
16181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182 (eval $ac_try) 2>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); }; }; then
16188 cat >conftest.
$ac_ext <<_ACEOF
16191 cat confdefs.h
>>conftest.
$ac_ext
16192 cat >>conftest.
$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16194 $ac_includes_default
16198 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16205 rm -f conftest.
$ac_objext
16206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16207 (eval $ac_compile) 2>conftest.er1
16209 grep -v '^ *+' conftest.er1
>conftest.err
16211 cat conftest.err
>&5
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); } &&
16214 { ac_try
='test -z "$ac_c_werror_flag"
16215 || test ! -s conftest.err'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; } &&
16221 { ac_try
='test -s conftest.$ac_objext'
16222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 (eval $ac_try) 2>&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); }; }; then
16227 ac_lo
=$ac_mid; break
16229 echo "$as_me: failed program was:" >&5
16230 sed 's/^/| /' conftest.
$ac_ext >&5
16232 ac_hi
=`expr '(' $ac_mid ')' - 1`
16233 if test $ac_mid -le $ac_hi; then
16237 ac_mid
=`expr 2 '*' $ac_mid`
16239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16242 echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.
$ac_ext >&5
16247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16250 # Binary search between lo and hi bounds.
16251 while test "x$ac_lo" != "x$ac_hi"; do
16252 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16253 cat >conftest.
$ac_ext <<_ACEOF
16256 cat confdefs.h
>>conftest.
$ac_ext
16257 cat >>conftest.
$ac_ext <<_ACEOF
16258 /* end confdefs.h. */
16259 $ac_includes_default
16263 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16270 rm -f conftest.
$ac_objext
16271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16272 (eval $ac_compile) 2>conftest.er1
16274 grep -v '^ *+' conftest.er1
>conftest.err
16276 cat conftest.err
>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } &&
16279 { ac_try
='test -z "$ac_c_werror_flag"
16280 || test ! -s conftest.err'
16281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16282 (eval $ac_try) 2>&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); }; } &&
16286 { ac_try
='test -s conftest.$ac_objext'
16287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16288 (eval $ac_try) 2>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; }; then
16294 echo "$as_me: failed program was:" >&5
16295 sed 's/^/| /' conftest.
$ac_ext >&5
16297 ac_lo
=`expr '(' $ac_mid ')' + 1`
16299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16302 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16303 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16304 See \`config.log' for more details." >&5
16305 echo "$as_me: error: cannot compute sizeof (long), 77
16306 See \`config.log' for more details." >&2;}
16307 { (exit 1); exit 1; }; } ;;
16310 if test "$cross_compiling" = yes; then
16311 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16312 See \`config.log' for more details." >&5
16313 echo "$as_me: error: cannot run test program while cross compiling
16314 See \`config.log' for more details." >&2;}
16315 { (exit 1); exit 1; }; }
16317 cat >conftest.
$ac_ext <<_ACEOF
16320 cat confdefs.h
>>conftest.
$ac_ext
16321 cat >>conftest.
$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 $ac_includes_default
16324 long longval () { return (long) (sizeof (long)); }
16325 unsigned long ulongval () { return (long) (sizeof (long)); }
16327 #include <stdlib.h>
16332 FILE *f = fopen ("conftest.val", "w");
16335 if (((long) (sizeof (long))) < 0)
16337 long i = longval ();
16338 if (i != ((long) (sizeof (long))))
16340 fprintf (f, "%ld\n", i);
16344 unsigned long i = ulongval ();
16345 if (i != ((long) (sizeof (long))))
16347 fprintf (f, "%lu\n", i);
16349 exit (ferror (f) || fclose (f) != 0);
16355 rm -f conftest
$ac_exeext
16356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16357 (eval $ac_link) 2>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; }; then
16366 ac_cv_sizeof_long
=`cat conftest.val`
16368 echo "$as_me: program exited with status $ac_status" >&5
16369 echo "$as_me: failed program was:" >&5
16370 sed 's/^/| /' conftest.
$ac_ext >&5
16372 ( exit $ac_status )
16373 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16374 See \`config.log' for more details." >&5
16375 echo "$as_me: error: cannot compute sizeof (long), 77
16376 See \`config.log' for more details." >&2;}
16377 { (exit 1); exit 1; }; }
16379 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16384 ac_cv_sizeof_long
=0
16387 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16388 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16389 cat >>confdefs.h
<<_ACEOF
16390 #define SIZEOF_LONG $ac_cv_sizeof_long
16394 echo "$as_me:$LINENO: checking for size_t" >&5
16395 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16396 if test "${ac_cv_type_size_t+set}" = set; then
16397 echo $ECHO_N "(cached) $ECHO_C" >&6
16399 cat >conftest.
$ac_ext <<_ACEOF
16402 cat confdefs.h
>>conftest.
$ac_ext
16403 cat >>conftest.
$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16405 $ac_includes_default
16411 if (sizeof (size_t))
16417 rm -f conftest.
$ac_objext
16418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16419 (eval $ac_compile) 2>conftest.er1
16421 grep -v '^ *+' conftest.er1
>conftest.err
16423 cat conftest.err
>&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } &&
16426 { ac_try
='test -z "$ac_c_werror_flag"
16427 || test ! -s conftest.err'
16428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429 (eval $ac_try) 2>&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }; } &&
16433 { ac_try
='test -s conftest.$ac_objext'
16434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16435 (eval $ac_try) 2>&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); }; }; then
16439 ac_cv_type_size_t
=yes
16441 echo "$as_me: failed program was:" >&5
16442 sed 's/^/| /' conftest.
$ac_ext >&5
16444 ac_cv_type_size_t
=no
16446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16448 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16449 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16451 echo "$as_me:$LINENO: checking size of size_t" >&5
16452 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16453 if test "${ac_cv_sizeof_size_t+set}" = set; then
16454 echo $ECHO_N "(cached) $ECHO_C" >&6
16456 if test "$ac_cv_type_size_t" = yes; then
16457 # The cast to unsigned long works around a bug in the HP C Compiler
16458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16460 # This bug is HP SR number 8606223364.
16461 if test "$cross_compiling" = yes; then
16462 # Depending upon the size, compute the lo and hi bounds.
16463 cat >conftest.
$ac_ext <<_ACEOF
16466 cat confdefs.h
>>conftest.
$ac_ext
16467 cat >>conftest.
$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16473 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16480 rm -f conftest.
$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482 (eval $ac_compile) 2>conftest.er1
16484 grep -v '^ *+' conftest.er1
>conftest.err
16486 cat conftest.err
>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } &&
16489 { ac_try
='test -z "$ac_c_werror_flag"
16490 || test ! -s conftest.err'
16491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492 (eval $ac_try) 2>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; } &&
16496 { ac_try
='test -s conftest.$ac_objext'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; }; then
16504 cat >conftest.
$ac_ext <<_ACEOF
16507 cat confdefs.h
>>conftest.
$ac_ext
16508 cat >>conftest.
$ac_ext <<_ACEOF
16509 /* end confdefs.h. */
16510 $ac_includes_default
16514 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16521 rm -f conftest.
$ac_objext
16522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16523 (eval $ac_compile) 2>conftest.er1
16525 grep -v '^ *+' conftest.er1
>conftest.err
16527 cat conftest.err
>&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } &&
16530 { ac_try
='test -z "$ac_c_werror_flag"
16531 || test ! -s conftest.err'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; } &&
16537 { ac_try
='test -s conftest.$ac_objext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 ac_hi
=$ac_mid; break
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.
$ac_ext >&5
16548 ac_lo
=`expr $ac_mid + 1`
16549 if test $ac_lo -le $ac_mid; then
16553 ac_mid
=`expr 2 '*' $ac_mid + 1`
16555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.
$ac_ext >&5
16561 cat >conftest.
$ac_ext <<_ACEOF
16564 cat confdefs.h
>>conftest.
$ac_ext
16565 cat >>conftest.
$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16567 $ac_includes_default
16571 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16578 rm -f conftest.
$ac_objext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580 (eval $ac_compile) 2>conftest.er1
16582 grep -v '^ *+' conftest.er1
>conftest.err
16584 cat conftest.err
>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } &&
16587 { ac_try
='test -z "$ac_c_werror_flag"
16588 || test ! -s conftest.err'
16589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590 (eval $ac_try) 2>&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; } &&
16594 { ac_try
='test -s conftest.$ac_objext'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; }; then
16602 cat >conftest.
$ac_ext <<_ACEOF
16605 cat confdefs.h
>>conftest.
$ac_ext
16606 cat >>conftest.
$ac_ext <<_ACEOF
16607 /* end confdefs.h. */
16608 $ac_includes_default
16612 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16619 rm -f conftest.
$ac_objext
16620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16621 (eval $ac_compile) 2>conftest.er1
16623 grep -v '^ *+' conftest.er1
>conftest.err
16625 cat conftest.err
>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); } &&
16628 { ac_try
='test -z "$ac_c_werror_flag"
16629 || test ! -s conftest.err'
16630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16631 (eval $ac_try) 2>&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); }; } &&
16635 { ac_try
='test -s conftest.$ac_objext'
16636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637 (eval $ac_try) 2>&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; }; then
16641 ac_lo
=$ac_mid; break
16643 echo "$as_me: failed program was:" >&5
16644 sed 's/^/| /' conftest.
$ac_ext >&5
16646 ac_hi
=`expr '(' $ac_mid ')' - 1`
16647 if test $ac_mid -le $ac_hi; then
16651 ac_mid
=`expr 2 '*' $ac_mid`
16653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.
$ac_ext >&5
16661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16664 # Binary search between lo and hi bounds.
16665 while test "x$ac_lo" != "x$ac_hi"; do
16666 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16667 cat >conftest.
$ac_ext <<_ACEOF
16670 cat confdefs.h
>>conftest.
$ac_ext
16671 cat >>conftest.
$ac_ext <<_ACEOF
16672 /* end confdefs.h. */
16673 $ac_includes_default
16677 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16684 rm -f conftest.
$ac_objext
16685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16686 (eval $ac_compile) 2>conftest.er1
16688 grep -v '^ *+' conftest.er1
>conftest.err
16690 cat conftest.err
>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); } &&
16693 { ac_try
='test -z "$ac_c_werror_flag"
16694 || test ! -s conftest.err'
16695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16696 (eval $ac_try) 2>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); }; } &&
16700 { ac_try
='test -s conftest.$ac_objext'
16701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16702 (eval $ac_try) 2>&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); }; }; then
16708 echo "$as_me: failed program was:" >&5
16709 sed 's/^/| /' conftest.
$ac_ext >&5
16711 ac_lo
=`expr '(' $ac_mid ')' + 1`
16713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16716 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16717 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16718 See \`config.log' for more details." >&5
16719 echo "$as_me: error: cannot compute sizeof (size_t), 77
16720 See \`config.log' for more details." >&2;}
16721 { (exit 1); exit 1; }; } ;;
16724 if test "$cross_compiling" = yes; then
16725 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16726 See \`config.log' for more details." >&5
16727 echo "$as_me: error: cannot run test program while cross compiling
16728 See \`config.log' for more details." >&2;}
16729 { (exit 1); exit 1; }; }
16731 cat >conftest.
$ac_ext <<_ACEOF
16734 cat confdefs.h
>>conftest.
$ac_ext
16735 cat >>conftest.
$ac_ext <<_ACEOF
16736 /* end confdefs.h. */
16737 $ac_includes_default
16738 long longval () { return (long) (sizeof (size_t)); }
16739 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16741 #include <stdlib.h>
16746 FILE *f = fopen ("conftest.val", "w");
16749 if (((long) (sizeof (size_t))) < 0)
16751 long i = longval ();
16752 if (i != ((long) (sizeof (size_t))))
16754 fprintf (f, "%ld\n", i);
16758 unsigned long i = ulongval ();
16759 if (i != ((long) (sizeof (size_t))))
16761 fprintf (f, "%lu\n", i);
16763 exit (ferror (f) || fclose (f) != 0);
16769 rm -f conftest
$ac_exeext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16771 (eval $ac_link) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_cv_sizeof_size_t
=`cat conftest.val`
16782 echo "$as_me: program exited with status $ac_status" >&5
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 ( exit $ac_status )
16787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16788 See \`config.log' for more details." >&5
16789 echo "$as_me: error: cannot compute sizeof (size_t), 77
16790 See \`config.log' for more details." >&2;}
16791 { (exit 1); exit 1; }; }
16793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16798 ac_cv_sizeof_size_t
=0
16801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16802 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16803 cat >>confdefs.h
<<_ACEOF
16804 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16811 echo "$as_me:$LINENO: checking for long long" >&5
16812 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16813 if test "${ac_cv_type_long_long+set}" = set; then
16814 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 cat >conftest.
$ac_ext <<_ACEOF
16819 cat confdefs.h
>>conftest.
$ac_ext
16820 cat >>conftest.
$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16822 $ac_includes_default
16826 if ((long long *) 0)
16828 if (sizeof (long long))
16834 rm -f conftest.
$ac_objext
16835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16836 (eval $ac_compile) 2>conftest.er1
16838 grep -v '^ *+' conftest.er1
>conftest.err
16840 cat conftest.err
>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } &&
16843 { ac_try
='test -z "$ac_c_werror_flag"
16844 || test ! -s conftest.err'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; } &&
16850 { ac_try
='test -s conftest.$ac_objext'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; }; then
16856 ac_cv_type_long_long
=yes
16858 echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.
$ac_ext >&5
16861 ac_cv_type_long_long
=no
16863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16865 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16866 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16868 echo "$as_me:$LINENO: checking size of long long" >&5
16869 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16870 if test "${ac_cv_sizeof_long_long+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16873 if test "$ac_cv_type_long_long" = yes; then
16874 # The cast to unsigned long works around a bug in the HP C Compiler
16875 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16876 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16877 # This bug is HP SR number 8606223364.
16878 if test "$cross_compiling" = yes; then
16879 # Depending upon the size, compute the lo and hi bounds.
16880 cat >conftest.
$ac_ext <<_ACEOF
16883 cat confdefs.h
>>conftest.
$ac_ext
16884 cat >>conftest.
$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 $ac_includes_default
16890 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16897 rm -f conftest.
$ac_objext
16898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16899 (eval $ac_compile) 2>conftest.er1
16901 grep -v '^ *+' conftest.er1
>conftest.err
16903 cat conftest.err
>&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } &&
16906 { ac_try
='test -z "$ac_c_werror_flag"
16907 || test ! -s conftest.err'
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); }; } &&
16913 { ac_try
='test -s conftest.$ac_objext'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; }; then
16921 cat >conftest.
$ac_ext <<_ACEOF
16924 cat confdefs.h
>>conftest.
$ac_ext
16925 cat >>conftest.
$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 $ac_includes_default
16931 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16938 rm -f conftest.
$ac_objext
16939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16940 (eval $ac_compile) 2>conftest.er1
16942 grep -v '^ *+' conftest.er1
>conftest.err
16944 cat conftest.err
>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } &&
16947 { ac_try
='test -z "$ac_c_werror_flag"
16948 || test ! -s conftest.err'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; } &&
16954 { ac_try
='test -s conftest.$ac_objext'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_hi
=$ac_mid; break
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.
$ac_ext >&5
16965 ac_lo
=`expr $ac_mid + 1`
16966 if test $ac_lo -le $ac_mid; then
16970 ac_mid
=`expr 2 '*' $ac_mid + 1`
16972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.
$ac_ext >&5
16978 cat >conftest.
$ac_ext <<_ACEOF
16981 cat confdefs.h
>>conftest.
$ac_ext
16982 cat >>conftest.
$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16984 $ac_includes_default
16988 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16995 rm -f conftest.
$ac_objext
16996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16997 (eval $ac_compile) 2>conftest.er1
16999 grep -v '^ *+' conftest.er1
>conftest.err
17001 cat conftest.err
>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } &&
17004 { ac_try
='test -z "$ac_c_werror_flag"
17005 || test ! -s conftest.err'
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); }; } &&
17011 { ac_try
='test -s conftest.$ac_objext'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; }; then
17019 cat >conftest.
$ac_ext <<_ACEOF
17022 cat confdefs.h
>>conftest.
$ac_ext
17023 cat >>conftest.
$ac_ext <<_ACEOF
17024 /* end confdefs.h. */
17025 $ac_includes_default
17029 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17036 rm -f conftest.
$ac_objext
17037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17038 (eval $ac_compile) 2>conftest.er1
17040 grep -v '^ *+' conftest.er1
>conftest.err
17042 cat conftest.err
>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } &&
17045 { ac_try
='test -z "$ac_c_werror_flag"
17046 || test ! -s conftest.err'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; } &&
17052 { ac_try
='test -s conftest.$ac_objext'
17053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17054 (eval $ac_try) 2>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }; }; then
17058 ac_lo
=$ac_mid; break
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.
$ac_ext >&5
17063 ac_hi
=`expr '(' $ac_mid ')' - 1`
17064 if test $ac_mid -le $ac_hi; then
17068 ac_mid
=`expr 2 '*' $ac_mid`
17070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.
$ac_ext >&5
17078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17081 # Binary search between lo and hi bounds.
17082 while test "x$ac_lo" != "x$ac_hi"; do
17083 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17084 cat >conftest.
$ac_ext <<_ACEOF
17087 cat confdefs.h
>>conftest.
$ac_ext
17088 cat >>conftest.
$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17090 $ac_includes_default
17094 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17101 rm -f conftest.
$ac_objext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17103 (eval $ac_compile) 2>conftest.er1
17105 grep -v '^ *+' conftest.er1
>conftest.err
17107 cat conftest.err
>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try
='test -z "$ac_c_werror_flag"
17111 || test ! -s conftest.err'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; } &&
17117 { ac_try
='test -s conftest.$ac_objext'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; }; then
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.
$ac_ext >&5
17128 ac_lo
=`expr '(' $ac_mid ')' + 1`
17130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17133 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17134 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17135 See \`config.log' for more details." >&5
17136 echo "$as_me: error: cannot compute sizeof (long long), 77
17137 See \`config.log' for more details." >&2;}
17138 { (exit 1); exit 1; }; } ;;
17141 if test "$cross_compiling" = yes; then
17142 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17143 See \`config.log' for more details." >&5
17144 echo "$as_me: error: cannot run test program while cross compiling
17145 See \`config.log' for more details." >&2;}
17146 { (exit 1); exit 1; }; }
17148 cat >conftest.
$ac_ext <<_ACEOF
17151 cat confdefs.h
>>conftest.
$ac_ext
17152 cat >>conftest.
$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17154 $ac_includes_default
17155 long longval () { return (long) (sizeof (long long)); }
17156 unsigned long ulongval () { return (long) (sizeof (long long)); }
17158 #include <stdlib.h>
17163 FILE *f = fopen ("conftest.val", "w");
17166 if (((long) (sizeof (long long))) < 0)
17168 long i = longval ();
17169 if (i != ((long) (sizeof (long long))))
17171 fprintf (f, "%ld\n", i);
17175 unsigned long i = ulongval ();
17176 if (i != ((long) (sizeof (long long))))
17178 fprintf (f, "%lu\n", i);
17180 exit (ferror (f) || fclose (f) != 0);
17186 rm -f conftest
$ac_exeext
17187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17188 (eval $ac_link) 2>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193 (eval $ac_try) 2>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); }; }; then
17197 ac_cv_sizeof_long_long
=`cat conftest.val`
17199 echo "$as_me: program exited with status $ac_status" >&5
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.
$ac_ext >&5
17203 ( exit $ac_status )
17204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17205 See \`config.log' for more details." >&5
17206 echo "$as_me: error: cannot compute sizeof (long long), 77
17207 See \`config.log' for more details." >&2;}
17208 { (exit 1); exit 1; }; }
17210 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17215 ac_cv_sizeof_long_long
=0
17218 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17219 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17220 cat >>confdefs.h
<<_ACEOF
17221 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17227 echo "$as_me:$LINENO: checking for long long" >&5
17228 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17229 if test "${ac_cv_type_long_long+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 cat >conftest.
$ac_ext <<_ACEOF
17235 cat confdefs.h
>>conftest.
$ac_ext
17236 cat >>conftest.
$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 $ac_includes_default
17242 if ((long long *) 0)
17244 if (sizeof (long long))
17250 rm -f conftest.
$ac_objext
17251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17252 (eval $ac_compile) 2>conftest.er1
17254 grep -v '^ *+' conftest.er1
>conftest.err
17256 cat conftest.err
>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } &&
17259 { ac_try
='test -z "$ac_c_werror_flag"
17260 || test ! -s conftest.err'
17261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17262 (eval $ac_try) 2>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; } &&
17266 { ac_try
='test -s conftest.$ac_objext'
17267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17268 (eval $ac_try) 2>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); }; }; then
17272 ac_cv_type_long_long
=yes
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.
$ac_ext >&5
17277 ac_cv_type_long_long
=no
17279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17281 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17282 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17284 echo "$as_me:$LINENO: checking size of long long" >&5
17285 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17286 if test "${ac_cv_sizeof_long_long+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 if test "$ac_cv_type_long_long" = yes; then
17290 # The cast to unsigned long works around a bug in the HP C Compiler
17291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17293 # This bug is HP SR number 8606223364.
17294 if test "$cross_compiling" = yes; then
17295 # Depending upon the size, compute the lo and hi bounds.
17296 cat >conftest.
$ac_ext <<_ACEOF
17299 cat confdefs.h
>>conftest.
$ac_ext
17300 cat >>conftest.
$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17302 $ac_includes_default
17306 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17313 rm -f conftest.
$ac_objext
17314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17315 (eval $ac_compile) 2>conftest.er1
17317 grep -v '^ *+' conftest.er1
>conftest.err
17319 cat conftest.err
>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); } &&
17322 { ac_try
='test -z "$ac_c_werror_flag"
17323 || test ! -s conftest.err'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; } &&
17329 { ac_try
='test -s conftest.$ac_objext'
17330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17331 (eval $ac_try) 2>&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); }; }; then
17337 cat >conftest.
$ac_ext <<_ACEOF
17340 cat confdefs.h
>>conftest.
$ac_ext
17341 cat >>conftest.
$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17347 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17354 rm -f conftest.
$ac_objext
17355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17356 (eval $ac_compile) 2>conftest.er1
17358 grep -v '^ *+' conftest.er1
>conftest.err
17360 cat conftest.err
>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); } &&
17363 { ac_try
='test -z "$ac_c_werror_flag"
17364 || test ! -s conftest.err'
17365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17366 (eval $ac_try) 2>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }; } &&
17370 { ac_try
='test -s conftest.$ac_objext'
17371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17372 (eval $ac_try) 2>&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); }; }; then
17376 ac_hi
=$ac_mid; break
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.
$ac_ext >&5
17381 ac_lo
=`expr $ac_mid + 1`
17382 if test $ac_lo -le $ac_mid; then
17386 ac_mid
=`expr 2 '*' $ac_mid + 1`
17388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.
$ac_ext >&5
17394 cat >conftest.
$ac_ext <<_ACEOF
17397 cat confdefs.h
>>conftest.
$ac_ext
17398 cat >>conftest.
$ac_ext <<_ACEOF
17399 /* end confdefs.h. */
17400 $ac_includes_default
17404 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17411 rm -f conftest.
$ac_objext
17412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17413 (eval $ac_compile) 2>conftest.er1
17415 grep -v '^ *+' conftest.er1
>conftest.err
17417 cat conftest.err
>&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } &&
17420 { ac_try
='test -z "$ac_c_werror_flag"
17421 || test ! -s conftest.err'
17422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17423 (eval $ac_try) 2>&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); }; } &&
17427 { ac_try
='test -s conftest.$ac_objext'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; }; then
17435 cat >conftest.
$ac_ext <<_ACEOF
17438 cat confdefs.h
>>conftest.
$ac_ext
17439 cat >>conftest.
$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 $ac_includes_default
17445 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17452 rm -f conftest.
$ac_objext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17454 (eval $ac_compile) 2>conftest.er1
17456 grep -v '^ *+' conftest.er1
>conftest.err
17458 cat conftest.err
>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } &&
17461 { ac_try
='test -z "$ac_c_werror_flag"
17462 || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try
='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_lo
=$ac_mid; break
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.
$ac_ext >&5
17479 ac_hi
=`expr '(' $ac_mid ')' - 1`
17480 if test $ac_mid -le $ac_hi; then
17484 ac_mid
=`expr 2 '*' $ac_mid`
17486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17489 echo "$as_me: failed program was:" >&5
17490 sed 's/^/| /' conftest.
$ac_ext >&5
17494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17497 # Binary search between lo and hi bounds.
17498 while test "x$ac_lo" != "x$ac_hi"; do
17499 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17500 cat >conftest.
$ac_ext <<_ACEOF
17503 cat confdefs.h
>>conftest.
$ac_ext
17504 cat >>conftest.
$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506 $ac_includes_default
17510 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17517 rm -f conftest.
$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17521 grep -v '^ *+' conftest.er1
>conftest.err
17523 cat conftest.err
>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try
='test -z "$ac_c_werror_flag"
17527 || test ! -s conftest.err'
17528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17529 (eval $ac_try) 2>&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); }; } &&
17533 { ac_try
='test -s conftest.$ac_objext'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; }; then
17541 echo "$as_me: failed program was:" >&5
17542 sed 's/^/| /' conftest.
$ac_ext >&5
17544 ac_lo
=`expr '(' $ac_mid ')' + 1`
17546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17549 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17550 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17551 See \`config.log' for more details." >&5
17552 echo "$as_me: error: cannot compute sizeof (long long), 77
17553 See \`config.log' for more details." >&2;}
17554 { (exit 1); exit 1; }; } ;;
17557 if test "$cross_compiling" = yes; then
17558 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17559 See \`config.log' for more details." >&5
17560 echo "$as_me: error: cannot run test program while cross compiling
17561 See \`config.log' for more details." >&2;}
17562 { (exit 1); exit 1; }; }
17564 cat >conftest.
$ac_ext <<_ACEOF
17567 cat confdefs.h
>>conftest.
$ac_ext
17568 cat >>conftest.
$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17570 $ac_includes_default
17571 long longval () { return (long) (sizeof (long long)); }
17572 unsigned long ulongval () { return (long) (sizeof (long long)); }
17574 #include <stdlib.h>
17579 FILE *f = fopen ("conftest.val", "w");
17582 if (((long) (sizeof (long long))) < 0)
17584 long i = longval ();
17585 if (i != ((long) (sizeof (long long))))
17587 fprintf (f, "%ld\n", i);
17591 unsigned long i = ulongval ();
17592 if (i != ((long) (sizeof (long long))))
17594 fprintf (f, "%lu\n", i);
17596 exit (ferror (f) || fclose (f) != 0);
17602 rm -f conftest
$ac_exeext
17603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17604 (eval $ac_link) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; }; then
17613 ac_cv_sizeof_long_long
=`cat conftest.val`
17615 echo "$as_me: program exited with status $ac_status" >&5
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.
$ac_ext >&5
17619 ( exit $ac_status )
17620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17621 See \`config.log' for more details." >&5
17622 echo "$as_me: error: cannot compute sizeof (long long), 77
17623 See \`config.log' for more details." >&2;}
17624 { (exit 1); exit 1; }; }
17626 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17631 ac_cv_sizeof_long_long
=0
17634 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17635 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17636 cat >>confdefs.h
<<_ACEOF
17637 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17641 if test "$ac_cv_sizeof_long_long" != "0"; then
17642 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17646 echo "$as_me:$LINENO: checking for long long" >&5
17647 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17648 if test "${ac_cv_type_long_long+set}" = set; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 cat >conftest.
$ac_ext <<_ACEOF
17654 cat confdefs.h
>>conftest.
$ac_ext
17655 cat >>conftest.
$ac_ext <<_ACEOF
17656 /* end confdefs.h. */
17657 $ac_includes_default
17661 if ((long long *) 0)
17663 if (sizeof (long long))
17669 rm -f conftest.
$ac_objext
17670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17671 (eval $ac_compile) 2>conftest.er1
17673 grep -v '^ *+' conftest.er1
>conftest.err
17675 cat conftest.err
>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } &&
17678 { ac_try
='test -z "$ac_c_werror_flag"
17679 || test ! -s conftest.err'
17680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17681 (eval $ac_try) 2>&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); }; } &&
17685 { ac_try
='test -s conftest.$ac_objext'
17686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17687 (eval $ac_try) 2>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); }; }; then
17691 ac_cv_type_long_long
=yes
17693 echo "$as_me: failed program was:" >&5
17694 sed 's/^/| /' conftest.
$ac_ext >&5
17696 ac_cv_type_long_long
=no
17698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17700 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17701 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17703 echo "$as_me:$LINENO: checking size of long long" >&5
17704 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17705 if test "${ac_cv_sizeof_long_long+set}" = set; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17708 if test "$ac_cv_type_long_long" = yes; then
17709 # The cast to unsigned long works around a bug in the HP C Compiler
17710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17712 # This bug is HP SR number 8606223364.
17713 if test "$cross_compiling" = yes; then
17714 # Depending upon the size, compute the lo and hi bounds.
17715 cat >conftest.
$ac_ext <<_ACEOF
17718 cat confdefs.h
>>conftest.
$ac_ext
17719 cat >>conftest.
$ac_ext <<_ACEOF
17720 /* end confdefs.h. */
17721 $ac_includes_default
17725 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17732 rm -f conftest.
$ac_objext
17733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17734 (eval $ac_compile) 2>conftest.er1
17736 grep -v '^ *+' conftest.er1
>conftest.err
17738 cat conftest.err
>&5
17739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740 (exit $ac_status); } &&
17741 { ac_try
='test -z "$ac_c_werror_flag"
17742 || test ! -s conftest.err'
17743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17744 (eval $ac_try) 2>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; } &&
17748 { ac_try
='test -s conftest.$ac_objext'
17749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17750 (eval $ac_try) 2>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); }; }; then
17756 cat >conftest.
$ac_ext <<_ACEOF
17759 cat confdefs.h
>>conftest.
$ac_ext
17760 cat >>conftest.
$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17762 $ac_includes_default
17766 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17773 rm -f conftest.
$ac_objext
17774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17775 (eval $ac_compile) 2>conftest.er1
17777 grep -v '^ *+' conftest.er1
>conftest.err
17779 cat conftest.err
>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } &&
17782 { ac_try
='test -z "$ac_c_werror_flag"
17783 || test ! -s conftest.err'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; } &&
17789 { ac_try
='test -s conftest.$ac_objext'
17790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17791 (eval $ac_try) 2>&5
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); }; }; then
17795 ac_hi
=$ac_mid; break
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.
$ac_ext >&5
17800 ac_lo
=`expr $ac_mid + 1`
17801 if test $ac_lo -le $ac_mid; then
17805 ac_mid
=`expr 2 '*' $ac_mid + 1`
17807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17810 echo "$as_me: failed program was:" >&5
17811 sed 's/^/| /' conftest.
$ac_ext >&5
17813 cat >conftest.
$ac_ext <<_ACEOF
17816 cat confdefs.h
>>conftest.
$ac_ext
17817 cat >>conftest.
$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17819 $ac_includes_default
17823 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17830 rm -f conftest.
$ac_objext
17831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17832 (eval $ac_compile) 2>conftest.er1
17834 grep -v '^ *+' conftest.er1
>conftest.err
17836 cat conftest.err
>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } &&
17839 { ac_try
='test -z "$ac_c_werror_flag"
17840 || test ! -s conftest.err'
17841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842 (eval $ac_try) 2>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); }; } &&
17846 { ac_try
='test -s conftest.$ac_objext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17854 cat >conftest.
$ac_ext <<_ACEOF
17857 cat confdefs.h
>>conftest.
$ac_ext
17858 cat >>conftest.
$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860 $ac_includes_default
17864 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17871 rm -f conftest.
$ac_objext
17872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17873 (eval $ac_compile) 2>conftest.er1
17875 grep -v '^ *+' conftest.er1
>conftest.err
17877 cat conftest.err
>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } &&
17880 { ac_try
='test -z "$ac_c_werror_flag"
17881 || test ! -s conftest.err'
17882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17883 (eval $ac_try) 2>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); }; } &&
17887 { ac_try
='test -s conftest.$ac_objext'
17888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17889 (eval $ac_try) 2>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); }; }; then
17893 ac_lo
=$ac_mid; break
17895 echo "$as_me: failed program was:" >&5
17896 sed 's/^/| /' conftest.
$ac_ext >&5
17898 ac_hi
=`expr '(' $ac_mid ')' - 1`
17899 if test $ac_mid -le $ac_hi; then
17903 ac_mid
=`expr 2 '*' $ac_mid`
17905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.
$ac_ext >&5
17913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 # Binary search between lo and hi bounds.
17917 while test "x$ac_lo" != "x$ac_hi"; do
17918 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17919 cat >conftest.
$ac_ext <<_ACEOF
17922 cat confdefs.h
>>conftest.
$ac_ext
17923 cat >>conftest.
$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17925 $ac_includes_default
17929 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17936 rm -f conftest.
$ac_objext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17938 (eval $ac_compile) 2>conftest.er1
17940 grep -v '^ *+' conftest.er1
>conftest.err
17942 cat conftest.err
>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try
='test -z "$ac_c_werror_flag"
17946 || test ! -s conftest.err'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; } &&
17952 { ac_try
='test -s conftest.$ac_objext'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; }; then
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.
$ac_ext >&5
17963 ac_lo
=`expr '(' $ac_mid ')' + 1`
17965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17968 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17969 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17970 See \`config.log' for more details." >&5
17971 echo "$as_me: error: cannot compute sizeof (long long), 77
17972 See \`config.log' for more details." >&2;}
17973 { (exit 1); exit 1; }; } ;;
17976 if test "$cross_compiling" = yes; then
17977 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17978 See \`config.log' for more details." >&5
17979 echo "$as_me: error: cannot run test program while cross compiling
17980 See \`config.log' for more details." >&2;}
17981 { (exit 1); exit 1; }; }
17983 cat >conftest.
$ac_ext <<_ACEOF
17986 cat confdefs.h
>>conftest.
$ac_ext
17987 cat >>conftest.
$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 $ac_includes_default
17990 long longval () { return (long) (sizeof (long long)); }
17991 unsigned long ulongval () { return (long) (sizeof (long long)); }
17993 #include <stdlib.h>
17998 FILE *f = fopen ("conftest.val", "w");
18001 if (((long) (sizeof (long long))) < 0)
18003 long i = longval ();
18004 if (i != ((long) (sizeof (long long))))
18006 fprintf (f, "%ld\n", i);
18010 unsigned long i = ulongval ();
18011 if (i != ((long) (sizeof (long long))))
18013 fprintf (f, "%lu\n", i);
18015 exit (ferror (f) || fclose (f) != 0);
18021 rm -f conftest
$ac_exeext
18022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18023 (eval $ac_link) 2>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; }; then
18032 ac_cv_sizeof_long_long
=`cat conftest.val`
18034 echo "$as_me: program exited with status $ac_status" >&5
18035 echo "$as_me: failed program was:" >&5
18036 sed 's/^/| /' conftest.
$ac_ext >&5
18038 ( exit $ac_status )
18039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18040 See \`config.log' for more details." >&5
18041 echo "$as_me: error: cannot compute sizeof (long long), 77
18042 See \`config.log' for more details." >&2;}
18043 { (exit 1); exit 1; }; }
18045 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18050 ac_cv_sizeof_long_long
=0
18053 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18054 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18055 cat >>confdefs.h
<<_ACEOF
18056 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18062 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18063 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18064 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18065 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 if test "$cross_compiling" = yes; then
18072 wx_cv_sizeof_wchar_t
=0
18075 wx_cv_sizeof_wchar_t
=4
18081 cat >conftest.
$ac_ext <<_ACEOF
18084 cat confdefs.h
>>conftest.
$ac_ext
18085 cat >>conftest.
$ac_ext <<_ACEOF
18086 /* end confdefs.h. */
18088 /* DJGPP only has fake wchar_t: */
18090 # error "fake wchar_t"
18092 #ifdef HAVE_WCHAR_H
18094 # include <stddef.h>
18096 # include <wchar.h>
18098 #ifdef HAVE_STDLIB_H
18099 # include <stdlib.h>
18104 FILE *f=fopen("conftestval", "w");
18106 fprintf(f, "%i", sizeof(wchar_t));
18111 rm -f conftest
$ac_exeext
18112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18113 (eval $ac_link) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; }; then
18122 wx_cv_sizeof_wchar_t
=`cat conftestval`
18124 echo "$as_me: program exited with status $ac_status" >&5
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.
$ac_ext >&5
18128 ( exit $ac_status )
18129 wx_cv_sizeof_wchar_t
=0
18131 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18135 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18136 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18138 cat >>confdefs.h
<<_ACEOF
18139 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18143 # Check whether --enable-largefile or --disable-largefile was given.
18144 if test "${enable_largefile+set}" = set; then
18145 enableval
="$enable_largefile"
18148 if test "$enable_largefile" != no
; then
18151 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18152 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18153 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18154 echo $ECHO_N "(cached) $ECHO_C" >&6
18157 cat >conftest.
$ac_ext <<_ACEOF
18160 cat confdefs.h
>>conftest.
$ac_ext
18161 cat >>conftest.
$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 #define _FILE_OFFSET_BITS 64
18164 #include <sys/types.h>
18169 unsigned int field: sizeof(off_t) == 8;
18176 rm -f conftest.
$ac_objext
18177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18178 (eval $ac_compile) 2>conftest.er1
18180 grep -v '^ *+' conftest.er1
>conftest.err
18182 cat conftest.err
>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } &&
18185 { ac_try
='test -z "$ac_c_werror_flag"
18186 || test ! -s conftest.err'
18187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18188 (eval $ac_try) 2>&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); }; } &&
18192 { ac_try
='test -s conftest.$ac_objext'
18193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18194 (eval $ac_try) 2>&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); }; }; then
18198 ac_cv_sys_file_offset_bits
=64
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.
$ac_ext >&5
18203 ac_cv_sys_file_offset_bits
=no
18205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18209 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18210 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18212 if test "$ac_cv_sys_file_offset_bits" != no
; then
18214 cat >>confdefs.h
<<_ACEOF
18215 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18220 if test "x$wx_largefile" != "xyes"; then
18222 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18223 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18224 if test "${ac_cv_sys_large_files+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18228 cat >conftest.
$ac_ext <<_ACEOF
18231 cat confdefs.h
>>conftest.
$ac_ext
18232 cat >>conftest.
$ac_ext <<_ACEOF
18233 /* end confdefs.h. */
18234 #define _LARGE_FILES 1
18235 #include <sys/types.h>
18240 unsigned int field: sizeof(off_t) == 8;
18247 rm -f conftest.
$ac_objext
18248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18249 (eval $ac_compile) 2>conftest.er1
18251 grep -v '^ *+' conftest.er1
>conftest.err
18253 cat conftest.err
>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } &&
18256 { ac_try
='test -z "$ac_c_werror_flag"
18257 || test ! -s conftest.err'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; } &&
18263 { ac_try
='test -s conftest.$ac_objext'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18269 ac_cv_sys_large_files
=1
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.
$ac_ext >&5
18274 ac_cv_sys_large_files
=no
18276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18280 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18281 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18283 if test "$ac_cv_sys_large_files" != no
; then
18285 cat >>confdefs.h
<<_ACEOF
18286 #define _LARGE_FILES $ac_cv_sys_large_files
18293 echo "$as_me:$LINENO: checking if large file support is available" >&5
18294 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18295 if test "x$wx_largefile" = "xyes"; then
18296 cat >>confdefs.h
<<\_ACEOF
18297 #define HAVE_LARGEFILE_SUPPORT 1
18301 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18302 echo "${ECHO_T}$wx_largefile" >&6
18306 if test "x$wx_largefile" = "xyes"; then
18307 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18308 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18310 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18312 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18315 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18316 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18317 if test "${ac_cv_c_bigendian+set}" = set; then
18318 echo $ECHO_N "(cached) $ECHO_C" >&6
18320 ac_cv_c_bigendian
=unknown
18321 # See if sys/param.h defines the BYTE_ORDER macro.
18322 cat >conftest.
$ac_ext <<_ACEOF
18325 cat confdefs.h
>>conftest.
$ac_ext
18326 cat >>conftest.
$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328 #include <sys/types.h>
18329 #include <sys/param.h>
18334 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18335 bogus endian macros
18341 rm -f conftest.
$ac_objext
18342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18343 (eval $ac_compile) 2>conftest.er1
18345 grep -v '^ *+' conftest.er1
>conftest.err
18347 cat conftest.err
>&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); } &&
18350 { ac_try
='test -z "$ac_c_werror_flag"
18351 || test ! -s conftest.err'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; } &&
18357 { ac_try
='test -s conftest.$ac_objext'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; }; then
18363 # It does; now see whether it defined to BIG_ENDIAN or not.
18364 cat >conftest.
$ac_ext <<_ACEOF
18367 cat confdefs.h
>>conftest.
$ac_ext
18368 cat >>conftest.
$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 #include <sys/types.h>
18371 #include <sys/param.h>
18376 #if BYTE_ORDER != BIG_ENDIAN
18383 rm -f conftest.
$ac_objext
18384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18385 (eval $ac_compile) 2>conftest.er1
18387 grep -v '^ *+' conftest.er1
>conftest.err
18389 cat conftest.err
>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); } &&
18392 { ac_try
='test -z "$ac_c_werror_flag"
18393 || test ! -s conftest.err'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; } &&
18399 { ac_try
='test -s conftest.$ac_objext'
18400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18401 (eval $ac_try) 2>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); }; }; then
18405 ac_cv_c_bigendian
=yes
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.
$ac_ext >&5
18410 ac_cv_c_bigendian
=no
18412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18414 echo "$as_me: failed program was:" >&5
18415 sed 's/^/| /' conftest.
$ac_ext >&5
18418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18419 if test $ac_cv_c_bigendian = unknown
; then
18420 if test "$cross_compiling" = yes; then
18421 ac_cv_c_bigendian
=unknown
18423 cat >conftest.
$ac_ext <<_ACEOF
18426 cat confdefs.h
>>conftest.
$ac_ext
18427 cat >>conftest.
$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18430 /* Are we little or big endian? From Harbison&Steele. */
18434 char c[sizeof (long)];
18437 exit (u.c[sizeof (long) - 1] == 1);
18440 rm -f conftest
$ac_exeext
18441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18442 (eval $ac_link) 2>&5
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; }; then
18451 ac_cv_c_bigendian
=no
18453 echo "$as_me: program exited with status $ac_status" >&5
18454 echo "$as_me: failed program was:" >&5
18455 sed 's/^/| /' conftest.
$ac_ext >&5
18457 ( exit $ac_status )
18458 ac_cv_c_bigendian
=yes
18460 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18464 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18465 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18466 if test $ac_cv_c_bigendian = unknown
; then
18467 { 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
18468 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;}
18470 if test $ac_cv_c_bigendian = yes; then
18471 cat >>confdefs.h
<<\_ACEOF
18472 #define WORDS_BIGENDIAN 1
18479 ac_cpp
='$CXXCPP $CPPFLAGS'
18480 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18481 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18482 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18483 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18484 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18485 if test -z "$CXXCPP"; then
18486 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18487 echo $ECHO_N "(cached) $ECHO_C" >&6
18489 # Double quotes because CXXCPP needs to be expanded
18490 for CXXCPP
in "$CXX -E" "/lib/cpp"
18492 ac_preproc_ok
=false
18493 for ac_cxx_preproc_warn_flag
in '' yes
18495 # Use a header file that comes with gcc, so configuring glibc
18496 # with a fresh cross-compiler works.
18497 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18498 # <limits.h> exists even on freestanding compilers.
18499 # On the NeXT, cc -E runs the code through the compiler's parser,
18500 # not just through cpp. "Syntax error" is here to catch this case.
18501 cat >conftest.
$ac_ext <<_ACEOF
18504 cat confdefs.h
>>conftest.
$ac_ext
18505 cat >>conftest.
$ac_ext <<_ACEOF
18506 /* end confdefs.h. */
18508 # include <limits.h>
18510 # include <assert.h>
18514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18515 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18517 grep -v '^ *+' conftest.er1
>conftest.err
18519 cat conftest.err
>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } >/dev
/null
; then
18522 if test -s conftest.err
; then
18523 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18524 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18531 if test -z "$ac_cpp_err"; then
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.
$ac_ext >&5
18537 # Broken: fails on valid input.
18540 rm -f conftest.err conftest.
$ac_ext
18542 # OK, works on sane cases. Now check whether non-existent headers
18543 # can be detected and how.
18544 cat >conftest.
$ac_ext <<_ACEOF
18547 cat confdefs.h
>>conftest.
$ac_ext
18548 cat >>conftest.
$ac_ext <<_ACEOF
18549 /* end confdefs.h. */
18550 #include <ac_nonexistent.h>
18552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18555 grep -v '^ *+' conftest.er1
>conftest.err
18557 cat conftest.err
>&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); } >/dev
/null
; then
18560 if test -s conftest.err
; then
18561 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18562 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18569 if test -z "$ac_cpp_err"; then
18570 # Broken: success on invalid input.
18573 echo "$as_me: failed program was:" >&5
18574 sed 's/^/| /' conftest.
$ac_ext >&5
18576 # Passes both tests.
18580 rm -f conftest.err conftest.
$ac_ext
18583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18584 rm -f conftest.err conftest.
$ac_ext
18585 if $ac_preproc_ok; then
18590 ac_cv_prog_CXXCPP
=$CXXCPP
18593 CXXCPP
=$ac_cv_prog_CXXCPP
18595 ac_cv_prog_CXXCPP
=$CXXCPP
18597 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18598 echo "${ECHO_T}$CXXCPP" >&6
18599 ac_preproc_ok
=false
18600 for ac_cxx_preproc_warn_flag
in '' yes
18602 # Use a header file that comes with gcc, so configuring glibc
18603 # with a fresh cross-compiler works.
18604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18605 # <limits.h> exists even on freestanding compilers.
18606 # On the NeXT, cc -E runs the code through the compiler's parser,
18607 # not just through cpp. "Syntax error" is here to catch this case.
18608 cat >conftest.
$ac_ext <<_ACEOF
18611 cat confdefs.h
>>conftest.
$ac_ext
18612 cat >>conftest.
$ac_ext <<_ACEOF
18613 /* end confdefs.h. */
18615 # include <limits.h>
18617 # include <assert.h>
18621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18622 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18624 grep -v '^ *+' conftest.er1
>conftest.err
18626 cat conftest.err
>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } >/dev
/null
; then
18629 if test -s conftest.err
; then
18630 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18631 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18638 if test -z "$ac_cpp_err"; then
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.
$ac_ext >&5
18644 # Broken: fails on valid input.
18647 rm -f conftest.err conftest.
$ac_ext
18649 # OK, works on sane cases. Now check whether non-existent headers
18650 # can be detected and how.
18651 cat >conftest.
$ac_ext <<_ACEOF
18654 cat confdefs.h
>>conftest.
$ac_ext
18655 cat >>conftest.
$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 #include <ac_nonexistent.h>
18659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18660 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18662 grep -v '^ *+' conftest.er1
>conftest.err
18664 cat conftest.err
>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } >/dev
/null
; then
18667 if test -s conftest.err
; then
18668 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18669 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18676 if test -z "$ac_cpp_err"; then
18677 # Broken: success on invalid input.
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.
$ac_ext >&5
18683 # Passes both tests.
18687 rm -f conftest.err conftest.
$ac_ext
18690 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18691 rm -f conftest.err conftest.
$ac_ext
18692 if $ac_preproc_ok; then
18695 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18696 See \`config.log' for more details." >&5
18697 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18698 See \`config.log' for more details." >&2;}
18699 { (exit 1); exit 1; }; }
18703 ac_cpp
='$CXXCPP $CPPFLAGS'
18704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18713 ac_cpp
='$CXXCPP $CPPFLAGS'
18714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18720 for ac_header
in iostream
18722 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18724 echo "$as_me:$LINENO: checking for $ac_header" >&5
18725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18727 echo $ECHO_N "(cached) $ECHO_C" >&6
18729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18732 # Is the header compilable?
18733 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18735 cat >conftest.
$ac_ext <<_ACEOF
18738 cat confdefs.h
>>conftest.
$ac_ext
18739 cat >>conftest.
$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 $ac_includes_default
18742 #include <$ac_header>
18744 rm -f conftest.
$ac_objext
18745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18746 (eval $ac_compile) 2>conftest.er1
18748 grep -v '^ *+' conftest.er1
>conftest.err
18750 cat conftest.err
>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); } &&
18753 { ac_try
='test -z "$ac_cxx_werror_flag"
18754 || test ! -s conftest.err'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; } &&
18760 { ac_try
='test -s conftest.$ac_objext'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; }; then
18766 ac_header_compiler
=yes
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.
$ac_ext >&5
18771 ac_header_compiler
=no
18773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18774 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18775 echo "${ECHO_T}$ac_header_compiler" >&6
18777 # Is the header present?
18778 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18779 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18780 cat >conftest.
$ac_ext <<_ACEOF
18783 cat confdefs.h
>>conftest.
$ac_ext
18784 cat >>conftest.
$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18786 #include <$ac_header>
18788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18789 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18791 grep -v '^ *+' conftest.er1
>conftest.err
18793 cat conftest.err
>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); } >/dev
/null
; then
18796 if test -s conftest.err
; then
18797 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18798 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18805 if test -z "$ac_cpp_err"; then
18806 ac_header_preproc
=yes
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.
$ac_ext >&5
18811 ac_header_preproc
=no
18813 rm -f conftest.err conftest.
$ac_ext
18814 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18815 echo "${ECHO_T}$ac_header_preproc" >&6
18817 # So? What about this header?
18818 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18820 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18821 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18823 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18824 ac_header_preproc
=yes
18827 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18828 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18829 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18830 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18831 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18832 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18833 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18834 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18836 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18837 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18838 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18841 ## ----------------------------------------- ##
18842 ## Report this to wx-dev@lists.wxwidgets.org ##
18843 ## ----------------------------------------- ##
18846 sed "s/^/$as_me: WARNING: /" >&2
18849 echo "$as_me:$LINENO: checking for $ac_header" >&5
18850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18852 echo $ECHO_N "(cached) $ECHO_C" >&6
18854 eval "$as_ac_Header=\$ac_header_preproc"
18856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18861 cat >>confdefs.h
<<_ACEOF
18862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18870 if test "$ac_cv_header_iostream" = "yes" ; then
18873 cat >>confdefs.h
<<\_ACEOF
18874 #define wxUSE_IOSTREAMH 1
18880 ac_cpp
='$CPP $CPPFLAGS'
18881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18888 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18889 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18890 if test "${wx_cv_cpp_bool+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18897 ac_cpp
='$CXXCPP $CPPFLAGS'
18898 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18899 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18900 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18903 cat >conftest.
$ac_ext <<_ACEOF
18906 cat confdefs.h
>>conftest.
$ac_ext
18907 cat >>conftest.
$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18923 rm -f conftest.
$ac_objext
18924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18925 (eval $ac_compile) 2>conftest.er1
18927 grep -v '^ *+' conftest.er1
>conftest.err
18929 cat conftest.err
>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } &&
18932 { ac_try
='test -z "$ac_cxx_werror_flag"
18933 || test ! -s conftest.err'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; } &&
18939 { ac_try
='test -s conftest.$ac_objext'
18940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18941 (eval $ac_try) 2>&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; }; then
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.
$ac_ext >&5
18957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18960 ac_cpp
='$CPP $CPPFLAGS'
18961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18967 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18968 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18970 if test "$wx_cv_cpp_bool" = "yes"; then
18971 cat >>confdefs.h
<<\_ACEOF
18972 #define HAVE_BOOL 1
18979 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18980 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18981 if test "${wx_cv_explicit+set}" = set; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18988 ac_cpp
='$CXXCPP $CPPFLAGS'
18989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18994 cat >conftest.
$ac_ext <<_ACEOF
18997 cat confdefs.h
>>conftest.
$ac_ext
18998 cat >>conftest.
$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19001 class Foo { public: explicit Foo(int) {} };
19013 rm -f conftest.
$ac_objext
19014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19015 (eval $ac_compile) 2>conftest.er1
19017 grep -v '^ *+' conftest.er1
>conftest.err
19019 cat conftest.err
>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } &&
19022 { ac_try
='test -z "$ac_cxx_werror_flag"
19023 || test ! -s conftest.err'
19024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19025 (eval $ac_try) 2>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); }; } &&
19029 { ac_try
='test -s conftest.$ac_objext'
19030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19031 (eval $ac_try) 2>&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); }; }; then
19036 cat >conftest.
$ac_ext <<_ACEOF
19039 cat confdefs.h
>>conftest.
$ac_ext
19040 cat >>conftest.
$ac_ext <<_ACEOF
19041 /* end confdefs.h. */
19043 class Foo { public: explicit Foo(int) {} };
19044 static void TakeFoo(const Foo& foo) { }
19057 rm -f conftest.
$ac_objext
19058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19059 (eval $ac_compile) 2>conftest.er1
19061 grep -v '^ *+' conftest.er1
>conftest.err
19063 cat conftest.err
>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } &&
19066 { ac_try
='test -z "$ac_cxx_werror_flag"
19067 || test ! -s conftest.err'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; } &&
19073 { ac_try
='test -s conftest.$ac_objext'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; }; then
19081 echo "$as_me: failed program was:" >&5
19082 sed 's/^/| /' conftest.
$ac_ext >&5
19087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.
$ac_ext >&5
19096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19099 ac_cpp
='$CPP $CPPFLAGS'
19100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19106 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19107 echo "${ECHO_T}$wx_cv_explicit" >&6
19109 if test "$wx_cv_explicit" = "yes"; then
19110 cat >>confdefs.h
<<\_ACEOF
19111 #define HAVE_EXPLICIT 1
19117 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19118 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19119 if test "${ac_cv_cxx_const_cast+set}" = set; then
19120 echo $ECHO_N "(cached) $ECHO_C" >&6
19125 ac_cpp
='$CXXCPP $CPPFLAGS'
19126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19130 cat >conftest.
$ac_ext <<_ACEOF
19133 cat confdefs.h
>>conftest.
$ac_ext
19134 cat >>conftest.
$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19140 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19145 rm -f conftest.
$ac_objext
19146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19147 (eval $ac_compile) 2>conftest.er1
19149 grep -v '^ *+' conftest.er1
>conftest.err
19151 cat conftest.err
>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } &&
19154 { ac_try
='test -z "$ac_cxx_werror_flag"
19155 || test ! -s conftest.err'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; } &&
19161 { ac_try
='test -s conftest.$ac_objext'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; }; then
19167 ac_cv_cxx_const_cast
=yes
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.
$ac_ext >&5
19172 ac_cv_cxx_const_cast
=no
19174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19176 ac_cpp
='$CPP $CPPFLAGS'
19177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19183 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19184 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19185 if test "$ac_cv_cxx_const_cast" = yes; then
19187 cat >>confdefs.h
<<\_ACEOF
19188 #define HAVE_CONST_CAST
19193 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19194 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19195 if test "${ac_cv_cxx_static_cast+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19201 ac_cpp
='$CXXCPP $CPPFLAGS'
19202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19206 cat >conftest.
$ac_ext <<_ACEOF
19209 cat confdefs.h
>>conftest.
$ac_ext
19210 cat >>conftest.
$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212 #include <typeinfo>
19213 class Base { public : Base () {} virtual void f () = 0; };
19214 class Derived : public Base { public : Derived () {} virtual void f () {} };
19215 int g (Derived&) { return 0; }
19220 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19225 rm -f conftest.
$ac_objext
19226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19227 (eval $ac_compile) 2>conftest.er1
19229 grep -v '^ *+' conftest.er1
>conftest.err
19231 cat conftest.err
>&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } &&
19234 { ac_try
='test -z "$ac_cxx_werror_flag"
19235 || test ! -s conftest.err'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; } &&
19241 { ac_try
='test -s conftest.$ac_objext'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; }; then
19247 ac_cv_cxx_static_cast
=yes
19249 echo "$as_me: failed program was:" >&5
19250 sed 's/^/| /' conftest.
$ac_ext >&5
19252 ac_cv_cxx_static_cast
=no
19254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19256 ac_cpp
='$CPP $CPPFLAGS'
19257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19263 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19264 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19265 if test "$ac_cv_cxx_static_cast" = yes; then
19267 cat >>confdefs.h
<<\_ACEOF
19268 #define HAVE_STATIC_CAST
19274 if test "$wxUSE_STL" = "yes"; then
19276 ac_cpp
='$CXXCPP $CPPFLAGS'
19277 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19278 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19279 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19282 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19283 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19284 cat >conftest.
$ac_ext <<_ACEOF
19287 cat confdefs.h
>>conftest.
$ac_ext
19288 cat >>conftest.
$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19291 #include <functional>
19292 #include <algorithm>
19298 std::vector<int> moo;
19299 std::list<int> foo;
19300 std::vector<int>::iterator it =
19301 std::find_if(moo.begin(), moo.end(),
19302 std::bind2nd(std::less<int>(), 3));
19307 rm -f conftest.
$ac_objext
19308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19309 (eval $ac_compile) 2>conftest.er1
19311 grep -v '^ *+' conftest.er1
>conftest.err
19313 cat conftest.err
>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); } &&
19316 { ac_try
='test -z "$ac_cxx_werror_flag"
19317 || test ! -s conftest.err'
19318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19319 (eval $ac_try) 2>&5
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); }; } &&
19323 { ac_try
='test -s conftest.$ac_objext'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; }; then
19329 echo "$as_me:$LINENO: result: yes" >&5
19330 echo "${ECHO_T}yes" >&6
19332 echo "$as_me: failed program was:" >&5
19333 sed 's/^/| /' conftest.
$ac_ext >&5
19335 echo "$as_me:$LINENO: result: no" >&5
19336 echo "${ECHO_T}no" >&6
19337 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19338 echo "$as_me: error: Basic STL functionality missing" >&2;}
19339 { (exit 1); exit 1; }; }
19341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19343 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19344 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19345 cat >conftest.
$ac_ext <<_ACEOF
19348 cat confdefs.h
>>conftest.
$ac_ext
19349 cat >>conftest.
$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19360 rm -f conftest.
$ac_objext
19361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19362 (eval $ac_compile) 2>conftest.er1
19364 grep -v '^ *+' conftest.er1
>conftest.err
19366 cat conftest.err
>&5
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); } &&
19369 { ac_try
='test -z "$ac_cxx_werror_flag"
19370 || test ! -s conftest.err'
19371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19372 (eval $ac_try) 2>&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); }; } &&
19376 { ac_try
='test -s conftest.$ac_objext'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; }; then
19382 echo "$as_me:$LINENO: result: yes" >&5
19383 echo "${ECHO_T}yes" >&6
19384 cat >>confdefs.h
<<\_ACEOF
19385 #define HAVE_STD_WSTRING 1
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.
$ac_ext >&5
19392 echo "$as_me:$LINENO: result: no" >&5
19393 echo "${ECHO_T}no" >&6
19395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19397 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19398 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19399 cat >conftest.
$ac_ext <<_ACEOF
19402 cat confdefs.h
>>conftest.
$ac_ext
19403 cat >>conftest.
$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19409 std::string foo, bar;
19411 foo.compare(1, 1, bar);
19412 foo.compare(1, 1, bar, 1, 1);
19414 foo.compare(1, 1, "");
19415 foo.compare(1, 1, "", 2);
19420 rm -f conftest.
$ac_objext
19421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19422 (eval $ac_compile) 2>conftest.er1
19424 grep -v '^ *+' conftest.er1
>conftest.err
19426 cat conftest.err
>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } &&
19429 { ac_try
='test -z "$ac_cxx_werror_flag"
19430 || test ! -s conftest.err'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; } &&
19436 { ac_try
='test -s conftest.$ac_objext'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; }; then
19442 echo "$as_me:$LINENO: result: yes" >&5
19443 echo "${ECHO_T}yes" >&6
19444 cat >>confdefs.h
<<\_ACEOF
19445 #define HAVE_STD_STRING_COMPARE 1
19449 echo "$as_me: failed program was:" >&5
19450 sed 's/^/| /' conftest.
$ac_ext >&5
19452 echo "$as_me:$LINENO: result: no" >&5
19453 echo "${ECHO_T}no" >&6
19455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19457 if test "${ac_cv_header_hash_map+set}" = set; then
19458 echo "$as_me:$LINENO: checking for hash_map" >&5
19459 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19460 if test "${ac_cv_header_hash_map+set}" = set; then
19461 echo $ECHO_N "(cached) $ECHO_C" >&6
19463 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19464 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19466 # Is the header compilable?
19467 echo "$as_me:$LINENO: checking hash_map usability" >&5
19468 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19469 cat >conftest.
$ac_ext <<_ACEOF
19472 cat confdefs.h
>>conftest.
$ac_ext
19473 cat >>conftest.
$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19475 $ac_includes_default
19476 #include <hash_map>
19478 rm -f conftest.
$ac_objext
19479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19480 (eval $ac_compile) 2>conftest.er1
19482 grep -v '^ *+' conftest.er1
>conftest.err
19484 cat conftest.err
>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); } &&
19487 { ac_try
='test -z "$ac_cxx_werror_flag"
19488 || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try
='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_header_compiler
=yes
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.
$ac_ext >&5
19505 ac_header_compiler
=no
19507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19509 echo "${ECHO_T}$ac_header_compiler" >&6
19511 # Is the header present?
19512 echo "$as_me:$LINENO: checking hash_map presence" >&5
19513 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19514 cat >conftest.
$ac_ext <<_ACEOF
19517 cat confdefs.h
>>conftest.
$ac_ext
19518 cat >>conftest.
$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 #include <hash_map>
19522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19525 grep -v '^ *+' conftest.er1
>conftest.err
19527 cat conftest.err
>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } >/dev
/null
; then
19530 if test -s conftest.err
; then
19531 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19532 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19539 if test -z "$ac_cpp_err"; then
19540 ac_header_preproc
=yes
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.
$ac_ext >&5
19545 ac_header_preproc
=no
19547 rm -f conftest.err conftest.
$ac_ext
19548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19549 echo "${ECHO_T}$ac_header_preproc" >&6
19551 # So? What about this header?
19552 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19554 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19555 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19556 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19557 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19558 ac_header_preproc
=yes
19561 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19562 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19563 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19564 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19565 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19566 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19567 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19568 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19569 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19570 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19571 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19572 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19575 ## ----------------------------------------- ##
19576 ## Report this to wx-dev@lists.wxwidgets.org ##
19577 ## ----------------------------------------- ##
19580 sed "s/^/$as_me: WARNING: /" >&2
19583 echo "$as_me:$LINENO: checking for hash_map" >&5
19584 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19585 if test "${ac_cv_header_hash_map+set}" = set; then
19586 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 ac_cv_header_hash_map
=$ac_header_preproc
19590 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19591 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19594 if test $ac_cv_header_hash_map = yes; then
19595 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19596 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19597 cat >conftest.
$ac_ext <<_ACEOF
19600 cat confdefs.h
>>conftest.
$ac_ext
19601 cat >>conftest.
$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 #include <hash_map>
19604 #include <hash_set>
19608 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19609 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19614 rm -f conftest.
$ac_objext
19615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19616 (eval $ac_compile) 2>conftest.er1
19618 grep -v '^ *+' conftest.er1
>conftest.err
19620 cat conftest.err
>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } &&
19623 { ac_try
='test -z "$ac_cxx_werror_flag"
19624 || test ! -s conftest.err'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; } &&
19630 { ac_try
='test -s conftest.$ac_objext'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; }; then
19636 echo "$as_me:$LINENO: result: yes" >&5
19637 echo "${ECHO_T}yes" >&6
19638 cat >>confdefs.h
<<\_ACEOF
19639 #define HAVE_HASH_MAP 1
19642 cat >>confdefs.h
<<\_ACEOF
19643 #define HAVE_STD_HASH_MAP 1
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.
$ac_ext >&5
19650 echo "$as_me:$LINENO: result: no" >&5
19651 echo "${ECHO_T}no" >&6
19653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19660 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19661 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19662 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19666 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19668 # Is the header compilable?
19669 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19670 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19671 cat >conftest.
$ac_ext <<_ACEOF
19674 cat confdefs.h
>>conftest.
$ac_ext
19675 cat >>conftest.
$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 #include <ext/hash_map>
19680 rm -f conftest.
$ac_objext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19682 (eval $ac_compile) 2>conftest.er1
19684 grep -v '^ *+' conftest.er1
>conftest.err
19686 cat conftest.err
>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } &&
19689 { ac_try
='test -z "$ac_cxx_werror_flag"
19690 || test ! -s conftest.err'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; } &&
19696 { ac_try
='test -s conftest.$ac_objext'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 ac_header_compiler
=yes
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.
$ac_ext >&5
19707 ac_header_compiler
=no
19709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19711 echo "${ECHO_T}$ac_header_compiler" >&6
19713 # Is the header present?
19714 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19715 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19716 cat >conftest.
$ac_ext <<_ACEOF
19719 cat confdefs.h
>>conftest.
$ac_ext
19720 cat >>conftest.
$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19722 #include <ext/hash_map>
19724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19727 grep -v '^ *+' conftest.er1
>conftest.err
19729 cat conftest.err
>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } >/dev
/null
; then
19732 if test -s conftest.err
; then
19733 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19734 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19741 if test -z "$ac_cpp_err"; then
19742 ac_header_preproc
=yes
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.
$ac_ext >&5
19747 ac_header_preproc
=no
19749 rm -f conftest.err conftest.
$ac_ext
19750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19751 echo "${ECHO_T}$ac_header_preproc" >&6
19753 # So? What about this header?
19754 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19756 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19757 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19758 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19759 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19760 ac_header_preproc
=yes
19763 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19764 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19765 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19766 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19767 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19768 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19769 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19770 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19771 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19772 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19773 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19774 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19777 ## ----------------------------------------- ##
19778 ## Report this to wx-dev@lists.wxwidgets.org ##
19779 ## ----------------------------------------- ##
19782 sed "s/^/$as_me: WARNING: /" >&2
19785 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19786 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19787 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 ac_cv_header_ext_hash_map
=$ac_header_preproc
19792 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19793 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19796 if test $ac_cv_header_ext_hash_map = yes; then
19797 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19798 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19799 cat >conftest.
$ac_ext <<_ACEOF
19802 cat confdefs.h
>>conftest.
$ac_ext
19803 cat >>conftest.
$ac_ext <<_ACEOF
19804 /* end confdefs.h. */
19805 #include <ext/hash_map>
19806 #include <ext/hash_set>
19810 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19811 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19816 rm -f conftest.
$ac_objext
19817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19818 (eval $ac_compile) 2>conftest.er1
19820 grep -v '^ *+' conftest.er1
>conftest.err
19822 cat conftest.err
>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } &&
19825 { ac_try
='test -z "$ac_cxx_werror_flag"
19826 || test ! -s conftest.err'
19827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828 (eval $ac_try) 2>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); }; } &&
19832 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19838 echo "$as_me:$LINENO: result: yes" >&5
19839 echo "${ECHO_T}yes" >&6
19840 cat >>confdefs.h
<<\_ACEOF
19841 #define HAVE_EXT_HASH_MAP 1
19844 cat >>confdefs.h
<<\_ACEOF
19845 #define HAVE_GNU_CXX_HASH_MAP 1
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.
$ac_ext >&5
19852 echo "$as_me:$LINENO: result: no" >&5
19853 echo "${ECHO_T}no" >&6
19855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19862 ac_cpp
='$CPP $CPPFLAGS'
19863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19871 /usr/local/include \
19873 /usr/Motif-2.1/include \
19874 /usr/Motif-1.2/include \
19875 /usr/include/Motif1.2 \
19876 /opt/xpm/include/X11 \
19877 /opt/GBxpm/include/ \
19878 /opt/GBxpm/X11/include/ \
19881 /usr/openwin/include \
19885 /usr/X11R6/include \
19886 /usr/X11R6.4/include \
19887 /usr/X11R5/include \
19888 /usr/X11R4/include \
19890 /usr/include/X11R6 \
19891 /usr/include/X11R5 \
19892 /usr/include/X11R4 \
19894 /usr/local/X11R6/include \
19895 /usr/local/X11R5/include \
19896 /usr/local/X11R4/include \
19898 /usr/local/include/X11R6 \
19899 /usr/local/include/X11R5 \
19900 /usr/local/include/X11R4 \
19904 /usr/local/X11/include \
19905 /usr/local/include/X11 \
19907 /usr/X386/include \
19908 /usr/x386/include \
19909 /usr/XFree86/include/X11 \
19911 X:/XFree86/include \
19912 X:/XFree86/include/X11 \
19915 /usr/local/include/gtk \
19916 /usr/include/glib \
19917 /usr/local/include/glib \
19920 /usr/local/include/qt \
19922 /usr/local/arm/3.3.2/include \
19924 /usr/include/windows \
19925 /usr/include/wine \
19926 /usr/local/include/wine \
19928 /usr/unsupported/include \
19929 /usr/athena/include \
19930 /usr/local/x11r5/include \
19931 /usr/lpp/Xamples/include \
19933 /usr/openwin/share/include"
19935 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19938 cat >confcache
<<\_ACEOF
19939 # This file is a shell script that caches the results of configure
19940 # tests run on this system so they can be shared between configure
19941 # scripts and configure runs, see configure's option --config-cache.
19942 # It is not useful on other systems. If it contains results you don't
19943 # want to keep, you may remove or edit it.
19945 # config.status only pays attention to the cache file if you give it
19946 # the --recheck option to rerun configure.
19948 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19949 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19950 # following values.
19954 # The following way of writing the cache mishandles newlines in values,
19955 # but we know of no workaround that is simple, portable, and efficient.
19956 # So, don't put newlines in cache variables' values.
19957 # Ultrix sh set writes to stderr and can't be redirected directly,
19958 # and sets the high bit in the cache file unless we assign to the vars.
19961 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19963 # `set' does not quote correctly, so add quotes (double-quote
19964 # substitution turns \\\\ into \\, and sed turns \\ into \).
19967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19970 # `set' quotes correctly as required by POSIX, so do not add quotes.
19972 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19979 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19981 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19983 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19984 if test -w $cache_file; then
19985 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19986 cat confcache
>$cache_file
19988 echo "not updating unwritable cache $cache_file"
19993 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19994 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19995 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19996 if test "${wx_cv_lib_glibc21+set}" = set; then
19997 echo $ECHO_N "(cached) $ECHO_C" >&6
20000 cat >conftest.
$ac_ext <<_ACEOF
20003 cat confdefs.h
>>conftest.
$ac_ext
20004 cat >>conftest.
$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 #include <features.h>
20011 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20012 #error not glibc2.1
20019 rm -f conftest.
$ac_objext
20020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20021 (eval $ac_compile) 2>conftest.er1
20023 grep -v '^ *+' conftest.er1
>conftest.err
20025 cat conftest.err
>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } &&
20028 { ac_try
='test -z "$ac_c_werror_flag"
20029 || test ! -s conftest.err'
20030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20031 (eval $ac_try) 2>&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); }; } &&
20035 { ac_try
='test -s conftest.$ac_objext'
20036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20037 (eval $ac_try) 2>&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); }; }; then
20042 wx_cv_lib_glibc21
=yes
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.
$ac_ext >&5
20049 wx_cv_lib_glibc21
=no
20053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20056 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20057 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20058 if test "$wx_cv_lib_glibc21" = "yes"; then
20059 cat >>confdefs.h
<<\_ACEOF
20060 #define wxHAVE_GLIBC2 1
20066 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20067 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20068 cat >>confdefs.h
<<\_ACEOF
20069 #define _GNU_SOURCE 1
20077 if test "$wxUSE_REGEX" != "no"; then
20078 cat >>confdefs.h
<<\_ACEOF
20079 #define wxUSE_REGEX 1
20083 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20084 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20085 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20086 wxUSE_REGEX
=builtin
20089 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20090 if test "${ac_cv_header_regex_h+set}" = set; then
20091 echo "$as_me:$LINENO: checking for regex.h" >&5
20092 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20093 if test "${ac_cv_header_regex_h+set}" = set; then
20094 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20097 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20099 # Is the header compilable?
20100 echo "$as_me:$LINENO: checking regex.h usability" >&5
20101 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20102 cat >conftest.
$ac_ext <<_ACEOF
20105 cat confdefs.h
>>conftest.
$ac_ext
20106 cat >>conftest.
$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20108 $ac_includes_default
20111 rm -f conftest.
$ac_objext
20112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20113 (eval $ac_compile) 2>conftest.er1
20115 grep -v '^ *+' conftest.er1
>conftest.err
20117 cat conftest.err
>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } &&
20120 { ac_try
='test -z "$ac_c_werror_flag"
20121 || test ! -s conftest.err'
20122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20123 (eval $ac_try) 2>&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); }; } &&
20127 { ac_try
='test -s conftest.$ac_objext'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; }; then
20133 ac_header_compiler
=yes
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.
$ac_ext >&5
20138 ac_header_compiler
=no
20140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20142 echo "${ECHO_T}$ac_header_compiler" >&6
20144 # Is the header present?
20145 echo "$as_me:$LINENO: checking regex.h presence" >&5
20146 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20147 cat >conftest.
$ac_ext <<_ACEOF
20150 cat confdefs.h
>>conftest.
$ac_ext
20151 cat >>conftest.
$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20158 grep -v '^ *+' conftest.er1
>conftest.err
20160 cat conftest.err
>&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } >/dev
/null
; then
20163 if test -s conftest.err
; then
20164 ac_cpp_err
=$ac_c_preproc_warn_flag
20165 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20172 if test -z "$ac_cpp_err"; then
20173 ac_header_preproc
=yes
20175 echo "$as_me: failed program was:" >&5
20176 sed 's/^/| /' conftest.
$ac_ext >&5
20178 ac_header_preproc
=no
20180 rm -f conftest.err conftest.
$ac_ext
20181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20182 echo "${ECHO_T}$ac_header_preproc" >&6
20184 # So? What about this header?
20185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20187 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20188 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20189 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20190 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20191 ac_header_preproc
=yes
20194 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20195 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20196 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20197 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20198 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20199 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20200 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20201 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20202 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20203 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20204 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20205 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20208 ## ----------------------------------------- ##
20209 ## Report this to wx-dev@lists.wxwidgets.org ##
20210 ## ----------------------------------------- ##
20213 sed "s/^/$as_me: WARNING: /" >&2
20216 echo "$as_me:$LINENO: checking for regex.h" >&5
20217 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20218 if test "${ac_cv_header_regex_h+set}" = set; then
20219 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 ac_cv_header_regex_h
=$ac_header_preproc
20223 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20224 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20227 if test $ac_cv_header_regex_h = yes; then
20229 for ac_func
in regcomp
20231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20232 echo "$as_me:$LINENO: checking for $ac_func" >&5
20233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20234 if eval "test \"\${$as_ac_var+set}\" = set"; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20237 cat >conftest.
$ac_ext <<_ACEOF
20240 cat confdefs.h
>>conftest.
$ac_ext
20241 cat >>conftest.
$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20245 #define $ac_func innocuous_$ac_func
20247 /* System header to define __stub macros and hopefully few prototypes,
20248 which can conflict with char $ac_func (); below.
20249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20250 <limits.h> exists even on freestanding compilers. */
20253 # include <limits.h>
20255 # include <assert.h>
20260 /* Override any gcc2 internal prototype to avoid an error. */
20265 /* We use char because int might match the return type of a gcc2
20266 builtin and then its argument prototype would still apply. */
20268 /* The GNU C library defines this for functions which it implements
20269 to always fail with ENOSYS. Some functions are actually named
20270 something starting with __ and the normal name is an alias. */
20271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20274 char (*f) () = $ac_func;
20283 return f != $ac_func;
20288 rm -f conftest.
$ac_objext conftest
$ac_exeext
20289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20290 (eval $ac_link) 2>conftest.er1
20292 grep -v '^ *+' conftest.er1
>conftest.err
20294 cat conftest.err
>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); } &&
20297 { ac_try
='test -z "$ac_c_werror_flag"
20298 || test ! -s conftest.err'
20299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20300 (eval $ac_try) 2>&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); }; } &&
20304 { ac_try
='test -s conftest$ac_exeext'
20305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20306 (eval $ac_try) 2>&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); }; }; then
20310 eval "$as_ac_var=yes"
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.
$ac_ext >&5
20315 eval "$as_ac_var=no"
20317 rm -f conftest.err conftest.
$ac_objext \
20318 conftest
$ac_exeext conftest.
$ac_ext
20320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20322 if test `eval echo '${'$as_ac_var'}'` = yes; then
20323 cat >>confdefs.h
<<_ACEOF
20324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20334 if test "x$ac_cv_func_regcomp" != "xyes"; then
20335 if test "$wxUSE_REGEX" = "sys" ; then
20336 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20337 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20338 { (exit 1); exit 1; }; }
20340 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20341 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20342 wxUSE_REGEX
=builtin
20346 cat >>confdefs.h
<<\_ACEOF
20347 #define WX_NO_REGEX_ADVANCED 1
20356 if test "$wxUSE_ZLIB" != "no" ; then
20357 cat >>confdefs.h
<<\_ACEOF
20358 #define wxUSE_ZLIB 1
20362 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20363 if test "$USE_DARWIN" = 1; then
20364 system_zlib_h_ok
="yes"
20366 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20367 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20368 if test "${ac_cv_header_zlib_h+set}" = set; then
20369 echo $ECHO_N "(cached) $ECHO_C" >&6
20371 if test "$cross_compiling" = yes; then
20372 unset ac_cv_header_zlib_h
20375 cat >conftest.
$ac_ext <<_ACEOF
20378 cat confdefs.h
>>conftest.
$ac_ext
20379 cat >>conftest.
$ac_ext <<_ACEOF
20380 /* end confdefs.h. */
20387 FILE *f=fopen("conftestval", "w");
20390 ZLIB_VERSION[0] == '1' &&
20391 (ZLIB_VERSION[2] > '1' ||
20392 (ZLIB_VERSION[2] == '1' &&
20393 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20398 rm -f conftest
$ac_exeext
20399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20400 (eval $ac_link) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; }; then
20409 ac_cv_header_zlib_h
=`cat conftestval`
20411 echo "$as_me: program exited with status $ac_status" >&5
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.
$ac_ext >&5
20415 ( exit $ac_status )
20416 ac_cv_header_zlib_h
=no
20418 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20422 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20423 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20424 if test "${ac_cv_header_zlib_h+set}" = set; then
20425 echo "$as_me:$LINENO: checking for zlib.h" >&5
20426 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20427 if test "${ac_cv_header_zlib_h+set}" = set; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20430 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20431 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20433 # Is the header compilable?
20434 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20435 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20436 cat >conftest.
$ac_ext <<_ACEOF
20439 cat confdefs.h
>>conftest.
$ac_ext
20440 cat >>conftest.
$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 $ac_includes_default
20445 rm -f conftest.
$ac_objext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20447 (eval $ac_compile) 2>conftest.er1
20449 grep -v '^ *+' conftest.er1
>conftest.err
20451 cat conftest.err
>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } &&
20454 { ac_try
='test -z "$ac_c_werror_flag"
20455 || test ! -s conftest.err'
20456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457 (eval $ac_try) 2>&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); }; } &&
20461 { ac_try
='test -s conftest.$ac_objext'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; }; then
20467 ac_header_compiler
=yes
20469 echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.
$ac_ext >&5
20472 ac_header_compiler
=no
20474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20476 echo "${ECHO_T}$ac_header_compiler" >&6
20478 # Is the header present?
20479 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20480 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20481 cat >conftest.
$ac_ext <<_ACEOF
20484 cat confdefs.h
>>conftest.
$ac_ext
20485 cat >>conftest.
$ac_ext <<_ACEOF
20486 /* end confdefs.h. */
20489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20492 grep -v '^ *+' conftest.er1
>conftest.err
20494 cat conftest.err
>&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } >/dev
/null
; then
20497 if test -s conftest.err
; then
20498 ac_cpp_err
=$ac_c_preproc_warn_flag
20499 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20506 if test -z "$ac_cpp_err"; then
20507 ac_header_preproc
=yes
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.
$ac_ext >&5
20512 ac_header_preproc
=no
20514 rm -f conftest.err conftest.
$ac_ext
20515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20516 echo "${ECHO_T}$ac_header_preproc" >&6
20518 # So? What about this header?
20519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20521 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20522 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20523 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20524 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20525 ac_header_preproc
=yes
20528 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20529 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20530 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20531 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20532 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20533 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20534 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20535 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20536 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20537 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20538 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20539 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20542 ## ----------------------------------------- ##
20543 ## Report this to wx-dev@lists.wxwidgets.org ##
20544 ## ----------------------------------------- ##
20547 sed "s/^/$as_me: WARNING: /" >&2
20550 echo "$as_me:$LINENO: checking for zlib.h" >&5
20551 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20552 if test "${ac_cv_header_zlib_h+set}" = set; then
20553 echo $ECHO_N "(cached) $ECHO_C" >&6
20555 ac_cv_header_zlib_h
=$ac_header_preproc
20557 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20558 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20564 system_zlib_h_ok
=$ac_cv_header_zlib_h
20567 if test "$system_zlib_h_ok" = "yes"; then
20568 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20569 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20570 if test "${ac_cv_lib_z_deflate+set}" = set; then
20571 echo $ECHO_N "(cached) $ECHO_C" >&6
20573 ac_check_lib_save_LIBS
=$LIBS
20575 cat >conftest.
$ac_ext <<_ACEOF
20578 cat confdefs.h
>>conftest.
$ac_ext
20579 cat >>conftest.
$ac_ext <<_ACEOF
20580 /* end confdefs.h. */
20582 /* Override any gcc2 internal prototype to avoid an error. */
20586 /* We use char because int might match the return type of a gcc2
20587 builtin and then its argument prototype would still apply. */
20597 rm -f conftest.
$ac_objext conftest
$ac_exeext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20599 (eval $ac_link) 2>conftest.er1
20601 grep -v '^ *+' conftest.er1
>conftest.err
20603 cat conftest.err
>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } &&
20606 { ac_try
='test -z "$ac_c_werror_flag"
20607 || test ! -s conftest.err'
20608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20609 (eval $ac_try) 2>&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); }; } &&
20613 { ac_try
='test -s conftest$ac_exeext'
20614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615 (eval $ac_try) 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; }; then
20619 ac_cv_lib_z_deflate
=yes
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.
$ac_ext >&5
20624 ac_cv_lib_z_deflate
=no
20626 rm -f conftest.err conftest.
$ac_objext \
20627 conftest
$ac_exeext conftest.
$ac_ext
20628 LIBS
=$ac_check_lib_save_LIBS
20630 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20631 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20632 if test $ac_cv_lib_z_deflate = yes; then
20638 if test "x$ZLIB_LINK" = "x" ; then
20639 if test "$wxUSE_ZLIB" = "sys" ; then
20640 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20641 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20642 { (exit 1); exit 1; }; }
20644 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20645 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20656 if test "$wxUSE_LIBPNG" != "no" ; then
20657 cat >>confdefs.h
<<\_ACEOF
20658 #define wxUSE_LIBPNG 1
20662 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20663 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20664 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20668 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20669 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20670 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20671 wxUSE_LIBPNG
=builtin
20674 if test "$wxUSE_MGL" != 1 ; then
20675 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20676 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20677 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20678 if test "${ac_cv_header_png_h+set}" = set; then
20679 echo $ECHO_N "(cached) $ECHO_C" >&6
20681 if test "$cross_compiling" = yes; then
20682 unset ac_cv_header_png_h
20685 cat >conftest.
$ac_ext <<_ACEOF
20688 cat confdefs.h
>>conftest.
$ac_ext
20689 cat >>conftest.
$ac_ext <<_ACEOF
20690 /* end confdefs.h. */
20697 FILE *f=fopen("conftestval", "w");
20700 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20705 rm -f conftest
$ac_exeext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20707 (eval $ac_link) 2>&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20712 (eval $ac_try) 2>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; }; then
20716 ac_cv_header_png_h
=`cat conftestval`
20718 echo "$as_me: program exited with status $ac_status" >&5
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.
$ac_ext >&5
20722 ( exit $ac_status )
20723 ac_cv_header_png_h
=no
20725 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20729 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20730 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20731 if test "${ac_cv_header_png_h+set}" = set; then
20732 echo "$as_me:$LINENO: checking for png.h" >&5
20733 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20734 if test "${ac_cv_header_png_h+set}" = set; then
20735 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20738 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20740 # Is the header compilable?
20741 echo "$as_me:$LINENO: checking png.h usability" >&5
20742 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20743 cat >conftest.
$ac_ext <<_ACEOF
20746 cat confdefs.h
>>conftest.
$ac_ext
20747 cat >>conftest.
$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20749 $ac_includes_default
20752 rm -f conftest.
$ac_objext
20753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20754 (eval $ac_compile) 2>conftest.er1
20756 grep -v '^ *+' conftest.er1
>conftest.err
20758 cat conftest.err
>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } &&
20761 { ac_try
='test -z "$ac_c_werror_flag"
20762 || test ! -s conftest.err'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; } &&
20768 { ac_try
='test -s conftest.$ac_objext'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; }; then
20774 ac_header_compiler
=yes
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.
$ac_ext >&5
20779 ac_header_compiler
=no
20781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20783 echo "${ECHO_T}$ac_header_compiler" >&6
20785 # Is the header present?
20786 echo "$as_me:$LINENO: checking png.h presence" >&5
20787 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20788 cat >conftest.
$ac_ext <<_ACEOF
20791 cat confdefs.h
>>conftest.
$ac_ext
20792 cat >>conftest.
$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20799 grep -v '^ *+' conftest.er1
>conftest.err
20801 cat conftest.err
>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); } >/dev
/null
; then
20804 if test -s conftest.err
; then
20805 ac_cpp_err
=$ac_c_preproc_warn_flag
20806 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20813 if test -z "$ac_cpp_err"; then
20814 ac_header_preproc
=yes
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.
$ac_ext >&5
20819 ac_header_preproc
=no
20821 rm -f conftest.err conftest.
$ac_ext
20822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20823 echo "${ECHO_T}$ac_header_preproc" >&6
20825 # So? What about this header?
20826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20828 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20829 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20830 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20831 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20832 ac_header_preproc
=yes
20835 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20836 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20837 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20838 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20839 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20840 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20841 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20842 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20843 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20844 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20845 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20846 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20849 ## ----------------------------------------- ##
20850 ## Report this to wx-dev@lists.wxwidgets.org ##
20851 ## ----------------------------------------- ##
20854 sed "s/^/$as_me: WARNING: /" >&2
20857 echo "$as_me:$LINENO: checking for png.h" >&5
20858 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20859 if test "${ac_cv_header_png_h+set}" = set; then
20860 echo $ECHO_N "(cached) $ECHO_C" >&6
20862 ac_cv_header_png_h
=$ac_header_preproc
20864 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20865 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20871 if test "$ac_cv_header_png_h" = "yes"; then
20872 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20873 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20874 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20875 echo $ECHO_N "(cached) $ECHO_C" >&6
20877 ac_check_lib_save_LIBS
=$LIBS
20878 LIBS
="-lpng -lz -lm $LIBS"
20879 cat >conftest.
$ac_ext <<_ACEOF
20882 cat confdefs.h
>>conftest.
$ac_ext
20883 cat >>conftest.
$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20886 /* Override any gcc2 internal prototype to avoid an error. */
20890 /* We use char because int might match the return type of a gcc2
20891 builtin and then its argument prototype would still apply. */
20892 char png_check_sig ();
20901 rm -f conftest.
$ac_objext conftest
$ac_exeext
20902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20903 (eval $ac_link) 2>conftest.er1
20905 grep -v '^ *+' conftest.er1
>conftest.err
20907 cat conftest.err
>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); } &&
20910 { ac_try
='test -z "$ac_c_werror_flag"
20911 || test ! -s conftest.err'
20912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913 (eval $ac_try) 2>&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; } &&
20917 { ac_try
='test -s conftest$ac_exeext'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; }; then
20923 ac_cv_lib_png_png_check_sig
=yes
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.
$ac_ext >&5
20928 ac_cv_lib_png_png_check_sig
=no
20930 rm -f conftest.err conftest.
$ac_objext \
20931 conftest
$ac_exeext conftest.
$ac_ext
20932 LIBS
=$ac_check_lib_save_LIBS
20934 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20935 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20936 if test $ac_cv_lib_png_png_check_sig = yes; then
20937 PNG_LINK
=" -lpng -lz"
20942 if test "x$PNG_LINK" = "x" ; then
20943 if test "$wxUSE_LIBPNG" = "sys" ; then
20944 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20945 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20946 { (exit 1); exit 1; }; }
20948 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20949 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20950 wxUSE_LIBPNG
=builtin
20958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20963 if test "$wxUSE_LIBJPEG" != "no" ; then
20964 cat >>confdefs.h
<<\_ACEOF
20965 #define wxUSE_LIBJPEG 1
20969 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20970 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20971 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20975 if test "$wxUSE_MGL" != 1 ; then
20976 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20977 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20978 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20979 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20982 cat >conftest.
$ac_ext <<_ACEOF
20985 cat confdefs.h
>>conftest.
$ac_ext
20986 cat >>conftest.
$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20989 #undef HAVE_STDLIB_H
20991 #include <jpeglib.h>
21002 rm -f conftest.
$ac_objext
21003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21004 (eval $ac_compile) 2>conftest.er1
21006 grep -v '^ *+' conftest.er1
>conftest.err
21008 cat conftest.err
>&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } &&
21011 { ac_try
='test -z "$ac_c_werror_flag"
21012 || test ! -s conftest.err'
21013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21014 (eval $ac_try) 2>&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); }; } &&
21018 { ac_try
='test -s conftest.$ac_objext'
21019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21020 (eval $ac_try) 2>&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); }; }; then
21024 ac_cv_header_jpeglib_h
=yes
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.
$ac_ext >&5
21029 ac_cv_header_jpeglib_h
=no
21032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21036 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21037 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21039 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21040 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21041 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21042 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 ac_check_lib_save_LIBS
=$LIBS
21046 LIBS
="-ljpeg $LIBS"
21047 cat >conftest.
$ac_ext <<_ACEOF
21050 cat confdefs.h
>>conftest.
$ac_ext
21051 cat >>conftest.
$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21054 /* Override any gcc2 internal prototype to avoid an error. */
21058 /* We use char because int might match the return type of a gcc2
21059 builtin and then its argument prototype would still apply. */
21060 char jpeg_read_header ();
21064 jpeg_read_header ();
21069 rm -f conftest.
$ac_objext conftest
$ac_exeext
21070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21071 (eval $ac_link) 2>conftest.er1
21073 grep -v '^ *+' conftest.er1
>conftest.err
21075 cat conftest.err
>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); } &&
21078 { ac_try
='test -z "$ac_c_werror_flag"
21079 || test ! -s conftest.err'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; } &&
21085 { ac_try
='test -s conftest$ac_exeext'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; }; then
21091 ac_cv_lib_jpeg_jpeg_read_header
=yes
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.
$ac_ext >&5
21096 ac_cv_lib_jpeg_jpeg_read_header
=no
21098 rm -f conftest.err conftest.
$ac_objext \
21099 conftest
$ac_exeext conftest.
$ac_ext
21100 LIBS
=$ac_check_lib_save_LIBS
21102 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21103 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21104 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21105 JPEG_LINK
=" -ljpeg"
21110 if test "x$JPEG_LINK" = "x" ; then
21111 if test "$wxUSE_LIBJPEG" = "sys" ; then
21112 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21113 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21114 { (exit 1); exit 1; }; }
21116 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21117 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21118 wxUSE_LIBJPEG
=builtin
21129 TIFF_PREREQ_LINKS
=-lm
21130 if test "$wxUSE_LIBTIFF" != "no" ; then
21131 cat >>confdefs.h
<<\_ACEOF
21132 #define wxUSE_LIBTIFF 1
21136 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21137 if test "$wxUSE_LIBJPEG" = "sys"; then
21138 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21140 if test "$wxUSE_ZLIB" = "sys"; then
21141 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21143 if test "${ac_cv_header_tiffio_h+set}" = set; then
21144 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21145 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21146 if test "${ac_cv_header_tiffio_h+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21150 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21152 # Is the header compilable?
21153 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21154 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21155 cat >conftest.
$ac_ext <<_ACEOF
21158 cat confdefs.h
>>conftest.
$ac_ext
21159 cat >>conftest.
$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21162 #include <tiffio.h>
21164 rm -f conftest.
$ac_objext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21166 (eval $ac_compile) 2>conftest.er1
21168 grep -v '^ *+' conftest.er1
>conftest.err
21170 cat conftest.err
>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); } &&
21173 { ac_try
='test -z "$ac_c_werror_flag"
21174 || test ! -s conftest.err'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; } &&
21180 { ac_try
='test -s conftest.$ac_objext'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 ac_header_compiler
=yes
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21191 ac_header_compiler
=no
21193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21195 echo "${ECHO_T}$ac_header_compiler" >&6
21197 # Is the header present?
21198 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21199 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21200 cat >conftest.
$ac_ext <<_ACEOF
21203 cat confdefs.h
>>conftest.
$ac_ext
21204 cat >>conftest.
$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 #include <tiffio.h>
21208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21209 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21211 grep -v '^ *+' conftest.er1
>conftest.err
21213 cat conftest.err
>&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); } >/dev
/null
; then
21216 if test -s conftest.err
; then
21217 ac_cpp_err
=$ac_c_preproc_warn_flag
21218 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21225 if test -z "$ac_cpp_err"; then
21226 ac_header_preproc
=yes
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.
$ac_ext >&5
21231 ac_header_preproc
=no
21233 rm -f conftest.err conftest.
$ac_ext
21234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21235 echo "${ECHO_T}$ac_header_preproc" >&6
21237 # So? What about this header?
21238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21240 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21241 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21242 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21243 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21244 ac_header_preproc
=yes
21247 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21248 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21249 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21250 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21251 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21252 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21253 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21254 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21255 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21256 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21257 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21258 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21261 ## ----------------------------------------- ##
21262 ## Report this to wx-dev@lists.wxwidgets.org ##
21263 ## ----------------------------------------- ##
21266 sed "s/^/$as_me: WARNING: /" >&2
21269 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21270 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21271 if test "${ac_cv_header_tiffio_h+set}" = set; then
21272 echo $ECHO_N "(cached) $ECHO_C" >&6
21274 ac_cv_header_tiffio_h
=$ac_header_preproc
21276 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21277 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21280 if test $ac_cv_header_tiffio_h = yes; then
21282 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21283 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21284 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21287 ac_check_lib_save_LIBS
=$LIBS
21288 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21289 cat >conftest.
$ac_ext <<_ACEOF
21292 cat confdefs.h
>>conftest.
$ac_ext
21293 cat >>conftest.
$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21296 /* Override any gcc2 internal prototype to avoid an error. */
21300 /* We use char because int might match the return type of a gcc2
21301 builtin and then its argument prototype would still apply. */
21311 rm -f conftest.
$ac_objext conftest
$ac_exeext
21312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21313 (eval $ac_link) 2>conftest.er1
21315 grep -v '^ *+' conftest.er1
>conftest.err
21317 cat conftest.err
>&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } &&
21320 { ac_try
='test -z "$ac_c_werror_flag"
21321 || test ! -s conftest.err'
21322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21323 (eval $ac_try) 2>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); }; } &&
21327 { ac_try
='test -s conftest$ac_exeext'
21328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21329 (eval $ac_try) 2>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); }; }; then
21333 ac_cv_lib_tiff_TIFFError
=yes
21335 echo "$as_me: failed program was:" >&5
21336 sed 's/^/| /' conftest.
$ac_ext >&5
21338 ac_cv_lib_tiff_TIFFError
=no
21340 rm -f conftest.err conftest.
$ac_objext \
21341 conftest
$ac_exeext conftest.
$ac_ext
21342 LIBS
=$ac_check_lib_save_LIBS
21344 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21345 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21346 if test $ac_cv_lib_tiff_TIFFError = yes; then
21347 TIFF_LINK
=" -ltiff"
21356 if test "x$TIFF_LINK" = "x" ; then
21357 if test "$wxUSE_LIBTIFF" = "sys" ; then
21358 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21359 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21360 { (exit 1); exit 1; }; }
21362 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21363 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21364 wxUSE_LIBTIFF
=builtin
21373 if test "$wxUSE_EXPAT" != "no"; then
21375 cat >>confdefs.h
<<\_ACEOF
21376 #define wxUSE_EXPAT 1
21379 cat >>confdefs.h
<<\_ACEOF
21380 #define wxUSE_XML 1
21384 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21385 if test "${ac_cv_header_expat_h+set}" = set; then
21386 echo "$as_me:$LINENO: checking for expat.h" >&5
21387 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21388 if test "${ac_cv_header_expat_h+set}" = set; then
21389 echo $ECHO_N "(cached) $ECHO_C" >&6
21391 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21392 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21394 # Is the header compilable?
21395 echo "$as_me:$LINENO: checking expat.h usability" >&5
21396 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21397 cat >conftest.
$ac_ext <<_ACEOF
21400 cat confdefs.h
>>conftest.
$ac_ext
21401 cat >>conftest.
$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21403 $ac_includes_default
21406 rm -f conftest.
$ac_objext
21407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21408 (eval $ac_compile) 2>conftest.er1
21410 grep -v '^ *+' conftest.er1
>conftest.err
21412 cat conftest.err
>&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } &&
21415 { ac_try
='test -z "$ac_c_werror_flag"
21416 || test ! -s conftest.err'
21417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21418 (eval $ac_try) 2>&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; } &&
21422 { ac_try
='test -s conftest.$ac_objext'
21423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424 (eval $ac_try) 2>&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); }; }; then
21428 ac_header_compiler
=yes
21430 echo "$as_me: failed program was:" >&5
21431 sed 's/^/| /' conftest.
$ac_ext >&5
21433 ac_header_compiler
=no
21435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21437 echo "${ECHO_T}$ac_header_compiler" >&6
21439 # Is the header present?
21440 echo "$as_me:$LINENO: checking expat.h presence" >&5
21441 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21442 cat >conftest.
$ac_ext <<_ACEOF
21445 cat confdefs.h
>>conftest.
$ac_ext
21446 cat >>conftest.
$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21453 grep -v '^ *+' conftest.er1
>conftest.err
21455 cat conftest.err
>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } >/dev
/null
; then
21458 if test -s conftest.err
; then
21459 ac_cpp_err
=$ac_c_preproc_warn_flag
21460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21467 if test -z "$ac_cpp_err"; then
21468 ac_header_preproc
=yes
21470 echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.
$ac_ext >&5
21473 ac_header_preproc
=no
21475 rm -f conftest.err conftest.
$ac_ext
21476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21477 echo "${ECHO_T}$ac_header_preproc" >&6
21479 # So? What about this header?
21480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21482 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21483 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21484 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21485 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21486 ac_header_preproc
=yes
21489 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21490 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21491 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21492 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21493 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21494 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21495 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21496 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21497 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21498 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21499 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21500 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21503 ## ----------------------------------------- ##
21504 ## Report this to wx-dev@lists.wxwidgets.org ##
21505 ## ----------------------------------------- ##
21508 sed "s/^/$as_me: WARNING: /" >&2
21511 echo "$as_me:$LINENO: checking for expat.h" >&5
21512 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21513 if test "${ac_cv_header_expat_h+set}" = set; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 ac_cv_header_expat_h
=$ac_header_preproc
21518 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21519 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21522 if test $ac_cv_header_expat_h = yes; then
21527 if test "x$found_expat_h" = "x1"; then
21528 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21529 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21530 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21531 echo $ECHO_N "(cached) $ECHO_C" >&6
21537 ac_cpp
='$CXXCPP $CPPFLAGS'
21538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21542 cat >conftest.
$ac_ext <<_ACEOF
21545 cat confdefs.h
>>conftest.
$ac_ext
21546 cat >>conftest.
$ac_ext <<_ACEOF
21547 /* end confdefs.h. */
21557 rm -f conftest.
$ac_objext
21558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21559 (eval $ac_compile) 2>conftest.er1
21561 grep -v '^ *+' conftest.er1
>conftest.err
21563 cat conftest.err
>&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } &&
21566 { ac_try
='test -z "$ac_cxx_werror_flag"
21567 || test ! -s conftest.err'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; } &&
21573 { ac_try
='test -s conftest.$ac_objext'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; }; then
21579 wx_cv_expat_is_not_broken
=yes
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.
$ac_ext >&5
21584 wx_cv_expat_is_not_broken
=no
21587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21589 ac_cpp
='$CPP $CPPFLAGS'
21590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21597 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21598 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21599 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21600 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21601 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21602 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21605 ac_check_lib_save_LIBS
=$LIBS
21606 LIBS
="-lexpat $LIBS"
21607 cat >conftest.
$ac_ext <<_ACEOF
21610 cat confdefs.h
>>conftest.
$ac_ext
21611 cat >>conftest.
$ac_ext <<_ACEOF
21612 /* end confdefs.h. */
21614 /* Override any gcc2 internal prototype to avoid an error. */
21618 /* We use char because int might match the return type of a gcc2
21619 builtin and then its argument prototype would still apply. */
21620 char XML_ParserCreate ();
21624 XML_ParserCreate ();
21629 rm -f conftest.
$ac_objext conftest
$ac_exeext
21630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21631 (eval $ac_link) 2>conftest.er1
21633 grep -v '^ *+' conftest.er1
>conftest.err
21635 cat conftest.err
>&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } &&
21638 { ac_try
='test -z "$ac_c_werror_flag"
21639 || test ! -s conftest.err'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; } &&
21645 { ac_try
='test -s conftest$ac_exeext'
21646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21647 (eval $ac_try) 2>&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); }; }; then
21651 ac_cv_lib_expat_XML_ParserCreate
=yes
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.
$ac_ext >&5
21656 ac_cv_lib_expat_XML_ParserCreate
=no
21658 rm -f conftest.err conftest.
$ac_objext \
21659 conftest
$ac_exeext conftest.
$ac_ext
21660 LIBS
=$ac_check_lib_save_LIBS
21662 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21663 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21664 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21665 EXPAT_LINK
=" -lexpat"
21670 if test "x$EXPAT_LINK" = "x" ; then
21671 if test "$wxUSE_EXPAT" = "sys" ; then
21672 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21673 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21674 { (exit 1); exit 1; }; }
21676 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21677 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21678 wxUSE_EXPAT
=builtin
21684 if test "$wxUSE_EXPAT" = "builtin" ; then
21687 subdirs
="$subdirs src/expat"
21694 if test "$wxUSE_LIBMSPACK" != "no"; then
21696 if test "${ac_cv_header_mspack_h+set}" = set; then
21697 echo "$as_me:$LINENO: checking for mspack.h" >&5
21698 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21699 if test "${ac_cv_header_mspack_h+set}" = set; then
21700 echo $ECHO_N "(cached) $ECHO_C" >&6
21702 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21703 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21705 # Is the header compilable?
21706 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21707 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21708 cat >conftest.
$ac_ext <<_ACEOF
21711 cat confdefs.h
>>conftest.
$ac_ext
21712 cat >>conftest.
$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 #include <mspack.h>
21717 rm -f conftest.
$ac_objext
21718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21719 (eval $ac_compile) 2>conftest.er1
21721 grep -v '^ *+' conftest.er1
>conftest.err
21723 cat conftest.err
>&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } &&
21726 { ac_try
='test -z "$ac_c_werror_flag"
21727 || test ! -s conftest.err'
21728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21729 (eval $ac_try) 2>&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); }; } &&
21733 { ac_try
='test -s conftest.$ac_objext'
21734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21735 (eval $ac_try) 2>&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); }; }; then
21739 ac_header_compiler
=yes
21741 echo "$as_me: failed program was:" >&5
21742 sed 's/^/| /' conftest.
$ac_ext >&5
21744 ac_header_compiler
=no
21746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21748 echo "${ECHO_T}$ac_header_compiler" >&6
21750 # Is the header present?
21751 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21752 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21753 cat >conftest.
$ac_ext <<_ACEOF
21756 cat confdefs.h
>>conftest.
$ac_ext
21757 cat >>conftest.
$ac_ext <<_ACEOF
21758 /* end confdefs.h. */
21759 #include <mspack.h>
21761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21764 grep -v '^ *+' conftest.er1
>conftest.err
21766 cat conftest.err
>&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } >/dev
/null
; then
21769 if test -s conftest.err
; then
21770 ac_cpp_err
=$ac_c_preproc_warn_flag
21771 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21778 if test -z "$ac_cpp_err"; then
21779 ac_header_preproc
=yes
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.
$ac_ext >&5
21784 ac_header_preproc
=no
21786 rm -f conftest.err conftest.
$ac_ext
21787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21788 echo "${ECHO_T}$ac_header_preproc" >&6
21790 # So? What about this header?
21791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21793 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21794 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21795 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21796 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21797 ac_header_preproc
=yes
21800 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21801 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21802 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21803 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21804 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21805 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21806 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21807 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21808 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21809 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21810 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21811 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21814 ## ----------------------------------------- ##
21815 ## Report this to wx-dev@lists.wxwidgets.org ##
21816 ## ----------------------------------------- ##
21819 sed "s/^/$as_me: WARNING: /" >&2
21822 echo "$as_me:$LINENO: checking for mspack.h" >&5
21823 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21824 if test "${ac_cv_header_mspack_h+set}" = set; then
21825 echo $ECHO_N "(cached) $ECHO_C" >&6
21827 ac_cv_header_mspack_h
=$ac_header_preproc
21829 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21830 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21833 if test $ac_cv_header_mspack_h = yes; then
21838 if test "x$found_mspack_h" = "x1"; then
21839 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21840 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21841 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21842 echo $ECHO_N "(cached) $ECHO_C" >&6
21844 ac_check_lib_save_LIBS
=$LIBS
21845 LIBS
="-lmspack $LIBS"
21846 cat >conftest.
$ac_ext <<_ACEOF
21849 cat confdefs.h
>>conftest.
$ac_ext
21850 cat >>conftest.
$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21853 /* Override any gcc2 internal prototype to avoid an error. */
21857 /* We use char because int might match the return type of a gcc2
21858 builtin and then its argument prototype would still apply. */
21859 char mspack_create_chm_decompressor ();
21863 mspack_create_chm_decompressor ();
21868 rm -f conftest.
$ac_objext conftest
$ac_exeext
21869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21870 (eval $ac_link) 2>conftest.er1
21872 grep -v '^ *+' conftest.er1
>conftest.err
21874 cat conftest.err
>&5
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); } &&
21877 { ac_try
='test -z "$ac_c_werror_flag"
21878 || test ! -s conftest.err'
21879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21880 (eval $ac_try) 2>&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); }; } &&
21884 { ac_try
='test -s conftest$ac_exeext'
21885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21886 (eval $ac_try) 2>&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); }; }; then
21890 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.
$ac_ext >&5
21895 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21897 rm -f conftest.err conftest.
$ac_objext \
21898 conftest
$ac_exeext conftest.
$ac_ext
21899 LIBS
=$ac_check_lib_save_LIBS
21901 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21902 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21903 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21904 MSPACK_LINK
=" -lmspack"
21908 if test "x$MSPACK_LINK" = "x" ; then
21911 cat >>confdefs.h
<<\_ACEOF
21912 #define wxUSE_LIBMSPACK 1
21927 if test "$USE_WIN32" = 1 ; then
21929 for ac_header
in w32api.h
21931 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21933 echo "$as_me:$LINENO: checking for $ac_header" >&5
21934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21941 # Is the header compilable?
21942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21944 cat >conftest.
$ac_ext <<_ACEOF
21947 cat confdefs.h
>>conftest.
$ac_ext
21948 cat >>conftest.
$ac_ext <<_ACEOF
21949 /* end confdefs.h. */
21950 $ac_includes_default
21951 #include <$ac_header>
21953 rm -f conftest.
$ac_objext
21954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21955 (eval $ac_compile) 2>conftest.er1
21957 grep -v '^ *+' conftest.er1
>conftest.err
21959 cat conftest.err
>&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } &&
21962 { ac_try
='test -z "$ac_c_werror_flag"
21963 || test ! -s conftest.err'
21964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21965 (eval $ac_try) 2>&5
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; } &&
21969 { ac_try
='test -s conftest.$ac_objext'
21970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971 (eval $ac_try) 2>&5
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); }; }; then
21975 ac_header_compiler
=yes
21977 echo "$as_me: failed program was:" >&5
21978 sed 's/^/| /' conftest.
$ac_ext >&5
21980 ac_header_compiler
=no
21982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21984 echo "${ECHO_T}$ac_header_compiler" >&6
21986 # Is the header present?
21987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21989 cat >conftest.
$ac_ext <<_ACEOF
21992 cat confdefs.h
>>conftest.
$ac_ext
21993 cat >>conftest.
$ac_ext <<_ACEOF
21994 /* end confdefs.h. */
21995 #include <$ac_header>
21997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22000 grep -v '^ *+' conftest.er1
>conftest.err
22002 cat conftest.err
>&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } >/dev
/null
; then
22005 if test -s conftest.err
; then
22006 ac_cpp_err
=$ac_c_preproc_warn_flag
22007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22014 if test -z "$ac_cpp_err"; then
22015 ac_header_preproc
=yes
22017 echo "$as_me: failed program was:" >&5
22018 sed 's/^/| /' conftest.
$ac_ext >&5
22020 ac_header_preproc
=no
22022 rm -f conftest.err conftest.
$ac_ext
22023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22024 echo "${ECHO_T}$ac_header_preproc" >&6
22026 # So? What about this header?
22027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22033 ac_header_preproc
=yes
22036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22050 ## ----------------------------------------- ##
22051 ## Report this to wx-dev@lists.wxwidgets.org ##
22052 ## ----------------------------------------- ##
22055 sed "s/^/$as_me: WARNING: /" >&2
22058 echo "$as_me:$LINENO: checking for $ac_header" >&5
22059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22061 echo $ECHO_N "(cached) $ECHO_C" >&6
22063 eval "$as_ac_Header=\$ac_header_preproc"
22065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22070 cat >>confdefs.h
<<_ACEOF
22071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22078 if test "${ac_cv_header_windows_h+set}" = set; then
22079 echo "$as_me:$LINENO: checking for windows.h" >&5
22080 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22081 if test "${ac_cv_header_windows_h+set}" = set; then
22082 echo $ECHO_N "(cached) $ECHO_C" >&6
22084 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22085 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22087 # Is the header compilable?
22088 echo "$as_me:$LINENO: checking windows.h usability" >&5
22089 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22090 cat >conftest.
$ac_ext <<_ACEOF
22093 cat confdefs.h
>>conftest.
$ac_ext
22094 cat >>conftest.
$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22096 $ac_includes_default
22097 #include <windows.h>
22099 rm -f conftest.
$ac_objext
22100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22101 (eval $ac_compile) 2>conftest.er1
22103 grep -v '^ *+' conftest.er1
>conftest.err
22105 cat conftest.err
>&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } &&
22108 { ac_try
='test -z "$ac_c_werror_flag"
22109 || test ! -s conftest.err'
22110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22111 (eval $ac_try) 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; } &&
22115 { ac_try
='test -s conftest.$ac_objext'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; }; then
22121 ac_header_compiler
=yes
22123 echo "$as_me: failed program was:" >&5
22124 sed 's/^/| /' conftest.
$ac_ext >&5
22126 ac_header_compiler
=no
22128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22130 echo "${ECHO_T}$ac_header_compiler" >&6
22132 # Is the header present?
22133 echo "$as_me:$LINENO: checking windows.h presence" >&5
22134 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22135 cat >conftest.
$ac_ext <<_ACEOF
22138 cat confdefs.h
>>conftest.
$ac_ext
22139 cat >>conftest.
$ac_ext <<_ACEOF
22140 /* end confdefs.h. */
22141 #include <windows.h>
22143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22146 grep -v '^ *+' conftest.er1
>conftest.err
22148 cat conftest.err
>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } >/dev
/null
; then
22151 if test -s conftest.err
; then
22152 ac_cpp_err
=$ac_c_preproc_warn_flag
22153 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22160 if test -z "$ac_cpp_err"; then
22161 ac_header_preproc
=yes
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.
$ac_ext >&5
22166 ac_header_preproc
=no
22168 rm -f conftest.err conftest.
$ac_ext
22169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22170 echo "${ECHO_T}$ac_header_preproc" >&6
22172 # So? What about this header?
22173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22175 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22176 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22177 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22178 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22179 ac_header_preproc
=yes
22182 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22183 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22184 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22185 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22186 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22187 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22188 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22189 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22190 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22191 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22192 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22193 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22196 ## ----------------------------------------- ##
22197 ## Report this to wx-dev@lists.wxwidgets.org ##
22198 ## ----------------------------------------- ##
22201 sed "s/^/$as_me: WARNING: /" >&2
22204 echo "$as_me:$LINENO: checking for windows.h" >&5
22205 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22206 if test "${ac_cv_header_windows_h+set}" = set; then
22207 echo $ECHO_N "(cached) $ECHO_C" >&6
22209 ac_cv_header_windows_h
=$ac_header_preproc
22211 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22212 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22215 if test $ac_cv_header_windows_h = yes; then
22219 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22220 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22221 { (exit 1); exit 1; }; }
22227 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22229 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22230 LIBS
="$LIBS -loleacc"
22235 LIBS
="$LIBS -lkernel32 -luser32"
22236 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22239 if test "$wxUSE_ODBC" = "sys" ; then
22242 if test "$wxUSE_ODBC" = "yes" ; then
22243 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22244 cat >>confdefs.h
<<\_ACEOF
22245 #define wxUSE_ODBC 1
22250 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22251 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22253 WIN32INSTALL
=win32install
22256 if test "$wxUSE_GUI" = "yes"; then
22266 if test "$wxUSE_MSW" = 1 ; then
22272 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22276 if test "$wxUSE_GTK" = 1; then
22277 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22278 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22280 gtk_version_cached
=1
22281 if test "${wx_cv_lib_gtk+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22285 gtk_version_cached
=0
22286 echo "$as_me:$LINENO: result: " >&5
22287 echo "${ECHO_T}" >&6
22290 if test "$wxUSE_THREADS" = "yes"; then
22291 GTK_MODULES
=gthread
22295 if test "x$wxUSE_GTK2" = "xyes"; then
22296 # Check whether --enable-gtktest or --disable-gtktest was given.
22297 if test "${enable_gtktest+set}" = set; then
22298 enableval
="$enable_gtktest"
22304 pkg_config_args
=gtk
+-2.0
22305 for module
in .
$GTK_MODULES
22309 pkg_config_args
="$pkg_config_args gthread-2.0"
22316 # Extract the first word of "pkg-config", so it can be a program name with args.
22317 set dummy pkg
-config; ac_word
=$2
22318 echo "$as_me:$LINENO: checking for $ac_word" >&5
22319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22320 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22321 echo $ECHO_N "(cached) $ECHO_C" >&6
22323 case $PKG_CONFIG in
22325 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22329 for as_dir
in $PATH
22332 test -z "$as_dir" && as_dir
=.
22333 for ac_exec_ext
in '' $ac_executable_extensions; do
22334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22335 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22342 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22346 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22348 if test -n "$PKG_CONFIG"; then
22349 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22350 echo "${ECHO_T}$PKG_CONFIG" >&6
22352 echo "$as_me:$LINENO: result: no" >&5
22353 echo "${ECHO_T}no" >&6
22357 if test x
$PKG_CONFIG != xno
; then
22358 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22361 echo "*** pkg-config too old; version 0.7 or better required."
22369 min_gtk_version
=2.0.0
22370 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22371 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22373 if test x
$PKG_CONFIG != xno
; then
22374 ## don't try to run the test against uninstalled libtool libs
22375 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22376 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22380 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22387 if test x
"$no_gtk" = x
; then
22388 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22389 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22390 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22391 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22392 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22394 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22396 if test "x$enable_gtktest" = "xyes" ; then
22397 ac_save_CFLAGS
="$CFLAGS"
22398 ac_save_LIBS
="$LIBS"
22399 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22400 LIBS
="$GTK_LIBS $LIBS"
22402 if test "$cross_compiling" = yes; then
22403 echo $ac_n "cross compiling; assumed OK... $ac_c"
22405 cat >conftest.
$ac_ext <<_ACEOF
22408 cat confdefs.h
>>conftest.
$ac_ext
22409 cat >>conftest.
$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22412 #include <gtk/gtk.h>
22414 #include <stdlib.h>
22419 int major, minor, micro;
22422 system ("touch conf.gtktest");
22424 /* HP/UX 9 (%@#!) writes to sscanf strings */
22425 tmp_version = g_strdup("$min_gtk_version");
22426 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22427 printf("%s, bad version string\n", "$min_gtk_version");
22431 if ((gtk_major_version != $gtk_config_major_version) ||
22432 (gtk_minor_version != $gtk_config_minor_version) ||
22433 (gtk_micro_version != $gtk_config_micro_version))
22435 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22436 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22437 gtk_major_version, gtk_minor_version, gtk_micro_version);
22438 printf ("*** was found! If pkg-config was correct, then it is best\n");
22439 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22440 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22441 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22442 printf("*** required on your system.\n");
22443 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22444 printf("*** to point to the correct configuration files\n");
22446 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22447 (gtk_minor_version != GTK_MINOR_VERSION) ||
22448 (gtk_micro_version != GTK_MICRO_VERSION))
22450 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22451 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22452 printf("*** library (version %d.%d.%d)\n",
22453 gtk_major_version, gtk_minor_version, gtk_micro_version);
22457 if ((gtk_major_version > major) ||
22458 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22459 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22465 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22466 gtk_major_version, gtk_minor_version, gtk_micro_version);
22467 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22468 major, minor, micro);
22469 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22471 printf("*** If you have already installed a sufficiently new version, this error\n");
22472 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22473 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22474 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22475 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22476 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22477 printf("*** so that the correct libraries are found at run-time))\n");
22484 rm -f conftest
$ac_exeext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22486 (eval $ac_link) 2>&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22491 (eval $ac_try) 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); }; }; then
22497 echo "$as_me: program exited with status $ac_status" >&5
22498 echo "$as_me: failed program was:" >&5
22499 sed 's/^/| /' conftest.
$ac_ext >&5
22501 ( exit $ac_status )
22504 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22506 CFLAGS
="$ac_save_CFLAGS"
22507 LIBS
="$ac_save_LIBS"
22510 if test "x$no_gtk" = x
; then
22511 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22512 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22515 echo "$as_me:$LINENO: result: no" >&5
22516 echo "${ECHO_T}no" >&6
22517 if test "$PKG_CONFIG" = "no" ; then
22518 echo "*** A new enough version of pkg-config was not found."
22519 echo "*** See http://pkgconfig.sourceforge.net"
22521 if test -f conf.gtktest
; then
22524 echo "*** Could not run GTK+ test program, checking why..."
22525 ac_save_CFLAGS
="$CFLAGS"
22526 ac_save_LIBS
="$LIBS"
22527 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22528 LIBS
="$LIBS $GTK_LIBS"
22529 cat >conftest.
$ac_ext <<_ACEOF
22532 cat confdefs.h
>>conftest.
$ac_ext
22533 cat >>conftest.
$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22536 #include <gtk/gtk.h>
22542 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22547 rm -f conftest.
$ac_objext conftest
$ac_exeext
22548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22549 (eval $ac_link) 2>conftest.er1
22551 grep -v '^ *+' conftest.er1
>conftest.err
22553 cat conftest.err
>&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } &&
22556 { ac_try
='test -z "$ac_c_werror_flag"
22557 || test ! -s conftest.err'
22558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22559 (eval $ac_try) 2>&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); }; } &&
22563 { ac_try
='test -s conftest$ac_exeext'
22564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22565 (eval $ac_try) 2>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); }; }; then
22569 echo "*** The test program compiled, but did not run. This usually means"
22570 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22571 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22572 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22573 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22574 echo "*** is required on your system"
22576 echo "*** If you have an old version installed, it is best to remove it, although"
22577 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.
$ac_ext >&5
22582 echo "*** The test program failed to compile or link. See the file config.log for the"
22583 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22585 rm -f conftest.err conftest.
$ac_objext \
22586 conftest
$ac_exeext conftest.
$ac_ext
22587 CFLAGS
="$ac_save_CFLAGS"
22588 LIBS
="$ac_save_LIBS"
22601 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22602 if test "${with_gtk_prefix+set}" = set; then
22603 withval
="$with_gtk_prefix"
22604 gtk_config_prefix
="$withval"
22606 gtk_config_prefix
=""
22609 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22610 if test "${with_gtk_exec_prefix+set}" = set; then
22611 withval
="$with_gtk_exec_prefix"
22612 gtk_config_exec_prefix
="$withval"
22614 gtk_config_exec_prefix
=""
22616 # Check whether --enable-gtktest or --disable-gtktest was given.
22617 if test "${enable_gtktest+set}" = set; then
22618 enableval
="$enable_gtktest"
22624 for module
in .
$GTK_MODULES
22628 gtk_config_args
="$gtk_config_args gthread"
22633 if test x
$gtk_config_exec_prefix != x
; then
22634 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22635 if test x
${GTK_CONFIG+set} != xset
; then
22636 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22639 if test x
$gtk_config_prefix != x
; then
22640 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22641 if test x
${GTK_CONFIG+set} != xset
; then
22642 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22646 # Extract the first word of "gtk-config", so it can be a program name with args.
22647 set dummy gtk
-config; ac_word
=$2
22648 echo "$as_me:$LINENO: checking for $ac_word" >&5
22649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22650 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22651 echo $ECHO_N "(cached) $ECHO_C" >&6
22653 case $GTK_CONFIG in
22655 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22659 for as_dir
in $PATH
22662 test -z "$as_dir" && as_dir
=.
22663 for ac_exec_ext
in '' $ac_executable_extensions; do
22664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22665 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22672 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22676 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22678 if test -n "$GTK_CONFIG"; then
22679 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22680 echo "${ECHO_T}$GTK_CONFIG" >&6
22682 echo "$as_me:$LINENO: result: no" >&5
22683 echo "${ECHO_T}no" >&6
22686 min_gtk_version
=1.2.7
22687 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22688 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22690 if test "$GTK_CONFIG" = "no" ; then
22693 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22694 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22695 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22696 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22697 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22699 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22700 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22701 if test "x$enable_gtktest" = "xyes" ; then
22702 ac_save_CFLAGS
="$CFLAGS"
22703 ac_save_LIBS
="$LIBS"
22704 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22705 LIBS
="$GTK_LIBS $LIBS"
22707 if test "$cross_compiling" = yes; then
22708 echo $ac_n "cross compiling; assumed OK... $ac_c"
22710 cat >conftest.
$ac_ext <<_ACEOF
22713 cat confdefs.h
>>conftest.
$ac_ext
22714 cat >>conftest.
$ac_ext <<_ACEOF
22715 /* end confdefs.h. */
22717 #include <gtk/gtk.h>
22719 #include <stdlib.h>
22724 int major, minor, micro;
22727 system ("touch conf.gtktest");
22729 /* HP/UX 9 (%@#!) writes to sscanf strings */
22730 tmp_version = g_strdup("$min_gtk_version");
22731 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22732 printf("%s, bad version string\n", "$min_gtk_version");
22736 if ((gtk_major_version != $gtk_config_major_version) ||
22737 (gtk_minor_version != $gtk_config_minor_version) ||
22738 (gtk_micro_version != $gtk_config_micro_version))
22740 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22741 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22742 gtk_major_version, gtk_minor_version, gtk_micro_version);
22743 printf ("*** was found! If gtk-config was correct, then it is best\n");
22744 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22745 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22746 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22747 printf("*** required on your system.\n");
22748 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22749 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22750 printf("*** before re-running configure\n");
22752 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22753 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22754 (gtk_minor_version != GTK_MINOR_VERSION) ||
22755 (gtk_micro_version != GTK_MICRO_VERSION))
22757 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22758 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22759 printf("*** library (version %d.%d.%d)\n",
22760 gtk_major_version, gtk_minor_version, gtk_micro_version);
22762 #endif /* defined (GTK_MAJOR_VERSION) ... */
22765 if ((gtk_major_version > major) ||
22766 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22767 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22773 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22774 gtk_major_version, gtk_minor_version, gtk_micro_version);
22775 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22776 major, minor, micro);
22777 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22779 printf("*** If you have already installed a sufficiently new version, this error\n");
22780 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22781 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22782 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22783 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22784 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22785 printf("*** so that the correct libraries are found at run-time))\n");
22792 rm -f conftest
$ac_exeext
22793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22794 (eval $ac_link) 2>&5
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799 (eval $ac_try) 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22805 echo "$as_me: program exited with status $ac_status" >&5
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.
$ac_ext >&5
22809 ( exit $ac_status )
22812 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22814 CFLAGS
="$ac_save_CFLAGS"
22815 LIBS
="$ac_save_LIBS"
22818 if test "x$no_gtk" = x
; then
22819 echo "$as_me:$LINENO: result: yes" >&5
22820 echo "${ECHO_T}yes" >&6
22821 wx_cv_lib_gtk
=1.2.7
22823 echo "$as_me:$LINENO: result: no" >&5
22824 echo "${ECHO_T}no" >&6
22825 if test "$GTK_CONFIG" = "no" ; then
22826 echo "*** The gtk-config script installed by GTK could not be found"
22827 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22828 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22829 echo "*** full path to gtk-config."
22831 if test -f conf.gtktest
; then
22834 echo "*** Could not run GTK test program, checking why..."
22835 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22836 LIBS
="$LIBS $GTK_LIBS"
22837 cat >conftest.
$ac_ext <<_ACEOF
22840 cat confdefs.h
>>conftest.
$ac_ext
22841 cat >>conftest.
$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22844 #include <gtk/gtk.h>
22850 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22855 rm -f conftest.
$ac_objext conftest
$ac_exeext
22856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22857 (eval $ac_link) 2>conftest.er1
22859 grep -v '^ *+' conftest.er1
>conftest.err
22861 cat conftest.err
>&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } &&
22864 { ac_try
='test -z "$ac_c_werror_flag"
22865 || test ! -s conftest.err'
22866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22867 (eval $ac_try) 2>&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); }; } &&
22871 { ac_try
='test -s conftest$ac_exeext'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; }; then
22877 echo "*** The test program compiled, but did not run. This usually means"
22878 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22879 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22880 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22881 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22882 echo "*** is required on your system"
22884 echo "*** If you have an old version installed, it is best to remove it, although"
22885 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22887 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22888 echo "*** came with the system with the command"
22890 echo "*** rpm --erase --nodeps gtk gtk-devel"
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.
$ac_ext >&5
22895 echo "*** The test program failed to compile or link. See the file config.log for the"
22896 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22897 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22898 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22900 rm -f conftest.err conftest.
$ac_objext \
22901 conftest
$ac_exeext conftest.
$ac_ext
22902 CFLAGS
="$ac_save_CFLAGS"
22903 LIBS
="$ac_save_LIBS"
22915 if test -z "$wx_cv_lib_gtk"; then
22917 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22918 if test "${with_gtk_prefix+set}" = set; then
22919 withval
="$with_gtk_prefix"
22920 gtk_config_prefix
="$withval"
22922 gtk_config_prefix
=""
22925 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22926 if test "${with_gtk_exec_prefix+set}" = set; then
22927 withval
="$with_gtk_exec_prefix"
22928 gtk_config_exec_prefix
="$withval"
22930 gtk_config_exec_prefix
=""
22932 # Check whether --enable-gtktest or --disable-gtktest was given.
22933 if test "${enable_gtktest+set}" = set; then
22934 enableval
="$enable_gtktest"
22940 for module
in .
$GTK_MODULES
22944 gtk_config_args
="$gtk_config_args gthread"
22949 if test x
$gtk_config_exec_prefix != x
; then
22950 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22951 if test x
${GTK_CONFIG+set} != xset
; then
22952 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22955 if test x
$gtk_config_prefix != x
; then
22956 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22957 if test x
${GTK_CONFIG+set} != xset
; then
22958 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22962 # Extract the first word of "gtk-config", so it can be a program name with args.
22963 set dummy gtk
-config; ac_word
=$2
22964 echo "$as_me:$LINENO: checking for $ac_word" >&5
22965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22966 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22969 case $GTK_CONFIG in
22971 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22975 for as_dir
in $PATH
22978 test -z "$as_dir" && as_dir
=.
22979 for ac_exec_ext
in '' $ac_executable_extensions; do
22980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22981 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22988 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22992 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22994 if test -n "$GTK_CONFIG"; then
22995 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22996 echo "${ECHO_T}$GTK_CONFIG" >&6
22998 echo "$as_me:$LINENO: result: no" >&5
22999 echo "${ECHO_T}no" >&6
23002 min_gtk_version
=1.2.3
23003 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23004 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23006 if test "$GTK_CONFIG" = "no" ; then
23009 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23010 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23011 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23012 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23013 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23014 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23015 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23016 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23017 if test "x$enable_gtktest" = "xyes" ; then
23018 ac_save_CFLAGS
="$CFLAGS"
23019 ac_save_LIBS
="$LIBS"
23020 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23021 LIBS
="$GTK_LIBS $LIBS"
23023 if test "$cross_compiling" = yes; then
23024 echo $ac_n "cross compiling; assumed OK... $ac_c"
23026 cat >conftest.
$ac_ext <<_ACEOF
23029 cat confdefs.h
>>conftest.
$ac_ext
23030 cat >>conftest.
$ac_ext <<_ACEOF
23031 /* end confdefs.h. */
23033 #include <gtk/gtk.h>
23035 #include <stdlib.h>
23040 int major, minor, micro;
23043 system ("touch conf.gtktest");
23045 /* HP/UX 9 (%@#!) writes to sscanf strings */
23046 tmp_version = g_strdup("$min_gtk_version");
23047 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23048 printf("%s, bad version string\n", "$min_gtk_version");
23052 if ((gtk_major_version != $gtk_config_major_version) ||
23053 (gtk_minor_version != $gtk_config_minor_version) ||
23054 (gtk_micro_version != $gtk_config_micro_version))
23056 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23057 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23058 gtk_major_version, gtk_minor_version, gtk_micro_version);
23059 printf ("*** was found! If gtk-config was correct, then it is best\n");
23060 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23061 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23062 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23063 printf("*** required on your system.\n");
23064 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23065 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23066 printf("*** before re-running configure\n");
23068 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23069 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23070 (gtk_minor_version != GTK_MINOR_VERSION) ||
23071 (gtk_micro_version != GTK_MICRO_VERSION))
23073 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23074 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23075 printf("*** library (version %d.%d.%d)\n",
23076 gtk_major_version, gtk_minor_version, gtk_micro_version);
23078 #endif /* defined (GTK_MAJOR_VERSION) ... */
23081 if ((gtk_major_version > major) ||
23082 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23083 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23089 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23090 gtk_major_version, gtk_minor_version, gtk_micro_version);
23091 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23092 major, minor, micro);
23093 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23095 printf("*** If you have already installed a sufficiently new version, this error\n");
23096 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23097 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23098 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23099 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23100 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23101 printf("*** so that the correct libraries are found at run-time))\n");
23108 rm -f conftest
$ac_exeext
23109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23110 (eval $ac_link) 2>&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; }; then
23121 echo "$as_me: program exited with status $ac_status" >&5
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.
$ac_ext >&5
23125 ( exit $ac_status )
23128 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23130 CFLAGS
="$ac_save_CFLAGS"
23131 LIBS
="$ac_save_LIBS"
23134 if test "x$no_gtk" = x
; then
23135 echo "$as_me:$LINENO: result: yes" >&5
23136 echo "${ECHO_T}yes" >&6
23137 wx_cv_lib_gtk
=1.2.3
23139 echo "$as_me:$LINENO: result: no" >&5
23140 echo "${ECHO_T}no" >&6
23141 if test "$GTK_CONFIG" = "no" ; then
23142 echo "*** The gtk-config script installed by GTK could not be found"
23143 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23144 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23145 echo "*** full path to gtk-config."
23147 if test -f conf.gtktest
; then
23150 echo "*** Could not run GTK test program, checking why..."
23151 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23152 LIBS
="$LIBS $GTK_LIBS"
23153 cat >conftest.
$ac_ext <<_ACEOF
23156 cat confdefs.h
>>conftest.
$ac_ext
23157 cat >>conftest.
$ac_ext <<_ACEOF
23158 /* end confdefs.h. */
23160 #include <gtk/gtk.h>
23166 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23171 rm -f conftest.
$ac_objext conftest
$ac_exeext
23172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23173 (eval $ac_link) 2>conftest.er1
23175 grep -v '^ *+' conftest.er1
>conftest.err
23177 cat conftest.err
>&5
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); } &&
23180 { ac_try
='test -z "$ac_c_werror_flag"
23181 || test ! -s conftest.err'
23182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23183 (eval $ac_try) 2>&5
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); }; } &&
23187 { ac_try
='test -s conftest$ac_exeext'
23188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189 (eval $ac_try) 2>&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; }; then
23193 echo "*** The test program compiled, but did not run. This usually means"
23194 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23195 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23196 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23197 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23198 echo "*** is required on your system"
23200 echo "*** If you have an old version installed, it is best to remove it, although"
23201 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23203 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23204 echo "*** came with the system with the command"
23206 echo "*** rpm --erase --nodeps gtk gtk-devel"
23208 echo "$as_me: failed program was:" >&5
23209 sed 's/^/| /' conftest.
$ac_ext >&5
23211 echo "*** The test program failed to compile or link. See the file config.log for the"
23212 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23213 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23214 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23216 rm -f conftest.err conftest.
$ac_objext \
23217 conftest
$ac_exeext conftest.
$ac_ext
23218 CFLAGS
="$ac_save_CFLAGS"
23219 LIBS
="$ac_save_LIBS"
23233 if test -z "$wx_cv_lib_gtk"; then
23236 wx_cv_cflags_gtk
=$GTK_CFLAGS
23237 wx_cv_libs_gtk
=$GTK_LIBS
23244 if test "$gtk_version_cached" = 1; then
23245 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23246 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23249 case "$wx_cv_lib_gtk" in
23258 *) { { echo "$as_me:$LINENO: error:
23259 Please check that gtk-config is in path, the directory
23260 where GTK+ libraries are installed (returned by
23261 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23262 equivalent variable and GTK+ is version 1.2.3 or above.
23264 echo "$as_me: error:
23265 Please check that gtk-config is in path, the directory
23266 where GTK+ libraries are installed (returned by
23267 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23268 equivalent variable and GTK+ is version 1.2.3 or above.
23270 { (exit 1); exit 1; }; }
23274 if test "$WXGTK20" = 1; then
23275 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23279 if test -z "$PKG_CONFIG"; then
23280 # Extract the first word of "pkg-config", so it can be a program name with args.
23281 set dummy pkg
-config; ac_word
=$2
23282 echo "$as_me:$LINENO: checking for $ac_word" >&5
23283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23284 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23285 echo $ECHO_N "(cached) $ECHO_C" >&6
23287 case $PKG_CONFIG in
23289 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23293 for as_dir
in $PATH
23296 test -z "$as_dir" && as_dir
=.
23297 for ac_exec_ext
in '' $ac_executable_extensions; do
23298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23299 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23306 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23310 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23312 if test -n "$PKG_CONFIG"; then
23313 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23314 echo "${ECHO_T}$PKG_CONFIG" >&6
23316 echo "$as_me:$LINENO: result: no" >&5
23317 echo "${ECHO_T}no" >&6
23322 if test "$PKG_CONFIG" = "no" ; then
23323 echo "*** The pkg-config script could not be found. Make sure it is"
23324 echo "*** in your path, or set the PKG_CONFIG environment variable"
23325 echo "*** to the full path to pkg-config."
23326 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23328 PKG_CONFIG_MIN_VERSION
=0.9.0
23329 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23330 echo "$as_me:$LINENO: checking for pangoft2" >&5
23331 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23333 if $PKG_CONFIG --exists "pangoft2" ; then
23334 echo "$as_me:$LINENO: result: yes" >&5
23335 echo "${ECHO_T}yes" >&6
23338 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23339 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23340 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23341 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23342 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23344 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23345 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23346 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23347 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23348 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23352 ## If we have a custom action on failure, don't print errors, but
23353 ## do set a variable so people can do so.
23354 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23361 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23362 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23366 if test $succeeded = yes; then
23368 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23369 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23373 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23374 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23375 wxUSE_PRINTING_ARCHITECTURE
="no"
23382 save_CFLAGS
="$CFLAGS"
23384 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23385 LIBS
="$LIBS $GTK_LIBS"
23387 for ac_func
in pango_font_family_is_monospace
23389 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23390 echo "$as_me:$LINENO: checking for $ac_func" >&5
23391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23392 if eval "test \"\${$as_ac_var+set}\" = set"; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23395 cat >conftest.
$ac_ext <<_ACEOF
23398 cat confdefs.h
>>conftest.
$ac_ext
23399 cat >>conftest.
$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23403 #define $ac_func innocuous_$ac_func
23405 /* System header to define __stub macros and hopefully few prototypes,
23406 which can conflict with char $ac_func (); below.
23407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23408 <limits.h> exists even on freestanding compilers. */
23411 # include <limits.h>
23413 # include <assert.h>
23418 /* Override any gcc2 internal prototype to avoid an error. */
23423 /* We use char because int might match the return type of a gcc2
23424 builtin and then its argument prototype would still apply. */
23426 /* The GNU C library defines this for functions which it implements
23427 to always fail with ENOSYS. Some functions are actually named
23428 something starting with __ and the normal name is an alias. */
23429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23432 char (*f) () = $ac_func;
23441 return f != $ac_func;
23446 rm -f conftest.
$ac_objext conftest
$ac_exeext
23447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23448 (eval $ac_link) 2>conftest.er1
23450 grep -v '^ *+' conftest.er1
>conftest.err
23452 cat conftest.err
>&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try
='test -z "$ac_c_werror_flag"
23456 || test ! -s conftest.err'
23457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23458 (eval $ac_try) 2>&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); }; } &&
23462 { ac_try
='test -s conftest$ac_exeext'
23463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23464 (eval $ac_try) 2>&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); }; }; then
23468 eval "$as_ac_var=yes"
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.
$ac_ext >&5
23473 eval "$as_ac_var=no"
23475 rm -f conftest.err conftest.
$ac_objext \
23476 conftest
$ac_exeext conftest.
$ac_ext
23478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23480 if test `eval echo '${'$as_ac_var'}'` = yes; then
23481 cat >>confdefs.h
<<_ACEOF
23482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23488 CFLAGS
="$save_CFLAGS"
23491 if test "$wxUSE_UNICODE" = "yes"; then
23492 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23493 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23498 if test "$USE_DARWIN" != 1; then
23500 for ac_func
in poll
23502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23503 echo "$as_me:$LINENO: checking for $ac_func" >&5
23504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23505 if eval "test \"\${$as_ac_var+set}\" = set"; then
23506 echo $ECHO_N "(cached) $ECHO_C" >&6
23508 cat >conftest.
$ac_ext <<_ACEOF
23511 cat confdefs.h
>>conftest.
$ac_ext
23512 cat >>conftest.
$ac_ext <<_ACEOF
23513 /* end confdefs.h. */
23514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23516 #define $ac_func innocuous_$ac_func
23518 /* System header to define __stub macros and hopefully few prototypes,
23519 which can conflict with char $ac_func (); below.
23520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23521 <limits.h> exists even on freestanding compilers. */
23524 # include <limits.h>
23526 # include <assert.h>
23531 /* Override any gcc2 internal prototype to avoid an error. */
23536 /* We use char because int might match the return type of a gcc2
23537 builtin and then its argument prototype would still apply. */
23539 /* The GNU C library defines this for functions which it implements
23540 to always fail with ENOSYS. Some functions are actually named
23541 something starting with __ and the normal name is an alias. */
23542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23545 char (*f) () = $ac_func;
23554 return f != $ac_func;
23559 rm -f conftest.
$ac_objext conftest
$ac_exeext
23560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23561 (eval $ac_link) 2>conftest.er1
23563 grep -v '^ *+' conftest.er1
>conftest.err
23565 cat conftest.err
>&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); } &&
23568 { ac_try
='test -z "$ac_c_werror_flag"
23569 || test ! -s conftest.err'
23570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 (eval $ac_try) 2>&5
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; } &&
23575 { ac_try
='test -s conftest$ac_exeext'
23576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23577 (eval $ac_try) 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; }; then
23581 eval "$as_ac_var=yes"
23583 echo "$as_me: failed program was:" >&5
23584 sed 's/^/| /' conftest.
$ac_ext >&5
23586 eval "$as_ac_var=no"
23588 rm -f conftest.err conftest.
$ac_objext \
23589 conftest
$ac_exeext conftest.
$ac_ext
23591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23593 if test `eval echo '${'$as_ac_var'}'` = yes; then
23594 cat >>confdefs.h
<<_ACEOF
23595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23603 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23604 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23606 AFMINSTALL
=afminstall
23610 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23611 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23612 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23613 echo $ECHO_N "(cached) $ECHO_C" >&6
23615 ac_check_lib_save_LIBS
=$LIBS
23617 cat >conftest.
$ac_ext <<_ACEOF
23620 cat confdefs.h
>>conftest.
$ac_ext
23621 cat >>conftest.
$ac_ext <<_ACEOF
23622 /* end confdefs.h. */
23624 /* Override any gcc2 internal prototype to avoid an error. */
23628 /* We use char because int might match the return type of a gcc2
23629 builtin and then its argument prototype would still apply. */
23630 char gdk_im_open ();
23639 rm -f conftest.
$ac_objext conftest
$ac_exeext
23640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23641 (eval $ac_link) 2>conftest.er1
23643 grep -v '^ *+' conftest.er1
>conftest.err
23645 cat conftest.err
>&5
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); } &&
23648 { ac_try
='test -z "$ac_c_werror_flag"
23649 || test ! -s conftest.err'
23650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23651 (eval $ac_try) 2>&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; } &&
23655 { ac_try
='test -s conftest$ac_exeext'
23656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657 (eval $ac_try) 2>&5
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; }; then
23661 ac_cv_lib_gdk_gdk_im_open
=yes
23663 echo "$as_me: failed program was:" >&5
23664 sed 's/^/| /' conftest.
$ac_ext >&5
23666 ac_cv_lib_gdk_gdk_im_open
=no
23668 rm -f conftest.err conftest.
$ac_objext \
23669 conftest
$ac_exeext conftest.
$ac_ext
23670 LIBS
=$ac_check_lib_save_LIBS
23672 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23673 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23674 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23675 cat >>confdefs.h
<<\_ACEOF
23683 if test "$wxUSE_GPE" = "yes"; then
23684 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23685 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23688 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23690 for ac_extension
in a so sl dylib
; do
23691 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23692 ac_find_libraries
=$ac_dir
23698 if test "$ac_find_libraries" != "" ; then
23700 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23702 if test $result = 0; then
23705 ac_path_to_link
=" -L$ac_find_libraries"
23708 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23710 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23711 echo "${ECHO_T}found at $ac_find_libraries" >&6
23713 echo "$as_me:$LINENO: result: not found" >&5
23714 echo "${ECHO_T}not found" >&6
23720 if test "$wxUSE_MGL" = 1; then
23721 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23722 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23723 if test "x$MGL_ROOT" = x
; then
23724 echo "$as_me:$LINENO: result: not found" >&5
23725 echo "${ECHO_T}not found" >&6
23726 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23727 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23728 { (exit 1); exit 1; }; }
23730 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23731 echo "${ECHO_T}$MGL_ROOT" >&6
23734 echo "$as_me:$LINENO: checking for libmgl location" >&5
23735 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23738 if test "x$wxUSE_SHARED" = xyes
; then
23739 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23741 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23745 mgl_os_candidates
="dos32/dj2"
23748 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23749 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23750 { (exit 1); exit 1; }; }
23756 for mgl_os_i
in $mgl_os_candidates ; do
23757 if test "x$mgl_os" = x
; then
23758 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23759 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23760 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23765 if test "x$mgl_lib_type" = x
; then
23766 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23767 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23768 mgl_lib_type
=release
23775 if test "x$mgl_os" = x
; then
23776 echo "$as_me:$LINENO: result: not found" >&5
23777 echo "${ECHO_T}not found" >&6
23778 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23779 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23780 { (exit 1); exit 1; }; }
23782 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23783 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23785 wxUSE_UNIVERSAL
="yes"
23787 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23788 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23790 AFMINSTALL
=afminstall
23795 if test "$wxUSE_MICROWIN" = 1; then
23796 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23797 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23798 if test "x$MICROWINDOWS" = x
; then
23799 echo "$as_me:$LINENO: result: not found" >&5
23800 echo "${ECHO_T}not found" >&6
23801 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23802 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23803 { (exit 1); exit 1; }; }
23805 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23806 echo "${ECHO_T}$MICROWINDOWS" >&6
23809 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23810 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23811 echo "${ECHO_T}MicroWindows' libraries found." >&6
23813 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23814 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23815 { (exit 1); exit 1; }; }
23818 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23819 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23821 wxUSE_UNIVERSAL
="yes"
23823 AFMINSTALL
=afminstall
23825 GUIDIST
=MICROWIN_DIST
23827 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23830 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23831 echo "$as_me:$LINENO: checking for X" >&5
23832 echo $ECHO_N "checking for X... $ECHO_C" >&6
23835 # Check whether --with-x or --without-x was given.
23836 if test "${with_x+set}" = set; then
23840 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23841 if test "x$with_x" = xno
; then
23842 # The user explicitly disabled X.
23845 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23846 # Both variables are already set.
23849 if test "${ac_cv_have_x+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23852 # One or both of the vars are not set, and there is no cached value.
23853 ac_x_includes
=no ac_x_libraries
=no
23854 rm -fr conftest.dir
23855 if mkdir conftest.dir
; then
23857 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23858 cat >Imakefile
<<'_ACEOF'
23860 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23862 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23863 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23864 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23865 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23866 for ac_extension
in a so sl
; do
23867 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23868 test -f $ac_im_libdir/libX11.
$ac_extension; then
23869 ac_im_usrlibdir
=$ac_im_libdir; break
23872 # Screen out bogus values from the imake configuration. They are
23873 # bogus both because they are the default anyway, and because
23874 # using them would break gcc on systems where it needs fixed includes.
23875 case $ac_im_incroot in
23877 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23879 case $ac_im_usrlibdir in
23880 /usr
/lib
| /lib
) ;;
23881 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23885 rm -fr conftest.dir
23888 # Standard set of common directories for X headers.
23889 # Check X11 before X11Rn because it is often a symlink to the current release.
23901 /usr/local/X11/include
23902 /usr/local/X11R6/include
23903 /usr/local/X11R5/include
23904 /usr/local/X11R4/include
23906 /usr/local/include/X11
23907 /usr/local/include/X11R6
23908 /usr/local/include/X11R5
23909 /usr/local/include/X11R4
23913 /usr/XFree86/include/X11
23917 /usr/unsupported/include
23918 /usr/athena/include
23919 /usr/local/x11r5/include
23920 /usr/lpp/Xamples/include
23922 /usr/openwin/include
23923 /usr/openwin/share/include'
23925 if test "$ac_x_includes" = no
; then
23926 # Guess where to find include files, by looking for Intrinsic.h.
23927 # First, try using that file with no special directory specified.
23928 cat >conftest.
$ac_ext <<_ACEOF
23931 cat confdefs.h
>>conftest.
$ac_ext
23932 cat >>conftest.
$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934 #include <X11/Intrinsic.h>
23936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23939 grep -v '^ *+' conftest.er1
>conftest.err
23941 cat conftest.err
>&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); } >/dev
/null
; then
23944 if test -s conftest.err
; then
23945 ac_cpp_err
=$ac_c_preproc_warn_flag
23946 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23953 if test -z "$ac_cpp_err"; then
23954 # We can compile using X headers with no special include directory.
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.
$ac_ext >&5
23960 for ac_dir
in $ac_x_header_dirs; do
23961 if test -r "$ac_dir/X11/Intrinsic.h"; then
23962 ac_x_includes
=$ac_dir
23967 rm -f conftest.err conftest.
$ac_ext
23968 fi # $ac_x_includes = no
23970 if test "$ac_x_libraries" = no
; then
23971 # Check for the libraries.
23972 # See if we find them without any special options.
23973 # Don't add to $LIBS permanently.
23976 cat >conftest.
$ac_ext <<_ACEOF
23979 cat confdefs.h
>>conftest.
$ac_ext
23980 cat >>conftest.
$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 #include <X11/Intrinsic.h>
23991 rm -f conftest.
$ac_objext conftest
$ac_exeext
23992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23993 (eval $ac_link) 2>conftest.er1
23995 grep -v '^ *+' conftest.er1
>conftest.err
23997 cat conftest.err
>&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } &&
24000 { ac_try
='test -z "$ac_c_werror_flag"
24001 || test ! -s conftest.err'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; } &&
24007 { ac_try
='test -s conftest$ac_exeext'
24008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24009 (eval $ac_try) 2>&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); }; }; then
24014 # We can link X programs with no special library path.
24017 echo "$as_me: failed program was:" >&5
24018 sed 's/^/| /' conftest.
$ac_ext >&5
24021 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24023 # Don't even attempt the hair of trying to link an X program!
24024 for ac_extension
in a so sl
; do
24025 if test -r $ac_dir/libXt.
$ac_extension; then
24026 ac_x_libraries
=$ac_dir
24032 rm -f conftest.err conftest.
$ac_objext \
24033 conftest
$ac_exeext conftest.
$ac_ext
24034 fi # $ac_x_libraries = no
24036 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24037 # Didn't find X anywhere. Cache the known absence of X.
24038 ac_cv_have_x
="have_x=no"
24040 # Record where we found X for the cache.
24041 ac_cv_have_x
="have_x=yes \
24042 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24047 eval "$ac_cv_have_x"
24050 if test "$have_x" != yes; then
24051 echo "$as_me:$LINENO: result: $have_x" >&5
24052 echo "${ECHO_T}$have_x" >&6
24055 # If each of the values was on the command line, it overrides each guess.
24056 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24057 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24058 # Update the cache value to reflect the command line values.
24059 ac_cv_have_x
="have_x=yes \
24060 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24061 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24062 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24065 if test "$no_x" = yes; then
24066 # Not all programs may use this symbol, but it does not hurt to define it.
24068 cat >>confdefs.h
<<\_ACEOF
24069 #define X_DISPLAY_MISSING 1
24072 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24074 if test -n "$x_includes"; then
24075 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24078 # It would also be nice to do this for all -L options, not just this one.
24079 if test -n "$x_libraries"; then
24080 X_LIBS
="$X_LIBS -L$x_libraries"
24081 # For Solaris; some versions of Sun CC require a space after -R and
24082 # others require no space. Words are not sufficient . . . .
24083 case `(uname -sr) 2>/dev/null` in
24085 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24086 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24087 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24088 cat >conftest.
$ac_ext <<_ACEOF
24091 cat confdefs.h
>>conftest.
$ac_ext
24092 cat >>conftest.
$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24103 rm -f conftest.
$ac_objext conftest
$ac_exeext
24104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24105 (eval $ac_link) 2>conftest.er1
24107 grep -v '^ *+' conftest.er1
>conftest.err
24109 cat conftest.err
>&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } &&
24112 { ac_try
='test -z "$ac_c_werror_flag"
24113 || test ! -s conftest.err'
24114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24115 (eval $ac_try) 2>&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); }; } &&
24119 { ac_try
='test -s conftest$ac_exeext'
24120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 (eval $ac_try) 2>&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); }; }; then
24127 echo "$as_me: failed program was:" >&5
24128 sed 's/^/| /' conftest.
$ac_ext >&5
24132 rm -f conftest.err conftest.
$ac_objext \
24133 conftest
$ac_exeext conftest.
$ac_ext
24134 if test $ac_R_nospace = yes; then
24135 echo "$as_me:$LINENO: result: no" >&5
24136 echo "${ECHO_T}no" >&6
24137 X_LIBS
="$X_LIBS -R$x_libraries"
24139 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24140 cat >conftest.
$ac_ext <<_ACEOF
24143 cat confdefs.h
>>conftest.
$ac_ext
24144 cat >>conftest.
$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24155 rm -f conftest.
$ac_objext conftest
$ac_exeext
24156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24157 (eval $ac_link) 2>conftest.er1
24159 grep -v '^ *+' conftest.er1
>conftest.err
24161 cat conftest.err
>&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } &&
24164 { ac_try
='test -z "$ac_c_werror_flag"
24165 || test ! -s conftest.err'
24166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167 (eval $ac_try) 2>&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); }; } &&
24171 { ac_try
='test -s conftest$ac_exeext'
24172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24173 (eval $ac_try) 2>&5
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); }; }; then
24179 echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.
$ac_ext >&5
24184 rm -f conftest.err conftest.
$ac_objext \
24185 conftest
$ac_exeext conftest.
$ac_ext
24186 if test $ac_R_space = yes; then
24187 echo "$as_me:$LINENO: result: yes" >&5
24188 echo "${ECHO_T}yes" >&6
24189 X_LIBS
="$X_LIBS -R $x_libraries"
24191 echo "$as_me:$LINENO: result: neither works" >&5
24192 echo "${ECHO_T}neither works" >&6
24195 LIBS
=$ac_xsave_LIBS
24199 # Check for system-dependent libraries X programs must link with.
24200 # Do this before checking for the system-independent R6 libraries
24201 # (-lICE), since we may need -lsocket or whatever for X linking.
24203 if test "$ISC" = yes; then
24204 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24206 # Martyn Johnson says this is needed for Ultrix, if the X
24207 # libraries were built with DECnet support. And Karl Berry says
24208 # the Alpha needs dnet_stub (dnet does not exist).
24209 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24210 cat >conftest.
$ac_ext <<_ACEOF
24213 cat confdefs.h
>>conftest.
$ac_ext
24214 cat >>conftest.
$ac_ext <<_ACEOF
24215 /* end confdefs.h. */
24217 /* Override any gcc2 internal prototype to avoid an error. */
24221 /* We use char because int might match the return type of a gcc2
24222 builtin and then its argument prototype would still apply. */
24223 char XOpenDisplay ();
24232 rm -f conftest.
$ac_objext conftest
$ac_exeext
24233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24234 (eval $ac_link) 2>conftest.er1
24236 grep -v '^ *+' conftest.er1
>conftest.err
24238 cat conftest.err
>&5
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); } &&
24241 { ac_try
='test -z "$ac_c_werror_flag"
24242 || test ! -s conftest.err'
24243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24244 (eval $ac_try) 2>&5
24246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247 (exit $ac_status); }; } &&
24248 { ac_try
='test -s conftest$ac_exeext'
24249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24250 (eval $ac_try) 2>&5
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); }; }; then
24256 echo "$as_me: failed program was:" >&5
24257 sed 's/^/| /' conftest.
$ac_ext >&5
24259 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24260 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24261 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24262 echo $ECHO_N "(cached) $ECHO_C" >&6
24264 ac_check_lib_save_LIBS
=$LIBS
24265 LIBS
="-ldnet $LIBS"
24266 cat >conftest.
$ac_ext <<_ACEOF
24269 cat confdefs.h
>>conftest.
$ac_ext
24270 cat >>conftest.
$ac_ext <<_ACEOF
24271 /* end confdefs.h. */
24273 /* Override any gcc2 internal prototype to avoid an error. */
24277 /* We use char because int might match the return type of a gcc2
24278 builtin and then its argument prototype would still apply. */
24288 rm -f conftest.
$ac_objext conftest
$ac_exeext
24289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24290 (eval $ac_link) 2>conftest.er1
24292 grep -v '^ *+' conftest.er1
>conftest.err
24294 cat conftest.err
>&5
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); } &&
24297 { ac_try
='test -z "$ac_c_werror_flag"
24298 || test ! -s conftest.err'
24299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24300 (eval $ac_try) 2>&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); }; } &&
24304 { ac_try
='test -s conftest$ac_exeext'
24305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24306 (eval $ac_try) 2>&5
24308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24309 (exit $ac_status); }; }; then
24310 ac_cv_lib_dnet_dnet_ntoa
=yes
24312 echo "$as_me: failed program was:" >&5
24313 sed 's/^/| /' conftest.
$ac_ext >&5
24315 ac_cv_lib_dnet_dnet_ntoa
=no
24317 rm -f conftest.err conftest.
$ac_objext \
24318 conftest
$ac_exeext conftest.
$ac_ext
24319 LIBS
=$ac_check_lib_save_LIBS
24321 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24322 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24323 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24324 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24327 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24328 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24329 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24330 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24331 echo $ECHO_N "(cached) $ECHO_C" >&6
24333 ac_check_lib_save_LIBS
=$LIBS
24334 LIBS
="-ldnet_stub $LIBS"
24335 cat >conftest.
$ac_ext <<_ACEOF
24338 cat confdefs.h
>>conftest.
$ac_ext
24339 cat >>conftest.
$ac_ext <<_ACEOF
24340 /* end confdefs.h. */
24342 /* Override any gcc2 internal prototype to avoid an error. */
24346 /* We use char because int might match the return type of a gcc2
24347 builtin and then its argument prototype would still apply. */
24357 rm -f conftest.
$ac_objext conftest
$ac_exeext
24358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24359 (eval $ac_link) 2>conftest.er1
24361 grep -v '^ *+' conftest.er1
>conftest.err
24363 cat conftest.err
>&5
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); } &&
24366 { ac_try
='test -z "$ac_c_werror_flag"
24367 || test ! -s conftest.err'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; } &&
24373 { ac_try
='test -s conftest$ac_exeext'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; }; then
24379 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24381 echo "$as_me: failed program was:" >&5
24382 sed 's/^/| /' conftest.
$ac_ext >&5
24384 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24386 rm -f conftest.err conftest.
$ac_objext \
24387 conftest
$ac_exeext conftest.
$ac_ext
24388 LIBS
=$ac_check_lib_save_LIBS
24390 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24391 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24392 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24393 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24398 rm -f conftest.err conftest.
$ac_objext \
24399 conftest
$ac_exeext conftest.
$ac_ext
24400 LIBS
="$ac_xsave_LIBS"
24402 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24403 # to get the SysV transport functions.
24404 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24406 # The nsl library prevents programs from opening the X display
24407 # on Irix 5.2, according to T.E. Dickey.
24408 # The functions gethostbyname, getservbyname, and inet_addr are
24409 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24410 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24411 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24412 if test "${ac_cv_func_gethostbyname+set}" = set; then
24413 echo $ECHO_N "(cached) $ECHO_C" >&6
24415 cat >conftest.
$ac_ext <<_ACEOF
24418 cat confdefs.h
>>conftest.
$ac_ext
24419 cat >>conftest.
$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24421 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24423 #define gethostbyname innocuous_gethostbyname
24425 /* System header to define __stub macros and hopefully few prototypes,
24426 which can conflict with char gethostbyname (); below.
24427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24428 <limits.h> exists even on freestanding compilers. */
24431 # include <limits.h>
24433 # include <assert.h>
24436 #undef gethostbyname
24438 /* Override any gcc2 internal prototype to avoid an error. */
24443 /* We use char because int might match the return type of a gcc2
24444 builtin and then its argument prototype would still apply. */
24445 char gethostbyname ();
24446 /* The GNU C library defines this for functions which it implements
24447 to always fail with ENOSYS. Some functions are actually named
24448 something starting with __ and the normal name is an alias. */
24449 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24452 char (*f) () = gethostbyname;
24461 return f != gethostbyname;
24466 rm -f conftest.
$ac_objext conftest
$ac_exeext
24467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24468 (eval $ac_link) 2>conftest.er1
24470 grep -v '^ *+' conftest.er1
>conftest.err
24472 cat conftest.err
>&5
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); } &&
24475 { ac_try
='test -z "$ac_c_werror_flag"
24476 || test ! -s conftest.err'
24477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24478 (eval $ac_try) 2>&5
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); }; } &&
24482 { ac_try
='test -s conftest$ac_exeext'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; }; then
24488 ac_cv_func_gethostbyname
=yes
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.
$ac_ext >&5
24493 ac_cv_func_gethostbyname
=no
24495 rm -f conftest.err conftest.
$ac_objext \
24496 conftest
$ac_exeext conftest.
$ac_ext
24498 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24499 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24501 if test $ac_cv_func_gethostbyname = no
; then
24502 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24503 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24504 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24505 echo $ECHO_N "(cached) $ECHO_C" >&6
24507 ac_check_lib_save_LIBS
=$LIBS
24509 cat >conftest.
$ac_ext <<_ACEOF
24512 cat confdefs.h
>>conftest.
$ac_ext
24513 cat >>conftest.
$ac_ext <<_ACEOF
24514 /* end confdefs.h. */
24516 /* Override any gcc2 internal prototype to avoid an error. */
24520 /* We use char because int might match the return type of a gcc2
24521 builtin and then its argument prototype would still apply. */
24522 char gethostbyname ();
24531 rm -f conftest.
$ac_objext conftest
$ac_exeext
24532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24533 (eval $ac_link) 2>conftest.er1
24535 grep -v '^ *+' conftest.er1
>conftest.err
24537 cat conftest.err
>&5
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); } &&
24540 { ac_try
='test -z "$ac_c_werror_flag"
24541 || test ! -s conftest.err'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; } &&
24547 { ac_try
='test -s conftest$ac_exeext'
24548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24549 (eval $ac_try) 2>&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); }; }; then
24553 ac_cv_lib_nsl_gethostbyname
=yes
24555 echo "$as_me: failed program was:" >&5
24556 sed 's/^/| /' conftest.
$ac_ext >&5
24558 ac_cv_lib_nsl_gethostbyname
=no
24560 rm -f conftest.err conftest.
$ac_objext \
24561 conftest
$ac_exeext conftest.
$ac_ext
24562 LIBS
=$ac_check_lib_save_LIBS
24564 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24565 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24566 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24567 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24570 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24571 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24572 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24573 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24574 echo $ECHO_N "(cached) $ECHO_C" >&6
24576 ac_check_lib_save_LIBS
=$LIBS
24578 cat >conftest.
$ac_ext <<_ACEOF
24581 cat confdefs.h
>>conftest.
$ac_ext
24582 cat >>conftest.
$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24585 /* Override any gcc2 internal prototype to avoid an error. */
24589 /* We use char because int might match the return type of a gcc2
24590 builtin and then its argument prototype would still apply. */
24591 char gethostbyname ();
24600 rm -f conftest.
$ac_objext conftest
$ac_exeext
24601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24602 (eval $ac_link) 2>conftest.er1
24604 grep -v '^ *+' conftest.er1
>conftest.err
24606 cat conftest.err
>&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } &&
24609 { ac_try
='test -z "$ac_c_werror_flag"
24610 || test ! -s conftest.err'
24611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24612 (eval $ac_try) 2>&5
24614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24615 (exit $ac_status); }; } &&
24616 { ac_try
='test -s conftest$ac_exeext'
24617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24618 (eval $ac_try) 2>&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); }; }; then
24622 ac_cv_lib_bsd_gethostbyname
=yes
24624 echo "$as_me: failed program was:" >&5
24625 sed 's/^/| /' conftest.
$ac_ext >&5
24627 ac_cv_lib_bsd_gethostbyname
=no
24629 rm -f conftest.err conftest.
$ac_objext \
24630 conftest
$ac_exeext conftest.
$ac_ext
24631 LIBS
=$ac_check_lib_save_LIBS
24633 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24634 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24635 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24636 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24642 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24643 # socket/setsockopt and other routines are undefined under SCO ODT
24644 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24645 # on later versions), says Simon Leinen: it contains gethostby*
24646 # variants that don't use the name server (or something). -lsocket
24647 # must be given before -lnsl if both are needed. We assume that
24648 # if connect needs -lnsl, so does gethostbyname.
24649 echo "$as_me:$LINENO: checking for connect" >&5
24650 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24651 if test "${ac_cv_func_connect+set}" = set; then
24652 echo $ECHO_N "(cached) $ECHO_C" >&6
24654 cat >conftest.
$ac_ext <<_ACEOF
24657 cat confdefs.h
>>conftest.
$ac_ext
24658 cat >>conftest.
$ac_ext <<_ACEOF
24659 /* end confdefs.h. */
24660 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24662 #define connect innocuous_connect
24664 /* System header to define __stub macros and hopefully few prototypes,
24665 which can conflict with char connect (); below.
24666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24667 <limits.h> exists even on freestanding compilers. */
24670 # include <limits.h>
24672 # include <assert.h>
24677 /* Override any gcc2 internal prototype to avoid an error. */
24682 /* We use char because int might match the return type of a gcc2
24683 builtin and then its argument prototype would still apply. */
24685 /* The GNU C library defines this for functions which it implements
24686 to always fail with ENOSYS. Some functions are actually named
24687 something starting with __ and the normal name is an alias. */
24688 #if defined (__stub_connect) || defined (__stub___connect)
24691 char (*f) () = connect;
24700 return f != connect;
24705 rm -f conftest.
$ac_objext conftest
$ac_exeext
24706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24707 (eval $ac_link) 2>conftest.er1
24709 grep -v '^ *+' conftest.er1
>conftest.err
24711 cat conftest.err
>&5
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); } &&
24714 { ac_try
='test -z "$ac_c_werror_flag"
24715 || test ! -s conftest.err'
24716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24717 (eval $ac_try) 2>&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); }; } &&
24721 { ac_try
='test -s conftest$ac_exeext'
24722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24723 (eval $ac_try) 2>&5
24725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726 (exit $ac_status); }; }; then
24727 ac_cv_func_connect
=yes
24729 echo "$as_me: failed program was:" >&5
24730 sed 's/^/| /' conftest.
$ac_ext >&5
24732 ac_cv_func_connect
=no
24734 rm -f conftest.err conftest.
$ac_objext \
24735 conftest
$ac_exeext conftest.
$ac_ext
24737 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24738 echo "${ECHO_T}$ac_cv_func_connect" >&6
24740 if test $ac_cv_func_connect = no
; then
24741 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24742 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24743 if test "${ac_cv_lib_socket_connect+set}" = set; then
24744 echo $ECHO_N "(cached) $ECHO_C" >&6
24746 ac_check_lib_save_LIBS
=$LIBS
24747 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24748 cat >conftest.
$ac_ext <<_ACEOF
24751 cat confdefs.h
>>conftest.
$ac_ext
24752 cat >>conftest.
$ac_ext <<_ACEOF
24753 /* end confdefs.h. */
24755 /* Override any gcc2 internal prototype to avoid an error. */
24759 /* We use char because int might match the return type of a gcc2
24760 builtin and then its argument prototype would still apply. */
24770 rm -f conftest.
$ac_objext conftest
$ac_exeext
24771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24772 (eval $ac_link) 2>conftest.er1
24774 grep -v '^ *+' conftest.er1
>conftest.err
24776 cat conftest.err
>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); } &&
24779 { ac_try
='test -z "$ac_c_werror_flag"
24780 || test ! -s conftest.err'
24781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24782 (eval $ac_try) 2>&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); }; } &&
24786 { ac_try
='test -s conftest$ac_exeext'
24787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788 (eval $ac_try) 2>&5
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); }; }; then
24792 ac_cv_lib_socket_connect
=yes
24794 echo "$as_me: failed program was:" >&5
24795 sed 's/^/| /' conftest.
$ac_ext >&5
24797 ac_cv_lib_socket_connect
=no
24799 rm -f conftest.err conftest.
$ac_objext \
24800 conftest
$ac_exeext conftest.
$ac_ext
24801 LIBS
=$ac_check_lib_save_LIBS
24803 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24804 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24805 if test $ac_cv_lib_socket_connect = yes; then
24806 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24811 # Guillermo Gomez says -lposix is necessary on A/UX.
24812 echo "$as_me:$LINENO: checking for remove" >&5
24813 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24814 if test "${ac_cv_func_remove+set}" = set; then
24815 echo $ECHO_N "(cached) $ECHO_C" >&6
24817 cat >conftest.
$ac_ext <<_ACEOF
24820 cat confdefs.h
>>conftest.
$ac_ext
24821 cat >>conftest.
$ac_ext <<_ACEOF
24822 /* end confdefs.h. */
24823 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24825 #define remove innocuous_remove
24827 /* System header to define __stub macros and hopefully few prototypes,
24828 which can conflict with char remove (); below.
24829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24830 <limits.h> exists even on freestanding compilers. */
24833 # include <limits.h>
24835 # include <assert.h>
24840 /* Override any gcc2 internal prototype to avoid an error. */
24845 /* We use char because int might match the return type of a gcc2
24846 builtin and then its argument prototype would still apply. */
24848 /* The GNU C library defines this for functions which it implements
24849 to always fail with ENOSYS. Some functions are actually named
24850 something starting with __ and the normal name is an alias. */
24851 #if defined (__stub_remove) || defined (__stub___remove)
24854 char (*f) () = remove;
24863 return f != remove;
24868 rm -f conftest.
$ac_objext conftest
$ac_exeext
24869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24870 (eval $ac_link) 2>conftest.er1
24872 grep -v '^ *+' conftest.er1
>conftest.err
24874 cat conftest.err
>&5
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); } &&
24877 { ac_try
='test -z "$ac_c_werror_flag"
24878 || test ! -s conftest.err'
24879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24880 (eval $ac_try) 2>&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); }; } &&
24884 { ac_try
='test -s conftest$ac_exeext'
24885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24886 (eval $ac_try) 2>&5
24888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24889 (exit $ac_status); }; }; then
24890 ac_cv_func_remove
=yes
24892 echo "$as_me: failed program was:" >&5
24893 sed 's/^/| /' conftest.
$ac_ext >&5
24895 ac_cv_func_remove
=no
24897 rm -f conftest.err conftest.
$ac_objext \
24898 conftest
$ac_exeext conftest.
$ac_ext
24900 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24901 echo "${ECHO_T}$ac_cv_func_remove" >&6
24903 if test $ac_cv_func_remove = no
; then
24904 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24905 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24906 if test "${ac_cv_lib_posix_remove+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24909 ac_check_lib_save_LIBS
=$LIBS
24910 LIBS
="-lposix $LIBS"
24911 cat >conftest.
$ac_ext <<_ACEOF
24914 cat confdefs.h
>>conftest.
$ac_ext
24915 cat >>conftest.
$ac_ext <<_ACEOF
24916 /* end confdefs.h. */
24918 /* Override any gcc2 internal prototype to avoid an error. */
24922 /* We use char because int might match the return type of a gcc2
24923 builtin and then its argument prototype would still apply. */
24933 rm -f conftest.
$ac_objext conftest
$ac_exeext
24934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24935 (eval $ac_link) 2>conftest.er1
24937 grep -v '^ *+' conftest.er1
>conftest.err
24939 cat conftest.err
>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } &&
24942 { ac_try
='test -z "$ac_c_werror_flag"
24943 || test ! -s conftest.err'
24944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24945 (eval $ac_try) 2>&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); }; } &&
24949 { ac_try
='test -s conftest$ac_exeext'
24950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24951 (eval $ac_try) 2>&5
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); }; }; then
24955 ac_cv_lib_posix_remove
=yes
24957 echo "$as_me: failed program was:" >&5
24958 sed 's/^/| /' conftest.
$ac_ext >&5
24960 ac_cv_lib_posix_remove
=no
24962 rm -f conftest.err conftest.
$ac_objext \
24963 conftest
$ac_exeext conftest.
$ac_ext
24964 LIBS
=$ac_check_lib_save_LIBS
24966 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24967 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24968 if test $ac_cv_lib_posix_remove = yes; then
24969 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24974 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24975 echo "$as_me:$LINENO: checking for shmat" >&5
24976 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24977 if test "${ac_cv_func_shmat+set}" = set; then
24978 echo $ECHO_N "(cached) $ECHO_C" >&6
24980 cat >conftest.
$ac_ext <<_ACEOF
24983 cat confdefs.h
>>conftest.
$ac_ext
24984 cat >>conftest.
$ac_ext <<_ACEOF
24985 /* end confdefs.h. */
24986 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24988 #define shmat innocuous_shmat
24990 /* System header to define __stub macros and hopefully few prototypes,
24991 which can conflict with char shmat (); below.
24992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24993 <limits.h> exists even on freestanding compilers. */
24996 # include <limits.h>
24998 # include <assert.h>
25003 /* Override any gcc2 internal prototype to avoid an error. */
25008 /* We use char because int might match the return type of a gcc2
25009 builtin and then its argument prototype would still apply. */
25011 /* The GNU C library defines this for functions which it implements
25012 to always fail with ENOSYS. Some functions are actually named
25013 something starting with __ and the normal name is an alias. */
25014 #if defined (__stub_shmat) || defined (__stub___shmat)
25017 char (*f) () = shmat;
25031 rm -f conftest.
$ac_objext conftest
$ac_exeext
25032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25033 (eval $ac_link) 2>conftest.er1
25035 grep -v '^ *+' conftest.er1
>conftest.err
25037 cat conftest.err
>&5
25038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039 (exit $ac_status); } &&
25040 { ac_try
='test -z "$ac_c_werror_flag"
25041 || test ! -s conftest.err'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; } &&
25047 { ac_try
='test -s conftest$ac_exeext'
25048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049 (eval $ac_try) 2>&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); }; }; then
25053 ac_cv_func_shmat
=yes
25055 echo "$as_me: failed program was:" >&5
25056 sed 's/^/| /' conftest.
$ac_ext >&5
25058 ac_cv_func_shmat
=no
25060 rm -f conftest.err conftest.
$ac_objext \
25061 conftest
$ac_exeext conftest.
$ac_ext
25063 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25064 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25066 if test $ac_cv_func_shmat = no
; then
25067 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25068 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25069 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25072 ac_check_lib_save_LIBS
=$LIBS
25074 cat >conftest.
$ac_ext <<_ACEOF
25077 cat confdefs.h
>>conftest.
$ac_ext
25078 cat >>conftest.
$ac_ext <<_ACEOF
25079 /* end confdefs.h. */
25081 /* Override any gcc2 internal prototype to avoid an error. */
25085 /* We use char because int might match the return type of a gcc2
25086 builtin and then its argument prototype would still apply. */
25096 rm -f conftest.
$ac_objext conftest
$ac_exeext
25097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25098 (eval $ac_link) 2>conftest.er1
25100 grep -v '^ *+' conftest.er1
>conftest.err
25102 cat conftest.err
>&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); } &&
25105 { ac_try
='test -z "$ac_c_werror_flag"
25106 || test ! -s conftest.err'
25107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25108 (eval $ac_try) 2>&5
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); }; } &&
25112 { ac_try
='test -s conftest$ac_exeext'
25113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25114 (eval $ac_try) 2>&5
25116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117 (exit $ac_status); }; }; then
25118 ac_cv_lib_ipc_shmat
=yes
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.
$ac_ext >&5
25123 ac_cv_lib_ipc_shmat
=no
25125 rm -f conftest.err conftest.
$ac_objext \
25126 conftest
$ac_exeext conftest.
$ac_ext
25127 LIBS
=$ac_check_lib_save_LIBS
25129 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25130 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25131 if test $ac_cv_lib_ipc_shmat = yes; then
25132 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25138 # Check for libraries that X11R6 Xt/Xaw programs need.
25139 ac_save_LDFLAGS
=$LDFLAGS
25140 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25141 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25142 # check for ICE first), but we must link in the order -lSM -lICE or
25143 # we get undefined symbols. So assume we have SM if we have ICE.
25144 # These have to be linked with before -lX11, unlike the other
25145 # libraries we check for below, so use a different variable.
25146 # John Interrante, Karl Berry
25147 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25148 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25149 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25150 echo $ECHO_N "(cached) $ECHO_C" >&6
25152 ac_check_lib_save_LIBS
=$LIBS
25153 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25154 cat >conftest.
$ac_ext <<_ACEOF
25157 cat confdefs.h
>>conftest.
$ac_ext
25158 cat >>conftest.
$ac_ext <<_ACEOF
25159 /* end confdefs.h. */
25161 /* Override any gcc2 internal prototype to avoid an error. */
25165 /* We use char because int might match the return type of a gcc2
25166 builtin and then its argument prototype would still apply. */
25167 char IceConnectionNumber ();
25171 IceConnectionNumber ();
25176 rm -f conftest.
$ac_objext conftest
$ac_exeext
25177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25178 (eval $ac_link) 2>conftest.er1
25180 grep -v '^ *+' conftest.er1
>conftest.err
25182 cat conftest.err
>&5
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); } &&
25185 { ac_try
='test -z "$ac_c_werror_flag"
25186 || test ! -s conftest.err'
25187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25188 (eval $ac_try) 2>&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); }; } &&
25192 { ac_try
='test -s conftest$ac_exeext'
25193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25194 (eval $ac_try) 2>&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); }; }; then
25198 ac_cv_lib_ICE_IceConnectionNumber
=yes
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.
$ac_ext >&5
25203 ac_cv_lib_ICE_IceConnectionNumber
=no
25205 rm -f conftest.err conftest.
$ac_objext \
25206 conftest
$ac_exeext conftest.
$ac_ext
25207 LIBS
=$ac_check_lib_save_LIBS
25209 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25210 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25211 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25212 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25215 LDFLAGS
=$ac_save_LDFLAGS
25220 if test "$no_x" = "yes"; then
25221 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25222 echo "$as_me: error: X11 not found" >&2;}
25223 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25226 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25227 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25228 AFMINSTALL
=afminstall
25229 COMPILED_X_PROGRAM
=0
25233 if test "$wxUSE_X11" = 1; then
25234 if test "$wxUSE_NANOX" = "yes"; then
25235 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25236 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25237 if test "x$MICROWIN" = x
; then
25238 echo "$as_me:$LINENO: result: not found" >&5
25239 echo "${ECHO_T}not found" >&6
25240 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25241 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25242 { (exit 1); exit 1; }; }
25244 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25245 echo "${ECHO_T}$MICROWIN" >&6
25246 cat >>confdefs.h
<<\_ACEOF
25247 #define wxUSE_NANOX 1
25253 if test "$wxUSE_UNICODE" = "yes"; then
25257 if test -z "$PKG_CONFIG"; then
25258 # Extract the first word of "pkg-config", so it can be a program name with args.
25259 set dummy pkg
-config; ac_word
=$2
25260 echo "$as_me:$LINENO: checking for $ac_word" >&5
25261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25262 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25265 case $PKG_CONFIG in
25267 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25271 for as_dir
in $PATH
25274 test -z "$as_dir" && as_dir
=.
25275 for ac_exec_ext
in '' $ac_executable_extensions; do
25276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25277 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25284 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25288 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25290 if test -n "$PKG_CONFIG"; then
25291 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25292 echo "${ECHO_T}$PKG_CONFIG" >&6
25294 echo "$as_me:$LINENO: result: no" >&5
25295 echo "${ECHO_T}no" >&6
25300 if test "$PKG_CONFIG" = "no" ; then
25301 echo "*** The pkg-config script could not be found. Make sure it is"
25302 echo "*** in your path, or set the PKG_CONFIG environment variable"
25303 echo "*** to the full path to pkg-config."
25304 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25306 PKG_CONFIG_MIN_VERSION
=0.9.0
25307 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25308 echo "$as_me:$LINENO: checking for pangox" >&5
25309 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25311 if $PKG_CONFIG --exists "pangox" ; then
25312 echo "$as_me:$LINENO: result: yes" >&5
25313 echo "${ECHO_T}yes" >&6
25316 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25317 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25318 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25319 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25320 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25322 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25323 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25324 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25325 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25326 echo "${ECHO_T}$PANGOX_LIBS" >&6
25330 ## If we have a custom action on failure, don't print errors, but
25331 ## do set a variable so people can do so.
25332 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25339 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25340 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25344 if test $succeeded = yes; then
25346 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25347 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25351 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25352 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25353 { (exit 1); exit 1; }; }
25361 if test -z "$PKG_CONFIG"; then
25362 # Extract the first word of "pkg-config", so it can be a program name with args.
25363 set dummy pkg
-config; ac_word
=$2
25364 echo "$as_me:$LINENO: checking for $ac_word" >&5
25365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25366 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25367 echo $ECHO_N "(cached) $ECHO_C" >&6
25369 case $PKG_CONFIG in
25371 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25375 for as_dir
in $PATH
25378 test -z "$as_dir" && as_dir
=.
25379 for ac_exec_ext
in '' $ac_executable_extensions; do
25380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25381 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25388 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25392 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25394 if test -n "$PKG_CONFIG"; then
25395 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25396 echo "${ECHO_T}$PKG_CONFIG" >&6
25398 echo "$as_me:$LINENO: result: no" >&5
25399 echo "${ECHO_T}no" >&6
25404 if test "$PKG_CONFIG" = "no" ; then
25405 echo "*** The pkg-config script could not be found. Make sure it is"
25406 echo "*** in your path, or set the PKG_CONFIG environment variable"
25407 echo "*** to the full path to pkg-config."
25408 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25410 PKG_CONFIG_MIN_VERSION
=0.9.0
25411 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25412 echo "$as_me:$LINENO: checking for pangoft2" >&5
25413 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25415 if $PKG_CONFIG --exists "pangoft2" ; then
25416 echo "$as_me:$LINENO: result: yes" >&5
25417 echo "${ECHO_T}yes" >&6
25420 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25421 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25422 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25423 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25424 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25426 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25427 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25428 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25429 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25430 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25434 ## If we have a custom action on failure, don't print errors, but
25435 ## do set a variable so people can do so.
25436 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25443 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25444 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25448 if test $succeeded = yes; then
25450 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25451 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25455 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25456 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25457 wxUSE_PRINTING_ARCHITECTURE
="no"
25465 if test -z "$PKG_CONFIG"; then
25466 # Extract the first word of "pkg-config", so it can be a program name with args.
25467 set dummy pkg
-config; ac_word
=$2
25468 echo "$as_me:$LINENO: checking for $ac_word" >&5
25469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25471 echo $ECHO_N "(cached) $ECHO_C" >&6
25473 case $PKG_CONFIG in
25475 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25479 for as_dir
in $PATH
25482 test -z "$as_dir" && as_dir
=.
25483 for ac_exec_ext
in '' $ac_executable_extensions; do
25484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25485 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25492 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25496 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25498 if test -n "$PKG_CONFIG"; then
25499 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25500 echo "${ECHO_T}$PKG_CONFIG" >&6
25502 echo "$as_me:$LINENO: result: no" >&5
25503 echo "${ECHO_T}no" >&6
25508 if test "$PKG_CONFIG" = "no" ; then
25509 echo "*** The pkg-config script could not be found. Make sure it is"
25510 echo "*** in your path, or set the PKG_CONFIG environment variable"
25511 echo "*** to the full path to pkg-config."
25512 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25514 PKG_CONFIG_MIN_VERSION
=0.9.0
25515 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25516 echo "$as_me:$LINENO: checking for pangoxft" >&5
25517 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25519 if $PKG_CONFIG --exists "pangoxft" ; then
25520 echo "$as_me:$LINENO: result: yes" >&5
25521 echo "${ECHO_T}yes" >&6
25524 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25525 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25526 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25527 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25528 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25530 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25531 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25532 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25533 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25534 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25538 ## If we have a custom action on failure, don't print errors, but
25539 ## do set a variable so people can do so.
25540 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25547 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25548 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25552 if test $succeeded = yes; then
25554 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25555 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25559 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25560 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25565 save_CFLAGS
="$CFLAGS"
25567 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25568 LIBS
="$LIBS $PANGOX_LIBS"
25570 for ac_func
in pango_font_family_is_monospace
25572 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25573 echo "$as_me:$LINENO: checking for $ac_func" >&5
25574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25575 if eval "test \"\${$as_ac_var+set}\" = set"; then
25576 echo $ECHO_N "(cached) $ECHO_C" >&6
25578 cat >conftest.
$ac_ext <<_ACEOF
25581 cat confdefs.h
>>conftest.
$ac_ext
25582 cat >>conftest.
$ac_ext <<_ACEOF
25583 /* end confdefs.h. */
25584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25586 #define $ac_func innocuous_$ac_func
25588 /* System header to define __stub macros and hopefully few prototypes,
25589 which can conflict with char $ac_func (); below.
25590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25591 <limits.h> exists even on freestanding compilers. */
25594 # include <limits.h>
25596 # include <assert.h>
25601 /* Override any gcc2 internal prototype to avoid an error. */
25606 /* We use char because int might match the return type of a gcc2
25607 builtin and then its argument prototype would still apply. */
25609 /* The GNU C library defines this for functions which it implements
25610 to always fail with ENOSYS. Some functions are actually named
25611 something starting with __ and the normal name is an alias. */
25612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25615 char (*f) () = $ac_func;
25624 return f != $ac_func;
25629 rm -f conftest.
$ac_objext conftest
$ac_exeext
25630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25631 (eval $ac_link) 2>conftest.er1
25633 grep -v '^ *+' conftest.er1
>conftest.err
25635 cat conftest.err
>&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); } &&
25638 { ac_try
='test -z "$ac_c_werror_flag"
25639 || test ! -s conftest.err'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; } &&
25645 { ac_try
='test -s conftest$ac_exeext'
25646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25647 (eval $ac_try) 2>&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); }; }; then
25651 eval "$as_ac_var=yes"
25653 echo "$as_me: failed program was:" >&5
25654 sed 's/^/| /' conftest.
$ac_ext >&5
25656 eval "$as_ac_var=no"
25658 rm -f conftest.err conftest.
$ac_objext \
25659 conftest
$ac_exeext conftest.
$ac_ext
25661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25663 if test `eval echo '${'$as_ac_var'}'` = yes; then
25664 cat >>confdefs.h
<<_ACEOF
25665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25671 CFLAGS
="$save_CFLAGS"
25675 wxUSE_UNIVERSAL
="yes"
25677 if test "$wxUSE_NANOX" = "yes"; then
25678 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25679 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"
25680 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25682 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25685 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25690 if test "$wxUSE_MOTIF" = 1; then
25691 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25692 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25695 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25697 if test -f "$ac_dir/Xm/Xm.h"; then
25698 ac_find_includes
=$ac_dir
25703 if test "$ac_find_includes" != "" ; then
25704 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25705 echo "${ECHO_T}found in $ac_find_includes" >&6
25707 if test "x$ac_find_includes" = "x/usr/include"; then
25708 ac_path_to_include
=""
25710 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25712 if test $result = 0; then
25713 ac_path_to_include
=""
25715 ac_path_to_include
=" -I$ac_find_includes"
25719 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25721 cat >conftest.
$ac_ext <<_ACEOF
25724 cat confdefs.h
>>conftest.
$ac_ext
25725 cat >>conftest.
$ac_ext <<_ACEOF
25726 /* end confdefs.h. */
25735 version = xmUseVersion;
25741 rm -f conftest.
$ac_objext
25742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25743 (eval $ac_compile) 2>conftest.er1
25745 grep -v '^ *+' conftest.er1
>conftest.err
25747 cat conftest.err
>&5
25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25749 (exit $ac_status); } &&
25750 { ac_try
='test -z "$ac_c_werror_flag"
25751 || test ! -s conftest.err'
25752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753 (eval $ac_try) 2>&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); }; } &&
25757 { ac_try
='test -s conftest.$ac_objext'
25758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25759 (eval $ac_try) 2>&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); }; }; then
25764 echo "$as_me:$LINENO: result: found in default search path" >&5
25765 echo "${ECHO_T}found in default search path" >&6
25766 COMPILED_X_PROGRAM
=1
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.
$ac_ext >&5
25773 echo "$as_me:$LINENO: result: no" >&5
25774 echo "${ECHO_T}no" >&6
25775 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25776 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25777 { (exit 1); exit 1; }; }
25781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25784 if test "$COMPILED_X_PROGRAM" = 0; then
25785 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25786 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25789 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25791 for ac_extension
in a so sl dylib
; do
25792 if test -f "$ac_dir/libXm.$ac_extension"; then
25793 ac_find_libraries
=$ac_dir
25799 if test "$ac_find_libraries" != "" ; then
25800 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25801 echo "${ECHO_T}found at $ac_find_libraries" >&6
25804 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25806 if test $result = 0; then
25809 ac_path_to_link
=" -L$ac_find_libraries"
25812 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25814 save_CFLAGS
=$CFLAGS
25815 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25817 cat >conftest.
$ac_ext <<_ACEOF
25820 cat confdefs.h
>>conftest.
$ac_ext
25821 cat >>conftest.
$ac_ext <<_ACEOF
25822 /* end confdefs.h. */
25831 version = xmUseVersion;
25837 rm -f conftest.
$ac_objext
25838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25839 (eval $ac_compile) 2>conftest.er1
25841 grep -v '^ *+' conftest.er1
>conftest.err
25843 cat conftest.err
>&5
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); } &&
25846 { ac_try
='test -z "$ac_c_werror_flag"
25847 || test ! -s conftest.err'
25848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25849 (eval $ac_try) 2>&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); }; } &&
25853 { ac_try
='test -s conftest.$ac_objext'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; }; then
25860 echo "$as_me:$LINENO: result: found in default search path" >&5
25861 echo "${ECHO_T}found in default search path" >&6
25862 COMPILED_X_PROGRAM
=1
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.
$ac_ext >&5
25869 echo "$as_me:$LINENO: result: no" >&5
25870 echo "${ECHO_T}no" >&6
25871 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25872 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25873 { (exit 1); exit 1; }; }
25877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25879 CFLAGS
=$save_CFLAGS
25883 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25884 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25888 for libp
in "" " -lXp"; do
25889 if test "$libs_found" = "0"; then
25890 for libsm_ice
in "" " -lSM -lICE"; do
25891 if test "$libs_found" = "0"; then
25893 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25894 save_CFLAGS
=$CFLAGS
25895 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25897 cat >conftest.
$ac_ext <<_ACEOF
25900 cat confdefs.h
>>conftest.
$ac_ext
25901 cat >>conftest.
$ac_ext <<_ACEOF
25902 /* end confdefs.h. */
25905 #include <Xm/List.h>
25911 XmString string = NULL;
25914 XmListAddItem(w, string, position);
25920 rm -f conftest.
$ac_objext conftest
$ac_exeext
25921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25922 (eval $ac_link) 2>conftest.er1
25924 grep -v '^ *+' conftest.er1
>conftest.err
25926 cat conftest.err
>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try
='test -z "$ac_c_werror_flag"
25930 || test ! -s conftest.err'
25931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25932 (eval $ac_try) 2>&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); }; } &&
25936 { ac_try
='test -s conftest$ac_exeext'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; }; then
25944 libsm_ice_link
="$libsm_ice"
25945 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25946 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.
$ac_ext >&5
25956 rm -f conftest.err conftest.
$ac_objext \
25957 conftest
$ac_exeext conftest.
$ac_ext
25960 CFLAGS
=$save_CFLAGS
25966 if test "$libs_found" = "0"; then
25967 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25968 echo "${ECHO_T}can't find the right libraries" >&6
25969 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25970 echo "$as_me: error: can't link a simple motif program" >&2;}
25971 { (exit 1); exit 1; }; }
25974 save_CFLAGS
=$CFLAGS
25975 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25976 echo "$as_me:$LINENO: checking for Motif 2" >&5
25977 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25978 cat >conftest.
$ac_ext <<_ACEOF
25981 cat confdefs.h
>>conftest.
$ac_ext
25982 cat >>conftest.
$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25991 #if XmVersion < 2000
25992 #error "Not Motif 2"
25999 rm -f conftest.
$ac_objext
26000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26001 (eval $ac_compile) 2>conftest.er1
26003 grep -v '^ *+' conftest.er1
>conftest.err
26005 cat conftest.err
>&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); } &&
26008 { ac_try
='test -z "$ac_c_werror_flag"
26009 || test ! -s conftest.err'
26010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26011 (eval $ac_try) 2>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); }; } &&
26015 { ac_try
='test -s conftest.$ac_objext'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; }; then
26022 cat >>confdefs.h
<<\_ACEOF
26023 #define __WXMOTIF20__ 1
26026 echo "$as_me:$LINENO: result: found" >&5
26027 echo "${ECHO_T}found" >&6
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.
$ac_ext >&5
26034 cat >>confdefs.h
<<\_ACEOF
26035 #define __WXMOTIF20__ 0
26038 echo "$as_me:$LINENO: result: not found" >&5
26039 echo "${ECHO_T}not found" >&6
26042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26043 CFLAGS
=$save_CFLAGS
26045 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26046 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26051 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26052 if test "$wxUSE_LIBXPM" = "sys"; then
26053 echo "$as_me:$LINENO: checking for Xpm library" >&5
26054 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26057 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26059 for ac_extension
in a so sl dylib
; do
26060 if test -f "$ac_dir/libXpm.$ac_extension"; then
26061 ac_find_libraries
=$ac_dir
26067 if test "$ac_find_libraries" != "" ; then
26069 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26071 if test $result = 0; then
26074 ac_path_to_link
=" -L$ac_find_libraries"
26077 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26078 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26079 echo "${ECHO_T}found at $ac_find_libraries" >&6
26081 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26082 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26083 if test "${wx_cv_x11_xpm_h+set}" = set; then
26084 echo $ECHO_N "(cached) $ECHO_C" >&6
26087 save_CFLAGS
=$CFLAGS
26088 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26090 cat >conftest.
$ac_ext <<_ACEOF
26093 cat confdefs.h
>>conftest.
$ac_ext
26094 cat >>conftest.
$ac_ext <<_ACEOF
26095 /* end confdefs.h. */
26097 #include <X11/xpm.h>
26104 version = XpmLibraryVersion();
26110 rm -f conftest.
$ac_objext
26111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26112 (eval $ac_compile) 2>conftest.er1
26114 grep -v '^ *+' conftest.er1
>conftest.err
26116 cat conftest.err
>&5
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); } &&
26119 { ac_try
='test -z "$ac_c_werror_flag"
26120 || test ! -s conftest.err'
26121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26122 (eval $ac_try) 2>&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); }; } &&
26126 { ac_try
='test -s conftest.$ac_objext'
26127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128 (eval $ac_try) 2>&5
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); }; }; then
26132 wx_cv_x11_xpm_h
=yes
26134 echo "$as_me: failed program was:" >&5
26135 sed 's/^/| /' conftest.
$ac_ext >&5
26140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26142 CFLAGS
=$save_CFLAGS
26146 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26147 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26149 if test $wx_cv_x11_xpm_h = "yes"; then
26150 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26151 cat >>confdefs.h
<<\_ACEOF
26152 #define wxHAVE_LIB_XPM 1
26156 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26157 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26163 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26164 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26165 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26166 echo $ECHO_N "(cached) $ECHO_C" >&6
26168 ac_check_lib_save_LIBS
=$LIBS
26169 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26170 cat >conftest.
$ac_ext <<_ACEOF
26173 cat confdefs.h
>>conftest.
$ac_ext
26174 cat >>conftest.
$ac_ext <<_ACEOF
26175 /* end confdefs.h. */
26177 /* Override any gcc2 internal prototype to avoid an error. */
26181 /* We use char because int might match the return type of a gcc2
26182 builtin and then its argument prototype would still apply. */
26183 char XShapeQueryExtension ();
26187 XShapeQueryExtension ();
26192 rm -f conftest.
$ac_objext conftest
$ac_exeext
26193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26194 (eval $ac_link) 2>conftest.er1
26196 grep -v '^ *+' conftest.er1
>conftest.err
26198 cat conftest.err
>&5
26199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 (exit $ac_status); } &&
26201 { ac_try
='test -z "$ac_c_werror_flag"
26202 || test ! -s conftest.err'
26203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26204 (eval $ac_try) 2>&5
26206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207 (exit $ac_status); }; } &&
26208 { ac_try
='test -s conftest$ac_exeext'
26209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26210 (eval $ac_try) 2>&5
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); }; }; then
26214 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26216 echo "$as_me: failed program was:" >&5
26217 sed 's/^/| /' conftest.
$ac_ext >&5
26219 ac_cv_lib_Xext_XShapeQueryExtension
=no
26221 rm -f conftest.err conftest.
$ac_objext \
26222 conftest
$ac_exeext conftest.
$ac_ext
26223 LIBS
=$ac_check_lib_save_LIBS
26225 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26226 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26227 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26229 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26235 if test "$wxHAVE_XEXT_LIB" = 1; then
26236 save_CFLAGS
="$CFLAGS"
26237 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26239 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26240 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26241 cat >conftest.
$ac_ext <<_ACEOF
26244 cat confdefs.h
>>conftest.
$ac_ext
26245 cat >>conftest.
$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26248 #include <X11/Xlib.h>
26249 #include <X11/extensions/shape.h>
26255 int dummy1, dummy2;
26256 XShapeQueryExtension((Display*)NULL,
26257 (int*)NULL, (int*)NULL);
26263 rm -f conftest.
$ac_objext
26264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26265 (eval $ac_compile) 2>conftest.er1
26267 grep -v '^ *+' conftest.er1
>conftest.err
26269 cat conftest.err
>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } &&
26272 { ac_try
='test -z "$ac_c_werror_flag"
26273 || test ! -s conftest.err'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; } &&
26279 { ac_try
='test -s conftest.$ac_objext'
26280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281 (eval $ac_try) 2>&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); }; }; then
26286 cat >>confdefs.h
<<\_ACEOF
26287 #define HAVE_XSHAPE 1
26290 echo "$as_me:$LINENO: result: found" >&5
26291 echo "${ECHO_T}found" >&6
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.
$ac_ext >&5
26298 echo "$as_me:$LINENO: result: not found" >&5
26299 echo "${ECHO_T}not found" >&6
26302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26303 CFLAGS
="$save_CFLAGS"
26308 if test "$wxUSE_MAC" = 1; then
26309 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26310 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26311 if test "$GCC" = yes; then
26312 echo "$as_me:$LINENO: result: gcc" >&5
26313 echo "${ECHO_T}gcc" >&6
26314 CPPFLAGS_PASCAL
="-fpascal-strings"
26315 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26316 echo "$as_me:$LINENO: result: xlc" >&5
26317 echo "${ECHO_T}xlc" >&6
26318 CPPFLAGS_PASCAL
="-qmacpstr"
26320 echo "$as_me:$LINENO: result: none" >&5
26321 echo "${ECHO_T}none" >&6
26324 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26326 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26329 WXBASEPORT
="_carbon"
26332 if test "$wxUSE_COCOA" = 1; then
26333 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26338 if test "$wxUSE_PM" = 1; then
26341 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26342 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26343 if test "${wx_cv_spbcdata+set}" = set; then
26344 echo $ECHO_N "(cached) $ECHO_C" >&6
26347 cat >conftest.
$ac_ext <<_ACEOF
26350 cat confdefs.h
>>conftest.
$ac_ext
26351 cat >>conftest.
$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26367 rm -f conftest.
$ac_objext
26368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26369 (eval $ac_compile) 2>conftest.er1
26371 grep -v '^ *+' conftest.er1
>conftest.err
26373 cat conftest.err
>&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); } &&
26376 { ac_try
='test -z "$ac_c_werror_flag"
26377 || test ! -s conftest.err'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; } &&
26383 { ac_try
='test -s conftest.$ac_objext'
26384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26385 (eval $ac_try) 2>&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); }; }; then
26391 echo "$as_me: failed program was:" >&5
26392 sed 's/^/| /' conftest.
$ac_ext >&5
26397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26401 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26402 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26404 if test $wx_cv_spbcdata = "yes"; then
26405 cat >>confdefs.h
<<\_ACEOF
26406 #define HAVE_SPBCDATA 1
26412 if test "$TOOLKIT" = "PM" ; then
26415 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26418 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26420 if test "$wxUSE_UNIVERSAL" = "yes"; then
26421 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26423 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26424 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26426 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26427 if test "$wxUSE_X11" = 1; then
26428 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26430 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26432 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26435 ALL_OBJECTS
="\$(GUIOBJS)"
26436 ALL_SOURCES
="\$(ALL_SOURCES)"
26437 ALL_HEADERS
="\$(ALL_HEADERS)"
26440 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26442 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26443 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26446 if test "$wxUSE_HTML" = "yes"; then
26447 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26450 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26451 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26453 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26454 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26456 if test "$wxUSE_LIBPNG" = "builtin" ; then
26457 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26460 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26461 DISTDIR
="wx\$(TOOLKIT)"
26467 if test "$USE_WIN32" = 1 ; then
26468 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26469 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26473 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26474 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26477 ALL_SOURCES
="\$(ALL_SOURCES)"
26478 ALL_HEADERS
="\$(ALL_HEADERS)"
26480 PORT_FILES
="\${top_srcdir}/src/files.lst"
26482 GUIDIST
="BASE_DIST"
26492 if test "$TOOLKIT" != "MSW" ; then
26494 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26496 if test "${ac_cv_header_sql_h+set}" = set; then
26497 echo "$as_me:$LINENO: checking for sql.h" >&5
26498 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26499 if test "${ac_cv_header_sql_h+set}" = set; then
26500 echo $ECHO_N "(cached) $ECHO_C" >&6
26502 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26503 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26505 # Is the header compilable?
26506 echo "$as_me:$LINENO: checking sql.h usability" >&5
26507 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26508 cat >conftest.
$ac_ext <<_ACEOF
26511 cat confdefs.h
>>conftest.
$ac_ext
26512 cat >>conftest.
$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26514 $ac_includes_default
26517 rm -f conftest.
$ac_objext
26518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26519 (eval $ac_compile) 2>conftest.er1
26521 grep -v '^ *+' conftest.er1
>conftest.err
26523 cat conftest.err
>&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try
='test -z "$ac_c_werror_flag"
26527 || test ! -s conftest.err'
26528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26529 (eval $ac_try) 2>&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); }; } &&
26533 { ac_try
='test -s conftest.$ac_objext'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; }; then
26539 ac_header_compiler
=yes
26541 echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.
$ac_ext >&5
26544 ac_header_compiler
=no
26546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26548 echo "${ECHO_T}$ac_header_compiler" >&6
26550 # Is the header present?
26551 echo "$as_me:$LINENO: checking sql.h presence" >&5
26552 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26553 cat >conftest.
$ac_ext <<_ACEOF
26556 cat confdefs.h
>>conftest.
$ac_ext
26557 cat >>conftest.
$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26564 grep -v '^ *+' conftest.er1
>conftest.err
26566 cat conftest.err
>&5
26567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26568 (exit $ac_status); } >/dev
/null
; then
26569 if test -s conftest.err
; then
26570 ac_cpp_err
=$ac_c_preproc_warn_flag
26571 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26578 if test -z "$ac_cpp_err"; then
26579 ac_header_preproc
=yes
26581 echo "$as_me: failed program was:" >&5
26582 sed 's/^/| /' conftest.
$ac_ext >&5
26584 ac_header_preproc
=no
26586 rm -f conftest.err conftest.
$ac_ext
26587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26588 echo "${ECHO_T}$ac_header_preproc" >&6
26590 # So? What about this header?
26591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26593 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26594 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26595 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26596 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26597 ac_header_preproc
=yes
26600 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26601 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26602 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26603 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26604 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26605 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26606 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26607 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26608 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26609 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26610 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26611 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26614 ## ----------------------------------------- ##
26615 ## Report this to wx-dev@lists.wxwidgets.org ##
26616 ## ----------------------------------------- ##
26619 sed "s/^/$as_me: WARNING: /" >&2
26622 echo "$as_me:$LINENO: checking for sql.h" >&5
26623 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26624 if test "${ac_cv_header_sql_h+set}" = set; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26627 ac_cv_header_sql_h
=$ac_header_preproc
26629 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26630 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26633 if test $ac_cv_header_sql_h = yes; then
26638 if test "x$found_sql_h" = "x1" ; then
26639 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26640 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26641 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26642 echo $ECHO_N "(cached) $ECHO_C" >&6
26644 ac_check_lib_save_LIBS
=$LIBS
26645 LIBS
="-liodbc $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. */
26659 char SQLAllocEnv ();
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_iodbc_SQLAllocEnv
=yes
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.
$ac_ext >&5
26695 ac_cv_lib_iodbc_SQLAllocEnv
=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_iodbc_SQLAllocEnv" >&5
26702 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26703 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26704 ODBC_LINK
=" -liodbc"
26707 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26708 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26709 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26712 ac_check_lib_save_LIBS
=$LIBS
26713 LIBS
="-lunixodbc $LIBS"
26714 cat >conftest.
$ac_ext <<_ACEOF
26717 cat confdefs.h
>>conftest.
$ac_ext
26718 cat >>conftest.
$ac_ext <<_ACEOF
26719 /* end confdefs.h. */
26721 /* Override any gcc2 internal prototype to avoid an error. */
26725 /* We use char because int might match the return type of a gcc2
26726 builtin and then its argument prototype would still apply. */
26727 char SQLAllocEnv ();
26736 rm -f conftest.
$ac_objext conftest
$ac_exeext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26738 (eval $ac_link) 2>conftest.er1
26740 grep -v '^ *+' conftest.er1
>conftest.err
26742 cat conftest.err
>&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } &&
26745 { ac_try
='test -z "$ac_c_werror_flag"
26746 || test ! -s conftest.err'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; } &&
26752 { ac_try
='test -s conftest$ac_exeext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.
$ac_ext >&5
26763 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26765 rm -f conftest.err conftest.
$ac_objext \
26766 conftest
$ac_exeext conftest.
$ac_ext
26767 LIBS
=$ac_check_lib_save_LIBS
26769 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26770 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26771 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26772 ODBC_LINK
=" -lunixodbc"
26775 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26776 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26777 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26778 echo $ECHO_N "(cached) $ECHO_C" >&6
26780 ac_check_lib_save_LIBS
=$LIBS
26781 LIBS
="-lodbc $LIBS"
26782 cat >conftest.
$ac_ext <<_ACEOF
26785 cat confdefs.h
>>conftest.
$ac_ext
26786 cat >>conftest.
$ac_ext <<_ACEOF
26787 /* end confdefs.h. */
26789 /* Override any gcc2 internal prototype to avoid an error. */
26793 /* We use char because int might match the return type of a gcc2
26794 builtin and then its argument prototype would still apply. */
26795 char SQLAllocEnv ();
26804 rm -f conftest.
$ac_objext conftest
$ac_exeext
26805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26806 (eval $ac_link) 2>conftest.er1
26808 grep -v '^ *+' conftest.er1
>conftest.err
26810 cat conftest.err
>&5
26811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26812 (exit $ac_status); } &&
26813 { ac_try
='test -z "$ac_c_werror_flag"
26814 || test ! -s conftest.err'
26815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26816 (eval $ac_try) 2>&5
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); }; } &&
26820 { ac_try
='test -s conftest$ac_exeext'
26821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26822 (eval $ac_try) 2>&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); }; }; then
26826 ac_cv_lib_odbc_SQLAllocEnv
=yes
26828 echo "$as_me: failed program was:" >&5
26829 sed 's/^/| /' conftest.
$ac_ext >&5
26831 ac_cv_lib_odbc_SQLAllocEnv
=no
26833 rm -f conftest.err conftest.
$ac_objext \
26834 conftest
$ac_exeext conftest.
$ac_ext
26835 LIBS
=$ac_check_lib_save_LIBS
26837 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26838 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26839 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26840 ODBC_LINK
=" -lodbc"
26850 if test "x$ODBC_LINK" = "x" ; then
26851 if test "$wxUSE_ODBC" = "sys" ; then
26852 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26853 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26854 { (exit 1); exit 1; }; }
26856 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26857 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26864 if test "$wxUSE_ODBC" != "no" ; then
26865 cat >>confdefs.h
<<\_ACEOF
26866 #define wxUSE_ODBC 1
26869 if test "$wxUSE_ODBC" = "builtin" ; then
26870 cat >>confdefs.h
<<\_ACEOF
26871 #define wxUSE_BUILTIN_IODBC 1
26875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26877 WXODBCFLAG
="-D_IODBC_"
26881 if test "$wxUSE_REGEX" = "builtin" ; then
26882 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
26884 if test "$wxUSE_ZLIB" = "builtin" ; then
26885 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
26889 if test "$wxUSE_DISPLAY" = "yes"; then
26890 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26891 echo "$as_me:$LINENO: checking for Xinerama" >&5
26892 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26895 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26897 for ac_extension
in a so sl dylib
; do
26898 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26899 ac_find_libraries
=$ac_dir
26905 if test "$ac_find_libraries" != "" ; then
26907 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26909 if test $result = 0; then
26912 ac_path_to_link
=" -L$ac_find_libraries"
26915 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26916 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26918 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26919 echo "$as_me:$LINENO: result: yes" >&5
26920 echo "${ECHO_T}yes" >&6
26922 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26923 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26926 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26928 for ac_extension
in a so sl dylib
; do
26929 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26930 ac_find_libraries
=$ac_dir
26936 if test "$ac_find_libraries" != "" ; then
26937 echo "$as_me:$LINENO: result: yes" >&5
26938 echo "${ECHO_T}yes" >&6
26940 for ac_header
in X
11/extensions
/xf86vmode.h
26942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26943 echo "$as_me:$LINENO: checking for $ac_header" >&5
26944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26948 cat >conftest.
$ac_ext <<_ACEOF
26951 cat confdefs.h
>>conftest.
$ac_ext
26952 cat >>conftest.
$ac_ext <<_ACEOF
26953 /* end confdefs.h. */
26955 #if HAVE_X11_XLIB_H
26956 #include <X11/Xlib.h>
26960 #include <$ac_header>
26962 rm -f conftest.
$ac_objext
26963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26964 (eval $ac_compile) 2>conftest.er1
26966 grep -v '^ *+' conftest.er1
>conftest.err
26968 cat conftest.err
>&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); } &&
26971 { ac_try
='test -z "$ac_c_werror_flag"
26972 || test ! -s conftest.err'
26973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26974 (eval $ac_try) 2>&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); }; } &&
26978 { ac_try
='test -s conftest.$ac_objext'
26979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980 (eval $ac_try) 2>&5
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; }; then
26984 eval "$as_ac_Header=yes"
26986 echo "$as_me: failed program was:" >&5
26987 sed 's/^/| /' conftest.
$ac_ext >&5
26989 eval "$as_ac_Header=no"
26991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26996 cat >>confdefs.h
<<_ACEOF
26997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27000 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27007 echo "$as_me:$LINENO: result: no" >&5
27008 echo "${ECHO_T}no" >&6
27012 echo "$as_me:$LINENO: result: no" >&5
27013 echo "${ECHO_T}no" >&6
27014 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27015 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27018 elif test "$wxUSE_MSW" = 1; then
27021 for ac_header
in multimon.h ddraw.h
27023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27025 echo "$as_me:$LINENO: checking for $ac_header" >&5
27026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27033 # Is the header compilable?
27034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27036 cat >conftest.
$ac_ext <<_ACEOF
27039 cat confdefs.h
>>conftest.
$ac_ext
27040 cat >>conftest.
$ac_ext <<_ACEOF
27041 /* end confdefs.h. */
27042 $ac_includes_default
27043 #include <$ac_header>
27045 rm -f conftest.
$ac_objext
27046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27047 (eval $ac_compile) 2>conftest.er1
27049 grep -v '^ *+' conftest.er1
>conftest.err
27051 cat conftest.err
>&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); } &&
27054 { ac_try
='test -z "$ac_c_werror_flag"
27055 || test ! -s conftest.err'
27056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057 (eval $ac_try) 2>&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; } &&
27061 { ac_try
='test -s conftest.$ac_objext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 ac_header_compiler
=yes
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.
$ac_ext >&5
27072 ac_header_compiler
=no
27074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27076 echo "${ECHO_T}$ac_header_compiler" >&6
27078 # Is the header present?
27079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27081 cat >conftest.
$ac_ext <<_ACEOF
27084 cat confdefs.h
>>conftest.
$ac_ext
27085 cat >>conftest.
$ac_ext <<_ACEOF
27086 /* end confdefs.h. */
27087 #include <$ac_header>
27089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27092 grep -v '^ *+' conftest.er1
>conftest.err
27094 cat conftest.err
>&5
27095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27096 (exit $ac_status); } >/dev
/null
; then
27097 if test -s conftest.err
; then
27098 ac_cpp_err
=$ac_c_preproc_warn_flag
27099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27106 if test -z "$ac_cpp_err"; then
27107 ac_header_preproc
=yes
27109 echo "$as_me: failed program was:" >&5
27110 sed 's/^/| /' conftest.
$ac_ext >&5
27112 ac_header_preproc
=no
27114 rm -f conftest.err conftest.
$ac_ext
27115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27116 echo "${ECHO_T}$ac_header_preproc" >&6
27118 # So? What about this header?
27119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27125 ac_header_preproc
=yes
27128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27142 ## ----------------------------------------- ##
27143 ## Report this to wx-dev@lists.wxwidgets.org ##
27144 ## ----------------------------------------- ##
27147 sed "s/^/$as_me: WARNING: /" >&2
27150 echo "$as_me:$LINENO: checking for $ac_header" >&5
27151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27153 echo $ECHO_N "(cached) $ECHO_C" >&6
27155 eval "$as_ac_Header=\$ac_header_preproc"
27157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27162 cat >>confdefs.h
<<_ACEOF
27163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27169 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27170 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27181 if test "$wxUSE_OPENGL" = "yes"; then
27182 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27183 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27184 elif test "$wxUSE_MSW" = 1; then
27185 OPENGL_LIBS
="-lopengl32 -lglu32"
27190 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27192 if test -f "$ac_dir/GL/gl.h"; then
27193 ac_find_includes
=$ac_dir
27198 if test "$ac_find_includes" != "" ; then
27199 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27200 echo "${ECHO_T}found in $ac_find_includes" >&6
27202 if test "x$ac_find_includes" = "x/usr/include"; then
27203 ac_path_to_include
=""
27205 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27207 if test $result = 0; then
27208 ac_path_to_include
=""
27210 ac_path_to_include
=" -I$ac_find_includes"
27214 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27217 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27218 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27219 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27220 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27221 echo $ECHO_N "(cached) $ECHO_C" >&6
27223 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27224 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27226 # Is the header compilable?
27227 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27228 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27229 cat >conftest.
$ac_ext <<_ACEOF
27232 cat confdefs.h
>>conftest.
$ac_ext
27233 cat >>conftest.
$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27235 $ac_includes_default
27238 rm -f conftest.
$ac_objext
27239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27240 (eval $ac_compile) 2>conftest.er1
27242 grep -v '^ *+' conftest.er1
>conftest.err
27244 cat conftest.err
>&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } &&
27247 { ac_try
='test -z "$ac_c_werror_flag"
27248 || test ! -s conftest.err'
27249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27250 (eval $ac_try) 2>&5
27252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253 (exit $ac_status); }; } &&
27254 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
27260 ac_header_compiler
=yes
27262 echo "$as_me: failed program was:" >&5
27263 sed 's/^/| /' conftest.
$ac_ext >&5
27265 ac_header_compiler
=no
27267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27269 echo "${ECHO_T}$ac_header_compiler" >&6
27271 # Is the header present?
27272 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27273 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27274 cat >conftest.
$ac_ext <<_ACEOF
27277 cat confdefs.h
>>conftest.
$ac_ext
27278 cat >>conftest.
$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27285 grep -v '^ *+' conftest.er1
>conftest.err
27287 cat conftest.err
>&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); } >/dev
/null
; then
27290 if test -s conftest.err
; then
27291 ac_cpp_err
=$ac_c_preproc_warn_flag
27292 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27299 if test -z "$ac_cpp_err"; then
27300 ac_header_preproc
=yes
27302 echo "$as_me: failed program was:" >&5
27303 sed 's/^/| /' conftest.
$ac_ext >&5
27305 ac_header_preproc
=no
27307 rm -f conftest.err conftest.
$ac_ext
27308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27309 echo "${ECHO_T}$ac_header_preproc" >&6
27311 # So? What about this header?
27312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27314 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27315 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27316 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27317 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27318 ac_header_preproc
=yes
27321 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27322 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27323 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27324 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27325 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27326 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27327 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27328 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27329 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27330 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27331 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27332 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27335 ## ----------------------------------------- ##
27336 ## Report this to wx-dev@lists.wxwidgets.org ##
27337 ## ----------------------------------------- ##
27340 sed "s/^/$as_me: WARNING: /" >&2
27343 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27344 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27345 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27346 echo $ECHO_N "(cached) $ECHO_C" >&6
27348 ac_cv_header_GL_gl_h
=$ac_header_preproc
27350 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27351 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27354 if test $ac_cv_header_GL_gl_h = yes; then
27358 echo "$as_me:$LINENO: checking for -lGL" >&5
27359 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27362 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27364 for ac_extension
in a so sl dylib
; do
27365 if test -f "$ac_dir/libGL.$ac_extension"; then
27366 ac_find_libraries
=$ac_dir
27372 if test "$ac_find_libraries" != "" ; then
27374 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27376 if test $result = 0; then
27379 ac_path_to_link
=" -L$ac_find_libraries"
27382 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27383 LDFLAGS_GL
="$ac_path_to_link"
27388 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27390 for ac_extension
in a so sl dylib
; do
27391 if test -f "$ac_dir/libGLU.$ac_extension"; then
27392 ac_find_libraries
=$ac_dir
27398 if test "$ac_find_libraries" != "" ; then
27400 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27402 if test $result = 0; then
27405 ac_path_to_link
=" -L$ac_find_libraries"
27408 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27409 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27410 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27414 OPENGL_LIBS
="-lGL -lGLU"
27415 echo "$as_me:$LINENO: result: yes" >&5
27416 echo "${ECHO_T}yes" >&6
27420 if test "$found_gl" != 1; then
27421 echo "$as_me:$LINENO: result: no" >&5
27422 echo "${ECHO_T}no" >&6
27423 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27424 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27427 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27429 for ac_extension
in a so sl dylib
; do
27430 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27431 ac_find_libraries
=$ac_dir
27437 if test "$ac_find_libraries" != "" ; then
27439 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27441 if test $result = 0; then
27444 ac_path_to_link
=" -L$ac_find_libraries"
27447 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27448 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27449 echo "$as_me:$LINENO: result: yes" >&5
27450 echo "${ECHO_T}yes" >&6
27452 echo "$as_me:$LINENO: result: no" >&5
27453 echo "${ECHO_T}no" >&6
27461 if test "x$OPENGL_LIBS" = "x"; then
27462 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27463 echo "$as_me: error: OpenGL libraries not available" >&2;}
27464 { (exit 1); exit 1; }; }
27468 if test "$wxUSE_OPENGL" = "yes"; then
27470 cat >>confdefs.h
<<\_ACEOF
27471 #define wxUSE_OPENGL 1
27474 cat >>confdefs.h
<<\_ACEOF
27475 #define wxUSE_GLCANVAS 1
27478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27482 if test -z "$TOOLKIT_VPATH" ; then
27483 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27486 if test -n "$TOOLKIT" ; then
27487 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27491 lib_unicode_suffix
=
27492 wxconfig_filename_unicode
="ansi"
27493 if test "$wxUSE_UNICODE" = "yes"; then
27494 lib_unicode_suffix
=u
27495 wxconfig_filename_unicode
="unicode"
27500 wxconfig_filename_debug
="release"
27502 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27504 wxconfig_filename_debug
="debug"
27509 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27513 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27515 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27516 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27518 WXCONFIG_DATA_FILE
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${wxconfig_filename_unicode}-${wxconfig_filename_debug}-${WX_RELEASE}"
27520 if test "$cross_compiling" = "yes"; then
27521 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27522 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27523 WXCONFIG_DATA_FILE
="${WXCONFIG_DATA_FILE}-${host_alias}"
27524 HOST_SUFFIX
="-${host_alias}"
27527 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27528 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27529 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27530 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27532 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27533 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27535 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27536 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27537 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27538 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27541 *-*-cygwin* | *-*-mingw32* )
27542 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27543 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27548 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27549 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27551 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27552 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27553 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27554 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27556 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27557 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27558 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27563 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27564 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27566 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27567 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27569 if test "$wxUSE_OPENGL" = "yes"; then
27570 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27571 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27576 if test "$wxUSE_SHARED" = "yes"; then
27580 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27581 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27587 if test "$wxUSE_SHARED" = "yes"; then
27591 found_versioning
=no
27594 if test $found_versioning = no
; then
27595 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27596 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27597 if test "${wx_cv_version_script+set}" = set; then
27598 echo $ECHO_N "(cached) $ECHO_C" >&6
27601 echo "VER_1 { *; };" >conftest.sym
27602 echo "int main() { return 0; }" >conftest.cpp
27605 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27606 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27608 (eval $ac_try) 2>&5
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); }; } ; then
27612 if test -s conftest.stderr
; then
27613 wx_cv_version_script
=no
27615 wx_cv_version_script
=yes
27618 wx_cv_version_script
=no
27620 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27623 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27624 echo "${ECHO_T}$wx_cv_version_script" >&6
27625 if test $wx_cv_version_script = yes ; then
27626 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27632 *-*-linux* | *-*-gnu* )
27633 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27637 if test "$GCC" = yes ; then
27638 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27640 saveLdflags
="$LDFLAGS"
27641 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27642 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27643 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27644 cat >conftest.
$ac_ext <<_ACEOF
27647 cat confdefs.h
>>conftest.
$ac_ext
27648 cat >>conftest.
$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27659 rm -f conftest.
$ac_objext conftest
$ac_exeext
27660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27661 (eval $ac_link) 2>conftest.er1
27663 grep -v '^ *+' conftest.er1
>conftest.err
27665 cat conftest.err
>&5
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); } &&
27668 { ac_try
='test -z "$ac_c_werror_flag"
27669 || test ! -s conftest.err'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; } &&
27675 { ac_try
='test -s conftest$ac_exeext'
27676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27677 (eval $ac_try) 2>&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); }; }; then
27682 echo "$as_me:$LINENO: result: yes" >&5
27683 echo "${ECHO_T}yes" >&6
27684 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27687 echo "$as_me: failed program was:" >&5
27688 sed 's/^/| /' conftest.
$ac_ext >&5
27691 echo "$as_me:$LINENO: result: no" >&5
27692 echo "${ECHO_T}no" >&6
27693 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27694 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27695 LDFLAGS
="$saveLdflags -Wl,-R,/"
27696 cat >conftest.
$ac_ext <<_ACEOF
27699 cat confdefs.h
>>conftest.
$ac_ext
27700 cat >>conftest.
$ac_ext <<_ACEOF
27701 /* end confdefs.h. */
27711 rm -f conftest.
$ac_objext conftest
$ac_exeext
27712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27713 (eval $ac_link) 2>conftest.er1
27715 grep -v '^ *+' conftest.er1
>conftest.err
27717 cat conftest.err
>&5
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); } &&
27720 { ac_try
='test -z "$ac_c_werror_flag"
27721 || test ! -s conftest.err'
27722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27723 (eval $ac_try) 2>&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); }; } &&
27727 { ac_try
='test -s conftest$ac_exeext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27734 echo "$as_me:$LINENO: result: yes" >&5
27735 echo "${ECHO_T}yes" >&6
27736 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27738 echo "$as_me: failed program was:" >&5
27739 sed 's/^/| /' conftest.
$ac_ext >&5
27742 echo "$as_me:$LINENO: result: no" >&5
27743 echo "${ECHO_T}no" >&6
27746 rm -f conftest.err conftest.
$ac_objext \
27747 conftest
$ac_exeext conftest.
$ac_ext
27750 rm -f conftest.err conftest.
$ac_objext \
27751 conftest
$ac_exeext conftest.
$ac_ext
27752 LDFLAGS
="$saveLdflags"
27754 SHARED_LD
="${CXX} -G -o"
27756 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27760 powerpc
-*-darwin* )
27761 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27762 cat <<EOF >change-install-names
27764 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27765 inst_cmd="install_name_tool "
27766 for i in \${libnames} ; do
27767 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27771 chmod +x change
-install-names
27774 *-*-cygwin* | *-*-mingw32* )
27775 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27780 if test "x$WX_TARGET_LIBRARY" = "x"; then
27781 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27782 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27785 WX_TARGET_LIBRARY_TYPE
="so"
27786 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27789 if test "$wxUSE_SHARED" = "no"; then
27791 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27792 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27795 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27796 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27799 if test "$wxUSE_OPENGL" = "yes"; then
27800 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27801 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27803 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27806 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27807 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27809 WX_TARGET_LIBRARY_TYPE
="a"
27810 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27817 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27818 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27819 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27820 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27822 # Extract the first word of "Rez", so it can be a program name with args.
27823 set dummy Rez
; ac_word
=$2
27824 echo "$as_me:$LINENO: checking for $ac_word" >&5
27825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27826 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27827 echo $ECHO_N "(cached) $ECHO_C" >&6
27829 if test -n "$RESCOMP"; then
27830 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27833 for as_dir
in $PATH
27836 test -z "$as_dir" && as_dir
=.
27837 for ac_exec_ext
in '' $ac_executable_extensions; do
27838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27839 ac_cv_prog_RESCOMP
="Rez"
27840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27846 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27849 RESCOMP
=$ac_cv_prog_RESCOMP
27850 if test -n "$RESCOMP"; then
27851 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27852 echo "${ECHO_T}$RESCOMP" >&6
27854 echo "$as_me:$LINENO: result: no" >&5
27855 echo "${ECHO_T}no" >&6
27858 # Extract the first word of "DeRez", so it can be a program name with args.
27859 set dummy DeRez
; ac_word
=$2
27860 echo "$as_me:$LINENO: checking for $ac_word" >&5
27861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27862 if test "${ac_cv_prog_DEREZ+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27865 if test -n "$DEREZ"; then
27866 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27869 for as_dir
in $PATH
27872 test -z "$as_dir" && as_dir
=.
27873 for ac_exec_ext
in '' $ac_executable_extensions; do
27874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27875 ac_cv_prog_DEREZ
="DeRez"
27876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27882 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27885 DEREZ
=$ac_cv_prog_DEREZ
27886 if test -n "$DEREZ"; then
27887 echo "$as_me:$LINENO: result: $DEREZ" >&5
27888 echo "${ECHO_T}$DEREZ" >&6
27890 echo "$as_me:$LINENO: result: no" >&5
27891 echo "${ECHO_T}no" >&6
27894 # Extract the first word of "SetFile", so it can be a program name with args.
27895 set dummy SetFile
; ac_word
=$2
27896 echo "$as_me:$LINENO: checking for $ac_word" >&5
27897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27898 if test "${ac_cv_prog_SETFILE+set}" = set; then
27899 echo $ECHO_N "(cached) $ECHO_C" >&6
27901 if test -n "$SETFILE"; then
27902 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27905 for as_dir
in $PATH
27908 test -z "$as_dir" && as_dir
=.
27909 for ac_exec_ext
in '' $ac_executable_extensions; do
27910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27911 ac_cv_prog_SETFILE
="SetFile"
27912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27918 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27921 SETFILE
=$ac_cv_prog_SETFILE
27922 if test -n "$SETFILE"; then
27923 echo "$as_me:$LINENO: result: $SETFILE" >&5
27924 echo "${ECHO_T}$SETFILE" >&6
27926 echo "$as_me:$LINENO: result: no" >&5
27927 echo "${ECHO_T}no" >&6
27931 MACSETFILE
="\$(SETFILE)"
27933 if test "$wxUSE_MAC" = 1; then
27934 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27936 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27938 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27939 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27945 if test "$wxUSE_PM" = 1; then
27946 MACRESCOMP
="emxbind -ep"
27954 echo "$as_me:$LINENO: checking for mode_t" >&5
27955 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27956 if test "${ac_cv_type_mode_t+set}" = set; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27959 cat >conftest.
$ac_ext <<_ACEOF
27962 cat confdefs.h
>>conftest.
$ac_ext
27963 cat >>conftest.
$ac_ext <<_ACEOF
27964 /* end confdefs.h. */
27965 $ac_includes_default
27971 if (sizeof (mode_t))
27977 rm -f conftest.
$ac_objext
27978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27979 (eval $ac_compile) 2>conftest.er1
27981 grep -v '^ *+' conftest.er1
>conftest.err
27983 cat conftest.err
>&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); } &&
27986 { ac_try
='test -z "$ac_c_werror_flag"
27987 || test ! -s conftest.err'
27988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27989 (eval $ac_try) 2>&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); }; } &&
27993 { ac_try
='test -s conftest.$ac_objext'
27994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27995 (eval $ac_try) 2>&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); }; }; then
27999 ac_cv_type_mode_t
=yes
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.
$ac_ext >&5
28004 ac_cv_type_mode_t
=no
28006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28008 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28009 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28010 if test $ac_cv_type_mode_t = yes; then
28014 cat >>confdefs.h
<<_ACEOF
28020 echo "$as_me:$LINENO: checking for off_t" >&5
28021 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28022 if test "${ac_cv_type_off_t+set}" = set; then
28023 echo $ECHO_N "(cached) $ECHO_C" >&6
28025 cat >conftest.
$ac_ext <<_ACEOF
28028 cat confdefs.h
>>conftest.
$ac_ext
28029 cat >>conftest.
$ac_ext <<_ACEOF
28030 /* end confdefs.h. */
28031 $ac_includes_default
28037 if (sizeof (off_t))
28043 rm -f conftest.
$ac_objext
28044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28045 (eval $ac_compile) 2>conftest.er1
28047 grep -v '^ *+' conftest.er1
>conftest.err
28049 cat conftest.err
>&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); } &&
28052 { ac_try
='test -z "$ac_c_werror_flag"
28053 || test ! -s conftest.err'
28054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28055 (eval $ac_try) 2>&5
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); }; } &&
28059 { ac_try
='test -s conftest.$ac_objext'
28060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28061 (eval $ac_try) 2>&5
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); }; }; then
28065 ac_cv_type_off_t
=yes
28067 echo "$as_me: failed program was:" >&5
28068 sed 's/^/| /' conftest.
$ac_ext >&5
28070 ac_cv_type_off_t
=no
28072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28074 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28075 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28076 if test $ac_cv_type_off_t = yes; then
28080 cat >>confdefs.h
<<_ACEOF
28086 echo "$as_me:$LINENO: checking for pid_t" >&5
28087 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28088 if test "${ac_cv_type_pid_t+set}" = set; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28091 cat >conftest.
$ac_ext <<_ACEOF
28094 cat confdefs.h
>>conftest.
$ac_ext
28095 cat >>conftest.
$ac_ext <<_ACEOF
28096 /* end confdefs.h. */
28097 $ac_includes_default
28103 if (sizeof (pid_t))
28109 rm -f conftest.
$ac_objext
28110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28111 (eval $ac_compile) 2>conftest.er1
28113 grep -v '^ *+' conftest.er1
>conftest.err
28115 cat conftest.err
>&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); } &&
28118 { ac_try
='test -z "$ac_c_werror_flag"
28119 || test ! -s conftest.err'
28120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28121 (eval $ac_try) 2>&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); }; } &&
28125 { ac_try
='test -s conftest.$ac_objext'
28126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28127 (eval $ac_try) 2>&5
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); }; }; then
28131 ac_cv_type_pid_t
=yes
28133 echo "$as_me: failed program was:" >&5
28134 sed 's/^/| /' conftest.
$ac_ext >&5
28136 ac_cv_type_pid_t
=no
28138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28140 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28141 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28142 if test $ac_cv_type_pid_t = yes; then
28146 cat >>confdefs.h
<<_ACEOF
28152 echo "$as_me:$LINENO: checking for size_t" >&5
28153 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28154 if test "${ac_cv_type_size_t+set}" = set; then
28155 echo $ECHO_N "(cached) $ECHO_C" >&6
28157 cat >conftest.
$ac_ext <<_ACEOF
28160 cat confdefs.h
>>conftest.
$ac_ext
28161 cat >>conftest.
$ac_ext <<_ACEOF
28162 /* end confdefs.h. */
28163 $ac_includes_default
28169 if (sizeof (size_t))
28175 rm -f conftest.
$ac_objext
28176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28177 (eval $ac_compile) 2>conftest.er1
28179 grep -v '^ *+' conftest.er1
>conftest.err
28181 cat conftest.err
>&5
28182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183 (exit $ac_status); } &&
28184 { ac_try
='test -z "$ac_c_werror_flag"
28185 || test ! -s conftest.err'
28186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28187 (eval $ac_try) 2>&5
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); }; } &&
28191 { ac_try
='test -s conftest.$ac_objext'
28192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28193 (eval $ac_try) 2>&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); }; }; then
28197 ac_cv_type_size_t
=yes
28199 echo "$as_me: failed program was:" >&5
28200 sed 's/^/| /' conftest.
$ac_ext >&5
28202 ac_cv_type_size_t
=no
28204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28206 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28207 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28208 if test $ac_cv_type_size_t = yes; then
28212 cat >>confdefs.h
<<_ACEOF
28213 #define size_t unsigned
28218 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28219 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28220 if test "${ac_cv_type_uid_t+set}" = set; then
28221 echo $ECHO_N "(cached) $ECHO_C" >&6
28223 cat >conftest.
$ac_ext <<_ACEOF
28226 cat confdefs.h
>>conftest.
$ac_ext
28227 cat >>conftest.
$ac_ext <<_ACEOF
28228 /* end confdefs.h. */
28229 #include <sys/types.h>
28232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28233 $EGREP "uid_t" >/dev
/null
2>&1; then
28234 ac_cv_type_uid_t
=yes
28236 ac_cv_type_uid_t
=no
28241 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28242 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28243 if test $ac_cv_type_uid_t = no
; then
28245 cat >>confdefs.h
<<\_ACEOF
28250 cat >>confdefs.h
<<\_ACEOF
28260 ac_cpp
='$CXXCPP $CPPFLAGS'
28261 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28265 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28266 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28267 if test "${wx_cv_size_t_is_uint+set}" = set; then
28268 echo $ECHO_N "(cached) $ECHO_C" >&6
28271 cat >conftest.
$ac_ext <<_ACEOF
28274 cat confdefs.h
>>conftest.
$ac_ext
28275 cat >>conftest.
$ac_ext <<_ACEOF
28276 /* end confdefs.h. */
28277 #include <stddef.h>
28284 struct Foo { void foo(size_t); void foo(unsigned int); };
28292 rm -f conftest.
$ac_objext
28293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28294 (eval $ac_compile) 2>conftest.er1
28296 grep -v '^ *+' conftest.er1
>conftest.err
28298 cat conftest.err
>&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); } &&
28301 { ac_try
='test -z "$ac_cxx_werror_flag"
28302 || test ! -s conftest.err'
28303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28304 (eval $ac_try) 2>&5
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); }; } &&
28308 { ac_try
='test -s conftest.$ac_objext'
28309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28310 (eval $ac_try) 2>&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); }; }; then
28314 wx_cv_size_t_is_uint
=no
28316 echo "$as_me: failed program was:" >&5
28317 sed 's/^/| /' conftest.
$ac_ext >&5
28319 wx_cv_size_t_is_uint
=yes
28322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28326 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28327 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28329 if test "$wx_cv_size_t_is_uint" = "yes"; then
28330 cat >>confdefs.h
<<\_ACEOF
28331 #define wxSIZE_T_IS_UINT 1
28335 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28336 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28337 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28338 echo $ECHO_N "(cached) $ECHO_C" >&6
28340 cat >conftest.
$ac_ext <<_ACEOF
28343 cat confdefs.h
>>conftest.
$ac_ext
28344 cat >>conftest.
$ac_ext <<_ACEOF
28345 /* end confdefs.h. */
28346 #include <stddef.h>
28353 struct Foo { void foo(size_t); void foo(unsigned long); };
28361 rm -f conftest.
$ac_objext
28362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28363 (eval $ac_compile) 2>conftest.er1
28365 grep -v '^ *+' conftest.er1
>conftest.err
28367 cat conftest.err
>&5
28368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369 (exit $ac_status); } &&
28370 { ac_try
='test -z "$ac_cxx_werror_flag"
28371 || test ! -s conftest.err'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; } &&
28377 { ac_try
='test -s conftest.$ac_objext'
28378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28379 (eval $ac_try) 2>&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); }; }; then
28383 wx_cv_size_t_is_ulong
=no
28385 echo "$as_me: failed program was:" >&5
28386 sed 's/^/| /' conftest.
$ac_ext >&5
28388 wx_cv_size_t_is_ulong
=yes
28391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28394 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28395 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28397 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28398 cat >>confdefs.h
<<\_ACEOF
28399 #define wxSIZE_T_IS_ULONG 1
28406 ac_cpp
='$CPP $CPPFLAGS'
28407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28413 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28414 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28415 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28419 cat >conftest.
$ac_ext <<_ACEOF
28422 cat confdefs.h
>>conftest.
$ac_ext
28423 cat >>conftest.
$ac_ext <<_ACEOF
28424 /* end confdefs.h. */
28438 rm -f conftest.
$ac_objext
28439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28440 (eval $ac_compile) 2>conftest.er1
28442 grep -v '^ *+' conftest.er1
>conftest.err
28444 cat conftest.err
>&5
28445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446 (exit $ac_status); } &&
28447 { ac_try
='test -z "$ac_c_werror_flag"
28448 || test ! -s conftest.err'
28449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28450 (eval $ac_try) 2>&5
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); }; } &&
28454 { ac_try
='test -s conftest.$ac_objext'
28455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456 (eval $ac_try) 2>&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); }; }; then
28461 wx_cv_struct_pw_gecos
=yes
28464 echo "$as_me: failed program was:" >&5
28465 sed 's/^/| /' conftest.
$ac_ext >&5
28468 wx_cv_struct_pw_gecos
=no
28472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28476 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28477 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28479 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28480 cat >>confdefs.h
<<\_ACEOF
28481 #define HAVE_PW_GECOS 1
28487 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28488 cat >>confdefs.h
<<\_ACEOF
28489 #define wxUSE_WCHAR_T 1
28496 for ac_func
in wcslen
28498 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28499 echo "$as_me:$LINENO: checking for $ac_func" >&5
28500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28501 if eval "test \"\${$as_ac_var+set}\" = set"; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28504 cat >conftest.
$ac_ext <<_ACEOF
28507 cat confdefs.h
>>conftest.
$ac_ext
28508 cat >>conftest.
$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28512 #define $ac_func innocuous_$ac_func
28514 /* System header to define __stub macros and hopefully few prototypes,
28515 which can conflict with char $ac_func (); below.
28516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28517 <limits.h> exists even on freestanding compilers. */
28520 # include <limits.h>
28522 # include <assert.h>
28527 /* Override any gcc2 internal prototype to avoid an error. */
28532 /* We use char because int might match the return type of a gcc2
28533 builtin and then its argument prototype would still apply. */
28535 /* The GNU C library defines this for functions which it implements
28536 to always fail with ENOSYS. Some functions are actually named
28537 something starting with __ and the normal name is an alias. */
28538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28541 char (*f) () = $ac_func;
28550 return f != $ac_func;
28555 rm -f conftest.
$ac_objext conftest
$ac_exeext
28556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28557 (eval $ac_link) 2>conftest.er1
28559 grep -v '^ *+' conftest.er1
>conftest.err
28561 cat conftest.err
>&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); } &&
28564 { ac_try
='test -z "$ac_c_werror_flag"
28565 || test ! -s conftest.err'
28566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28567 (eval $ac_try) 2>&5
28569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570 (exit $ac_status); }; } &&
28571 { ac_try
='test -s conftest$ac_exeext'
28572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28573 (eval $ac_try) 2>&5
28575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28576 (exit $ac_status); }; }; then
28577 eval "$as_ac_var=yes"
28579 echo "$as_me: failed program was:" >&5
28580 sed 's/^/| /' conftest.
$ac_ext >&5
28582 eval "$as_ac_var=no"
28584 rm -f conftest.err conftest.
$ac_objext \
28585 conftest
$ac_exeext conftest.
$ac_ext
28587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28589 if test `eval echo '${'$as_ac_var'}'` = yes; then
28590 cat >>confdefs.h
<<_ACEOF
28591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28598 if test "$WCSLEN_FOUND" = 0; then
28599 if test "$TOOLKIT" = "MSW"; then
28600 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28601 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28602 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28603 echo $ECHO_N "(cached) $ECHO_C" >&6
28605 ac_check_lib_save_LIBS
=$LIBS
28606 LIBS
="-lmsvcrt $LIBS"
28607 cat >conftest.
$ac_ext <<_ACEOF
28610 cat confdefs.h
>>conftest.
$ac_ext
28611 cat >>conftest.
$ac_ext <<_ACEOF
28612 /* end confdefs.h. */
28614 /* Override any gcc2 internal prototype to avoid an error. */
28618 /* We use char because int might match the return type of a gcc2
28619 builtin and then its argument prototype would still apply. */
28629 rm -f conftest.
$ac_objext conftest
$ac_exeext
28630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28631 (eval $ac_link) 2>conftest.er1
28633 grep -v '^ *+' conftest.er1
>conftest.err
28635 cat conftest.err
>&5
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); } &&
28638 { ac_try
='test -z "$ac_c_werror_flag"
28639 || test ! -s conftest.err'
28640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28641 (eval $ac_try) 2>&5
28643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28644 (exit $ac_status); }; } &&
28645 { ac_try
='test -s conftest$ac_exeext'
28646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28647 (eval $ac_try) 2>&5
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); }; }; then
28651 ac_cv_lib_msvcrt_wcslen
=yes
28653 echo "$as_me: failed program was:" >&5
28654 sed 's/^/| /' conftest.
$ac_ext >&5
28656 ac_cv_lib_msvcrt_wcslen
=no
28658 rm -f conftest.err conftest.
$ac_objext \
28659 conftest
$ac_exeext conftest.
$ac_ext
28660 LIBS
=$ac_check_lib_save_LIBS
28662 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28663 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28664 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28669 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28670 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28671 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 ac_check_lib_save_LIBS
=$LIBS
28676 cat >conftest.
$ac_ext <<_ACEOF
28679 cat confdefs.h
>>conftest.
$ac_ext
28680 cat >>conftest.
$ac_ext <<_ACEOF
28681 /* end confdefs.h. */
28683 /* Override any gcc2 internal prototype to avoid an error. */
28687 /* We use char because int might match the return type of a gcc2
28688 builtin and then its argument prototype would still apply. */
28698 rm -f conftest.
$ac_objext conftest
$ac_exeext
28699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28700 (eval $ac_link) 2>conftest.er1
28702 grep -v '^ *+' conftest.er1
>conftest.err
28704 cat conftest.err
>&5
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); } &&
28707 { ac_try
='test -z "$ac_c_werror_flag"
28708 || test ! -s conftest.err'
28709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28710 (eval $ac_try) 2>&5
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); }; } &&
28714 { ac_try
='test -s conftest$ac_exeext'
28715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28716 (eval $ac_try) 2>&5
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); }; }; then
28720 ac_cv_lib_w_wcslen
=yes
28722 echo "$as_me: failed program was:" >&5
28723 sed 's/^/| /' conftest.
$ac_ext >&5
28725 ac_cv_lib_w_wcslen
=no
28727 rm -f conftest.err conftest.
$ac_objext \
28728 conftest
$ac_exeext conftest.
$ac_ext
28729 LIBS
=$ac_check_lib_save_LIBS
28731 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28732 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28733 if test $ac_cv_lib_w_wcslen = yes; then
28743 if test "$WCSLEN_FOUND" = 1; then
28744 cat >>confdefs.h
<<\_ACEOF
28745 #define HAVE_WCSLEN 1
28750 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28751 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28755 for ac_func
in wcsrtombs
28757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28758 echo "$as_me:$LINENO: checking for $ac_func" >&5
28759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28760 if eval "test \"\${$as_ac_var+set}\" = set"; then
28761 echo $ECHO_N "(cached) $ECHO_C" >&6
28763 cat >conftest.
$ac_ext <<_ACEOF
28766 cat confdefs.h
>>conftest.
$ac_ext
28767 cat >>conftest.
$ac_ext <<_ACEOF
28768 /* end confdefs.h. */
28769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28771 #define $ac_func innocuous_$ac_func
28773 /* System header to define __stub macros and hopefully few prototypes,
28774 which can conflict with char $ac_func (); below.
28775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28776 <limits.h> exists even on freestanding compilers. */
28779 # include <limits.h>
28781 # include <assert.h>
28786 /* Override any gcc2 internal prototype to avoid an error. */
28791 /* We use char because int might match the return type of a gcc2
28792 builtin and then its argument prototype would still apply. */
28794 /* The GNU C library defines this for functions which it implements
28795 to always fail with ENOSYS. Some functions are actually named
28796 something starting with __ and the normal name is an alias. */
28797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28800 char (*f) () = $ac_func;
28809 return f != $ac_func;
28814 rm -f conftest.
$ac_objext conftest
$ac_exeext
28815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28816 (eval $ac_link) 2>conftest.er1
28818 grep -v '^ *+' conftest.er1
>conftest.err
28820 cat conftest.err
>&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } &&
28823 { ac_try
='test -z "$ac_c_werror_flag"
28824 || test ! -s conftest.err'
28825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28826 (eval $ac_try) 2>&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); }; } &&
28830 { ac_try
='test -s conftest$ac_exeext'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; }; then
28836 eval "$as_ac_var=yes"
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.
$ac_ext >&5
28841 eval "$as_ac_var=no"
28843 rm -f conftest.err conftest.
$ac_objext \
28844 conftest
$ac_exeext conftest.
$ac_ext
28846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28848 if test `eval echo '${'$as_ac_var'}'` = yes; then
28849 cat >>confdefs.h
<<_ACEOF
28850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28857 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28858 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28864 ac_cpp
='$CXXCPP $CPPFLAGS'
28865 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28866 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28867 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28871 for ac_func
in vsnprintf
28873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28874 echo "$as_me:$LINENO: checking for $ac_func" >&5
28875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28876 if eval "test \"\${$as_ac_var+set}\" = set"; then
28877 echo $ECHO_N "(cached) $ECHO_C" >&6
28879 cat >conftest.
$ac_ext <<_ACEOF
28882 cat confdefs.h
>>conftest.
$ac_ext
28883 cat >>conftest.
$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28887 #define $ac_func innocuous_$ac_func
28889 /* System header to define __stub macros and hopefully few prototypes,
28890 which can conflict with char $ac_func (); below.
28891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28892 <limits.h> exists even on freestanding compilers. */
28895 # include <limits.h>
28897 # include <assert.h>
28902 /* Override any gcc2 internal prototype to avoid an error. */
28907 /* We use char because int might match the return type of a gcc2
28908 builtin and then its argument prototype would still apply. */
28910 /* The GNU C library defines this for functions which it implements
28911 to always fail with ENOSYS. Some functions are actually named
28912 something starting with __ and the normal name is an alias. */
28913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28916 char (*f) () = $ac_func;
28925 return f != $ac_func;
28930 rm -f conftest.
$ac_objext conftest
$ac_exeext
28931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28932 (eval $ac_link) 2>conftest.er1
28934 grep -v '^ *+' conftest.er1
>conftest.err
28936 cat conftest.err
>&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } &&
28939 { ac_try
='test -z "$ac_cxx_werror_flag"
28940 || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try
='test -s conftest$ac_exeext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28952 eval "$as_ac_var=yes"
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.
$ac_ext >&5
28957 eval "$as_ac_var=no"
28959 rm -f conftest.err conftest.
$ac_objext \
28960 conftest
$ac_exeext conftest.
$ac_ext
28962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28964 if test `eval echo '${'$as_ac_var'}'` = yes; then
28965 cat >>confdefs.h
<<_ACEOF
28966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28973 if test "$ac_cv_func_vsnprintf" = "yes"; then
28974 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28975 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28976 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28977 echo $ECHO_N "(cached) $ECHO_C" >&6
28980 cat >conftest.
$ac_ext <<_ACEOF
28983 cat confdefs.h
>>conftest.
$ac_ext
28984 cat >>conftest.
$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28988 #include <stdarg.h>
28996 vsnprintf(buf, 10u, "%s", ap);
29002 rm -f conftest.
$ac_objext
29003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29004 (eval $ac_compile) 2>conftest.er1
29006 grep -v '^ *+' conftest.er1
>conftest.err
29008 cat conftest.err
>&5
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); } &&
29011 { ac_try
='test -z "$ac_cxx_werror_flag"
29012 || test ! -s conftest.err'
29013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29014 (eval $ac_try) 2>&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); }; } &&
29018 { ac_try
='test -s conftest.$ac_objext'
29019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29020 (eval $ac_try) 2>&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); }; }; then
29024 wx_cv_func_vsnprintf_decl
=yes
29026 echo "$as_me: failed program was:" >&5
29027 sed 's/^/| /' conftest.
$ac_ext >&5
29029 wx_cv_func_vsnprintf_decl
=no
29032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29036 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29037 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29039 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29040 cat >>confdefs.h
<<\_ACEOF
29041 #define HAVE_VSNPRINTF_DECL 1
29047 if test "$wxUSE_UNICODE" = yes; then
29054 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29057 echo "$as_me:$LINENO: checking for $ac_func" >&5
29058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29059 if eval "test \"\${$as_ac_var+set}\" = set"; then
29060 echo $ECHO_N "(cached) $ECHO_C" >&6
29062 cat >conftest.
$ac_ext <<_ACEOF
29065 cat confdefs.h
>>conftest.
$ac_ext
29066 cat >>conftest.
$ac_ext <<_ACEOF
29067 /* end confdefs.h. */
29068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29070 #define $ac_func innocuous_$ac_func
29072 /* System header to define __stub macros and hopefully few prototypes,
29073 which can conflict with char $ac_func (); below.
29074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29075 <limits.h> exists even on freestanding compilers. */
29078 # include <limits.h>
29080 # include <assert.h>
29085 /* Override any gcc2 internal prototype to avoid an error. */
29090 /* We use char because int might match the return type of a gcc2
29091 builtin and then its argument prototype would still apply. */
29093 /* The GNU C library defines this for functions which it implements
29094 to always fail with ENOSYS. Some functions are actually named
29095 something starting with __ and the normal name is an alias. */
29096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29099 char (*f) () = $ac_func;
29108 return f != $ac_func;
29113 rm -f conftest.
$ac_objext conftest
$ac_exeext
29114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29115 (eval $ac_link) 2>conftest.er1
29117 grep -v '^ *+' conftest.er1
>conftest.err
29119 cat conftest.err
>&5
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); } &&
29122 { ac_try
='test -z "$ac_cxx_werror_flag"
29123 || test ! -s conftest.err'
29124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29125 (eval $ac_try) 2>&5
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); }; } &&
29129 { ac_try
='test -s conftest$ac_exeext'
29130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29131 (eval $ac_try) 2>&5
29133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29134 (exit $ac_status); }; }; then
29135 eval "$as_ac_var=yes"
29137 echo "$as_me: failed program was:" >&5
29138 sed 's/^/| /' conftest.
$ac_ext >&5
29140 eval "$as_ac_var=no"
29142 rm -f conftest.err conftest.
$ac_objext \
29143 conftest
$ac_exeext conftest.
$ac_ext
29145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29147 if test `eval echo '${'$as_ac_var'}'` = yes; then
29148 cat >>confdefs.h
<<_ACEOF
29149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29156 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29157 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29158 cat >conftest.
$ac_ext <<_ACEOF
29161 cat confdefs.h
>>conftest.
$ac_ext
29162 cat >>conftest.
$ac_ext <<_ACEOF
29163 /* end confdefs.h. */
29173 rm -f conftest.
$ac_objext
29174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29175 (eval $ac_compile) 2>conftest.er1
29177 grep -v '^ *+' conftest.er1
>conftest.err
29179 cat conftest.err
>&5
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); } &&
29182 { ac_try
='test -z "$ac_cxx_werror_flag"
29183 || test ! -s conftest.err'
29184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29185 (eval $ac_try) 2>&5
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); }; } &&
29189 { ac_try
='test -s conftest.$ac_objext'
29190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29191 (eval $ac_try) 2>&5
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); }; }; then
29195 echo "$as_me:$LINENO: result: yes" >&5
29196 echo "${ECHO_T}yes" >&6
29197 cat >>confdefs.h
<<\_ACEOF
29198 #define HAVE__VSNWPRINTF 1
29202 echo "$as_me: failed program was:" >&5
29203 sed 's/^/| /' conftest.
$ac_ext >&5
29205 echo "$as_me:$LINENO: result: no" >&5
29206 echo "${ECHO_T}no" >&6
29208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29212 ac_cpp
='$CPP $CPPFLAGS'
29213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29220 if test "$TOOLKIT" != "MSW"; then
29226 ac_cpp
='$CXXCPP $CPPFLAGS'
29227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29234 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29235 if test "${with_libiconv_prefix+set}" = set; then
29236 withval
="$with_libiconv_prefix"
29238 for dir
in `echo "$withval" | tr : ' '`; do
29239 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29240 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29245 echo "$as_me:$LINENO: checking for iconv" >&5
29246 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29247 if test "${am_cv_func_iconv+set}" = set; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29251 am_cv_func_iconv
="no, consider installing GNU libiconv"
29253 cat >conftest.
$ac_ext <<_ACEOF
29256 cat confdefs.h
>>conftest.
$ac_ext
29257 cat >>conftest.
$ac_ext <<_ACEOF
29258 /* end confdefs.h. */
29259 #include <stdlib.h>
29264 iconv_t cd = iconv_open("","");
29265 iconv(cd,NULL,NULL,NULL,NULL);
29271 rm -f conftest.
$ac_objext conftest
$ac_exeext
29272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29273 (eval $ac_link) 2>conftest.er1
29275 grep -v '^ *+' conftest.er1
>conftest.err
29277 cat conftest.err
>&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); } &&
29280 { ac_try
='test -z "$ac_cxx_werror_flag"
29281 || test ! -s conftest.err'
29282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29283 (eval $ac_try) 2>&5
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); }; } &&
29287 { ac_try
='test -s conftest$ac_exeext'
29288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289 (eval $ac_try) 2>&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); }; }; then
29293 am_cv_func_iconv
=yes
29295 echo "$as_me: failed program was:" >&5
29296 sed 's/^/| /' conftest.
$ac_ext >&5
29299 rm -f conftest.err conftest.
$ac_objext \
29300 conftest
$ac_exeext conftest.
$ac_ext
29301 if test "$am_cv_func_iconv" != yes; then
29302 am_save_LIBS
="$LIBS"
29303 LIBS
="$LIBS -liconv"
29304 cat >conftest.
$ac_ext <<_ACEOF
29307 cat confdefs.h
>>conftest.
$ac_ext
29308 cat >>conftest.
$ac_ext <<_ACEOF
29309 /* end confdefs.h. */
29310 #include <stdlib.h>
29315 iconv_t cd = iconv_open("","");
29316 iconv(cd,NULL,NULL,NULL,NULL);
29322 rm -f conftest.
$ac_objext conftest
$ac_exeext
29323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29324 (eval $ac_link) 2>conftest.er1
29326 grep -v '^ *+' conftest.er1
>conftest.err
29328 cat conftest.err
>&5
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); } &&
29331 { ac_try
='test -z "$ac_cxx_werror_flag"
29332 || test ! -s conftest.err'
29333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29334 (eval $ac_try) 2>&5
29336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29337 (exit $ac_status); }; } &&
29338 { ac_try
='test -s conftest$ac_exeext'
29339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29340 (eval $ac_try) 2>&5
29342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29343 (exit $ac_status); }; }; then
29344 am_cv_lib_iconv
=yes
29345 am_cv_func_iconv
=yes
29347 echo "$as_me: failed program was:" >&5
29348 sed 's/^/| /' conftest.
$ac_ext >&5
29351 rm -f conftest.err conftest.
$ac_objext \
29352 conftest
$ac_exeext conftest.
$ac_ext
29353 LIBS
="$am_save_LIBS"
29357 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29358 echo "${ECHO_T}$am_cv_func_iconv" >&6
29359 if test "$am_cv_func_iconv" = yes; then
29361 cat >>confdefs.h
<<\_ACEOF
29362 #define HAVE_ICONV 1
29365 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29366 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29367 if test "${wx_cv_func_iconv_const+set}" = set; then
29368 echo $ECHO_N "(cached) $ECHO_C" >&6
29370 cat >conftest.
$ac_ext <<_ACEOF
29373 cat confdefs.h
>>conftest.
$ac_ext
29374 cat >>conftest.
$ac_ext <<_ACEOF
29375 /* end confdefs.h. */
29377 #include <stdlib.h>
29383 #if defined(__STDC__) || defined(__cplusplus)
29384 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29397 rm -f conftest.
$ac_objext
29398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29399 (eval $ac_compile) 2>conftest.er1
29401 grep -v '^ *+' conftest.er1
>conftest.err
29403 cat conftest.err
>&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); } &&
29406 { ac_try
='test -z "$ac_cxx_werror_flag"
29407 || test ! -s conftest.err'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; } &&
29413 { ac_try
='test -s conftest.$ac_objext'
29414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415 (eval $ac_try) 2>&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); }; }; then
29419 wx_cv_func_iconv_const
="no"
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.
$ac_ext >&5
29424 wx_cv_func_iconv_const
="yes"
29427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29430 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29431 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29434 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29435 iconv_const
="const"
29439 cat >>confdefs.h
<<_ACEOF
29440 #define ICONV_CONST $iconv_const
29445 if test "$am_cv_lib_iconv" = yes; then
29450 LIBS
="$LIBICONV $LIBS"
29452 ac_cpp
='$CPP $CPPFLAGS'
29453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29458 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29460 for ac_func
in sigaction
29462 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29463 echo "$as_me:$LINENO: checking for $ac_func" >&5
29464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29465 if eval "test \"\${$as_ac_var+set}\" = set"; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 cat >conftest.
$ac_ext <<_ACEOF
29471 cat confdefs.h
>>conftest.
$ac_ext
29472 cat >>conftest.
$ac_ext <<_ACEOF
29473 /* end confdefs.h. */
29474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29476 #define $ac_func innocuous_$ac_func
29478 /* System header to define __stub macros and hopefully few prototypes,
29479 which can conflict with char $ac_func (); below.
29480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29481 <limits.h> exists even on freestanding compilers. */
29484 # include <limits.h>
29486 # include <assert.h>
29491 /* Override any gcc2 internal prototype to avoid an error. */
29496 /* We use char because int might match the return type of a gcc2
29497 builtin and then its argument prototype would still apply. */
29499 /* The GNU C library defines this for functions which it implements
29500 to always fail with ENOSYS. Some functions are actually named
29501 something starting with __ and the normal name is an alias. */
29502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29505 char (*f) () = $ac_func;
29514 return f != $ac_func;
29519 rm -f conftest.
$ac_objext conftest
$ac_exeext
29520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29521 (eval $ac_link) 2>conftest.er1
29523 grep -v '^ *+' conftest.er1
>conftest.err
29525 cat conftest.err
>&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } &&
29528 { ac_try
='test -z "$ac_c_werror_flag"
29529 || test ! -s conftest.err'
29530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29531 (eval $ac_try) 2>&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); }; } &&
29535 { ac_try
='test -s conftest$ac_exeext'
29536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29537 (eval $ac_try) 2>&5
29539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540 (exit $ac_status); }; }; then
29541 eval "$as_ac_var=yes"
29543 echo "$as_me: failed program was:" >&5
29544 sed 's/^/| /' conftest.
$ac_ext >&5
29546 eval "$as_ac_var=no"
29548 rm -f conftest.err conftest.
$ac_objext \
29549 conftest
$ac_exeext conftest.
$ac_ext
29551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29553 if test `eval echo '${'$as_ac_var'}'` = yes; then
29554 cat >>confdefs.h
<<_ACEOF
29555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29562 if test "$ac_cv_func_sigaction" = "no"; then
29563 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29564 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29565 wxUSE_ON_FATAL_EXCEPTION
=no
29568 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29572 ac_cpp
='$CXXCPP $CPPFLAGS'
29573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29578 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29579 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29580 if test "${wx_cv_type_sa_handler+set}" = set; then
29581 echo $ECHO_N "(cached) $ECHO_C" >&6
29584 cat >conftest.
$ac_ext <<_ACEOF
29587 cat confdefs.h
>>conftest.
$ac_ext
29588 cat >>conftest.
$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29590 #include <signal.h>
29595 extern void testSigHandler(int);
29597 struct sigaction sa;
29598 sa.sa_handler = testSigHandler;
29604 rm -f conftest.
$ac_objext
29605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29606 (eval $ac_compile) 2>conftest.er1
29608 grep -v '^ *+' conftest.er1
>conftest.err
29610 cat conftest.err
>&5
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); } &&
29613 { ac_try
='test -z "$ac_cxx_werror_flag"
29614 || test ! -s conftest.err'
29615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29616 (eval $ac_try) 2>&5
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); }; } &&
29620 { ac_try
='test -s conftest.$ac_objext'
29621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29622 (eval $ac_try) 2>&5
29624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 (exit $ac_status); }; }; then
29627 wx_cv_type_sa_handler
=int
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.
$ac_ext >&5
29634 wx_cv_type_sa_handler
=void
29637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29640 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29641 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29644 ac_cpp
='$CPP $CPPFLAGS'
29645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29650 cat >>confdefs.h
<<_ACEOF
29651 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29659 for ac_func
in mkstemp mktemp
29661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29662 echo "$as_me:$LINENO: checking for $ac_func" >&5
29663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29664 if eval "test \"\${$as_ac_var+set}\" = set"; then
29665 echo $ECHO_N "(cached) $ECHO_C" >&6
29667 cat >conftest.
$ac_ext <<_ACEOF
29670 cat confdefs.h
>>conftest.
$ac_ext
29671 cat >>conftest.
$ac_ext <<_ACEOF
29672 /* end confdefs.h. */
29673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29675 #define $ac_func innocuous_$ac_func
29677 /* System header to define __stub macros and hopefully few prototypes,
29678 which can conflict with char $ac_func (); below.
29679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29680 <limits.h> exists even on freestanding compilers. */
29683 # include <limits.h>
29685 # include <assert.h>
29690 /* Override any gcc2 internal prototype to avoid an error. */
29695 /* We use char because int might match the return type of a gcc2
29696 builtin and then its argument prototype would still apply. */
29698 /* The GNU C library defines this for functions which it implements
29699 to always fail with ENOSYS. Some functions are actually named
29700 something starting with __ and the normal name is an alias. */
29701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29704 char (*f) () = $ac_func;
29713 return f != $ac_func;
29718 rm -f conftest.
$ac_objext conftest
$ac_exeext
29719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29720 (eval $ac_link) 2>conftest.er1
29722 grep -v '^ *+' conftest.er1
>conftest.err
29724 cat conftest.err
>&5
29725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29726 (exit $ac_status); } &&
29727 { ac_try
='test -z "$ac_c_werror_flag"
29728 || test ! -s conftest.err'
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); }; } &&
29734 { ac_try
='test -s conftest$ac_exeext'
29735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29736 (eval $ac_try) 2>&5
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); }; }; then
29740 eval "$as_ac_var=yes"
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.
$ac_ext >&5
29745 eval "$as_ac_var=no"
29747 rm -f conftest.err conftest.
$ac_objext \
29748 conftest
$ac_exeext conftest.
$ac_ext
29750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29752 if test `eval echo '${'$as_ac_var'}'` = yes; then
29753 cat >>confdefs.h
<<_ACEOF
29754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29761 echo "$as_me:$LINENO: checking for statfs" >&5
29762 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29763 if test "${wx_cv_func_statfs+set}" = set; then
29764 echo $ECHO_N "(cached) $ECHO_C" >&6
29766 cat >conftest.
$ac_ext <<_ACEOF
29769 cat confdefs.h
>>conftest.
$ac_ext
29770 cat >>conftest.
$ac_ext <<_ACEOF
29771 /* end confdefs.h. */
29773 #if defined(__BSD__)
29774 #include <sys/param.h>
29775 #include <sys/mount.h>
29777 #include <sys/vfs.h>
29795 rm -f conftest.
$ac_objext
29796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29797 (eval $ac_compile) 2>conftest.er1
29799 grep -v '^ *+' conftest.er1
>conftest.err
29801 cat conftest.err
>&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } &&
29804 { ac_try
='test -z "$ac_c_werror_flag"
29805 || test ! -s conftest.err'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; } &&
29811 { ac_try
='test -s conftest.$ac_objext'
29812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29813 (eval $ac_try) 2>&5
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); }; }; then
29818 wx_cv_func_statfs
=yes
29821 echo "$as_me: failed program was:" >&5
29822 sed 's/^/| /' conftest.
$ac_ext >&5
29825 wx_cv_func_statfs
=no
29829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29832 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29833 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29835 if test "$wx_cv_func_statfs" = "yes"; then
29836 wx_cv_type_statvfs_t
="struct statfs"
29837 cat >>confdefs.h
<<\_ACEOF
29838 #define HAVE_STATFS 1
29842 echo "$as_me:$LINENO: checking for statvfs" >&5
29843 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29844 if test "${wx_cv_func_statvfs+set}" = set; then
29845 echo $ECHO_N "(cached) $ECHO_C" >&6
29847 cat >conftest.
$ac_ext <<_ACEOF
29850 cat confdefs.h
>>conftest.
$ac_ext
29851 cat >>conftest.
$ac_ext <<_ACEOF
29852 /* end confdefs.h. */
29854 #include <stddef.h>
29855 #include <sys/statvfs.h>
29861 statvfs("/", NULL);
29867 rm -f conftest.
$ac_objext
29868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29869 (eval $ac_compile) 2>conftest.er1
29871 grep -v '^ *+' conftest.er1
>conftest.err
29873 cat conftest.err
>&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try
='test -z "$ac_c_werror_flag"
29877 || test ! -s conftest.err'
29878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29879 (eval $ac_try) 2>&5
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); }; } &&
29883 { ac_try
='test -s conftest.$ac_objext'
29884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29885 (eval $ac_try) 2>&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); }; }; then
29889 wx_cv_func_statvfs
=yes
29891 echo "$as_me: failed program was:" >&5
29892 sed 's/^/| /' conftest.
$ac_ext >&5
29894 wx_cv_func_statvfs
=no
29897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29900 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29901 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29903 if test "$wx_cv_func_statvfs" = "yes"; then
29907 ac_cpp
='$CXXCPP $CPPFLAGS'
29908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29913 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29914 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29915 if test "${wx_cv_type_statvfs_t+set}" = set; then
29916 echo $ECHO_N "(cached) $ECHO_C" >&6
29918 cat >conftest.
$ac_ext <<_ACEOF
29921 cat confdefs.h
>>conftest.
$ac_ext
29922 cat >>conftest.
$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29925 #include <sys/statvfs.h>
29942 rm -f conftest.
$ac_objext
29943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29944 (eval $ac_compile) 2>conftest.er1
29946 grep -v '^ *+' conftest.er1
>conftest.err
29948 cat conftest.err
>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); } &&
29951 { ac_try
='test -z "$ac_cxx_werror_flag"
29952 || test ! -s conftest.err'
29953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29954 (eval $ac_try) 2>&5
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); }; } &&
29958 { ac_try
='test -s conftest.$ac_objext'
29959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29960 (eval $ac_try) 2>&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); }; }; then
29964 wx_cv_type_statvfs_t
=statvfs_t
29966 echo "$as_me: failed program was:" >&5
29967 sed 's/^/| /' conftest.
$ac_ext >&5
29970 cat >conftest.
$ac_ext <<_ACEOF
29973 cat confdefs.h
>>conftest.
$ac_ext
29974 cat >>conftest.
$ac_ext <<_ACEOF
29975 /* end confdefs.h. */
29977 #include <sys/statvfs.h>
29994 rm -f conftest.
$ac_objext
29995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29996 (eval $ac_compile) 2>conftest.er1
29998 grep -v '^ *+' conftest.er1
>conftest.err
30000 cat conftest.err
>&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); } &&
30003 { ac_try
='test -z "$ac_cxx_werror_flag"
30004 || test ! -s conftest.err'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; } &&
30010 { ac_try
='test -s conftest.$ac_objext'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; }; then
30016 wx_cv_type_statvfs_t
="struct statvfs"
30018 echo "$as_me: failed program was:" >&5
30019 sed 's/^/| /' conftest.
$ac_ext >&5
30021 wx_cv_type_statvfs_t
="unknown"
30024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30031 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30032 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30035 ac_cpp
='$CPP $CPPFLAGS'
30036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30041 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30042 cat >>confdefs.h
<<\_ACEOF
30043 #define HAVE_STATVFS 1
30048 wx_cv_type_statvfs_t
="unknown"
30052 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30053 cat >>confdefs.h
<<_ACEOF
30054 #define WX_STATFS_T $wx_cv_type_statvfs_t
30058 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30059 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30062 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30065 for ac_func
in fcntl flock
30067 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30068 echo "$as_me:$LINENO: checking for $ac_func" >&5
30069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30070 if eval "test \"\${$as_ac_var+set}\" = set"; then
30071 echo $ECHO_N "(cached) $ECHO_C" >&6
30073 cat >conftest.
$ac_ext <<_ACEOF
30076 cat confdefs.h
>>conftest.
$ac_ext
30077 cat >>conftest.
$ac_ext <<_ACEOF
30078 /* end confdefs.h. */
30079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30081 #define $ac_func innocuous_$ac_func
30083 /* System header to define __stub macros and hopefully few prototypes,
30084 which can conflict with char $ac_func (); below.
30085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30086 <limits.h> exists even on freestanding compilers. */
30089 # include <limits.h>
30091 # include <assert.h>
30096 /* Override any gcc2 internal prototype to avoid an error. */
30101 /* We use char because int might match the return type of a gcc2
30102 builtin and then its argument prototype would still apply. */
30104 /* The GNU C library defines this for functions which it implements
30105 to always fail with ENOSYS. Some functions are actually named
30106 something starting with __ and the normal name is an alias. */
30107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30110 char (*f) () = $ac_func;
30119 return f != $ac_func;
30124 rm -f conftest.
$ac_objext conftest
$ac_exeext
30125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30126 (eval $ac_link) 2>conftest.er1
30128 grep -v '^ *+' conftest.er1
>conftest.err
30130 cat conftest.err
>&5
30131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 (exit $ac_status); } &&
30133 { ac_try
='test -z "$ac_c_werror_flag"
30134 || test ! -s conftest.err'
30135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 (eval $ac_try) 2>&5
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); }; } &&
30140 { ac_try
='test -s conftest$ac_exeext'
30141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30142 (eval $ac_try) 2>&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); }; }; then
30146 eval "$as_ac_var=yes"
30148 echo "$as_me: failed program was:" >&5
30149 sed 's/^/| /' conftest.
$ac_ext >&5
30151 eval "$as_ac_var=no"
30153 rm -f conftest.err conftest.
$ac_objext \
30154 conftest
$ac_exeext conftest.
$ac_ext
30156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30158 if test `eval echo '${'$as_ac_var'}'` = yes; then
30159 cat >>confdefs.h
<<_ACEOF
30160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30167 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30168 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30169 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30170 wxUSE_SNGLINST_CHECKER
=no
30175 for ac_func
in timegm
30177 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30178 echo "$as_me:$LINENO: checking for $ac_func" >&5
30179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30180 if eval "test \"\${$as_ac_var+set}\" = set"; then
30181 echo $ECHO_N "(cached) $ECHO_C" >&6
30183 cat >conftest.
$ac_ext <<_ACEOF
30186 cat confdefs.h
>>conftest.
$ac_ext
30187 cat >>conftest.
$ac_ext <<_ACEOF
30188 /* end confdefs.h. */
30189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30191 #define $ac_func innocuous_$ac_func
30193 /* System header to define __stub macros and hopefully few prototypes,
30194 which can conflict with char $ac_func (); below.
30195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30196 <limits.h> exists even on freestanding compilers. */
30199 # include <limits.h>
30201 # include <assert.h>
30206 /* Override any gcc2 internal prototype to avoid an error. */
30211 /* We use char because int might match the return type of a gcc2
30212 builtin and then its argument prototype would still apply. */
30214 /* The GNU C library defines this for functions which it implements
30215 to always fail with ENOSYS. Some functions are actually named
30216 something starting with __ and the normal name is an alias. */
30217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30220 char (*f) () = $ac_func;
30229 return f != $ac_func;
30234 rm -f conftest.
$ac_objext conftest
$ac_exeext
30235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30236 (eval $ac_link) 2>conftest.er1
30238 grep -v '^ *+' conftest.er1
>conftest.err
30240 cat conftest.err
>&5
30241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242 (exit $ac_status); } &&
30243 { ac_try
='test -z "$ac_c_werror_flag"
30244 || test ! -s conftest.err'
30245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246 (eval $ac_try) 2>&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); }; } &&
30250 { ac_try
='test -s conftest$ac_exeext'
30251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30252 (eval $ac_try) 2>&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); }; }; then
30256 eval "$as_ac_var=yes"
30258 echo "$as_me: failed program was:" >&5
30259 sed 's/^/| /' conftest.
$ac_ext >&5
30261 eval "$as_ac_var=no"
30263 rm -f conftest.err conftest.
$ac_objext \
30264 conftest
$ac_exeext conftest.
$ac_ext
30266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30268 if test `eval echo '${'$as_ac_var'}'` = yes; then
30269 cat >>confdefs.h
<<_ACEOF
30270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30279 for ac_func
in putenv setenv
30281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30282 echo "$as_me:$LINENO: checking for $ac_func" >&5
30283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30284 if eval "test \"\${$as_ac_var+set}\" = set"; then
30285 echo $ECHO_N "(cached) $ECHO_C" >&6
30287 cat >conftest.
$ac_ext <<_ACEOF
30290 cat confdefs.h
>>conftest.
$ac_ext
30291 cat >>conftest.
$ac_ext <<_ACEOF
30292 /* end confdefs.h. */
30293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30295 #define $ac_func innocuous_$ac_func
30297 /* System header to define __stub macros and hopefully few prototypes,
30298 which can conflict with char $ac_func (); below.
30299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30300 <limits.h> exists even on freestanding compilers. */
30303 # include <limits.h>
30305 # include <assert.h>
30310 /* Override any gcc2 internal prototype to avoid an error. */
30315 /* We use char because int might match the return type of a gcc2
30316 builtin and then its argument prototype would still apply. */
30318 /* The GNU C library defines this for functions which it implements
30319 to always fail with ENOSYS. Some functions are actually named
30320 something starting with __ and the normal name is an alias. */
30321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30324 char (*f) () = $ac_func;
30333 return f != $ac_func;
30338 rm -f conftest.
$ac_objext conftest
$ac_exeext
30339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30340 (eval $ac_link) 2>conftest.er1
30342 grep -v '^ *+' conftest.er1
>conftest.err
30344 cat conftest.err
>&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); } &&
30347 { ac_try
='test -z "$ac_c_werror_flag"
30348 || test ! -s conftest.err'
30349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30350 (eval $ac_try) 2>&5
30352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353 (exit $ac_status); }; } &&
30354 { ac_try
='test -s conftest$ac_exeext'
30355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30356 (eval $ac_try) 2>&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); }; }; then
30360 eval "$as_ac_var=yes"
30362 echo "$as_me: failed program was:" >&5
30363 sed 's/^/| /' conftest.
$ac_ext >&5
30365 eval "$as_ac_var=no"
30367 rm -f conftest.err conftest.
$ac_objext \
30368 conftest
$ac_exeext conftest.
$ac_ext
30370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30372 if test `eval echo '${'$as_ac_var'}'` = yes; then
30373 cat >>confdefs.h
<<_ACEOF
30374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30381 HAVE_SOME_SLEEP_FUNC
=0
30382 if test "$USE_BEOS" = 1; then
30383 cat >>confdefs.h
<<\_ACEOF
30384 #define HAVE_SLEEP 1
30387 HAVE_SOME_SLEEP_FUNC
=1
30390 if test "$USE_DARWIN" = 1; then
30391 cat >>confdefs.h
<<\_ACEOF
30392 #define HAVE_USLEEP 1
30395 HAVE_SOME_SLEEP_FUNC
=1
30398 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30401 for ac_func
in nanosleep
30403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30404 echo "$as_me:$LINENO: checking for $ac_func" >&5
30405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30406 if eval "test \"\${$as_ac_var+set}\" = set"; then
30407 echo $ECHO_N "(cached) $ECHO_C" >&6
30409 cat >conftest.
$ac_ext <<_ACEOF
30412 cat confdefs.h
>>conftest.
$ac_ext
30413 cat >>conftest.
$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30417 #define $ac_func innocuous_$ac_func
30419 /* System header to define __stub macros and hopefully few prototypes,
30420 which can conflict with char $ac_func (); below.
30421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30422 <limits.h> exists even on freestanding compilers. */
30425 # include <limits.h>
30427 # include <assert.h>
30432 /* Override any gcc2 internal prototype to avoid an error. */
30437 /* We use char because int might match the return type of a gcc2
30438 builtin and then its argument prototype would still apply. */
30440 /* The GNU C library defines this for functions which it implements
30441 to always fail with ENOSYS. Some functions are actually named
30442 something starting with __ and the normal name is an alias. */
30443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30446 char (*f) () = $ac_func;
30455 return f != $ac_func;
30460 rm -f conftest.
$ac_objext conftest
$ac_exeext
30461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30462 (eval $ac_link) 2>conftest.er1
30464 grep -v '^ *+' conftest.er1
>conftest.err
30466 cat conftest.err
>&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); } &&
30469 { ac_try
='test -z "$ac_c_werror_flag"
30470 || test ! -s conftest.err'
30471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30472 (eval $ac_try) 2>&5
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); }; } &&
30476 { ac_try
='test -s conftest$ac_exeext'
30477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30478 (eval $ac_try) 2>&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); }; }; then
30482 eval "$as_ac_var=yes"
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.
$ac_ext >&5
30487 eval "$as_ac_var=no"
30489 rm -f conftest.err conftest.
$ac_objext \
30490 conftest
$ac_exeext conftest.
$ac_ext
30492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30494 if test `eval echo '${'$as_ac_var'}'` = yes; then
30495 cat >>confdefs.h
<<_ACEOF
30496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30498 cat >>confdefs.h
<<\_ACEOF
30499 #define HAVE_NANOSLEEP 1
30504 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30505 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30506 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30507 echo $ECHO_N "(cached) $ECHO_C" >&6
30509 ac_check_lib_save_LIBS
=$LIBS
30510 LIBS
="-lposix4 $LIBS"
30511 cat >conftest.
$ac_ext <<_ACEOF
30514 cat confdefs.h
>>conftest.
$ac_ext
30515 cat >>conftest.
$ac_ext <<_ACEOF
30516 /* end confdefs.h. */
30518 /* Override any gcc2 internal prototype to avoid an error. */
30522 /* We use char because int might match the return type of a gcc2
30523 builtin and then its argument prototype would still apply. */
30533 rm -f conftest.
$ac_objext conftest
$ac_exeext
30534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30535 (eval $ac_link) 2>conftest.er1
30537 grep -v '^ *+' conftest.er1
>conftest.err
30539 cat conftest.err
>&5
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); } &&
30542 { ac_try
='test -z "$ac_c_werror_flag"
30543 || test ! -s conftest.err'
30544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30545 (eval $ac_try) 2>&5
30547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548 (exit $ac_status); }; } &&
30549 { ac_try
='test -s conftest$ac_exeext'
30550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30551 (eval $ac_try) 2>&5
30553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554 (exit $ac_status); }; }; then
30555 ac_cv_lib_posix4_nanosleep
=yes
30557 echo "$as_me: failed program was:" >&5
30558 sed 's/^/| /' conftest.
$ac_ext >&5
30560 ac_cv_lib_posix4_nanosleep
=no
30562 rm -f conftest.err conftest.
$ac_objext \
30563 conftest
$ac_exeext conftest.
$ac_ext
30564 LIBS
=$ac_check_lib_save_LIBS
30566 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30567 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30568 if test $ac_cv_lib_posix4_nanosleep = yes; then
30570 cat >>confdefs.h
<<\_ACEOF
30571 #define HAVE_NANOSLEEP 1
30574 POSIX4_LINK
=" -lposix4"
30579 for ac_func
in usleep
30581 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30582 echo "$as_me:$LINENO: checking for $ac_func" >&5
30583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30584 if eval "test \"\${$as_ac_var+set}\" = set"; then
30585 echo $ECHO_N "(cached) $ECHO_C" >&6
30587 cat >conftest.
$ac_ext <<_ACEOF
30590 cat confdefs.h
>>conftest.
$ac_ext
30591 cat >>conftest.
$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30595 #define $ac_func innocuous_$ac_func
30597 /* System header to define __stub macros and hopefully few prototypes,
30598 which can conflict with char $ac_func (); below.
30599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30600 <limits.h> exists even on freestanding compilers. */
30603 # include <limits.h>
30605 # include <assert.h>
30610 /* Override any gcc2 internal prototype to avoid an error. */
30615 /* We use char because int might match the return type of a gcc2
30616 builtin and then its argument prototype would still apply. */
30618 /* The GNU C library defines this for functions which it implements
30619 to always fail with ENOSYS. Some functions are actually named
30620 something starting with __ and the normal name is an alias. */
30621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30624 char (*f) () = $ac_func;
30633 return f != $ac_func;
30638 rm -f conftest.
$ac_objext conftest
$ac_exeext
30639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30640 (eval $ac_link) 2>conftest.er1
30642 grep -v '^ *+' conftest.er1
>conftest.err
30644 cat conftest.err
>&5
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); } &&
30647 { ac_try
='test -z "$ac_c_werror_flag"
30648 || test ! -s conftest.err'
30649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30650 (eval $ac_try) 2>&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); }; } &&
30654 { ac_try
='test -s conftest$ac_exeext'
30655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30656 (eval $ac_try) 2>&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); }; }; then
30660 eval "$as_ac_var=yes"
30662 echo "$as_me: failed program was:" >&5
30663 sed 's/^/| /' conftest.
$ac_ext >&5
30665 eval "$as_ac_var=no"
30667 rm -f conftest.err conftest.
$ac_objext \
30668 conftest
$ac_exeext conftest.
$ac_ext
30670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30672 if test `eval echo '${'$as_ac_var'}'` = yes; then
30673 cat >>confdefs.h
<<_ACEOF
30674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30676 cat >>confdefs.h
<<\_ACEOF
30677 #define HAVE_USLEEP 1
30681 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30682 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30700 for ac_func
in uname gethostname
30702 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30703 echo "$as_me:$LINENO: checking for $ac_func" >&5
30704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30705 if eval "test \"\${$as_ac_var+set}\" = set"; then
30706 echo $ECHO_N "(cached) $ECHO_C" >&6
30708 cat >conftest.
$ac_ext <<_ACEOF
30711 cat confdefs.h
>>conftest.
$ac_ext
30712 cat >>conftest.
$ac_ext <<_ACEOF
30713 /* end confdefs.h. */
30714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30716 #define $ac_func innocuous_$ac_func
30718 /* System header to define __stub macros and hopefully few prototypes,
30719 which can conflict with char $ac_func (); below.
30720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30721 <limits.h> exists even on freestanding compilers. */
30724 # include <limits.h>
30726 # include <assert.h>
30731 /* Override any gcc2 internal prototype to avoid an error. */
30736 /* We use char because int might match the return type of a gcc2
30737 builtin and then its argument prototype would still apply. */
30739 /* The GNU C library defines this for functions which it implements
30740 to always fail with ENOSYS. Some functions are actually named
30741 something starting with __ and the normal name is an alias. */
30742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30745 char (*f) () = $ac_func;
30754 return f != $ac_func;
30759 rm -f conftest.
$ac_objext conftest
$ac_exeext
30760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30761 (eval $ac_link) 2>conftest.er1
30763 grep -v '^ *+' conftest.er1
>conftest.err
30765 cat conftest.err
>&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try
='test -z "$ac_c_werror_flag"
30769 || test ! -s conftest.err'
30770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30771 (eval $ac_try) 2>&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; } &&
30775 { ac_try
='test -s conftest$ac_exeext'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; }; then
30781 eval "$as_ac_var=yes"
30783 echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.
$ac_ext >&5
30786 eval "$as_ac_var=no"
30788 rm -f conftest.err conftest.
$ac_objext \
30789 conftest
$ac_exeext conftest.
$ac_ext
30791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30793 if test `eval echo '${'$as_ac_var'}'` = yes; then
30794 cat >>confdefs.h
<<_ACEOF
30795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30805 ac_cpp
='$CXXCPP $CPPFLAGS'
30806 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30812 for ac_func
in strtok_r
30814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30815 echo "$as_me:$LINENO: checking for $ac_func" >&5
30816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30817 if eval "test \"\${$as_ac_var+set}\" = set"; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30820 cat >conftest.
$ac_ext <<_ACEOF
30823 cat confdefs.h
>>conftest.
$ac_ext
30824 cat >>conftest.
$ac_ext <<_ACEOF
30825 /* end confdefs.h. */
30826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30828 #define $ac_func innocuous_$ac_func
30830 /* System header to define __stub macros and hopefully few prototypes,
30831 which can conflict with char $ac_func (); below.
30832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30833 <limits.h> exists even on freestanding compilers. */
30836 # include <limits.h>
30838 # include <assert.h>
30843 /* Override any gcc2 internal prototype to avoid an error. */
30848 /* We use char because int might match the return type of a gcc2
30849 builtin and then its argument prototype would still apply. */
30851 /* The GNU C library defines this for functions which it implements
30852 to always fail with ENOSYS. Some functions are actually named
30853 something starting with __ and the normal name is an alias. */
30854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30857 char (*f) () = $ac_func;
30866 return f != $ac_func;
30871 rm -f conftest.
$ac_objext conftest
$ac_exeext
30872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30873 (eval $ac_link) 2>conftest.er1
30875 grep -v '^ *+' conftest.er1
>conftest.err
30877 cat conftest.err
>&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); } &&
30880 { ac_try
='test -z "$ac_cxx_werror_flag"
30881 || test ! -s conftest.err'
30882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30883 (eval $ac_try) 2>&5
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); }; } &&
30887 { ac_try
='test -s conftest$ac_exeext'
30888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30889 (eval $ac_try) 2>&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); }; }; then
30893 eval "$as_ac_var=yes"
30895 echo "$as_me: failed program was:" >&5
30896 sed 's/^/| /' conftest.
$ac_ext >&5
30898 eval "$as_ac_var=no"
30900 rm -f conftest.err conftest.
$ac_objext \
30901 conftest
$ac_exeext conftest.
$ac_ext
30903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30905 if test `eval echo '${'$as_ac_var'}'` = yes; then
30906 cat >>confdefs.h
<<_ACEOF
30907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30915 ac_cpp
='$CPP $CPPFLAGS'
30916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30923 for ac_func
in inet_addr
30925 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30926 echo "$as_me:$LINENO: checking for $ac_func" >&5
30927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30928 if eval "test \"\${$as_ac_var+set}\" = set"; then
30929 echo $ECHO_N "(cached) $ECHO_C" >&6
30931 cat >conftest.
$ac_ext <<_ACEOF
30934 cat confdefs.h
>>conftest.
$ac_ext
30935 cat >>conftest.
$ac_ext <<_ACEOF
30936 /* end confdefs.h. */
30937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30939 #define $ac_func innocuous_$ac_func
30941 /* System header to define __stub macros and hopefully few prototypes,
30942 which can conflict with char $ac_func (); below.
30943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30944 <limits.h> exists even on freestanding compilers. */
30947 # include <limits.h>
30949 # include <assert.h>
30954 /* Override any gcc2 internal prototype to avoid an error. */
30959 /* We use char because int might match the return type of a gcc2
30960 builtin and then its argument prototype would still apply. */
30962 /* The GNU C library defines this for functions which it implements
30963 to always fail with ENOSYS. Some functions are actually named
30964 something starting with __ and the normal name is an alias. */
30965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30968 char (*f) () = $ac_func;
30977 return f != $ac_func;
30982 rm -f conftest.
$ac_objext conftest
$ac_exeext
30983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30984 (eval $ac_link) 2>conftest.er1
30986 grep -v '^ *+' conftest.er1
>conftest.err
30988 cat conftest.err
>&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } &&
30991 { ac_try
='test -z "$ac_c_werror_flag"
30992 || test ! -s conftest.err'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; } &&
30998 { ac_try
='test -s conftest$ac_exeext'
30999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31000 (eval $ac_try) 2>&5
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); }; }; then
31004 eval "$as_ac_var=yes"
31006 echo "$as_me: failed program was:" >&5
31007 sed 's/^/| /' conftest.
$ac_ext >&5
31009 eval "$as_ac_var=no"
31011 rm -f conftest.err conftest.
$ac_objext \
31012 conftest
$ac_exeext conftest.
$ac_ext
31014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31016 if test `eval echo '${'$as_ac_var'}'` = yes; then
31017 cat >>confdefs.h
<<_ACEOF
31018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31020 cat >>confdefs.h
<<\_ACEOF
31021 #define HAVE_INET_ADDR 1
31026 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31027 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31028 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31029 echo $ECHO_N "(cached) $ECHO_C" >&6
31031 ac_check_lib_save_LIBS
=$LIBS
31033 cat >conftest.
$ac_ext <<_ACEOF
31036 cat confdefs.h
>>conftest.
$ac_ext
31037 cat >>conftest.
$ac_ext <<_ACEOF
31038 /* end confdefs.h. */
31040 /* Override any gcc2 internal prototype to avoid an error. */
31044 /* We use char because int might match the return type of a gcc2
31045 builtin and then its argument prototype would still apply. */
31055 rm -f conftest.
$ac_objext conftest
$ac_exeext
31056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31057 (eval $ac_link) 2>conftest.er1
31059 grep -v '^ *+' conftest.er1
>conftest.err
31061 cat conftest.err
>&5
31062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); } &&
31064 { ac_try
='test -z "$ac_c_werror_flag"
31065 || test ! -s conftest.err'
31066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067 (eval $ac_try) 2>&5
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); }; } &&
31071 { ac_try
='test -s conftest$ac_exeext'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; }; then
31077 ac_cv_lib_nsl_inet_addr
=yes
31079 echo "$as_me: failed program was:" >&5
31080 sed 's/^/| /' conftest.
$ac_ext >&5
31082 ac_cv_lib_nsl_inet_addr
=no
31084 rm -f conftest.err conftest.
$ac_objext \
31085 conftest
$ac_exeext conftest.
$ac_ext
31086 LIBS
=$ac_check_lib_save_LIBS
31088 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31089 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31090 if test $ac_cv_lib_nsl_inet_addr = yes; then
31094 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31095 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31096 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31097 echo $ECHO_N "(cached) $ECHO_C" >&6
31099 ac_check_lib_save_LIBS
=$LIBS
31100 LIBS
="-lresolv $LIBS"
31101 cat >conftest.
$ac_ext <<_ACEOF
31104 cat confdefs.h
>>conftest.
$ac_ext
31105 cat >>conftest.
$ac_ext <<_ACEOF
31106 /* end confdefs.h. */
31108 /* Override any gcc2 internal prototype to avoid an error. */
31112 /* We use char because int might match the return type of a gcc2
31113 builtin and then its argument prototype would still apply. */
31123 rm -f conftest.
$ac_objext conftest
$ac_exeext
31124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31125 (eval $ac_link) 2>conftest.er1
31127 grep -v '^ *+' conftest.er1
>conftest.err
31129 cat conftest.err
>&5
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); } &&
31132 { ac_try
='test -z "$ac_c_werror_flag"
31133 || test ! -s conftest.err'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; } &&
31139 { ac_try
='test -s conftest$ac_exeext'
31140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31141 (eval $ac_try) 2>&5
31143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144 (exit $ac_status); }; }; then
31145 ac_cv_lib_resolv_inet_addr
=yes
31147 echo "$as_me: failed program was:" >&5
31148 sed 's/^/| /' conftest.
$ac_ext >&5
31150 ac_cv_lib_resolv_inet_addr
=no
31152 rm -f conftest.err conftest.
$ac_objext \
31153 conftest
$ac_exeext conftest.
$ac_ext
31154 LIBS
=$ac_check_lib_save_LIBS
31156 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31157 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31158 if test $ac_cv_lib_resolv_inet_addr = yes; then
31162 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31163 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31164 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31165 echo $ECHO_N "(cached) $ECHO_C" >&6
31167 ac_check_lib_save_LIBS
=$LIBS
31168 LIBS
="-lsocket $LIBS"
31169 cat >conftest.
$ac_ext <<_ACEOF
31172 cat confdefs.h
>>conftest.
$ac_ext
31173 cat >>conftest.
$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31176 /* Override any gcc2 internal prototype to avoid an error. */
31180 /* We use char because int might match the return type of a gcc2
31181 builtin and then its argument prototype would still apply. */
31191 rm -f conftest.
$ac_objext conftest
$ac_exeext
31192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31193 (eval $ac_link) 2>conftest.er1
31195 grep -v '^ *+' conftest.er1
>conftest.err
31197 cat conftest.err
>&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } &&
31200 { ac_try
='test -z "$ac_c_werror_flag"
31201 || test ! -s conftest.err'
31202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203 (eval $ac_try) 2>&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); }; } &&
31207 { ac_try
='test -s conftest$ac_exeext'
31208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31209 (eval $ac_try) 2>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; }; then
31213 ac_cv_lib_socket_inet_addr
=yes
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.
$ac_ext >&5
31218 ac_cv_lib_socket_inet_addr
=no
31220 rm -f conftest.err conftest.
$ac_objext \
31221 conftest
$ac_exeext conftest.
$ac_ext
31222 LIBS
=$ac_check_lib_save_LIBS
31224 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31225 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31226 if test $ac_cv_lib_socket_inet_addr = yes; then
31246 for ac_func
in inet_aton
31248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31249 echo "$as_me:$LINENO: checking for $ac_func" >&5
31250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31251 if eval "test \"\${$as_ac_var+set}\" = set"; then
31252 echo $ECHO_N "(cached) $ECHO_C" >&6
31254 cat >conftest.
$ac_ext <<_ACEOF
31257 cat confdefs.h
>>conftest.
$ac_ext
31258 cat >>conftest.
$ac_ext <<_ACEOF
31259 /* end confdefs.h. */
31260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31262 #define $ac_func innocuous_$ac_func
31264 /* System header to define __stub macros and hopefully few prototypes,
31265 which can conflict with char $ac_func (); below.
31266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31267 <limits.h> exists even on freestanding compilers. */
31270 # include <limits.h>
31272 # include <assert.h>
31277 /* Override any gcc2 internal prototype to avoid an error. */
31282 /* We use char because int might match the return type of a gcc2
31283 builtin and then its argument prototype would still apply. */
31285 /* The GNU C library defines this for functions which it implements
31286 to always fail with ENOSYS. Some functions are actually named
31287 something starting with __ and the normal name is an alias. */
31288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31291 char (*f) () = $ac_func;
31300 return f != $ac_func;
31305 rm -f conftest.
$ac_objext conftest
$ac_exeext
31306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31307 (eval $ac_link) 2>conftest.er1
31309 grep -v '^ *+' conftest.er1
>conftest.err
31311 cat conftest.err
>&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); } &&
31314 { ac_try
='test -z "$ac_c_werror_flag"
31315 || test ! -s conftest.err'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; } &&
31321 { ac_try
='test -s conftest$ac_exeext'
31322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31323 (eval $ac_try) 2>&5
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); }; }; then
31327 eval "$as_ac_var=yes"
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.
$ac_ext >&5
31332 eval "$as_ac_var=no"
31334 rm -f conftest.err conftest.
$ac_objext \
31335 conftest
$ac_exeext conftest.
$ac_ext
31337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31339 if test `eval echo '${'$as_ac_var'}'` = yes; then
31340 cat >>confdefs.h
<<_ACEOF
31341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31343 cat >>confdefs.h
<<\_ACEOF
31344 #define HAVE_INET_ATON 1
31349 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31350 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31351 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31352 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31353 echo $ECHO_N "(cached) $ECHO_C" >&6
31355 ac_check_lib_save_LIBS
=$LIBS
31356 LIBS
="-l$INET_LINK $LIBS"
31357 cat >conftest.
$ac_ext <<_ACEOF
31360 cat confdefs.h
>>conftest.
$ac_ext
31361 cat >>conftest.
$ac_ext <<_ACEOF
31362 /* end confdefs.h. */
31364 /* Override any gcc2 internal prototype to avoid an error. */
31368 /* We use char because int might match the return type of a gcc2
31369 builtin and then its argument prototype would still apply. */
31379 rm -f conftest.
$ac_objext conftest
$ac_exeext
31380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31381 (eval $ac_link) 2>conftest.er1
31383 grep -v '^ *+' conftest.er1
>conftest.err
31385 cat conftest.err
>&5
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); } &&
31388 { ac_try
='test -z "$ac_c_werror_flag"
31389 || test ! -s conftest.err'
31390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31391 (eval $ac_try) 2>&5
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); }; } &&
31395 { ac_try
='test -s conftest$ac_exeext'
31396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31397 (eval $ac_try) 2>&5
31399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400 (exit $ac_status); }; }; then
31401 eval "$as_ac_Lib=yes"
31403 echo "$as_me: failed program was:" >&5
31404 sed 's/^/| /' conftest.
$ac_ext >&5
31406 eval "$as_ac_Lib=no"
31408 rm -f conftest.err conftest.
$ac_objext \
31409 conftest
$ac_exeext conftest.
$ac_ext
31410 LIBS
=$ac_check_lib_save_LIBS
31412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31413 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31414 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31415 cat >>confdefs.h
<<\_ACEOF
31416 #define HAVE_INET_ATON 1
31426 if test "x$INET_LINK" != "x"; then
31427 cat >>confdefs.h
<<\_ACEOF
31428 #define HAVE_INET_ADDR 1
31431 INET_LINK
=" -l$INET_LINK"
31439 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31440 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31441 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 ac_check_lib_save_LIBS
=$LIBS
31446 cat >conftest.
$ac_ext <<_ACEOF
31449 cat confdefs.h
>>conftest.
$ac_ext
31450 cat >>conftest.
$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31453 /* Override any gcc2 internal prototype to avoid an error. */
31457 /* We use char because int might match the return type of a gcc2
31458 builtin and then its argument prototype would still apply. */
31468 rm -f conftest.
$ac_objext conftest
$ac_exeext
31469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31470 (eval $ac_link) 2>conftest.er1
31472 grep -v '^ *+' conftest.er1
>conftest.err
31474 cat conftest.err
>&5
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); } &&
31477 { ac_try
='test -z "$ac_c_werror_flag"
31478 || test ! -s conftest.err'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; } &&
31484 { ac_try
='test -s conftest$ac_exeext'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; }; then
31490 ac_cv_lib_esd_esd_close
=yes
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.
$ac_ext >&5
31495 ac_cv_lib_esd_esd_close
=no
31497 rm -f conftest.err conftest.
$ac_objext \
31498 conftest
$ac_exeext conftest.
$ac_ext
31499 LIBS
=$ac_check_lib_save_LIBS
31501 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31502 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31503 if test $ac_cv_lib_esd_esd_close = yes; then
31506 for ac_header
in esd.h
31508 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31510 echo "$as_me:$LINENO: checking for $ac_header" >&5
31511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31513 echo $ECHO_N "(cached) $ECHO_C" >&6
31515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31518 # Is the header compilable?
31519 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31521 cat >conftest.
$ac_ext <<_ACEOF
31524 cat confdefs.h
>>conftest.
$ac_ext
31525 cat >>conftest.
$ac_ext <<_ACEOF
31526 /* end confdefs.h. */
31527 $ac_includes_default
31528 #include <$ac_header>
31530 rm -f conftest.
$ac_objext
31531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31532 (eval $ac_compile) 2>conftest.er1
31534 grep -v '^ *+' conftest.er1
>conftest.err
31536 cat conftest.err
>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try
='test -z "$ac_c_werror_flag"
31540 || test ! -s conftest.err'
31541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542 (eval $ac_try) 2>&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; } &&
31546 { ac_try
='test -s conftest.$ac_objext'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; }; then
31552 ac_header_compiler
=yes
31554 echo "$as_me: failed program was:" >&5
31555 sed 's/^/| /' conftest.
$ac_ext >&5
31557 ac_header_compiler
=no
31559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31561 echo "${ECHO_T}$ac_header_compiler" >&6
31563 # Is the header present?
31564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31566 cat >conftest.
$ac_ext <<_ACEOF
31569 cat confdefs.h
>>conftest.
$ac_ext
31570 cat >>conftest.
$ac_ext <<_ACEOF
31571 /* end confdefs.h. */
31572 #include <$ac_header>
31574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31575 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31577 grep -v '^ *+' conftest.er1
>conftest.err
31579 cat conftest.err
>&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); } >/dev
/null
; then
31582 if test -s conftest.err
; then
31583 ac_cpp_err
=$ac_c_preproc_warn_flag
31584 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31591 if test -z "$ac_cpp_err"; then
31592 ac_header_preproc
=yes
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.
$ac_ext >&5
31597 ac_header_preproc
=no
31599 rm -f conftest.err conftest.
$ac_ext
31600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31601 echo "${ECHO_T}$ac_header_preproc" >&6
31603 # So? What about this header?
31604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31610 ac_header_preproc
=yes
31613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31617 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31619 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31620 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31623 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31627 ## ----------------------------------------- ##
31628 ## Report this to wx-dev@lists.wxwidgets.org ##
31629 ## ----------------------------------------- ##
31632 sed "s/^/$as_me: WARNING: /" >&2
31635 echo "$as_me:$LINENO: checking for $ac_header" >&5
31636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31638 echo $ECHO_N "(cached) $ECHO_C" >&6
31640 eval "$as_ac_Header=\$ac_header_preproc"
31642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31647 cat >>confdefs.h
<<_ACEOF
31648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31651 EXTRALIBS_ESD
="-lesd"
31662 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31663 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31664 cat >conftest.
$ac_ext <<_ACEOF
31667 cat confdefs.h
>>conftest.
$ac_ext
31668 cat >>conftest.
$ac_ext <<_ACEOF
31669 /* end confdefs.h. */
31671 #include <linux/cdrom.h>
31674 #include <sys/cdio.h>
31680 struct cdrom_tocentry entry, old_entry;
31685 rm -f conftest.
$ac_objext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31687 (eval $ac_compile) 2>conftest.er1
31689 grep -v '^ *+' conftest.er1
>conftest.err
31691 cat conftest.err
>&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try
='test -z "$ac_c_werror_flag"
31695 || test ! -s conftest.err'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; } &&
31701 { ac_try
='test -s conftest.$ac_objext'
31702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703 (eval $ac_try) 2>&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; }; then
31707 echo "$as_me:$LINENO: result: yes" >&5
31708 echo "${ECHO_T}yes" >&6
31709 cat >>confdefs.h
<<\_ACEOF
31710 #define HAVE_KNOWN_CDROM_INTERFACE 1
31714 echo "$as_me: failed program was:" >&5
31715 sed 's/^/| /' conftest.
$ac_ext >&5
31717 echo "$as_me:$LINENO: result: no" >&5
31718 echo "${ECHO_T}no" >&6
31720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31723 cat >confcache
<<\_ACEOF
31724 # This file is a shell script that caches the results of configure
31725 # tests run on this system so they can be shared between configure
31726 # scripts and configure runs, see configure's option --config-cache.
31727 # It is not useful on other systems. If it contains results you don't
31728 # want to keep, you may remove or edit it.
31730 # config.status only pays attention to the cache file if you give it
31731 # the --recheck option to rerun configure.
31733 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31734 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31735 # following values.
31739 # The following way of writing the cache mishandles newlines in values,
31740 # but we know of no workaround that is simple, portable, and efficient.
31741 # So, don't put newlines in cache variables' values.
31742 # Ultrix sh set writes to stderr and can't be redirected directly,
31743 # and sets the high bit in the cache file unless we assign to the vars.
31746 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31748 # `set' does not quote correctly, so add quotes (double-quote
31749 # substitution turns \\\\ into \\, and sed turns \\ into \).
31752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31755 # `set' quotes correctly as required by POSIX, so do not add quotes.
31757 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31766 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31768 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31769 if test -w $cache_file; then
31770 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31771 cat confcache
>$cache_file
31773 echo "not updating unwritable cache $cache_file"
31780 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31786 if test "$wxUSE_THREADS" = "yes" ; then
31787 if test "$USE_BEOS" = 1; then
31788 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31789 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31794 if test "$wxUSE_THREADS" = "yes" ; then
31797 THREAD_OPTS
="-pthread"
31799 *-*-solaris2* | *-*-sunos4* )
31800 if test "x$GCC" = "xyes"; then
31801 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31803 THREAD_OPTS
="-mt $THREAD_OPTS"
31807 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31809 *-*-darwin* | *-*-cygwin* )
31813 THREAD_OPTS
="pthreads"
31816 if test "x$GCC" != "xyes"; then
31822 if test "x$GCC" = "xyes"; then
31828 if test "x$GCC" != "xyes"; then
31829 THREAD_OPTS
="-Ethread"
31834 THREAD_OPTS
="$THREAD_OPTS pthread none"
31837 for flag
in $THREAD_OPTS; do
31840 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31841 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31845 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31846 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31847 THREADS_CFLAGS
="$flag"
31851 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31852 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31853 THREADS_LINK
="-l$flag"
31858 save_CFLAGS
="$CFLAGS"
31859 LIBS
="$THREADS_LINK $LIBS"
31860 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31862 cat >conftest.
$ac_ext <<_ACEOF
31865 cat confdefs.h
>>conftest.
$ac_ext
31866 cat >>conftest.
$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31868 #include <pthread.h>
31872 pthread_create(0,0,0,0);
31877 rm -f conftest.
$ac_objext conftest
$ac_exeext
31878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31879 (eval $ac_link) 2>conftest.er1
31881 grep -v '^ *+' conftest.er1
>conftest.err
31883 cat conftest.err
>&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); } &&
31886 { ac_try
='test -z "$ac_c_werror_flag"
31887 || test ! -s conftest.err'
31888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31889 (eval $ac_try) 2>&5
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); }; } &&
31893 { ac_try
='test -s conftest$ac_exeext'
31894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31895 (eval $ac_try) 2>&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); }; }; then
31901 echo "$as_me: failed program was:" >&5
31902 sed 's/^/| /' conftest.
$ac_ext >&5
31905 rm -f conftest.err conftest.
$ac_objext \
31906 conftest
$ac_exeext conftest.
$ac_ext
31909 CFLAGS
="$save_CFLAGS"
31911 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31912 echo "${ECHO_T}$THREADS_OK" >&6
31913 if test "x$THREADS_OK" = "xyes"; then
31921 if test "x$THREADS_OK" != "xyes"; then
31923 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31924 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31926 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31927 LIBS
="$THREADS_LINK $LIBS"
31929 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31930 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31934 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31935 flag
="-D_THREAD_SAFE"
31938 flag
="-D_THREAD_SAFE"
31941 flag
="-D_REENTRANT"
31942 if test "x$GCC" != "xyes"; then
31943 flag
="$flag -D_RWSTD_MULTI_THREAD"
31948 *solaris
* | alpha
*-osf*)
31949 flag
="-D_REENTRANT"
31952 echo "$as_me:$LINENO: result: ${flag}" >&5
31953 echo "${ECHO_T}${flag}" >&6
31954 if test "x$flag" != xno
; then
31955 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31958 if test "x$THREADS_CFLAGS" != "x"; then
31959 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31960 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31965 if test "$wxUSE_THREADS" = "yes" ; then
31967 for ac_func
in thr_setconcurrency
31969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31970 echo "$as_me:$LINENO: checking for $ac_func" >&5
31971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31972 if eval "test \"\${$as_ac_var+set}\" = set"; then
31973 echo $ECHO_N "(cached) $ECHO_C" >&6
31975 cat >conftest.
$ac_ext <<_ACEOF
31978 cat confdefs.h
>>conftest.
$ac_ext
31979 cat >>conftest.
$ac_ext <<_ACEOF
31980 /* end confdefs.h. */
31981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31983 #define $ac_func innocuous_$ac_func
31985 /* System header to define __stub macros and hopefully few prototypes,
31986 which can conflict with char $ac_func (); below.
31987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31988 <limits.h> exists even on freestanding compilers. */
31991 # include <limits.h>
31993 # include <assert.h>
31998 /* Override any gcc2 internal prototype to avoid an error. */
32003 /* We use char because int might match the return type of a gcc2
32004 builtin and then its argument prototype would still apply. */
32006 /* The GNU C library defines this for functions which it implements
32007 to always fail with ENOSYS. Some functions are actually named
32008 something starting with __ and the normal name is an alias. */
32009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32012 char (*f) () = $ac_func;
32021 return f != $ac_func;
32026 rm -f conftest.
$ac_objext conftest
$ac_exeext
32027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32028 (eval $ac_link) 2>conftest.er1
32030 grep -v '^ *+' conftest.er1
>conftest.err
32032 cat conftest.err
>&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); } &&
32035 { ac_try
='test -z "$ac_c_werror_flag"
32036 || test ! -s conftest.err'
32037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32038 (eval $ac_try) 2>&5
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); }; } &&
32042 { ac_try
='test -s conftest$ac_exeext'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; }; then
32048 eval "$as_ac_var=yes"
32050 echo "$as_me: failed program was:" >&5
32051 sed 's/^/| /' conftest.
$ac_ext >&5
32053 eval "$as_ac_var=no"
32055 rm -f conftest.err conftest.
$ac_objext \
32056 conftest
$ac_exeext conftest.
$ac_ext
32058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32060 if test `eval echo '${'$as_ac_var'}'` = yes; then
32061 cat >>confdefs.h
<<_ACEOF
32062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32070 for ac_header
in sched.h
32072 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32074 echo "$as_me:$LINENO: checking for $ac_header" >&5
32075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32077 echo $ECHO_N "(cached) $ECHO_C" >&6
32079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32082 # Is the header compilable?
32083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32085 cat >conftest.
$ac_ext <<_ACEOF
32088 cat confdefs.h
>>conftest.
$ac_ext
32089 cat >>conftest.
$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32091 $ac_includes_default
32092 #include <$ac_header>
32094 rm -f conftest.
$ac_objext
32095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32096 (eval $ac_compile) 2>conftest.er1
32098 grep -v '^ *+' conftest.er1
>conftest.err
32100 cat conftest.err
>&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); } &&
32103 { ac_try
='test -z "$ac_c_werror_flag"
32104 || test ! -s conftest.err'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; } &&
32110 { ac_try
='test -s conftest.$ac_objext'
32111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32112 (eval $ac_try) 2>&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); }; }; then
32116 ac_header_compiler
=yes
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.
$ac_ext >&5
32121 ac_header_compiler
=no
32123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32125 echo "${ECHO_T}$ac_header_compiler" >&6
32127 # Is the header present?
32128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32130 cat >conftest.
$ac_ext <<_ACEOF
32133 cat confdefs.h
>>conftest.
$ac_ext
32134 cat >>conftest.
$ac_ext <<_ACEOF
32135 /* end confdefs.h. */
32136 #include <$ac_header>
32138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32139 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32141 grep -v '^ *+' conftest.er1
>conftest.err
32143 cat conftest.err
>&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); } >/dev
/null
; then
32146 if test -s conftest.err
; then
32147 ac_cpp_err
=$ac_c_preproc_warn_flag
32148 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32155 if test -z "$ac_cpp_err"; then
32156 ac_header_preproc
=yes
32158 echo "$as_me: failed program was:" >&5
32159 sed 's/^/| /' conftest.
$ac_ext >&5
32161 ac_header_preproc
=no
32163 rm -f conftest.err conftest.
$ac_ext
32164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32165 echo "${ECHO_T}$ac_header_preproc" >&6
32167 # So? What about this header?
32168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32174 ac_header_preproc
=yes
32177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32191 ## ----------------------------------------- ##
32192 ## Report this to wx-dev@lists.wxwidgets.org ##
32193 ## ----------------------------------------- ##
32196 sed "s/^/$as_me: WARNING: /" >&2
32199 echo "$as_me:$LINENO: checking for $ac_header" >&5
32200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32202 echo $ECHO_N "(cached) $ECHO_C" >&6
32204 eval "$as_ac_Header=\$ac_header_preproc"
32206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32211 cat >>confdefs.h
<<_ACEOF
32212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32219 if test "$ac_cv_header_sched_h" = "yes"; then
32220 echo "$as_me:$LINENO: checking for sched_yield" >&5
32221 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32222 if test "${ac_cv_func_sched_yield+set}" = set; then
32223 echo $ECHO_N "(cached) $ECHO_C" >&6
32225 cat >conftest.
$ac_ext <<_ACEOF
32228 cat confdefs.h
>>conftest.
$ac_ext
32229 cat >>conftest.
$ac_ext <<_ACEOF
32230 /* end confdefs.h. */
32231 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32233 #define sched_yield innocuous_sched_yield
32235 /* System header to define __stub macros and hopefully few prototypes,
32236 which can conflict with char sched_yield (); below.
32237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32238 <limits.h> exists even on freestanding compilers. */
32241 # include <limits.h>
32243 # include <assert.h>
32248 /* Override any gcc2 internal prototype to avoid an error. */
32253 /* We use char because int might match the return type of a gcc2
32254 builtin and then its argument prototype would still apply. */
32255 char sched_yield ();
32256 /* The GNU C library defines this for functions which it implements
32257 to always fail with ENOSYS. Some functions are actually named
32258 something starting with __ and the normal name is an alias. */
32259 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32262 char (*f) () = sched_yield;
32271 return f != sched_yield;
32276 rm -f conftest.
$ac_objext conftest
$ac_exeext
32277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32278 (eval $ac_link) 2>conftest.er1
32280 grep -v '^ *+' conftest.er1
>conftest.err
32282 cat conftest.err
>&5
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); } &&
32285 { ac_try
='test -z "$ac_c_werror_flag"
32286 || test ! -s conftest.err'
32287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32288 (eval $ac_try) 2>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; } &&
32292 { ac_try
='test -s conftest$ac_exeext'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; }; then
32298 ac_cv_func_sched_yield
=yes
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.
$ac_ext >&5
32303 ac_cv_func_sched_yield
=no
32305 rm -f conftest.err conftest.
$ac_objext \
32306 conftest
$ac_exeext conftest.
$ac_ext
32308 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32309 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32310 if test $ac_cv_func_sched_yield = yes; then
32311 cat >>confdefs.h
<<\_ACEOF
32312 #define HAVE_SCHED_YIELD 1
32317 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32318 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32319 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32322 ac_check_lib_save_LIBS
=$LIBS
32323 LIBS
="-lposix4 $LIBS"
32324 cat >conftest.
$ac_ext <<_ACEOF
32327 cat confdefs.h
>>conftest.
$ac_ext
32328 cat >>conftest.
$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32331 /* Override any gcc2 internal prototype to avoid an error. */
32335 /* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32337 char sched_yield ();
32346 rm -f conftest.
$ac_objext conftest
$ac_exeext
32347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32348 (eval $ac_link) 2>conftest.er1
32350 grep -v '^ *+' conftest.er1
>conftest.err
32352 cat conftest.err
>&5
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); } &&
32355 { ac_try
='test -z "$ac_c_werror_flag"
32356 || test ! -s conftest.err'
32357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32358 (eval $ac_try) 2>&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; } &&
32362 { ac_try
='test -s conftest$ac_exeext'
32363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32364 (eval $ac_try) 2>&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); }; }; then
32368 ac_cv_lib_posix4_sched_yield
=yes
32370 echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.
$ac_ext >&5
32373 ac_cv_lib_posix4_sched_yield
=no
32375 rm -f conftest.err conftest.
$ac_objext \
32376 conftest
$ac_exeext conftest.
$ac_ext
32377 LIBS
=$ac_check_lib_save_LIBS
32379 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32380 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32381 if test $ac_cv_lib_posix4_sched_yield = yes; then
32382 cat >>confdefs.h
<<\_ACEOF
32383 #define HAVE_SCHED_YIELD 1
32385 POSIX4_LINK
=" -lposix4"
32387 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32388 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32399 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32400 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32401 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32402 echo $ECHO_N "(cached) $ECHO_C" >&6
32404 cat >conftest.
$ac_ext <<_ACEOF
32407 cat confdefs.h
>>conftest.
$ac_ext
32408 cat >>conftest.
$ac_ext <<_ACEOF
32409 /* end confdefs.h. */
32410 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32412 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32414 /* System header to define __stub macros and hopefully few prototypes,
32415 which can conflict with char pthread_attr_getschedpolicy (); below.
32416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32417 <limits.h> exists even on freestanding compilers. */
32420 # include <limits.h>
32422 # include <assert.h>
32425 #undef pthread_attr_getschedpolicy
32427 /* Override any gcc2 internal prototype to avoid an error. */
32432 /* We use char because int might match the return type of a gcc2
32433 builtin and then its argument prototype would still apply. */
32434 char pthread_attr_getschedpolicy ();
32435 /* The GNU C library defines this for functions which it implements
32436 to always fail with ENOSYS. Some functions are actually named
32437 something starting with __ and the normal name is an alias. */
32438 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32441 char (*f) () = pthread_attr_getschedpolicy;
32450 return f != pthread_attr_getschedpolicy;
32455 rm -f conftest.
$ac_objext conftest
$ac_exeext
32456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32457 (eval $ac_link) 2>conftest.er1
32459 grep -v '^ *+' conftest.er1
>conftest.err
32461 cat conftest.err
>&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); } &&
32464 { ac_try
='test -z "$ac_c_werror_flag"
32465 || test ! -s conftest.err'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; } &&
32471 { ac_try
='test -s conftest$ac_exeext'
32472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32473 (eval $ac_try) 2>&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); }; }; then
32477 ac_cv_func_pthread_attr_getschedpolicy
=yes
32479 echo "$as_me: failed program was:" >&5
32480 sed 's/^/| /' conftest.
$ac_ext >&5
32482 ac_cv_func_pthread_attr_getschedpolicy
=no
32484 rm -f conftest.err conftest.
$ac_objext \
32485 conftest
$ac_exeext conftest.
$ac_ext
32487 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32488 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32489 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32490 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32491 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32492 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32493 echo $ECHO_N "(cached) $ECHO_C" >&6
32495 cat >conftest.
$ac_ext <<_ACEOF
32498 cat confdefs.h
>>conftest.
$ac_ext
32499 cat >>conftest.
$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32503 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32505 /* System header to define __stub macros and hopefully few prototypes,
32506 which can conflict with char pthread_attr_setschedparam (); below.
32507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32508 <limits.h> exists even on freestanding compilers. */
32511 # include <limits.h>
32513 # include <assert.h>
32516 #undef pthread_attr_setschedparam
32518 /* Override any gcc2 internal prototype to avoid an error. */
32523 /* We use char because int might match the return type of a gcc2
32524 builtin and then its argument prototype would still apply. */
32525 char pthread_attr_setschedparam ();
32526 /* The GNU C library defines this for functions which it implements
32527 to always fail with ENOSYS. Some functions are actually named
32528 something starting with __ and the normal name is an alias. */
32529 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32532 char (*f) () = pthread_attr_setschedparam;
32541 return f != pthread_attr_setschedparam;
32546 rm -f conftest.
$ac_objext conftest
$ac_exeext
32547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32548 (eval $ac_link) 2>conftest.er1
32550 grep -v '^ *+' conftest.er1
>conftest.err
32552 cat conftest.err
>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); } &&
32555 { ac_try
='test -z "$ac_c_werror_flag"
32556 || test ! -s conftest.err'
32557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32558 (eval $ac_try) 2>&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); }; } &&
32562 { ac_try
='test -s conftest$ac_exeext'
32563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32564 (eval $ac_try) 2>&5
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); }; }; then
32568 ac_cv_func_pthread_attr_setschedparam
=yes
32570 echo "$as_me: failed program was:" >&5
32571 sed 's/^/| /' conftest.
$ac_ext >&5
32573 ac_cv_func_pthread_attr_setschedparam
=no
32575 rm -f conftest.err conftest.
$ac_objext \
32576 conftest
$ac_exeext conftest.
$ac_ext
32578 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32579 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32580 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32581 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32582 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32583 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32584 echo $ECHO_N "(cached) $ECHO_C" >&6
32586 cat >conftest.
$ac_ext <<_ACEOF
32589 cat confdefs.h
>>conftest.
$ac_ext
32590 cat >>conftest.
$ac_ext <<_ACEOF
32591 /* end confdefs.h. */
32592 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32594 #define sched_get_priority_max innocuous_sched_get_priority_max
32596 /* System header to define __stub macros and hopefully few prototypes,
32597 which can conflict with char sched_get_priority_max (); below.
32598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32599 <limits.h> exists even on freestanding compilers. */
32602 # include <limits.h>
32604 # include <assert.h>
32607 #undef sched_get_priority_max
32609 /* Override any gcc2 internal prototype to avoid an error. */
32614 /* We use char because int might match the return type of a gcc2
32615 builtin and then its argument prototype would still apply. */
32616 char sched_get_priority_max ();
32617 /* The GNU C library defines this for functions which it implements
32618 to always fail with ENOSYS. Some functions are actually named
32619 something starting with __ and the normal name is an alias. */
32620 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32623 char (*f) () = sched_get_priority_max;
32632 return f != sched_get_priority_max;
32637 rm -f conftest.
$ac_objext conftest
$ac_exeext
32638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32639 (eval $ac_link) 2>conftest.er1
32641 grep -v '^ *+' conftest.er1
>conftest.err
32643 cat conftest.err
>&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); } &&
32646 { ac_try
='test -z "$ac_c_werror_flag"
32647 || test ! -s conftest.err'
32648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649 (eval $ac_try) 2>&5
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); }; } &&
32653 { ac_try
='test -s conftest$ac_exeext'
32654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32655 (eval $ac_try) 2>&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); }; }; then
32659 ac_cv_func_sched_get_priority_max
=yes
32661 echo "$as_me: failed program was:" >&5
32662 sed 's/^/| /' conftest.
$ac_ext >&5
32664 ac_cv_func_sched_get_priority_max
=no
32666 rm -f conftest.err conftest.
$ac_objext \
32667 conftest
$ac_exeext conftest.
$ac_ext
32669 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32670 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32671 if test $ac_cv_func_sched_get_priority_max = yes; then
32674 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32675 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32676 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32677 echo $ECHO_N "(cached) $ECHO_C" >&6
32679 ac_check_lib_save_LIBS
=$LIBS
32680 LIBS
="-lposix4 $LIBS"
32681 cat >conftest.
$ac_ext <<_ACEOF
32684 cat confdefs.h
>>conftest.
$ac_ext
32685 cat >>conftest.
$ac_ext <<_ACEOF
32686 /* end confdefs.h. */
32688 /* Override any gcc2 internal prototype to avoid an error. */
32692 /* We use char because int might match the return type of a gcc2
32693 builtin and then its argument prototype would still apply. */
32694 char sched_get_priority_max ();
32698 sched_get_priority_max ();
32703 rm -f conftest.
$ac_objext conftest
$ac_exeext
32704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32705 (eval $ac_link) 2>conftest.er1
32707 grep -v '^ *+' conftest.er1
>conftest.err
32709 cat conftest.err
>&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); } &&
32712 { ac_try
='test -z "$ac_c_werror_flag"
32713 || test ! -s conftest.err'
32714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32715 (eval $ac_try) 2>&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); }; } &&
32719 { ac_try
='test -s conftest$ac_exeext'
32720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32721 (eval $ac_try) 2>&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); }; }; then
32725 ac_cv_lib_posix4_sched_get_priority_max
=yes
32727 echo "$as_me: failed program was:" >&5
32728 sed 's/^/| /' conftest.
$ac_ext >&5
32730 ac_cv_lib_posix4_sched_get_priority_max
=no
32732 rm -f conftest.err conftest.
$ac_objext \
32733 conftest
$ac_exeext conftest.
$ac_ext
32734 LIBS
=$ac_check_lib_save_LIBS
32736 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32737 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32738 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32741 POSIX4_LINK
=" -lposix4"
32755 if test "$HAVE_PRIOR_FUNCS" = 1; then
32756 cat >>confdefs.h
<<\_ACEOF
32757 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32761 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32762 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32765 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32766 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32767 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32768 echo $ECHO_N "(cached) $ECHO_C" >&6
32770 cat >conftest.
$ac_ext <<_ACEOF
32773 cat confdefs.h
>>conftest.
$ac_ext
32774 cat >>conftest.
$ac_ext <<_ACEOF
32775 /* end confdefs.h. */
32776 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32778 #define pthread_cancel innocuous_pthread_cancel
32780 /* System header to define __stub macros and hopefully few prototypes,
32781 which can conflict with char pthread_cancel (); below.
32782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32783 <limits.h> exists even on freestanding compilers. */
32786 # include <limits.h>
32788 # include <assert.h>
32791 #undef pthread_cancel
32793 /* Override any gcc2 internal prototype to avoid an error. */
32798 /* We use char because int might match the return type of a gcc2
32799 builtin and then its argument prototype would still apply. */
32800 char pthread_cancel ();
32801 /* The GNU C library defines this for functions which it implements
32802 to always fail with ENOSYS. Some functions are actually named
32803 something starting with __ and the normal name is an alias. */
32804 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32807 char (*f) () = pthread_cancel;
32816 return f != pthread_cancel;
32821 rm -f conftest.
$ac_objext conftest
$ac_exeext
32822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32823 (eval $ac_link) 2>conftest.er1
32825 grep -v '^ *+' conftest.er1
>conftest.err
32827 cat conftest.err
>&5
32828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32829 (exit $ac_status); } &&
32830 { ac_try
='test -z "$ac_c_werror_flag"
32831 || test ! -s conftest.err'
32832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32833 (eval $ac_try) 2>&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); }; } &&
32837 { ac_try
='test -s conftest$ac_exeext'
32838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32839 (eval $ac_try) 2>&5
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; }; then
32843 ac_cv_func_pthread_cancel
=yes
32845 echo "$as_me: failed program was:" >&5
32846 sed 's/^/| /' conftest.
$ac_ext >&5
32848 ac_cv_func_pthread_cancel
=no
32850 rm -f conftest.err conftest.
$ac_objext \
32851 conftest
$ac_exeext conftest.
$ac_ext
32853 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32854 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32855 if test $ac_cv_func_pthread_cancel = yes; then
32856 cat >>confdefs.h
<<\_ACEOF
32857 #define HAVE_PTHREAD_CANCEL 1
32861 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32862 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32868 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32869 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32870 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32874 cat >conftest.
$ac_ext <<_ACEOF
32877 cat confdefs.h
>>conftest.
$ac_ext
32878 cat >>conftest.
$ac_ext <<_ACEOF
32879 /* end confdefs.h. */
32880 #include <pthread.h>
32885 pthread_mutexattr_t attr;
32886 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32892 rm -f conftest.
$ac_objext
32893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32894 (eval $ac_compile) 2>conftest.er1
32896 grep -v '^ *+' conftest.er1
>conftest.err
32898 cat conftest.err
>&5
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); } &&
32901 { ac_try
='test -z "$ac_c_werror_flag"
32902 || test ! -s conftest.err'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; } &&
32908 { ac_try
='test -s conftest.$ac_objext'
32909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32910 (eval $ac_try) 2>&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); }; }; then
32915 wx_cv_type_pthread_mutexattr_t
=yes
32918 echo "$as_me: failed program was:" >&5
32919 sed 's/^/| /' conftest.
$ac_ext >&5
32922 wx_cv_type_pthread_mutexattr_t
=no
32926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32929 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32930 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32932 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32933 cat >>confdefs.h
<<\_ACEOF
32934 #define HAVE_PTHREAD_MUTEXATTR_T 1
32938 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32939 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32940 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32941 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 cat >conftest.
$ac_ext <<_ACEOF
32947 cat confdefs.h
>>conftest.
$ac_ext
32948 cat >>conftest.
$ac_ext <<_ACEOF
32949 /* end confdefs.h. */
32950 #include <pthread.h>
32955 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32961 rm -f conftest.
$ac_objext
32962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32963 (eval $ac_compile) 2>conftest.er1
32965 grep -v '^ *+' conftest.er1
>conftest.err
32967 cat conftest.err
>&5
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); } &&
32970 { ac_try
='test -z "$ac_c_werror_flag"
32971 || test ! -s conftest.err'
32972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32973 (eval $ac_try) 2>&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); }; } &&
32977 { ac_try
='test -s conftest.$ac_objext'
32978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979 (eval $ac_try) 2>&5
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); }; }; then
32984 wx_cv_type_pthread_rec_mutex_init
=yes
32987 echo "$as_me: failed program was:" >&5
32988 sed 's/^/| /' conftest.
$ac_ext >&5
32991 wx_cv_type_pthread_rec_mutex_init
=no
32995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32998 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32999 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33000 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33001 cat >>confdefs.h
<<\_ACEOF
33002 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33006 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33007 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33013 if test "$wxUSE_THREADS" = "yes" ; then
33016 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33017 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33018 if test "${wx_cv_cflags_mthread+set}" = set; then
33019 echo $ECHO_N "(cached) $ECHO_C" >&6
33022 CFLAGS_OLD
="$CFLAGS"
33023 CFLAGS
="$CFLAGS -mthreads"
33024 cat >conftest.
$ac_ext <<_ACEOF
33027 cat confdefs.h
>>conftest.
$ac_ext
33028 cat >>conftest.
$ac_ext <<_ACEOF
33029 /* end confdefs.h. */
33039 rm -f conftest.
$ac_objext
33040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33041 (eval $ac_compile) 2>conftest.er1
33043 grep -v '^ *+' conftest.er1
>conftest.err
33045 cat conftest.err
>&5
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); } &&
33048 { ac_try
='test -z "$ac_c_werror_flag"
33049 || test ! -s conftest.err'
33050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33051 (eval $ac_try) 2>&5
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); }; } &&
33055 { ac_try
='test -s conftest.$ac_objext'
33056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33057 (eval $ac_try) 2>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); }; }; then
33061 wx_cv_cflags_mthread
=yes
33063 echo "$as_me: failed program was:" >&5
33064 sed 's/^/| /' conftest.
$ac_ext >&5
33066 wx_cv_cflags_mthread
=no
33069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33073 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33074 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33076 if test "$wx_cv_cflags_mthread" = "yes"; then
33077 CXXFLAGS
="$CXXFLAGS -mthreads"
33078 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33079 LDFLAGS
="$LDFLAGS -mthreads"
33081 CFLAGS
="$CFLAGS_OLD"
33085 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33086 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33087 LDFLAGS
="$LDFLAGS -Zmt"
33093 if test "$wxUSE_THREADS" = "yes"; then
33094 cat >>confdefs.h
<<\_ACEOF
33095 #define wxUSE_THREADS 1
33099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33101 if test "$ac_cv_func_strtok_r" = "yes"; then
33102 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33103 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33104 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33105 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33106 echo "$as_me:$LINENO: result: yes" >&5
33107 echo "${ECHO_T}yes" >&6
33109 echo "$as_me:$LINENO: result: no" >&5
33110 echo "${ECHO_T}no" >&6
33115 if test "$WXGTK20" = 1 ; then
33116 cat >>confdefs.h
<<_ACEOF
33117 #define __WXGTK20__ $WXGTK20
33123 if test "$WXGTK12" = 1 ; then
33124 cat >>confdefs.h
<<_ACEOF
33125 #define __WXGTK12__ $WXGTK12
33130 if test "$WXGTK127" = 1 ; then
33131 cat >>confdefs.h
<<_ACEOF
33132 #define __WXGTK127__ $WXGTK127
33137 if test "$WXGPE" = 1 ; then
33138 cat >>confdefs.h
<<_ACEOF
33139 #define __WXGPE__ $WXGPE
33146 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33151 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33152 wxUSE_DEBUG_INFO
=yes
33156 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33157 cat >>confdefs.h
<<\_ACEOF
33161 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33163 if test "$wxUSE_GTK" = 1 ; then
33164 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33168 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33169 cat >>confdefs.h
<<\_ACEOF
33170 #define wxUSE_MEMORY_TRACING 1
33173 cat >>confdefs.h
<<\_ACEOF
33174 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33177 cat >>confdefs.h
<<\_ACEOF
33178 #define wxUSE_DEBUG_NEW_ALWAYS 1
33181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33184 if test "$wxUSE_DMALLOC" = "yes" ; then
33185 DMALLOC_LIBS
="-ldmalloc"
33189 if test "$wxUSE_PROFILE" = "yes" ; then
33194 CODE_GEN_FLAGS_CXX
=
33195 if test "$GCC" = "yes" ; then
33196 if test "$wxUSE_NO_RTTI" = "yes" ; then
33197 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33199 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33200 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33202 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33203 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33208 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33211 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33217 if test "$wxUSE_OPTIMISE" = "no" ; then
33218 if test "$GCC" = yes ; then
33222 if test "$GCC" = yes ; then
33226 i586
-*-*|i686
-*-* )
33227 OPTIMISE
="${OPTIMISE} "
33236 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33237 cat >>confdefs.h
<<\_ACEOF
33238 #define WXWIN_COMPATIBILITY_2_2 1
33242 WXWIN_COMPATIBILITY_2_4
="yes"
33245 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33246 cat >>confdefs.h
<<\_ACEOF
33247 #define WXWIN_COMPATIBILITY_2_4 1
33253 if test "$wxUSE_GUI" = "yes"; then
33254 cat >>confdefs.h
<<\_ACEOF
33255 #define wxUSE_GUI 1
33260 cat >>confdefs.h
<<\_ACEOF
33261 #define wxUSE_NOGUI 1
33267 if test "$wxUSE_UNIX" = "yes"; then
33268 cat >>confdefs.h
<<\_ACEOF
33269 #define wxUSE_UNIX 1
33275 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33279 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33280 if test "$USE_DARWIN" = 1; then
33284 for ac_func
in dlopen
33286 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33287 echo "$as_me:$LINENO: checking for $ac_func" >&5
33288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33289 if eval "test \"\${$as_ac_var+set}\" = set"; then
33290 echo $ECHO_N "(cached) $ECHO_C" >&6
33292 cat >conftest.
$ac_ext <<_ACEOF
33295 cat confdefs.h
>>conftest.
$ac_ext
33296 cat >>conftest.
$ac_ext <<_ACEOF
33297 /* end confdefs.h. */
33298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33300 #define $ac_func innocuous_$ac_func
33302 /* System header to define __stub macros and hopefully few prototypes,
33303 which can conflict with char $ac_func (); below.
33304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33305 <limits.h> exists even on freestanding compilers. */
33308 # include <limits.h>
33310 # include <assert.h>
33315 /* Override any gcc2 internal prototype to avoid an error. */
33320 /* We use char because int might match the return type of a gcc2
33321 builtin and then its argument prototype would still apply. */
33323 /* The GNU C library defines this for functions which it implements
33324 to always fail with ENOSYS. Some functions are actually named
33325 something starting with __ and the normal name is an alias. */
33326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33329 char (*f) () = $ac_func;
33338 return f != $ac_func;
33343 rm -f conftest.
$ac_objext conftest
$ac_exeext
33344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33345 (eval $ac_link) 2>conftest.er1
33347 grep -v '^ *+' conftest.er1
>conftest.err
33349 cat conftest.err
>&5
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); } &&
33352 { ac_try
='test -z "$ac_c_werror_flag"
33353 || test ! -s conftest.err'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; } &&
33359 { ac_try
='test -s conftest$ac_exeext'
33360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361 (eval $ac_try) 2>&5
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); }; }; then
33365 eval "$as_ac_var=yes"
33367 echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.
$ac_ext >&5
33370 eval "$as_ac_var=no"
33372 rm -f conftest.err conftest.
$ac_objext \
33373 conftest
$ac_exeext conftest.
$ac_ext
33375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33377 if test `eval echo '${'$as_ac_var'}'` = yes; then
33378 cat >>confdefs.h
<<_ACEOF
33379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33382 cat >>confdefs.h
<<\_ACEOF
33383 #define HAVE_DLOPEN 1
33390 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33391 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33392 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33393 echo $ECHO_N "(cached) $ECHO_C" >&6
33395 ac_check_lib_save_LIBS
=$LIBS
33397 cat >conftest.
$ac_ext <<_ACEOF
33400 cat confdefs.h
>>conftest.
$ac_ext
33401 cat >>conftest.
$ac_ext <<_ACEOF
33402 /* end confdefs.h. */
33404 /* Override any gcc2 internal prototype to avoid an error. */
33408 /* We use char because int might match the return type of a gcc2
33409 builtin and then its argument prototype would still apply. */
33419 rm -f conftest.
$ac_objext conftest
$ac_exeext
33420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33421 (eval $ac_link) 2>conftest.er1
33423 grep -v '^ *+' conftest.er1
>conftest.err
33425 cat conftest.err
>&5
33426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33427 (exit $ac_status); } &&
33428 { ac_try
='test -z "$ac_c_werror_flag"
33429 || test ! -s conftest.err'
33430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33431 (eval $ac_try) 2>&5
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); }; } &&
33435 { ac_try
='test -s conftest$ac_exeext'
33436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33437 (eval $ac_try) 2>&5
33439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33440 (exit $ac_status); }; }; then
33441 ac_cv_lib_dl_dlopen
=yes
33443 echo "$as_me: failed program was:" >&5
33444 sed 's/^/| /' conftest.
$ac_ext >&5
33446 ac_cv_lib_dl_dlopen
=no
33448 rm -f conftest.err conftest.
$ac_objext \
33449 conftest
$ac_exeext conftest.
$ac_ext
33450 LIBS
=$ac_check_lib_save_LIBS
33452 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33453 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33454 if test $ac_cv_lib_dl_dlopen = yes; then
33456 cat >>confdefs.h
<<\_ACEOF
33457 #define HAVE_DLOPEN 1
33461 DL_LINK
=" -ldl$DL_LINK"
33466 for ac_func
in shl_load
33468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33469 echo "$as_me:$LINENO: checking for $ac_func" >&5
33470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33471 if eval "test \"\${$as_ac_var+set}\" = set"; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33474 cat >conftest.
$ac_ext <<_ACEOF
33477 cat confdefs.h
>>conftest.
$ac_ext
33478 cat >>conftest.
$ac_ext <<_ACEOF
33479 /* end confdefs.h. */
33480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33482 #define $ac_func innocuous_$ac_func
33484 /* System header to define __stub macros and hopefully few prototypes,
33485 which can conflict with char $ac_func (); below.
33486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33487 <limits.h> exists even on freestanding compilers. */
33490 # include <limits.h>
33492 # include <assert.h>
33497 /* Override any gcc2 internal prototype to avoid an error. */
33502 /* We use char because int might match the return type of a gcc2
33503 builtin and then its argument prototype would still apply. */
33505 /* The GNU C library defines this for functions which it implements
33506 to always fail with ENOSYS. Some functions are actually named
33507 something starting with __ and the normal name is an alias. */
33508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33511 char (*f) () = $ac_func;
33520 return f != $ac_func;
33525 rm -f conftest.
$ac_objext conftest
$ac_exeext
33526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33527 (eval $ac_link) 2>conftest.er1
33529 grep -v '^ *+' conftest.er1
>conftest.err
33531 cat conftest.err
>&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } &&
33534 { ac_try
='test -z "$ac_c_werror_flag"
33535 || test ! -s conftest.err'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; } &&
33541 { ac_try
='test -s conftest$ac_exeext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 eval "$as_ac_var=yes"
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.
$ac_ext >&5
33552 eval "$as_ac_var=no"
33554 rm -f conftest.err conftest.
$ac_objext \
33555 conftest
$ac_exeext conftest.
$ac_ext
33557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33559 if test `eval echo '${'$as_ac_var'}'` = yes; then
33560 cat >>confdefs.h
<<_ACEOF
33561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33564 cat >>confdefs.h
<<\_ACEOF
33565 #define HAVE_SHL_LOAD 1
33572 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33573 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33574 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33575 echo $ECHO_N "(cached) $ECHO_C" >&6
33577 ac_check_lib_save_LIBS
=$LIBS
33578 LIBS
="-lshl_load $LIBS"
33579 cat >conftest.
$ac_ext <<_ACEOF
33582 cat confdefs.h
>>conftest.
$ac_ext
33583 cat >>conftest.
$ac_ext <<_ACEOF
33584 /* end confdefs.h. */
33586 /* Override any gcc2 internal prototype to avoid an error. */
33590 /* We use char because int might match the return type of a gcc2
33591 builtin and then its argument prototype would still apply. */
33601 rm -f conftest.
$ac_objext conftest
$ac_exeext
33602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33603 (eval $ac_link) 2>conftest.er1
33605 grep -v '^ *+' conftest.er1
>conftest.err
33607 cat conftest.err
>&5
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); } &&
33610 { ac_try
='test -z "$ac_c_werror_flag"
33611 || test ! -s conftest.err'
33612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33613 (eval $ac_try) 2>&5
33615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33616 (exit $ac_status); }; } &&
33617 { ac_try
='test -s conftest$ac_exeext'
33618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33619 (eval $ac_try) 2>&5
33621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33622 (exit $ac_status); }; }; then
33623 ac_cv_lib_shl_load_dld
=yes
33625 echo "$as_me: failed program was:" >&5
33626 sed 's/^/| /' conftest.
$ac_ext >&5
33628 ac_cv_lib_shl_load_dld
=no
33630 rm -f conftest.err conftest.
$ac_objext \
33631 conftest
$ac_exeext conftest.
$ac_ext
33632 LIBS
=$ac_check_lib_save_LIBS
33634 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33635 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33636 if test $ac_cv_lib_shl_load_dld = yes; then
33639 DL_LINK
=" -ldld$DL_LINK"
33655 if test "$HAVE_DL_FUNCS" = 1; then
33657 for ac_func
in dlerror
33659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33660 echo "$as_me:$LINENO: checking for $ac_func" >&5
33661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33662 if eval "test \"\${$as_ac_var+set}\" = set"; then
33663 echo $ECHO_N "(cached) $ECHO_C" >&6
33665 cat >conftest.
$ac_ext <<_ACEOF
33668 cat confdefs.h
>>conftest.
$ac_ext
33669 cat >>conftest.
$ac_ext <<_ACEOF
33670 /* end confdefs.h. */
33671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33673 #define $ac_func innocuous_$ac_func
33675 /* System header to define __stub macros and hopefully few prototypes,
33676 which can conflict with char $ac_func (); below.
33677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33678 <limits.h> exists even on freestanding compilers. */
33681 # include <limits.h>
33683 # include <assert.h>
33688 /* Override any gcc2 internal prototype to avoid an error. */
33693 /* We use char because int might match the return type of a gcc2
33694 builtin and then its argument prototype would still apply. */
33696 /* The GNU C library defines this for functions which it implements
33697 to always fail with ENOSYS. Some functions are actually named
33698 something starting with __ and the normal name is an alias. */
33699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33702 char (*f) () = $ac_func;
33711 return f != $ac_func;
33716 rm -f conftest.
$ac_objext conftest
$ac_exeext
33717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33718 (eval $ac_link) 2>conftest.er1
33720 grep -v '^ *+' conftest.er1
>conftest.err
33722 cat conftest.err
>&5
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); } &&
33725 { ac_try
='test -z "$ac_c_werror_flag"
33726 || test ! -s conftest.err'
33727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728 (eval $ac_try) 2>&5
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); }; } &&
33732 { ac_try
='test -s conftest$ac_exeext'
33733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33734 (eval $ac_try) 2>&5
33736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33737 (exit $ac_status); }; }; then
33738 eval "$as_ac_var=yes"
33740 echo "$as_me: failed program was:" >&5
33741 sed 's/^/| /' conftest.
$ac_ext >&5
33743 eval "$as_ac_var=no"
33745 rm -f conftest.err conftest.
$ac_objext \
33746 conftest
$ac_exeext conftest.
$ac_ext
33748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33750 if test `eval echo '${'$as_ac_var'}'` = yes; then
33751 cat >>confdefs.h
<<_ACEOF
33752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33754 cat >>confdefs.h
<<\_ACEOF
33755 #define HAVE_DLERROR 1
33760 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33761 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33762 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33765 ac_check_lib_save_LIBS
=$LIBS
33767 cat >conftest.
$ac_ext <<_ACEOF
33770 cat confdefs.h
>>conftest.
$ac_ext
33771 cat >>conftest.
$ac_ext <<_ACEOF
33772 /* end confdefs.h. */
33774 /* Override any gcc2 internal prototype to avoid an error. */
33778 /* We use char because int might match the return type of a gcc2
33779 builtin and then its argument prototype would still apply. */
33789 rm -f conftest.
$ac_objext conftest
$ac_exeext
33790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33791 (eval $ac_link) 2>conftest.er1
33793 grep -v '^ *+' conftest.er1
>conftest.err
33795 cat conftest.err
>&5
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); } &&
33798 { ac_try
='test -z "$ac_c_werror_flag"
33799 || test ! -s conftest.err'
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); }; } &&
33805 { ac_try
='test -s conftest$ac_exeext'
33806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33807 (eval $ac_try) 2>&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); }; }; then
33811 ac_cv_lib_dl_dlerror
=yes
33813 echo "$as_me: failed program was:" >&5
33814 sed 's/^/| /' conftest.
$ac_ext >&5
33816 ac_cv_lib_dl_dlerror
=no
33818 rm -f conftest.err conftest.
$ac_objext \
33819 conftest
$ac_exeext conftest.
$ac_ext
33820 LIBS
=$ac_check_lib_save_LIBS
33822 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33823 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33824 if test $ac_cv_lib_dl_dlerror = yes; then
33825 cat >>confdefs.h
<<\_ACEOF
33826 #define HAVE_DLERROR 1
33839 if test "$HAVE_DL_FUNCS" = 0; then
33840 if test "$HAVE_SHL_FUNCS" = 0; then
33841 if test "$USE_UNIX" = 1; then
33842 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33843 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33844 wxUSE_DYNAMIC_LOADER
=no
33845 wxUSE_DYNLIB_CLASS
=no
33847 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33848 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33855 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33856 cat >>confdefs.h
<<\_ACEOF
33857 #define wxUSE_DYNAMIC_LOADER 1
33861 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33862 cat >>confdefs.h
<<\_ACEOF
33863 #define wxUSE_DYNLIB_CLASS 1
33870 if test "$wxUSE_PLUGINS" = "yes" ; then
33871 if test "$wxUSE_SHARED" = "no" ; then
33872 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33873 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33876 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33877 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33878 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33881 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33882 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33883 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33886 if test "$wxUSE_PLUGINS" = "yes" ; then
33887 cat >>confdefs.h
<<\_ACEOF
33888 #define wxUSE_PLUGINS 1
33895 if test "$wxUSE_STL" = "yes"; then
33896 cat >>confdefs.h
<<\_ACEOF
33897 #define wxUSE_STL 1
33902 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33903 cat >>confdefs.h
<<\_ACEOF
33904 #define wxUSE_APPLE_IEEE 1
33909 if test "$wxUSE_TIMER" = "yes"; then
33910 cat >>confdefs.h
<<\_ACEOF
33911 #define wxUSE_TIMER 1
33917 if test "$wxUSE_SOUND" = "yes"; then
33918 if test "$USE_UNIX" = "1" ; then
33920 for ac_header
in sys
/soundcard.h
33922 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33924 echo "$as_me:$LINENO: checking for $ac_header" >&5
33925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33932 # Is the header compilable?
33933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33935 cat >conftest.
$ac_ext <<_ACEOF
33938 cat confdefs.h
>>conftest.
$ac_ext
33939 cat >>conftest.
$ac_ext <<_ACEOF
33940 /* end confdefs.h. */
33941 $ac_includes_default
33942 #include <$ac_header>
33944 rm -f conftest.
$ac_objext
33945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33946 (eval $ac_compile) 2>conftest.er1
33948 grep -v '^ *+' conftest.er1
>conftest.err
33950 cat conftest.err
>&5
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); } &&
33953 { ac_try
='test -z "$ac_c_werror_flag"
33954 || test ! -s conftest.err'
33955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33956 (eval $ac_try) 2>&5
33958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959 (exit $ac_status); }; } &&
33960 { ac_try
='test -s conftest.$ac_objext'
33961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33962 (eval $ac_try) 2>&5
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); }; }; then
33966 ac_header_compiler
=yes
33968 echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.
$ac_ext >&5
33971 ac_header_compiler
=no
33973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33975 echo "${ECHO_T}$ac_header_compiler" >&6
33977 # Is the header present?
33978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33980 cat >conftest.
$ac_ext <<_ACEOF
33983 cat confdefs.h
>>conftest.
$ac_ext
33984 cat >>conftest.
$ac_ext <<_ACEOF
33985 /* end confdefs.h. */
33986 #include <$ac_header>
33988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33991 grep -v '^ *+' conftest.er1
>conftest.err
33993 cat conftest.err
>&5
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); } >/dev
/null
; then
33996 if test -s conftest.err
; then
33997 ac_cpp_err
=$ac_c_preproc_warn_flag
33998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34005 if test -z "$ac_cpp_err"; then
34006 ac_header_preproc
=yes
34008 echo "$as_me: failed program was:" >&5
34009 sed 's/^/| /' conftest.
$ac_ext >&5
34011 ac_header_preproc
=no
34013 rm -f conftest.err conftest.
$ac_ext
34014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34015 echo "${ECHO_T}$ac_header_preproc" >&6
34017 # So? What about this header?
34018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34024 ac_header_preproc
=yes
34027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34041 ## ----------------------------------------- ##
34042 ## Report this to wx-dev@lists.wxwidgets.org ##
34043 ## ----------------------------------------- ##
34046 sed "s/^/$as_me: WARNING: /" >&2
34049 echo "$as_me:$LINENO: checking for $ac_header" >&5
34050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34052 echo $ECHO_N "(cached) $ECHO_C" >&6
34054 eval "$as_ac_Header=\$ac_header_preproc"
34056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34061 cat >>confdefs.h
<<_ACEOF
34062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34070 if test "$wxUSE_LIBSDL" != "no"; then
34072 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34073 if test "${with_sdl_prefix+set}" = set; then
34074 withval
="$with_sdl_prefix"
34075 sdl_prefix
="$withval"
34080 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34081 if test "${with_sdl_exec_prefix+set}" = set; then
34082 withval
="$with_sdl_exec_prefix"
34083 sdl_exec_prefix
="$withval"
34087 # Check whether --enable-sdltest or --disable-sdltest was given.
34088 if test "${enable_sdltest+set}" = set; then
34089 enableval
="$enable_sdltest"
34095 if test x
$sdl_exec_prefix != x
; then
34096 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34097 if test x
${SDL_CONFIG+set} != xset
; then
34098 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34101 if test x
$sdl_prefix != x
; then
34102 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34103 if test x
${SDL_CONFIG+set} != xset
; then
34104 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34109 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34110 # Extract the first word of "sdl-config", so it can be a program name with args.
34111 set dummy sdl
-config; ac_word
=$2
34112 echo "$as_me:$LINENO: checking for $ac_word" >&5
34113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34114 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34115 echo $ECHO_N "(cached) $ECHO_C" >&6
34117 case $SDL_CONFIG in
34119 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34123 for as_dir
in $PATH
34126 test -z "$as_dir" && as_dir
=.
34127 for ac_exec_ext
in '' $ac_executable_extensions; do
34128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34129 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34136 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34140 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34142 if test -n "$SDL_CONFIG"; then
34143 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34144 echo "${ECHO_T}$SDL_CONFIG" >&6
34146 echo "$as_me:$LINENO: result: no" >&5
34147 echo "${ECHO_T}no" >&6
34150 min_sdl_version
=1.2.0
34151 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34152 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34154 if test "$SDL_CONFIG" = "no" ; then
34157 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34158 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34160 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34162 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34163 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34164 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34165 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34166 if test "x$enable_sdltest" = "xyes" ; then
34167 ac_save_CFLAGS
="$CFLAGS"
34168 ac_save_LIBS
="$LIBS"
34169 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34170 LIBS
="$LIBS $SDL_LIBS"
34172 if test "$cross_compiling" = yes; then
34173 echo $ac_n "cross compiling; assumed OK... $ac_c"
34175 cat >conftest.
$ac_ext <<_ACEOF
34178 cat confdefs.h
>>conftest.
$ac_ext
34179 cat >>conftest.
$ac_ext <<_ACEOF
34180 /* end confdefs.h. */
34183 #include <stdlib.h>
34184 #include <string.h>
34188 my_strdup (char *str)
34194 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34195 strcpy (new_str, str);
34203 int main (int argc, char *argv[])
34205 int major, minor, micro;
34208 /* This hangs on some systems (?)
34209 system ("touch conf.sdltest");
34211 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34213 /* HP/UX 9 (%@#!) writes to sscanf strings */
34214 tmp_version = my_strdup("$min_sdl_version");
34215 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34216 printf("%s, bad version string\n", "$min_sdl_version");
34220 if (($sdl_major_version > major) ||
34221 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34222 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34228 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34229 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34230 printf("*** best to upgrade to the required version.\n");
34231 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34232 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34233 printf("*** config.cache before re-running configure\n");
34240 rm -f conftest
$ac_exeext
34241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34242 (eval $ac_link) 2>&5
34244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34247 (eval $ac_try) 2>&5
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); }; }; then
34253 echo "$as_me: program exited with status $ac_status" >&5
34254 echo "$as_me: failed program was:" >&5
34255 sed 's/^/| /' conftest.
$ac_ext >&5
34257 ( exit $ac_status )
34260 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34262 CFLAGS
="$ac_save_CFLAGS"
34263 LIBS
="$ac_save_LIBS"
34266 if test "x$no_sdl" = x
; then
34267 echo "$as_me:$LINENO: result: yes" >&5
34268 echo "${ECHO_T}yes" >&6
34270 EXTRALIBS_SDL
="$SDL_LIBS"
34271 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34272 cat >>confdefs.h
<<\_ACEOF
34273 #define wxUSE_LIBSDL 1
34278 echo "$as_me:$LINENO: result: no" >&5
34279 echo "${ECHO_T}no" >&6
34280 if test "$SDL_CONFIG" = "no" ; then
34281 echo "*** The sdl-config script installed by SDL could not be found"
34282 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34283 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34284 echo "*** full path to sdl-config."
34286 if test -f conf.sdltest
; then
34289 echo "*** Could not run SDL test program, checking why..."
34290 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34291 LIBS
="$LIBS $SDL_LIBS"
34292 cat >conftest.
$ac_ext <<_ACEOF
34295 cat confdefs.h
>>conftest.
$ac_ext
34296 cat >>conftest.
$ac_ext <<_ACEOF
34297 /* end confdefs.h. */
34302 int main(int argc, char *argv[])
34305 #define main K_and_R_C_main
34315 rm -f conftest.
$ac_objext conftest
$ac_exeext
34316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34317 (eval $ac_link) 2>conftest.er1
34319 grep -v '^ *+' conftest.er1
>conftest.err
34321 cat conftest.err
>&5
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); } &&
34324 { ac_try
='test -z "$ac_c_werror_flag"
34325 || test ! -s conftest.err'
34326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34327 (eval $ac_try) 2>&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); }; } &&
34331 { ac_try
='test -s conftest$ac_exeext'
34332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34333 (eval $ac_try) 2>&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); }; }; then
34337 echo "*** The test program compiled, but did not run. This usually means"
34338 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34339 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34340 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34341 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34342 echo "*** is required on your system"
34344 echo "*** If you have an old version installed, it is best to remove it, although"
34345 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34347 echo "$as_me: failed program was:" >&5
34348 sed 's/^/| /' conftest.
$ac_ext >&5
34350 echo "*** The test program failed to compile or link. See the file config.log for the"
34351 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34352 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34353 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34355 rm -f conftest.err conftest.
$ac_objext \
34356 conftest
$ac_exeext conftest.
$ac_ext
34357 CFLAGS
="$ac_save_CFLAGS"
34358 LIBS
="$ac_save_LIBS"
34369 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34375 cat >>confdefs.h
<<\_ACEOF
34376 #define wxUSE_SOUND 1
34379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34382 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34383 cat >>confdefs.h
<<\_ACEOF
34384 #define wxUSE_CMDLINE_PARSER 1
34389 if test "$wxUSE_STOPWATCH" = "yes"; then
34390 cat >>confdefs.h
<<\_ACEOF
34391 #define wxUSE_STOPWATCH 1
34396 if test "$wxUSE_DATETIME" = "yes"; then
34397 cat >>confdefs.h
<<\_ACEOF
34398 #define wxUSE_DATETIME 1
34403 if test "$wxUSE_FILE" = "yes"; then
34404 cat >>confdefs.h
<<\_ACEOF
34405 #define wxUSE_FILE 1
34410 if test "$wxUSE_FFILE" = "yes"; then
34411 cat >>confdefs.h
<<\_ACEOF
34412 #define wxUSE_FFILE 1
34417 if test "$wxUSE_FILESYSTEM" = "yes"; then
34418 cat >>confdefs.h
<<\_ACEOF
34419 #define wxUSE_FILESYSTEM 1
34424 if test "$wxUSE_FS_ZIP" = "yes"; then
34425 cat >>confdefs.h
<<\_ACEOF
34426 #define wxUSE_FS_ZIP 1
34431 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34432 cat >>confdefs.h
<<\_ACEOF
34433 #define wxUSE_ZIPSTREAM 1
34438 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34439 cat >>confdefs.h
<<\_ACEOF
34440 #define wxUSE_ON_FATAL_EXCEPTION 1
34445 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34446 cat >>confdefs.h
<<\_ACEOF
34447 #define wxUSE_SNGLINST_CHECKER 1
34452 if test "$wxUSE_BUSYINFO" = "yes"; then
34453 cat >>confdefs.h
<<\_ACEOF
34454 #define wxUSE_BUSYINFO 1
34459 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34460 cat >>confdefs.h
<<\_ACEOF
34461 #define wxUSE_STD_IOSTREAM 1
34466 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34467 cat >>confdefs.h
<<\_ACEOF
34468 #define wxUSE_TEXTBUFFER 1
34473 if test "$wxUSE_TEXTFILE" = "yes"; then
34474 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34475 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34476 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34478 cat >>confdefs.h
<<\_ACEOF
34479 #define wxUSE_TEXTFILE 1
34485 if test "$wxUSE_CONFIG" = "yes" ; then
34486 if test "$wxUSE_TEXTFILE" != "yes"; then
34487 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34488 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34490 cat >>confdefs.h
<<\_ACEOF
34491 #define wxUSE_CONFIG 1
34494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34498 if test "$wxUSE_INTL" = "yes" ; then
34499 if test "$wxUSE_FILE" != "yes"; then
34500 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34501 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34503 cat >>confdefs.h
<<\_ACEOF
34504 #define wxUSE_INTL 1
34507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34508 GUIDIST
="$GUIDIST INTL_DIST"
34512 if test "$wxUSE_LOG" = "yes"; then
34513 cat >>confdefs.h
<<\_ACEOF
34514 #define wxUSE_LOG 1
34518 if test "$wxUSE_LOGGUI" = "yes"; then
34519 cat >>confdefs.h
<<\_ACEOF
34520 #define wxUSE_LOGGUI 1
34525 if test "$wxUSE_LOGWINDOW" = "yes"; then
34526 cat >>confdefs.h
<<\_ACEOF
34527 #define wxUSE_LOGWINDOW 1
34532 if test "$wxUSE_LOGDIALOG" = "yes"; then
34533 cat >>confdefs.h
<<\_ACEOF
34534 #define wxUSE_LOG_DIALOG 1
34540 if test "$wxUSE_LONGLONG" = "yes"; then
34541 cat >>confdefs.h
<<\_ACEOF
34542 #define wxUSE_LONGLONG 1
34547 if test "$wxUSE_GEOMETRY" = "yes"; then
34548 cat >>confdefs.h
<<\_ACEOF
34549 #define wxUSE_GEOMETRY 1
34554 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34555 cat >>confdefs.h
<<\_ACEOF
34556 #define wxUSE_DIALUP_MANAGER 1
34559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34562 if test "$wxUSE_STREAMS" = "yes" ; then
34563 cat >>confdefs.h
<<\_ACEOF
34564 #define wxUSE_STREAMS 1
34570 if test "$wxUSE_DATETIME" = "yes"; then
34572 for ac_func
in strptime
34574 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34575 echo "$as_me:$LINENO: checking for $ac_func" >&5
34576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34577 if eval "test \"\${$as_ac_var+set}\" = set"; then
34578 echo $ECHO_N "(cached) $ECHO_C" >&6
34580 cat >conftest.
$ac_ext <<_ACEOF
34583 cat confdefs.h
>>conftest.
$ac_ext
34584 cat >>conftest.
$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34588 #define $ac_func innocuous_$ac_func
34590 /* System header to define __stub macros and hopefully few prototypes,
34591 which can conflict with char $ac_func (); below.
34592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34593 <limits.h> exists even on freestanding compilers. */
34596 # include <limits.h>
34598 # include <assert.h>
34603 /* Override any gcc2 internal prototype to avoid an error. */
34608 /* We use char because int might match the return type of a gcc2
34609 builtin and then its argument prototype would still apply. */
34611 /* The GNU C library defines this for functions which it implements
34612 to always fail with ENOSYS. Some functions are actually named
34613 something starting with __ and the normal name is an alias. */
34614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34617 char (*f) () = $ac_func;
34626 return f != $ac_func;
34631 rm -f conftest.
$ac_objext conftest
$ac_exeext
34632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34633 (eval $ac_link) 2>conftest.er1
34635 grep -v '^ *+' conftest.er1
>conftest.err
34637 cat conftest.err
>&5
34638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34639 (exit $ac_status); } &&
34640 { ac_try
='test -z "$ac_c_werror_flag"
34641 || test ! -s conftest.err'
34642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34643 (eval $ac_try) 2>&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); }; } &&
34647 { ac_try
='test -s conftest$ac_exeext'
34648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34649 (eval $ac_try) 2>&5
34651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34652 (exit $ac_status); }; }; then
34653 eval "$as_ac_var=yes"
34655 echo "$as_me: failed program was:" >&5
34656 sed 's/^/| /' conftest.
$ac_ext >&5
34658 eval "$as_ac_var=no"
34660 rm -f conftest.err conftest.
$ac_objext \
34661 conftest
$ac_exeext conftest.
$ac_ext
34663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34665 if test `eval echo '${'$as_ac_var'}'` = yes; then
34666 cat >>confdefs.h
<<_ACEOF
34667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34674 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34675 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34676 if test "${wx_cv_var_timezone+set}" = set; then
34677 echo $ECHO_N "(cached) $ECHO_C" >&6
34680 cat >conftest.
$ac_ext <<_ACEOF
34683 cat confdefs.h
>>conftest.
$ac_ext
34684 cat >>conftest.
$ac_ext <<_ACEOF
34685 /* end confdefs.h. */
34700 rm -f conftest.
$ac_objext
34701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34702 (eval $ac_compile) 2>conftest.er1
34704 grep -v '^ *+' conftest.er1
>conftest.err
34706 cat conftest.err
>&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); } &&
34709 { ac_try
='test -z "$ac_c_werror_flag"
34710 || test ! -s conftest.err'
34711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34712 (eval $ac_try) 2>&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); }; } &&
34716 { ac_try
='test -s conftest.$ac_objext'
34717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34718 (eval $ac_try) 2>&5
34720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34721 (exit $ac_status); }; }; then
34723 wx_cv_var_timezone
=timezone
34726 echo "$as_me: failed program was:" >&5
34727 sed 's/^/| /' conftest.
$ac_ext >&5
34730 cat >conftest.
$ac_ext <<_ACEOF
34733 cat confdefs.h
>>conftest.
$ac_ext
34734 cat >>conftest.
$ac_ext <<_ACEOF
34735 /* end confdefs.h. */
34750 rm -f conftest.
$ac_objext
34751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34752 (eval $ac_compile) 2>conftest.er1
34754 grep -v '^ *+' conftest.er1
>conftest.err
34756 cat conftest.err
>&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } &&
34759 { ac_try
='test -z "$ac_c_werror_flag"
34760 || test ! -s conftest.err'
34761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34762 (eval $ac_try) 2>&5
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); }; } &&
34766 { ac_try
='test -s conftest.$ac_objext'
34767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34768 (eval $ac_try) 2>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; }; then
34773 wx_cv_var_timezone
=_timezone
34776 echo "$as_me: failed program was:" >&5
34777 sed 's/^/| /' conftest.
$ac_ext >&5
34780 cat >conftest.
$ac_ext <<_ACEOF
34783 cat confdefs.h
>>conftest.
$ac_ext
34784 cat >>conftest.
$ac_ext <<_ACEOF
34785 /* end confdefs.h. */
34800 rm -f conftest.
$ac_objext
34801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34802 (eval $ac_compile) 2>conftest.er1
34804 grep -v '^ *+' conftest.er1
>conftest.err
34806 cat conftest.err
>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try
='test -z "$ac_c_werror_flag"
34810 || test ! -s conftest.err'
34811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34812 (eval $ac_try) 2>&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); }; } &&
34816 { ac_try
='test -s conftest.$ac_objext'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; }; then
34823 wx_cv_var_timezone
=__timezone
34826 echo "$as_me: failed program was:" >&5
34827 sed 's/^/| /' conftest.
$ac_ext >&5
34830 if test "$USE_DOS" = 0 ; then
34831 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34832 echo "$as_me: WARNING: no timezone variable" >&2;}
34837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34849 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34850 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34852 if test "x$wx_cv_var_timezone" != x
; then
34853 cat >>confdefs.h
<<_ACEOF
34854 #define WX_TIMEZONE $wx_cv_var_timezone
34860 for ac_func
in localtime
34862 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34863 echo "$as_me:$LINENO: checking for $ac_func" >&5
34864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34865 if eval "test \"\${$as_ac_var+set}\" = set"; then
34866 echo $ECHO_N "(cached) $ECHO_C" >&6
34868 cat >conftest.
$ac_ext <<_ACEOF
34871 cat confdefs.h
>>conftest.
$ac_ext
34872 cat >>conftest.
$ac_ext <<_ACEOF
34873 /* end confdefs.h. */
34874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34876 #define $ac_func innocuous_$ac_func
34878 /* System header to define __stub macros and hopefully few prototypes,
34879 which can conflict with char $ac_func (); below.
34880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34881 <limits.h> exists even on freestanding compilers. */
34884 # include <limits.h>
34886 # include <assert.h>
34891 /* Override any gcc2 internal prototype to avoid an error. */
34896 /* We use char because int might match the return type of a gcc2
34897 builtin and then its argument prototype would still apply. */
34899 /* The GNU C library defines this for functions which it implements
34900 to always fail with ENOSYS. Some functions are actually named
34901 something starting with __ and the normal name is an alias. */
34902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34905 char (*f) () = $ac_func;
34914 return f != $ac_func;
34919 rm -f conftest.
$ac_objext conftest
$ac_exeext
34920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34921 (eval $ac_link) 2>conftest.er1
34923 grep -v '^ *+' conftest.er1
>conftest.err
34925 cat conftest.err
>&5
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); } &&
34928 { ac_try
='test -z "$ac_c_werror_flag"
34929 || test ! -s conftest.err'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; } &&
34935 { ac_try
='test -s conftest$ac_exeext'
34936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34937 (eval $ac_try) 2>&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); }; }; then
34941 eval "$as_ac_var=yes"
34943 echo "$as_me: failed program was:" >&5
34944 sed 's/^/| /' conftest.
$ac_ext >&5
34946 eval "$as_ac_var=no"
34948 rm -f conftest.err conftest.
$ac_objext \
34949 conftest
$ac_exeext conftest.
$ac_ext
34951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34953 if test `eval echo '${'$as_ac_var'}'` = yes; then
34954 cat >>confdefs.h
<<_ACEOF
34955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34962 if test "$ac_cv_func_localtime" = "yes"; then
34963 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34964 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34965 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34969 cat >conftest.
$ac_ext <<_ACEOF
34972 cat confdefs.h
>>conftest.
$ac_ext
34973 cat >>conftest.
$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34989 rm -f conftest.
$ac_objext
34990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34991 (eval $ac_compile) 2>conftest.er1
34993 grep -v '^ *+' conftest.er1
>conftest.err
34995 cat conftest.err
>&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); } &&
34998 { ac_try
='test -z "$ac_c_werror_flag"
34999 || test ! -s conftest.err'
35000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001 (eval $ac_try) 2>&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); }; } &&
35005 { ac_try
='test -s conftest.$ac_objext'
35006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007 (eval $ac_try) 2>&5
35009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010 (exit $ac_status); }; }; then
35012 wx_cv_struct_tm_has_gmtoff
=yes
35015 echo "$as_me: failed program was:" >&5
35016 sed 's/^/| /' conftest.
$ac_ext >&5
35018 wx_cv_struct_tm_has_gmtoff
=no
35021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35024 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35025 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35028 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35029 cat >>confdefs.h
<<\_ACEOF
35030 #define WX_GMTOFF_IN_TM 1
35037 for ac_func
in gettimeofday ftime
35039 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35040 echo "$as_me:$LINENO: checking for $ac_func" >&5
35041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35042 if eval "test \"\${$as_ac_var+set}\" = set"; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35045 cat >conftest.
$ac_ext <<_ACEOF
35048 cat confdefs.h
>>conftest.
$ac_ext
35049 cat >>conftest.
$ac_ext <<_ACEOF
35050 /* end confdefs.h. */
35051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35053 #define $ac_func innocuous_$ac_func
35055 /* System header to define __stub macros and hopefully few prototypes,
35056 which can conflict with char $ac_func (); below.
35057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35058 <limits.h> exists even on freestanding compilers. */
35061 # include <limits.h>
35063 # include <assert.h>
35068 /* Override any gcc2 internal prototype to avoid an error. */
35073 /* We use char because int might match the return type of a gcc2
35074 builtin and then its argument prototype would still apply. */
35076 /* The GNU C library defines this for functions which it implements
35077 to always fail with ENOSYS. Some functions are actually named
35078 something starting with __ and the normal name is an alias. */
35079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35082 char (*f) () = $ac_func;
35091 return f != $ac_func;
35096 rm -f conftest.
$ac_objext conftest
$ac_exeext
35097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35098 (eval $ac_link) 2>conftest.er1
35100 grep -v '^ *+' conftest.er1
>conftest.err
35102 cat conftest.err
>&5
35103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35104 (exit $ac_status); } &&
35105 { ac_try
='test -z "$ac_c_werror_flag"
35106 || test ! -s conftest.err'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; } &&
35112 { ac_try
='test -s conftest$ac_exeext'
35113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35114 (eval $ac_try) 2>&5
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); }; }; then
35118 eval "$as_ac_var=yes"
35120 echo "$as_me: failed program was:" >&5
35121 sed 's/^/| /' conftest.
$ac_ext >&5
35123 eval "$as_ac_var=no"
35125 rm -f conftest.err conftest.
$ac_objext \
35126 conftest
$ac_exeext conftest.
$ac_ext
35128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35130 if test `eval echo '${'$as_ac_var'}'` = yes; then
35131 cat >>confdefs.h
<<_ACEOF
35132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35139 if test "$ac_cv_func_gettimeofday" = "yes"; then
35140 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35141 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35142 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35143 echo $ECHO_N "(cached) $ECHO_C" >&6
35149 ac_cpp
='$CXXCPP $CPPFLAGS'
35150 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35151 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35152 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35155 cat >conftest.
$ac_ext <<_ACEOF
35158 cat confdefs.h
>>conftest.
$ac_ext
35159 cat >>conftest.
$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35162 #include <sys/time.h>
35163 #include <unistd.h>
35170 gettimeofday(&tv, NULL);
35176 rm -f conftest.
$ac_objext
35177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35178 (eval $ac_compile) 2>conftest.er1
35180 grep -v '^ *+' conftest.er1
>conftest.err
35182 cat conftest.err
>&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); } &&
35185 { ac_try
='test -z "$ac_cxx_werror_flag"
35186 || test ! -s conftest.err'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; } &&
35192 { ac_try
='test -s conftest.$ac_objext'
35193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194 (eval $ac_try) 2>&5
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; }; then
35198 wx_cv_func_gettimeofday_has_2_args
=yes
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.
$ac_ext >&5
35203 cat >conftest.
$ac_ext <<_ACEOF
35206 cat confdefs.h
>>conftest.
$ac_ext
35207 cat >>conftest.
$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35210 #include <sys/time.h>
35211 #include <unistd.h>
35224 rm -f conftest.
$ac_objext
35225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35226 (eval $ac_compile) 2>conftest.er1
35228 grep -v '^ *+' conftest.er1
>conftest.err
35230 cat conftest.err
>&5
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); } &&
35233 { ac_try
='test -z "$ac_cxx_werror_flag"
35234 || test ! -s conftest.err'
35235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35236 (eval $ac_try) 2>&5
35238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35239 (exit $ac_status); }; } &&
35240 { ac_try
='test -s conftest.$ac_objext'
35241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35242 (eval $ac_try) 2>&5
35244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35245 (exit $ac_status); }; }; then
35246 wx_cv_func_gettimeofday_has_2_args
=no
35248 echo "$as_me: failed program was:" >&5
35249 sed 's/^/| /' conftest.
$ac_ext >&5
35252 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35253 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35254 wx_cv_func_gettimeofday_has_2_args
=unknown
35258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35263 ac_cpp
='$CPP $CPPFLAGS'
35264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35270 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35271 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35273 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35274 cat >>confdefs.h
<<\_ACEOF
35275 #define WX_GETTIMEOFDAY_NO_TZ 1
35281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35285 if test "$wxUSE_SOCKETS" = "yes"; then
35286 if test "$wxUSE_MGL" = "1"; then
35287 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35288 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35293 if test "$wxUSE_SOCKETS" = "yes"; then
35294 if test "$TOOLKIT" != "MSW"; then
35295 echo "$as_me:$LINENO: checking for socket" >&5
35296 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35297 if test "${ac_cv_func_socket+set}" = set; then
35298 echo $ECHO_N "(cached) $ECHO_C" >&6
35300 cat >conftest.
$ac_ext <<_ACEOF
35303 cat confdefs.h
>>conftest.
$ac_ext
35304 cat >>conftest.
$ac_ext <<_ACEOF
35305 /* end confdefs.h. */
35306 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35308 #define socket innocuous_socket
35310 /* System header to define __stub macros and hopefully few prototypes,
35311 which can conflict with char socket (); below.
35312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35313 <limits.h> exists even on freestanding compilers. */
35316 # include <limits.h>
35318 # include <assert.h>
35323 /* Override any gcc2 internal prototype to avoid an error. */
35328 /* We use char because int might match the return type of a gcc2
35329 builtin and then its argument prototype would still apply. */
35331 /* The GNU C library defines this for functions which it implements
35332 to always fail with ENOSYS. Some functions are actually named
35333 something starting with __ and the normal name is an alias. */
35334 #if defined (__stub_socket) || defined (__stub___socket)
35337 char (*f) () = socket;
35346 return f != socket;
35351 rm -f conftest.
$ac_objext conftest
$ac_exeext
35352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35353 (eval $ac_link) 2>conftest.er1
35355 grep -v '^ *+' conftest.er1
>conftest.err
35357 cat conftest.err
>&5
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); } &&
35360 { ac_try
='test -z "$ac_c_werror_flag"
35361 || test ! -s conftest.err'
35362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35363 (eval $ac_try) 2>&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); }; } &&
35367 { ac_try
='test -s conftest$ac_exeext'
35368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35369 (eval $ac_try) 2>&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); }; }; then
35373 ac_cv_func_socket
=yes
35375 echo "$as_me: failed program was:" >&5
35376 sed 's/^/| /' conftest.
$ac_ext >&5
35378 ac_cv_func_socket
=no
35380 rm -f conftest.err conftest.
$ac_objext \
35381 conftest
$ac_exeext conftest.
$ac_ext
35383 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35384 echo "${ECHO_T}$ac_cv_func_socket" >&6
35385 if test $ac_cv_func_socket = yes; then
35389 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35390 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35391 if test "${ac_cv_lib_socket_socket+set}" = set; then
35392 echo $ECHO_N "(cached) $ECHO_C" >&6
35394 ac_check_lib_save_LIBS
=$LIBS
35395 LIBS
="-lsocket $LIBS"
35396 cat >conftest.
$ac_ext <<_ACEOF
35399 cat confdefs.h
>>conftest.
$ac_ext
35400 cat >>conftest.
$ac_ext <<_ACEOF
35401 /* end confdefs.h. */
35403 /* Override any gcc2 internal prototype to avoid an error. */
35407 /* We use char because int might match the return type of a gcc2
35408 builtin and then its argument prototype would still apply. */
35418 rm -f conftest.
$ac_objext conftest
$ac_exeext
35419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35420 (eval $ac_link) 2>conftest.er1
35422 grep -v '^ *+' conftest.er1
>conftest.err
35424 cat conftest.err
>&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } &&
35427 { ac_try
='test -z "$ac_c_werror_flag"
35428 || test ! -s conftest.err'
35429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35430 (eval $ac_try) 2>&5
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); }; } &&
35434 { ac_try
='test -s conftest$ac_exeext'
35435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35436 (eval $ac_try) 2>&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); }; }; then
35440 ac_cv_lib_socket_socket
=yes
35442 echo "$as_me: failed program was:" >&5
35443 sed 's/^/| /' conftest.
$ac_ext >&5
35445 ac_cv_lib_socket_socket
=no
35447 rm -f conftest.err conftest.
$ac_objext \
35448 conftest
$ac_exeext conftest.
$ac_ext
35449 LIBS
=$ac_check_lib_save_LIBS
35451 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35452 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35453 if test $ac_cv_lib_socket_socket = yes; then
35454 if test "$INET_LINK" != " -lsocket"; then
35455 INET_LINK
="$INET_LINK -lsocket"
35459 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35460 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35473 if test "$wxUSE_SOCKETS" = "yes" ; then
35474 if test "$TOOLKIT" != "MSW"; then
35475 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35476 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35477 if test "${wx_cv_type_getsockname3+set}" = set; then
35478 echo $ECHO_N "(cached) $ECHO_C" >&6
35481 cat >conftest.
$ac_ext <<_ACEOF
35484 cat confdefs.h
>>conftest.
$ac_ext
35485 cat >>conftest.
$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35488 #include <sys/types.h>
35489 #include <sys/socket.h>
35496 getsockname(0, 0, &len);
35502 rm -f conftest.
$ac_objext
35503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35504 (eval $ac_compile) 2>conftest.er1
35506 grep -v '^ *+' conftest.er1
>conftest.err
35508 cat conftest.err
>&5
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); } &&
35511 { ac_try
='test -z "$ac_c_werror_flag"
35512 || test ! -s conftest.err'
35513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35514 (eval $ac_try) 2>&5
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); }; } &&
35518 { ac_try
='test -s conftest.$ac_objext'
35519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35520 (eval $ac_try) 2>&5
35522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35523 (exit $ac_status); }; }; then
35524 wx_cv_type_getsockname3
=socklen_t
35526 echo "$as_me: failed program was:" >&5
35527 sed 's/^/| /' conftest.
$ac_ext >&5
35530 CFLAGS_OLD
="$CFLAGS"
35531 if test "$GCC" = yes ; then
35532 CFLAGS
="$CFLAGS -Werror"
35535 cat >conftest.
$ac_ext <<_ACEOF
35538 cat confdefs.h
>>conftest.
$ac_ext
35539 cat >>conftest.
$ac_ext <<_ACEOF
35540 /* end confdefs.h. */
35542 #include <sys/types.h>
35543 #include <sys/socket.h>
35550 getsockname(0, 0, &len);
35556 rm -f conftest.
$ac_objext
35557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35558 (eval $ac_compile) 2>conftest.er1
35560 grep -v '^ *+' conftest.er1
>conftest.err
35562 cat conftest.err
>&5
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); } &&
35565 { ac_try
='test -z "$ac_c_werror_flag"
35566 || test ! -s conftest.err'
35567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35568 (eval $ac_try) 2>&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); }; } &&
35572 { ac_try
='test -s conftest.$ac_objext'
35573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35574 (eval $ac_try) 2>&5
35576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35577 (exit $ac_status); }; }; then
35578 wx_cv_type_getsockname3
=size_t
35580 echo "$as_me: failed program was:" >&5
35581 sed 's/^/| /' conftest.
$ac_ext >&5
35583 cat >conftest.
$ac_ext <<_ACEOF
35586 cat confdefs.h
>>conftest.
$ac_ext
35587 cat >>conftest.
$ac_ext <<_ACEOF
35588 /* end confdefs.h. */
35590 #include <sys/types.h>
35591 #include <sys/socket.h>
35598 getsockname(0, 0, &len);
35604 rm -f conftest.
$ac_objext
35605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35606 (eval $ac_compile) 2>conftest.er1
35608 grep -v '^ *+' conftest.er1
>conftest.err
35610 cat conftest.err
>&5
35611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35612 (exit $ac_status); } &&
35613 { ac_try
='test -z "$ac_c_werror_flag"
35614 || test ! -s conftest.err'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; } &&
35620 { ac_try
='test -s conftest.$ac_objext'
35621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35622 (eval $ac_try) 2>&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); }; }; then
35626 wx_cv_type_getsockname3
=int
35628 echo "$as_me: failed program was:" >&5
35629 sed 's/^/| /' conftest.
$ac_ext >&5
35631 wx_cv_type_getsockname3
=unknown
35634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35639 CFLAGS
="$CFLAGS_OLD"
35643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35646 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35647 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35649 if test "$wx_cv_type_getsockname3" = "unknown"; then
35651 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35652 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35654 cat >>confdefs.h
<<_ACEOF
35655 #define SOCKLEN_T $wx_cv_type_getsockname3
35662 if test "$wxUSE_SOCKETS" = "yes" ; then
35663 cat >>confdefs.h
<<\_ACEOF
35664 #define wxUSE_SOCKETS 1
35667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35670 if test "$wxUSE_PROTOCOL" = "yes"; then
35671 if test "$wxUSE_SOCKETS" != "yes"; then
35672 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35673 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35678 if test "$wxUSE_PROTOCOL" = "yes"; then
35679 cat >>confdefs.h
<<\_ACEOF
35680 #define wxUSE_PROTOCOL 1
35684 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35685 cat >>confdefs.h
<<\_ACEOF
35686 #define wxUSE_PROTOCOL_HTTP 1
35690 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35691 cat >>confdefs.h
<<\_ACEOF
35692 #define wxUSE_PROTOCOL_FTP 1
35696 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35697 cat >>confdefs.h
<<\_ACEOF
35698 #define wxUSE_PROTOCOL_FILE 1
35703 if test "$wxUSE_FS_INET" = "yes"; then
35704 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35705 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35710 if test "$wxUSE_URL" = "yes"; then
35711 if test "$wxUSE_PROTOCOL" != "yes"; then
35712 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35713 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35716 if test "$wxUSE_URL" = "yes"; then
35717 cat >>confdefs.h
<<\_ACEOF
35718 #define wxUSE_URL 1
35724 if test "$wxUSE_FS_INET" = "yes"; then
35725 cat >>confdefs.h
<<\_ACEOF
35726 #define wxUSE_FS_INET 1
35732 if test "$wxUSE_GUI" = "yes"; then
35734 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35735 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35736 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35740 if test "$TOOLKIT" != "MSW"; then
35741 if test "$wxUSE_JOYSTICK" = "yes"; then
35743 for ac_header
in linux
/joystick.h
35745 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35747 echo "$as_me:$LINENO: checking for $ac_header" >&5
35748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35750 echo $ECHO_N "(cached) $ECHO_C" >&6
35752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35755 # Is the header compilable?
35756 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35757 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35758 cat >conftest.
$ac_ext <<_ACEOF
35761 cat confdefs.h
>>conftest.
$ac_ext
35762 cat >>conftest.
$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35764 $ac_includes_default
35765 #include <$ac_header>
35767 rm -f conftest.
$ac_objext
35768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35769 (eval $ac_compile) 2>conftest.er1
35771 grep -v '^ *+' conftest.er1
>conftest.err
35773 cat conftest.err
>&5
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); } &&
35776 { ac_try
='test -z "$ac_c_werror_flag"
35777 || test ! -s conftest.err'
35778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35779 (eval $ac_try) 2>&5
35781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35782 (exit $ac_status); }; } &&
35783 { ac_try
='test -s conftest.$ac_objext'
35784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35785 (eval $ac_try) 2>&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); }; }; then
35789 ac_header_compiler
=yes
35791 echo "$as_me: failed program was:" >&5
35792 sed 's/^/| /' conftest.
$ac_ext >&5
35794 ac_header_compiler
=no
35796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35798 echo "${ECHO_T}$ac_header_compiler" >&6
35800 # Is the header present?
35801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35803 cat >conftest.
$ac_ext <<_ACEOF
35806 cat confdefs.h
>>conftest.
$ac_ext
35807 cat >>conftest.
$ac_ext <<_ACEOF
35808 /* end confdefs.h. */
35809 #include <$ac_header>
35811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35812 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35814 grep -v '^ *+' conftest.er1
>conftest.err
35816 cat conftest.err
>&5
35817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35818 (exit $ac_status); } >/dev
/null
; then
35819 if test -s conftest.err
; then
35820 ac_cpp_err
=$ac_c_preproc_warn_flag
35821 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35828 if test -z "$ac_cpp_err"; then
35829 ac_header_preproc
=yes
35831 echo "$as_me: failed program was:" >&5
35832 sed 's/^/| /' conftest.
$ac_ext >&5
35834 ac_header_preproc
=no
35836 rm -f conftest.err conftest.
$ac_ext
35837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35838 echo "${ECHO_T}$ac_header_preproc" >&6
35840 # So? What about this header?
35841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35847 ac_header_preproc
=yes
35850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35854 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35856 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35857 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35860 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35864 ## ----------------------------------------- ##
35865 ## Report this to wx-dev@lists.wxwidgets.org ##
35866 ## ----------------------------------------- ##
35869 sed "s/^/$as_me: WARNING: /" >&2
35872 echo "$as_me:$LINENO: checking for $ac_header" >&5
35873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35875 echo $ECHO_N "(cached) $ECHO_C" >&6
35877 eval "$as_ac_Header=\$ac_header_preproc"
35879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35884 cat >>confdefs.h
<<_ACEOF
35885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35892 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35894 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35895 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35900 if test "$wxUSE_JOYSTICK" = "yes"; then
35901 cat >>confdefs.h
<<\_ACEOF
35902 #define wxUSE_JOYSTICK 1
35905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35911 if test "$wxUSE_FONTMAP" = "yes" ; then
35912 cat >>confdefs.h
<<\_ACEOF
35913 #define wxUSE_FONTMAP 1
35918 if test "$wxUSE_UNICODE" = "yes" ; then
35919 cat >>confdefs.h
<<\_ACEOF
35920 #define wxUSE_UNICODE 1
35924 if test "$USE_WIN32" != 1; then
35925 wxUSE_UNICODE_MSLU
=no
35928 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35929 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35930 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35931 if test "${ac_cv_lib_unicows_main+set}" = set; then
35932 echo $ECHO_N "(cached) $ECHO_C" >&6
35934 ac_check_lib_save_LIBS
=$LIBS
35935 LIBS
="-lunicows $LIBS"
35936 cat >conftest.
$ac_ext <<_ACEOF
35939 cat confdefs.h
>>conftest.
$ac_ext
35940 cat >>conftest.
$ac_ext <<_ACEOF
35941 /* end confdefs.h. */
35952 rm -f conftest.
$ac_objext conftest
$ac_exeext
35953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35954 (eval $ac_link) 2>conftest.er1
35956 grep -v '^ *+' conftest.er1
>conftest.err
35958 cat conftest.err
>&5
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); } &&
35961 { ac_try
='test -z "$ac_c_werror_flag"
35962 || test ! -s conftest.err'
35963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35964 (eval $ac_try) 2>&5
35966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967 (exit $ac_status); }; } &&
35968 { ac_try
='test -s conftest$ac_exeext'
35969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35970 (eval $ac_try) 2>&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); }; }; then
35974 ac_cv_lib_unicows_main
=yes
35976 echo "$as_me: failed program was:" >&5
35977 sed 's/^/| /' conftest.
$ac_ext >&5
35979 ac_cv_lib_unicows_main
=no
35981 rm -f conftest.err conftest.
$ac_objext \
35982 conftest
$ac_exeext conftest.
$ac_ext
35983 LIBS
=$ac_check_lib_save_LIBS
35985 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35986 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35987 if test $ac_cv_lib_unicows_main = yes; then
35989 cat >>confdefs.h
<<\_ACEOF
35990 #define wxUSE_UNICODE_MSLU 1
35996 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35997 Applications will only run on Windows NT/2000/XP!" >&5
35998 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35999 Applications will only run on Windows NT/2000/XP!" >&2;}
36000 wxUSE_UNICODE_MSLU
=no
36007 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36008 cat >>confdefs.h
<<\_ACEOF
36009 #define wxUSE_EXPERIMENTAL_PRINTF 1
36015 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36016 cat >>confdefs.h
<<\_ACEOF
36017 #define wxUSE_POSTSCRIPT 1
36022 cat >>confdefs.h
<<\_ACEOF
36023 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36027 cat >>confdefs.h
<<\_ACEOF
36028 #define wxUSE_NORMALIZED_PS_FONTS 1
36033 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36034 cat >>confdefs.h
<<\_ACEOF
36035 #define wxUSE_CONSTRAINTS 1
36038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36041 if test "$wxUSE_MDI" = "yes"; then
36042 cat >>confdefs.h
<<\_ACEOF
36043 #define wxUSE_MDI 1
36047 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36048 cat >>confdefs.h
<<\_ACEOF
36049 #define wxUSE_MDI_ARCHITECTURE 1
36052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36056 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36057 cat >>confdefs.h
<<\_ACEOF
36058 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36062 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36067 if test "$wxUSE_HELP" = "yes"; then
36068 cat >>confdefs.h
<<\_ACEOF
36069 #define wxUSE_HELP 1
36072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36074 if test "$wxUSE_MSW" = 1; then
36075 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36076 cat >>confdefs.h
<<\_ACEOF
36077 #define wxUSE_MS_HTML_HELP 1
36083 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36084 if test "$wxUSE_HTML" = "yes"; then
36085 cat >>confdefs.h
<<\_ACEOF
36086 #define wxUSE_WXHTML_HELP 1
36090 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36091 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36092 wxUSE_WXHTML_HELP
=no
36097 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36098 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36099 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36100 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36102 cat >>confdefs.h
<<\_ACEOF
36103 #define wxUSE_PRINTING_ARCHITECTURE 1
36107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36110 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36111 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36112 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36113 { (exit 1); exit 1; }; }
36117 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36118 -o "$wxUSE_CLIPBOARD" = "yes" \
36119 -o "$wxUSE_OLE" = "yes" \
36120 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36122 for ac_header
in ole2.h
36124 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36126 echo "$as_me:$LINENO: checking for $ac_header" >&5
36127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36134 # Is the header compilable?
36135 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36136 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36137 cat >conftest.
$ac_ext <<_ACEOF
36140 cat confdefs.h
>>conftest.
$ac_ext
36141 cat >>conftest.
$ac_ext <<_ACEOF
36142 /* end confdefs.h. */
36143 $ac_includes_default
36144 #include <$ac_header>
36146 rm -f conftest.
$ac_objext
36147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36148 (eval $ac_compile) 2>conftest.er1
36150 grep -v '^ *+' conftest.er1
>conftest.err
36152 cat conftest.err
>&5
36153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36154 (exit $ac_status); } &&
36155 { ac_try
='test -z "$ac_c_werror_flag"
36156 || test ! -s conftest.err'
36157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36158 (eval $ac_try) 2>&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); }; } &&
36162 { ac_try
='test -s conftest.$ac_objext'
36163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36164 (eval $ac_try) 2>&5
36166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36167 (exit $ac_status); }; }; then
36168 ac_header_compiler
=yes
36170 echo "$as_me: failed program was:" >&5
36171 sed 's/^/| /' conftest.
$ac_ext >&5
36173 ac_header_compiler
=no
36175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36177 echo "${ECHO_T}$ac_header_compiler" >&6
36179 # Is the header present?
36180 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36181 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36182 cat >conftest.
$ac_ext <<_ACEOF
36185 cat confdefs.h
>>conftest.
$ac_ext
36186 cat >>conftest.
$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36188 #include <$ac_header>
36190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36191 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36193 grep -v '^ *+' conftest.er1
>conftest.err
36195 cat conftest.err
>&5
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); } >/dev
/null
; then
36198 if test -s conftest.err
; then
36199 ac_cpp_err
=$ac_c_preproc_warn_flag
36200 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36207 if test -z "$ac_cpp_err"; then
36208 ac_header_preproc
=yes
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.
$ac_ext >&5
36213 ac_header_preproc
=no
36215 rm -f conftest.err conftest.
$ac_ext
36216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36217 echo "${ECHO_T}$ac_header_preproc" >&6
36219 # So? What about this header?
36220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36222 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36226 ac_header_preproc
=yes
36229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36233 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36234 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36235 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36236 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36239 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36240 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36243 ## ----------------------------------------- ##
36244 ## Report this to wx-dev@lists.wxwidgets.org ##
36245 ## ----------------------------------------- ##
36248 sed "s/^/$as_me: WARNING: /" >&2
36251 echo "$as_me:$LINENO: checking for $ac_header" >&5
36252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36256 eval "$as_ac_Header=\$ac_header_preproc"
36258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36263 cat >>confdefs.h
<<_ACEOF
36264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36272 if test "$ac_cv_header_ole2_h" = "yes" ; then
36273 if test "$GCC" = yes ; then
36277 ac_cpp
='$CXXCPP $CPPFLAGS'
36278 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36279 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36280 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36283 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36284 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36285 cat >conftest.
$ac_ext <<_ACEOF
36288 cat confdefs.h
>>conftest.
$ac_ext
36289 cat >>conftest.
$ac_ext <<_ACEOF
36290 /* end confdefs.h. */
36291 #include <windows.h>
36301 rm -f conftest.
$ac_objext
36302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36303 (eval $ac_compile) 2>conftest.er1
36305 grep -v '^ *+' conftest.er1
>conftest.err
36307 cat conftest.err
>&5
36308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309 (exit $ac_status); } &&
36310 { ac_try
='test -z "$ac_cxx_werror_flag"
36311 || test ! -s conftest.err'
36312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36313 (eval $ac_try) 2>&5
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); }; } &&
36317 { ac_try
='test -s conftest.$ac_objext'
36318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36319 (eval $ac_try) 2>&5
36321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36322 (exit $ac_status); }; }; then
36323 echo "$as_me:$LINENO: result: no" >&5
36324 echo "${ECHO_T}no" >&6
36326 echo "$as_me: failed program was:" >&5
36327 sed 's/^/| /' conftest.
$ac_ext >&5
36329 echo "$as_me:$LINENO: result: yes" >&5
36330 echo "${ECHO_T}yes" >&6
36331 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36335 ac_cpp
='$CPP $CPPFLAGS'
36336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36340 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36341 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36342 if test "$wxUSE_OLE" = "yes" ; then
36343 cat >>confdefs.h
<<\_ACEOF
36344 #define wxUSE_OLE 1
36350 if test "$wxUSE_DATAOBJ" = "yes" ; then
36351 cat >>confdefs.h
<<\_ACEOF
36352 #define wxUSE_DATAOBJ 1
36357 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36358 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36361 wxUSE_DRAG_AND_DROP
=no
36366 if test "$wxUSE_METAFILE" = "yes"; then
36367 cat >>confdefs.h
<<\_ACEOF
36368 #define wxUSE_METAFILE 1
36372 cat >>confdefs.h
<<\_ACEOF
36373 #define wxUSE_ENH_METAFILE 1
36379 if test "$wxUSE_IPC" = "yes"; then
36380 if test "$wxUSE_SOCKETS" != "yes"; then
36381 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36382 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36385 cat >>confdefs.h
<<\_ACEOF
36386 #define wxUSE_IPC 1
36391 if test "$wxUSE_CLIPBOARD" = "yes"; then
36392 if test "$wxUSE_MGL" = 1; then
36393 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36394 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36398 if test "$wxUSE_CLIPBOARD" = "yes"; then
36399 cat >>confdefs.h
<<\_ACEOF
36400 #define wxUSE_CLIPBOARD 1
36404 cat >>confdefs.h
<<\_ACEOF
36405 #define wxUSE_DATAOBJ 1
36411 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36412 if test "$wxUSE_GTK" = 1; then
36413 if test "$WXGTK12" != 1; then
36414 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36415 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36416 wxUSE_DRAG_AND_DROP
=no
36420 if test "$wxUSE_MOTIF" = 1; then
36421 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36422 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36423 wxUSE_DRAG_AND_DROP
=no
36426 if test "$wxUSE_X11" = 1; then
36427 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36428 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36429 wxUSE_DRAG_AND_DROP
=no
36432 if test "$wxUSE_MGL" = 1; then
36433 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36434 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36435 wxUSE_DRAG_AND_DROP
=no
36438 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36439 cat >>confdefs.h
<<\_ACEOF
36440 #define wxUSE_DRAG_AND_DROP 1
36447 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36451 if test "$wxUSE_SPLINES" = "yes" ; then
36452 cat >>confdefs.h
<<\_ACEOF
36453 #define wxUSE_SPLINES 1
36460 if test "$wxUSE_CONTROLS" = "yes"; then
36464 if test "$wxUSE_ACCEL" = "yes"; then
36465 cat >>confdefs.h
<<\_ACEOF
36466 #define wxUSE_ACCEL 1
36472 if test "$wxUSE_BUTTON" = "yes"; then
36473 cat >>confdefs.h
<<\_ACEOF
36474 #define wxUSE_BUTTON 1
36480 if test "$wxUSE_BMPBUTTON" = "yes"; then
36481 cat >>confdefs.h
<<\_ACEOF
36482 #define wxUSE_BMPBUTTON 1
36488 if test "$wxUSE_CALCTRL" = "yes"; then
36489 cat >>confdefs.h
<<\_ACEOF
36490 #define wxUSE_CALENDARCTRL 1
36494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36497 if test "$wxUSE_CARET" = "yes"; then
36498 cat >>confdefs.h
<<\_ACEOF
36499 #define wxUSE_CARET 1
36503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36506 if test "$wxUSE_COMBOBOX" = "yes"; then
36507 cat >>confdefs.h
<<\_ACEOF
36508 #define wxUSE_COMBOBOX 1
36514 if test "$wxUSE_CHOICE" = "yes"; then
36515 cat >>confdefs.h
<<\_ACEOF
36516 #define wxUSE_CHOICE 1
36522 if test "$wxUSE_CHECKBOX" = "yes"; then
36523 cat >>confdefs.h
<<\_ACEOF
36524 #define wxUSE_CHECKBOX 1
36530 if test "$wxUSE_CHECKLST" = "yes"; then
36531 cat >>confdefs.h
<<\_ACEOF
36532 #define wxUSE_CHECKLISTBOX 1
36536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36539 if test "$wxUSE_DISPLAY" = "yes"; then
36540 cat >>confdefs.h
<<\_ACEOF
36541 #define wxUSE_DISPLAY 1
36544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36547 if test "$wxUSE_GAUGE" = "yes"; then
36548 cat >>confdefs.h
<<\_ACEOF
36549 #define wxUSE_GAUGE 1
36555 if test "$wxUSE_GRID" = "yes"; then
36556 cat >>confdefs.h
<<\_ACEOF
36557 #define wxUSE_GRID 1
36561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36564 if test "$wxUSE_IMAGLIST" = "yes"; then
36565 cat >>confdefs.h
<<\_ACEOF
36566 #define wxUSE_IMAGLIST 1
36571 if test "$wxUSE_LISTBOOK" = "yes"; then
36572 cat >>confdefs.h
<<\_ACEOF
36573 #define wxUSE_LISTBOOK 1
36579 if test "$wxUSE_LISTBOX" = "yes"; then
36580 cat >>confdefs.h
<<\_ACEOF
36581 #define wxUSE_LISTBOX 1
36587 if test "$wxUSE_LISTCTRL" = "yes"; then
36588 if test "$wxUSE_IMAGLIST" = "yes"; then
36589 cat >>confdefs.h
<<\_ACEOF
36590 #define wxUSE_LISTCTRL 1
36594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36596 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36597 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36601 if test "$wxUSE_NOTEBOOK" = "yes"; then
36602 cat >>confdefs.h
<<\_ACEOF
36603 #define wxUSE_NOTEBOOK 1
36607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36611 if test "$wxUSE_RADIOBOX" = "yes"; then
36612 cat >>confdefs.h
<<\_ACEOF
36613 #define wxUSE_RADIOBOX 1
36619 if test "$wxUSE_RADIOBTN" = "yes"; then
36620 cat >>confdefs.h
<<\_ACEOF
36621 #define wxUSE_RADIOBTN 1
36627 if test "$wxUSE_SASH" = "yes"; then
36628 cat >>confdefs.h
<<\_ACEOF
36629 #define wxUSE_SASH 1
36632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36635 if test "$wxUSE_SCROLLBAR" = "yes"; then
36636 cat >>confdefs.h
<<\_ACEOF
36637 #define wxUSE_SCROLLBAR 1
36641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36644 if test "$wxUSE_SLIDER" = "yes"; then
36645 cat >>confdefs.h
<<\_ACEOF
36646 #define wxUSE_SLIDER 1
36652 if test "$wxUSE_SPINBTN" = "yes"; then
36653 cat >>confdefs.h
<<\_ACEOF
36654 #define wxUSE_SPINBTN 1
36660 if test "$wxUSE_SPINCTRL" = "yes"; then
36661 cat >>confdefs.h
<<\_ACEOF
36662 #define wxUSE_SPINCTRL 1
36668 if test "$wxUSE_SPLITTER" = "yes"; then
36669 cat >>confdefs.h
<<\_ACEOF
36670 #define wxUSE_SPLITTER 1
36673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36676 if test "$wxUSE_STATBMP" = "yes"; then
36677 cat >>confdefs.h
<<\_ACEOF
36678 #define wxUSE_STATBMP 1
36684 if test "$wxUSE_STATBOX" = "yes"; then
36685 cat >>confdefs.h
<<\_ACEOF
36686 #define wxUSE_STATBOX 1
36692 if test "$wxUSE_STATTEXT" = "yes"; then
36693 cat >>confdefs.h
<<\_ACEOF
36694 #define wxUSE_STATTEXT 1
36700 if test "$wxUSE_STATLINE" = "yes"; then
36701 cat >>confdefs.h
<<\_ACEOF
36702 #define wxUSE_STATLINE 1
36708 if test "$wxUSE_STATUSBAR" = "yes"; then
36709 cat >>confdefs.h
<<\_ACEOF
36710 #define wxUSE_STATUSBAR 1
36715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36718 if test "$wxUSE_TABDIALOG" = "yes"; then
36719 cat >>confdefs.h
<<\_ACEOF
36720 #define wxUSE_TAB_DIALOG 1
36723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36726 if test "$wxUSE_TEXTCTRL" = "yes"; then
36727 cat >>confdefs.h
<<\_ACEOF
36728 #define wxUSE_TEXTCTRL 1
36732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36735 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36736 if test "$wxUSE_COCOA" = 1 ; then
36737 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36738 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36741 if test "$wxUSE_PM" = 1; then
36742 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36743 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36747 if test "$wxUSE_UNIVERSAL" = "yes"; then
36748 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36749 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36753 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36754 cat >>confdefs.h
<<\_ACEOF
36755 #define wxUSE_TOGGLEBTN 1
36762 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36763 cat >>confdefs.h
<<\_ACEOF
36764 #define wxUSE_TOOLBAR_SIMPLE 1
36767 wxUSE_TOOLBAR
="yes"
36771 if test "$wxUSE_TOOLBAR" = "yes"; then
36772 cat >>confdefs.h
<<\_ACEOF
36773 #define wxUSE_TOOLBAR 1
36778 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36779 wxUSE_TOOLBAR_NATIVE
="yes"
36782 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36783 cat >>confdefs.h
<<\_ACEOF
36784 #define wxUSE_TOOLBAR_NATIVE 1
36790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36793 if test "$wxUSE_TOOLTIPS" = "yes"; then
36794 if test "$wxUSE_MOTIF" = 1; then
36795 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36796 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36798 if test "$wxUSE_UNIVERSAL" = "yes"; then
36799 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36800 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36802 cat >>confdefs.h
<<\_ACEOF
36803 #define wxUSE_TOOLTIPS 1
36810 if test "$wxUSE_TREECTRL" = "yes"; then
36811 if test "$wxUSE_IMAGLIST" = "yes"; then
36812 cat >>confdefs.h
<<\_ACEOF
36813 #define wxUSE_TREECTRL 1
36817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36819 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36820 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36824 if test "$wxUSE_POPUPWIN" = "yes"; then
36825 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36826 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36827 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36829 if test "$wxUSE_PM" = 1; then
36830 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36831 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36833 cat >>confdefs.h
<<\_ACEOF
36834 #define wxUSE_POPUPWIN 1
36843 if test "$wxUSE_TIPWINDOW" = "yes"; then
36844 if test "$wxUSE_PM" = 1; then
36845 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36846 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36848 cat >>confdefs.h
<<\_ACEOF
36849 #define wxUSE_TIPWINDOW 1
36855 if test "$USES_CONTROLS" = 1; then
36856 cat >>confdefs.h
<<\_ACEOF
36857 #define wxUSE_CONTROLS 1
36863 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36864 cat >>confdefs.h
<<\_ACEOF
36865 #define wxUSE_ACCESSIBILITY 1
36868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36871 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36872 cat >>confdefs.h
<<\_ACEOF
36873 #define wxUSE_DRAGIMAGE 1
36876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36879 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36880 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36881 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36882 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36884 cat >>confdefs.h
<<\_ACEOF
36885 #define wxUSE_EXCEPTIONS 1
36888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36893 if test "$wxUSE_HTML" = "yes"; then
36894 cat >>confdefs.h
<<\_ACEOF
36895 #define wxUSE_HTML 1
36899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36900 if test "$wxUSE_MAC" = 1; then
36901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36904 if test "$wxUSE_WEBKIT" = "yes"; then
36905 if test "$wxUSE_MAC" = 1; then
36906 old_CPPFLAGS
="$CPPFLAGS"
36907 CPPFLAGS
="$CPPFLAGS -x objective-c++"
36908 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36909 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36910 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36911 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 cat >conftest.
$ac_ext <<_ACEOF
36916 cat confdefs.h
>>conftest.
$ac_ext
36917 cat >>conftest.
$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36919 #include <Carbon/Carbon.h>
36921 #include <WebKit/HIWebView.h>
36923 rm -f conftest.
$ac_objext
36924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36925 (eval $ac_compile) 2>conftest.er1
36927 grep -v '^ *+' conftest.er1
>conftest.err
36929 cat conftest.err
>&5
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); } &&
36932 { ac_try
='test -z "$ac_c_werror_flag"
36933 || test ! -s conftest.err'
36934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36935 (eval $ac_try) 2>&5
36937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36938 (exit $ac_status); }; } &&
36939 { ac_try
='test -s conftest.$ac_objext'
36940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36941 (eval $ac_try) 2>&5
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); }; }; then
36945 ac_cv_header_WebKit_HIWebView_h
=yes
36947 echo "$as_me: failed program was:" >&5
36948 sed 's/^/| /' conftest.
$ac_ext >&5
36950 ac_cv_header_WebKit_HIWebView_h
=no
36952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36954 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36955 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36956 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36958 cat >>confdefs.h
<<\_ACEOF
36959 #define wxUSE_WEBKIT 1
36962 WEBKIT_LINK
="-framework WebKit"
36966 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36967 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36973 CPPFLAGS
="$old_CPPFLAGS"
36974 elif test "$wxUSE_COCOA" = 1; then
36975 cat >>confdefs.h
<<\_ACEOF
36976 #define wxUSE_WEBKIT 1
36985 if test "$wxUSE_MENUS" = "yes"; then
36986 cat >>confdefs.h
<<\_ACEOF
36987 #define wxUSE_MENUS 1
36990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36993 if test "$wxUSE_METAFILE" = "yes"; then
36994 cat >>confdefs.h
<<\_ACEOF
36995 #define wxUSE_METAFILE 1
37000 if test "$wxUSE_MIMETYPE" = "yes"; then
37001 cat >>confdefs.h
<<\_ACEOF
37002 #define wxUSE_MIMETYPE 1
37007 if test "$wxUSE_MINIFRAME" = "yes"; then
37008 cat >>confdefs.h
<<\_ACEOF
37009 #define wxUSE_MINIFRAME 1
37012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37015 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37016 cat >>confdefs.h
<<\_ACEOF
37017 #define wxUSE_SYSTEM_OPTIONS 1
37020 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37021 "$TOOLKIT" = "MOTIF"; then
37022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37027 if test "$wxUSE_VALIDATORS" = "yes"; then
37028 cat >>confdefs.h
<<\_ACEOF
37029 #define wxUSE_VALIDATORS 1
37032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37035 if test "$wxUSE_PALETTE" = "yes" ; then
37036 cat >>confdefs.h
<<\_ACEOF
37037 #define wxUSE_PALETTE 1
37042 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37043 LIBS
=" -lunicows $LIBS"
37047 if test "$wxUSE_IMAGE" = "yes" ; then
37048 cat >>confdefs.h
<<\_ACEOF
37049 #define wxUSE_IMAGE 1
37053 if test "$wxUSE_GIF" = "yes" ; then
37054 cat >>confdefs.h
<<\_ACEOF
37055 #define wxUSE_GIF 1
37060 if test "$wxUSE_PCX" = "yes" ; then
37061 cat >>confdefs.h
<<\_ACEOF
37062 #define wxUSE_PCX 1
37067 if test "$wxUSE_IFF" = "yes" ; then
37068 cat >>confdefs.h
<<\_ACEOF
37069 #define wxUSE_IFF 1
37074 if test "$wxUSE_PNM" = "yes" ; then
37075 cat >>confdefs.h
<<\_ACEOF
37076 #define wxUSE_PNM 1
37081 if test "$wxUSE_XPM" = "yes" ; then
37082 cat >>confdefs.h
<<\_ACEOF
37083 #define wxUSE_XPM 1
37088 if test "$wxUSE_ICO_CUR" = "yes" ; then
37089 cat >>confdefs.h
<<\_ACEOF
37090 #define wxUSE_ICO_CUR 1
37097 if test "$wxUSE_CHOICEDLG" = "yes"; then
37098 cat >>confdefs.h
<<\_ACEOF
37099 #define wxUSE_CHOICEDLG 1
37104 if test "$wxUSE_COLOURDLG" = "yes"; then
37105 cat >>confdefs.h
<<\_ACEOF
37106 #define wxUSE_COLOURDLG 1
37111 if test "$wxUSE_FILEDLG" = "yes"; then
37112 cat >>confdefs.h
<<\_ACEOF
37113 #define wxUSE_FILEDLG 1
37118 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37119 cat >>confdefs.h
<<\_ACEOF
37120 #define wxUSE_FINDREPLDLG 1
37125 if test "$wxUSE_FONTDLG" = "yes"; then
37126 cat >>confdefs.h
<<\_ACEOF
37127 #define wxUSE_FONTDLG 1
37132 if test "$wxUSE_DIRDLG" = "yes"; then
37133 if test "$wxUSE_TREECTRL" != "yes"; then
37134 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37135 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37137 cat >>confdefs.h
<<\_ACEOF
37138 #define wxUSE_DIRDLG 1
37144 if test "$wxUSE_MSGDLG" = "yes"; then
37145 cat >>confdefs.h
<<\_ACEOF
37146 #define wxUSE_MSGDLG 1
37151 if test "$wxUSE_NUMBERDLG" = "yes"; then
37152 cat >>confdefs.h
<<\_ACEOF
37153 #define wxUSE_NUMBERDLG 1
37158 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37159 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37160 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37161 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37163 cat >>confdefs.h
<<\_ACEOF
37164 #define wxUSE_PROGRESSDLG 1
37170 if test "$wxUSE_SPLASH" = "yes"; then
37171 cat >>confdefs.h
<<\_ACEOF
37172 #define wxUSE_SPLASH 1
37175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37178 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37179 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37180 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37181 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37183 cat >>confdefs.h
<<\_ACEOF
37184 #define wxUSE_STARTUP_TIPS 1
37190 if test "$wxUSE_TEXTDLG" = "yes"; then
37191 cat >>confdefs.h
<<\_ACEOF
37192 #define wxUSE_TEXTDLG 1
37197 if test "$wxUSE_WIZARDDLG" = "yes"; then
37198 cat >>confdefs.h
<<\_ACEOF
37199 #define wxUSE_WIZARDDLG 1
37202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37206 if test "$cross_compiling" = "yes"; then
37209 OSINFO
=`uname -s -r -m`
37210 OSINFO
="\"$OSINFO\""
37213 cat >>confdefs.h
<<_ACEOF
37214 #define WXWIN_OS_DESCRIPTION $OSINFO
37219 if test "x$prefix" != "xNONE"; then
37222 wxPREFIX
=$ac_default_prefix
37225 cat >>confdefs.h
<<_ACEOF
37226 #define wxINSTALL_PREFIX "$wxPREFIX"
37230 top_builddir_wxconfig
=`pwd`
37234 CORE_BASE_LIBS
="net base"
37235 CORE_GUI_LIBS
="adv core"
37237 if test "$wxUSE_XML" = "yes" ; then
37238 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37240 if test "$wxUSE_ODBC" != "no" ; then
37241 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37242 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37244 if test "$wxUSE_HTML" = "yes" ; then
37245 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37248 if test "$wxUSE_GUI" != "yes"; then
37259 if test "$wxUSE_MAC" = 1 ; then
37260 if test "$wxUSE_SOUND" = "yes"; then
37261 LDFLAGS
="$LDFLAGS -framework QuickTime"
37263 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37265 if test "$wxUSE_COCOA" = 1 ; then
37266 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37270 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37277 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37278 echo "$as_me:$LINENO: checking for $ac_func" >&5
37279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37280 if eval "test \"\${$as_ac_var+set}\" = set"; then
37281 echo $ECHO_N "(cached) $ECHO_C" >&6
37283 cat >conftest.
$ac_ext <<_ACEOF
37286 cat confdefs.h
>>conftest.
$ac_ext
37287 cat >>conftest.
$ac_ext <<_ACEOF
37288 /* end confdefs.h. */
37289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37291 #define $ac_func innocuous_$ac_func
37293 /* System header to define __stub macros and hopefully few prototypes,
37294 which can conflict with char $ac_func (); below.
37295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37296 <limits.h> exists even on freestanding compilers. */
37299 # include <limits.h>
37301 # include <assert.h>
37306 /* Override any gcc2 internal prototype to avoid an error. */
37311 /* We use char because int might match the return type of a gcc2
37312 builtin and then its argument prototype would still apply. */
37314 /* The GNU C library defines this for functions which it implements
37315 to always fail with ENOSYS. Some functions are actually named
37316 something starting with __ and the normal name is an alias. */
37317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37320 char (*f) () = $ac_func;
37329 return f != $ac_func;
37334 rm -f conftest.
$ac_objext conftest
$ac_exeext
37335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37336 (eval $ac_link) 2>conftest.er1
37338 grep -v '^ *+' conftest.er1
>conftest.err
37340 cat conftest.err
>&5
37341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37342 (exit $ac_status); } &&
37343 { ac_try
='test -z "$ac_c_werror_flag"
37344 || test ! -s conftest.err'
37345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37346 (eval $ac_try) 2>&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); }; } &&
37350 { ac_try
='test -s conftest$ac_exeext'
37351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37352 (eval $ac_try) 2>&5
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); }; }; then
37356 eval "$as_ac_var=yes"
37358 echo "$as_me: failed program was:" >&5
37359 sed 's/^/| /' conftest.
$ac_ext >&5
37361 eval "$as_ac_var=no"
37363 rm -f conftest.err conftest.
$ac_objext \
37364 conftest
$ac_exeext conftest.
$ac_ext
37366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37368 if test `eval echo '${'$as_ac_var'}'` = yes; then
37369 cat >>confdefs.h
<<_ACEOF
37370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37377 for ac_func
in floor
37379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37380 echo "$as_me:$LINENO: checking for $ac_func" >&5
37381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37382 if eval "test \"\${$as_ac_var+set}\" = set"; then
37383 echo $ECHO_N "(cached) $ECHO_C" >&6
37385 cat >conftest.
$ac_ext <<_ACEOF
37388 cat confdefs.h
>>conftest.
$ac_ext
37389 cat >>conftest.
$ac_ext <<_ACEOF
37390 /* end confdefs.h. */
37391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37393 #define $ac_func innocuous_$ac_func
37395 /* System header to define __stub macros and hopefully few prototypes,
37396 which can conflict with char $ac_func (); below.
37397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37398 <limits.h> exists even on freestanding compilers. */
37401 # include <limits.h>
37403 # include <assert.h>
37408 /* Override any gcc2 internal prototype to avoid an error. */
37413 /* We use char because int might match the return type of a gcc2
37414 builtin and then its argument prototype would still apply. */
37416 /* The GNU C library defines this for functions which it implements
37417 to always fail with ENOSYS. Some functions are actually named
37418 something starting with __ and the normal name is an alias. */
37419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37422 char (*f) () = $ac_func;
37431 return f != $ac_func;
37436 rm -f conftest.
$ac_objext conftest
$ac_exeext
37437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37438 (eval $ac_link) 2>conftest.er1
37440 grep -v '^ *+' conftest.er1
>conftest.err
37442 cat conftest.err
>&5
37443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37444 (exit $ac_status); } &&
37445 { ac_try
='test -z "$ac_c_werror_flag"
37446 || test ! -s conftest.err'
37447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37448 (eval $ac_try) 2>&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); }; } &&
37452 { ac_try
='test -s conftest$ac_exeext'
37453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37454 (eval $ac_try) 2>&5
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); }; }; then
37458 eval "$as_ac_var=yes"
37460 echo "$as_me: failed program was:" >&5
37461 sed 's/^/| /' conftest.
$ac_ext >&5
37463 eval "$as_ac_var=no"
37465 rm -f conftest.err conftest.
$ac_objext \
37466 conftest
$ac_exeext conftest.
$ac_ext
37468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37470 if test `eval echo '${'$as_ac_var'}'` = yes; then
37471 cat >>confdefs.h
<<_ACEOF
37472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37478 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37479 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37480 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37481 echo "$as_me:$LINENO: result: yes" >&5
37482 echo "${ECHO_T}yes" >&6
37484 echo "$as_me:$LINENO: result: no" >&5
37485 echo "${ECHO_T}no" >&6
37487 # use different functions to avoid configure caching
37493 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37494 echo "$as_me:$LINENO: checking for $ac_func" >&5
37495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37496 if eval "test \"\${$as_ac_var+set}\" = set"; then
37497 echo $ECHO_N "(cached) $ECHO_C" >&6
37499 cat >conftest.
$ac_ext <<_ACEOF
37502 cat confdefs.h
>>conftest.
$ac_ext
37503 cat >>conftest.
$ac_ext <<_ACEOF
37504 /* end confdefs.h. */
37505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37507 #define $ac_func innocuous_$ac_func
37509 /* System header to define __stub macros and hopefully few prototypes,
37510 which can conflict with char $ac_func (); below.
37511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37512 <limits.h> exists even on freestanding compilers. */
37515 # include <limits.h>
37517 # include <assert.h>
37522 /* Override any gcc2 internal prototype to avoid an error. */
37527 /* We use char because int might match the return type of a gcc2
37528 builtin and then its argument prototype would still apply. */
37530 /* The GNU C library defines this for functions which it implements
37531 to always fail with ENOSYS. Some functions are actually named
37532 something starting with __ and the normal name is an alias. */
37533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37536 char (*f) () = $ac_func;
37545 return f != $ac_func;
37550 rm -f conftest.
$ac_objext conftest
$ac_exeext
37551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37552 (eval $ac_link) 2>conftest.er1
37554 grep -v '^ *+' conftest.er1
>conftest.err
37556 cat conftest.err
>&5
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); } &&
37559 { ac_try
='test -z "$ac_c_werror_flag"
37560 || test ! -s conftest.err'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; } &&
37566 { ac_try
='test -s conftest$ac_exeext'
37567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37568 (eval $ac_try) 2>&5
37570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37571 (exit $ac_status); }; }; then
37572 eval "$as_ac_var=yes"
37574 echo "$as_me: failed program was:" >&5
37575 sed 's/^/| /' conftest.
$ac_ext >&5
37577 eval "$as_ac_var=no"
37579 rm -f conftest.err conftest.
$ac_objext \
37580 conftest
$ac_exeext conftest.
$ac_ext
37582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37584 if test `eval echo '${'$as_ac_var'}'` = yes; then
37585 cat >>confdefs.h
<<_ACEOF
37586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37593 for ac_func
in ceil
37595 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37596 echo "$as_me:$LINENO: checking for $ac_func" >&5
37597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37598 if eval "test \"\${$as_ac_var+set}\" = set"; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37601 cat >conftest.
$ac_ext <<_ACEOF
37604 cat confdefs.h
>>conftest.
$ac_ext
37605 cat >>conftest.
$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define $ac_func innocuous_$ac_func
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char $ac_func (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37617 # include <limits.h>
37619 # include <assert.h>
37624 /* Override any gcc2 internal prototype to avoid an error. */
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37638 char (*f) () = $ac_func;
37647 return f != $ac_func;
37652 rm -f conftest.
$ac_objext conftest
$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37656 grep -v '^ *+' conftest.er1
>conftest.err
37658 cat conftest.err
>&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try
='test -z "$ac_c_werror_flag"
37662 || test ! -s conftest.err'
37663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37664 (eval $ac_try) 2>&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; } &&
37668 { ac_try
='test -s conftest$ac_exeext'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; }; then
37674 eval "$as_ac_var=yes"
37676 echo "$as_me: failed program was:" >&5
37677 sed 's/^/| /' conftest.
$ac_ext >&5
37679 eval "$as_ac_var=no"
37681 rm -f conftest.err conftest.
$ac_objext \
37682 conftest
$ac_exeext conftest.
$ac_ext
37684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37686 if test `eval echo '${'$as_ac_var'}'` = yes; then
37687 cat >>confdefs.h
<<_ACEOF
37688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37694 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37695 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37696 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37697 echo "$as_me:$LINENO: result: yes" >&5
37698 echo "${ECHO_T}yes" >&6
37700 echo "$as_me:$LINENO: result: no" >&5
37701 echo "${ECHO_T}no" >&6
37702 # not sure we should warn the user, crash, etc.
37706 if test "$wxUSE_GUI" = "yes"; then
37709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37710 drawing dynamic erase event exec font image \
37711 minimal propsize rotate shaped widgets render"
37713 if test "$wxUSE_MONOLITHIC" != "yes"; then
37714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37717 SAMPLES_SUBDIRS
="console"
37721 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37722 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37724 if test "$GXX" = yes ; then
37725 CXXWARNINGS
="-Wall"
37728 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37730 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37731 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37732 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37735 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37736 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37737 EXTRALIBS_XML
="$EXPAT_LINK"
37738 EXTRALIBS_HTML
="$MSPACK_LINK"
37739 EXTRALIBS_ODBC
="$ODBC_LINK"
37740 if test "$wxUSE_GUI" = "yes"; then
37741 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK | sed 's/ \+/ /g'`
37743 if test "$wxUSE_OPENGL" = "yes"; then
37744 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37747 LDFLAGS
="$LDFLAGS $PROFILE"
37749 if test "$wxUSE_GTK" = 1; then
37752 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37755 WXCONFIG_EXTRALIBS
="$LIBS"
37757 if test "$wxUSE_REGEX" = "builtin" ; then
37758 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37760 if test "$wxUSE_EXPAT" = "builtin" ; then
37761 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37763 if test "$wxUSE_ODBC" = "builtin" ; then
37764 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37766 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37767 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37769 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37770 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37772 if test "$wxUSE_LIBPNG" = "builtin" ; then
37773 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37775 if test "$wxUSE_ZLIB" = "builtin" ; then
37776 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37778 if test "$wxUSE_ODBC" = "builtin" ; then
37779 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37782 for i
in $wxconfig_3rdparty ; do
37783 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37787 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37801 if test $wxUSE_MONOLITHIC = "yes" ; then
37807 if test $wxUSE_PLUGINS = "yes" ; then
37813 if test $wxUSE_ODBC != "no" ; then
37819 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37845 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37855 if test "x$BAKEFILE_HOST" = "x"; then
37856 BAKEFILE_HOST
="${host}"
37859 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37861 if test -n "$ac_tool_prefix"; then
37862 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37863 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37864 echo "$as_me:$LINENO: checking for $ac_word" >&5
37865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37866 if test "${ac_cv_prog_RANLIB+set}" = set; then
37867 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 if test -n "$RANLIB"; then
37870 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37873 for as_dir
in $PATH
37876 test -z "$as_dir" && as_dir
=.
37877 for ac_exec_ext
in '' $ac_executable_extensions; do
37878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37879 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37888 RANLIB
=$ac_cv_prog_RANLIB
37889 if test -n "$RANLIB"; then
37890 echo "$as_me:$LINENO: result: $RANLIB" >&5
37891 echo "${ECHO_T}$RANLIB" >&6
37893 echo "$as_me:$LINENO: result: no" >&5
37894 echo "${ECHO_T}no" >&6
37898 if test -z "$ac_cv_prog_RANLIB"; then
37899 ac_ct_RANLIB
=$RANLIB
37900 # Extract the first word of "ranlib", so it can be a program name with args.
37901 set dummy ranlib
; ac_word
=$2
37902 echo "$as_me:$LINENO: checking for $ac_word" >&5
37903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37904 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37905 echo $ECHO_N "(cached) $ECHO_C" >&6
37907 if test -n "$ac_ct_RANLIB"; then
37908 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37911 for as_dir
in $PATH
37914 test -z "$as_dir" && as_dir
=.
37915 for ac_exec_ext
in '' $ac_executable_extensions; do
37916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37917 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37924 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37927 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37928 if test -n "$ac_ct_RANLIB"; then
37929 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37930 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37932 echo "$as_me:$LINENO: result: no" >&5
37933 echo "${ECHO_T}no" >&6
37936 RANLIB
=$ac_ct_RANLIB
37938 RANLIB
="$ac_cv_prog_RANLIB"
37941 # Find a good install program. We prefer a C program (faster),
37942 # so one script is as good as another. But avoid the broken or
37943 # incompatible versions:
37944 # SysV /etc/install, /usr/sbin/install
37945 # SunOS /usr/etc/install
37946 # IRIX /sbin/install
37948 # AmigaOS /C/install, which installs bootblocks on floppy discs
37949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37952 # OS/2's system install, which has a completely different semantic
37953 # ./install, which can be erroneously created by make from ./install.sh.
37954 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37955 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37956 if test -z "$INSTALL"; then
37957 if test "${ac_cv_path_install+set}" = set; then
37958 echo $ECHO_N "(cached) $ECHO_C" >&6
37960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37961 for as_dir
in $PATH
37964 test -z "$as_dir" && as_dir
=.
37965 # Account for people who put trailing slashes in PATH elements.
37967 .
/ | .
// | /cC
/* | \
37968 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37969 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37972 # OSF1 and SCO ODT 3.0 have their own names for install.
37973 # Don't use installbsd from OSF since it installs stuff as root
37975 for ac_prog
in ginstall scoinst
install; do
37976 for ac_exec_ext
in '' $ac_executable_extensions; do
37977 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37978 if test $ac_prog = install &&
37979 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37980 # AIX install. It has an incompatible calling convention.
37982 elif test $ac_prog = install &&
37983 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37984 # program-specific install script used by HP pwplus--don't use.
37987 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37999 if test "${ac_cv_path_install+set}" = set; then
38000 INSTALL
=$ac_cv_path_install
38002 # As a last resort, use the slow shell script. We don't cache a
38003 # path for INSTALL within a source directory, because that will
38004 # break other packages using the cache if that directory is
38005 # removed, or if the path is relative.
38006 INSTALL
=$ac_install_sh
38009 echo "$as_me:$LINENO: result: $INSTALL" >&5
38010 echo "${ECHO_T}$INSTALL" >&6
38012 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38013 # It thinks the first close brace ends the variable substitution.
38014 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38016 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38018 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38020 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38021 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38023 if test "$LN_S" = "ln -s"; then
38024 echo "$as_me:$LINENO: result: yes" >&5
38025 echo "${ECHO_T}yes" >&6
38027 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38028 echo "${ECHO_T}no, using $LN_S" >&6
38032 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38033 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38034 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38035 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38038 cat >conftest.
make <<\_ACEOF
38040 @
echo 'ac_maketemp="$(MAKE)"'
38042 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38043 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38044 if test -n "$ac_maketemp"; then
38045 eval ac_cv_prog_make_
${ac_make}_set
=yes
38047 eval ac_cv_prog_make_
${ac_make}_set
=no
38049 rm -f conftest.
make
38051 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38052 echo "$as_me:$LINENO: result: yes" >&5
38053 echo "${ECHO_T}yes" >&6
38056 echo "$as_me:$LINENO: result: no" >&5
38057 echo "${ECHO_T}no" >&6
38058 SET_MAKE
="MAKE=${MAKE-make}"
38063 if test -n "$ac_tool_prefix"; then
38064 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38065 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38066 echo "$as_me:$LINENO: checking for $ac_word" >&5
38067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38068 if test "${ac_cv_prog_AR+set}" = set; then
38069 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 if test -n "$AR"; then
38072 ac_cv_prog_AR
="$AR" # Let the user override the test.
38074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38075 for as_dir
in $PATH
38078 test -z "$as_dir" && as_dir
=.
38079 for ac_exec_ext
in '' $ac_executable_extensions; do
38080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38081 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38091 if test -n "$AR"; then
38092 echo "$as_me:$LINENO: result: $AR" >&5
38093 echo "${ECHO_T}$AR" >&6
38095 echo "$as_me:$LINENO: result: no" >&5
38096 echo "${ECHO_T}no" >&6
38100 if test -z "$ac_cv_prog_AR"; then
38102 # Extract the first word of "ar", so it can be a program name with args.
38103 set dummy
ar; ac_word
=$2
38104 echo "$as_me:$LINENO: checking for $ac_word" >&5
38105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38106 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38107 echo $ECHO_N "(cached) $ECHO_C" >&6
38109 if test -n "$ac_ct_AR"; then
38110 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38113 for as_dir
in $PATH
38116 test -z "$as_dir" && as_dir
=.
38117 for ac_exec_ext
in '' $ac_executable_extensions; do
38118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38119 ac_cv_prog_ac_ct_AR
="ar"
38120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38126 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38129 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38130 if test -n "$ac_ct_AR"; then
38131 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38132 echo "${ECHO_T}$ac_ct_AR" >&6
38134 echo "$as_me:$LINENO: result: no" >&5
38135 echo "${ECHO_T}no" >&6
38140 AR
="$ac_cv_prog_AR"
38143 if test -n "$ac_tool_prefix"; then
38144 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38145 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38146 echo "$as_me:$LINENO: checking for $ac_word" >&5
38147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38148 if test "${ac_cv_prog_STRIP+set}" = set; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 if test -n "$STRIP"; then
38152 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38155 for as_dir
in $PATH
38158 test -z "$as_dir" && as_dir
=.
38159 for ac_exec_ext
in '' $ac_executable_extensions; do
38160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38161 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38170 STRIP
=$ac_cv_prog_STRIP
38171 if test -n "$STRIP"; then
38172 echo "$as_me:$LINENO: result: $STRIP" >&5
38173 echo "${ECHO_T}$STRIP" >&6
38175 echo "$as_me:$LINENO: result: no" >&5
38176 echo "${ECHO_T}no" >&6
38180 if test -z "$ac_cv_prog_STRIP"; then
38182 # Extract the first word of "strip", so it can be a program name with args.
38183 set dummy strip
; ac_word
=$2
38184 echo "$as_me:$LINENO: checking for $ac_word" >&5
38185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38186 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38187 echo $ECHO_N "(cached) $ECHO_C" >&6
38189 if test -n "$ac_ct_STRIP"; then
38190 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38193 for as_dir
in $PATH
38196 test -z "$as_dir" && as_dir
=.
38197 for ac_exec_ext
in '' $ac_executable_extensions; do
38198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38199 ac_cv_prog_ac_ct_STRIP
="strip"
38200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38206 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38209 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38210 if test -n "$ac_ct_STRIP"; then
38211 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38212 echo "${ECHO_T}$ac_ct_STRIP" >&6
38214 echo "$as_me:$LINENO: result: no" >&5
38215 echo "${ECHO_T}no" >&6
38220 STRIP
="$ac_cv_prog_STRIP"
38223 if test -n "$ac_tool_prefix"; then
38224 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38225 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38226 echo "$as_me:$LINENO: checking for $ac_word" >&5
38227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38228 if test "${ac_cv_prog_NM+set}" = set; then
38229 echo $ECHO_N "(cached) $ECHO_C" >&6
38231 if test -n "$NM"; then
38232 ac_cv_prog_NM
="$NM" # Let the user override the test.
38234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38235 for as_dir
in $PATH
38238 test -z "$as_dir" && as_dir
=.
38239 for ac_exec_ext
in '' $ac_executable_extensions; do
38240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38241 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38251 if test -n "$NM"; then
38252 echo "$as_me:$LINENO: result: $NM" >&5
38253 echo "${ECHO_T}$NM" >&6
38255 echo "$as_me:$LINENO: result: no" >&5
38256 echo "${ECHO_T}no" >&6
38260 if test -z "$ac_cv_prog_NM"; then
38262 # Extract the first word of "nm", so it can be a program name with args.
38263 set dummy nm
; ac_word
=$2
38264 echo "$as_me:$LINENO: checking for $ac_word" >&5
38265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38266 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38267 echo $ECHO_N "(cached) $ECHO_C" >&6
38269 if test -n "$ac_ct_NM"; then
38270 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38273 for as_dir
in $PATH
38276 test -z "$as_dir" && as_dir
=.
38277 for ac_exec_ext
in '' $ac_executable_extensions; do
38278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38279 ac_cv_prog_ac_ct_NM
="nm"
38280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38286 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38289 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38290 if test -n "$ac_ct_NM"; then
38291 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38292 echo "${ECHO_T}$ac_ct_NM" >&6
38294 echo "$as_me:$LINENO: result: no" >&5
38295 echo "${ECHO_T}no" >&6
38300 NM
="$ac_cv_prog_NM"
38304 case ${BAKEFILE_HOST} in
38306 INSTALL_DIR
="mkdir"
38308 *) INSTALL_DIR
="$INSTALL -d"
38314 case ${BAKEFILE_HOST} in
38315 *-*-cygwin* | *-*-mingw32* )
38316 LDFLAGS_GUI
="-mwindows"
38322 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38323 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38324 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38325 echo $ECHO_N "(cached) $ECHO_C" >&6
38328 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38329 egrep -s GNU
> /dev
/null
); then
38330 bakefile_cv_prog_makeisgnu
="yes"
38332 bakefile_cv_prog_makeisgnu
="no"
38336 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38337 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38339 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38354 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38355 case "${BAKEFILE_HOST}" in
38356 *-*-cygwin* | *-*-mingw32* )
38362 *-pc-os2_emx | *-pc-os2-emx )
38365 powerpc
-*-darwin* )
38374 case "$BAKEFILE_FORCE_PLATFORM" in
38392 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38393 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38394 { (exit 1); exit 1; }; }
38407 # Check whether --enable-omf or --disable-omf was given.
38408 if test "${enable_omf+set}" = set; then
38409 enableval
="$enable_omf"
38410 bk_os2_use_omf
="$enableval"
38413 case "${BAKEFILE_HOST}" in
38415 CFLAGS
="$CFLAGS -fno-common"
38416 CXXFLAGS
="$CXXFLAGS -fno-common"
38419 *-pc-os2_emx | *-pc-os2-emx )
38420 if test "x$bk_os2_use_omf" = "xyes" ; then
38423 LDFLAGS
="-Zomf $LDFLAGS"
38424 CFLAGS
="-Zomf $CFLAGS"
38425 CXXFLAGS
="-Zomf $CXXFLAGS"
38435 SO_SUFFIX_MODULE
="so"
38440 DLLPREFIX_MODULE
=""
38443 case "${BAKEFILE_HOST}" in
38446 SO_SUFFIX_MODULE
="sl"
38450 SO_SUFFIX_MODULE
="a"
38452 *-*-cygwin* | *-*-mingw32* )
38454 SO_SUFFIX_MODULE
="dll"
38455 DLLIMP_SUFFIX
="dll.a"
38463 *-pc-os2_emx | *-pc-os2-emx )
38465 SO_SUFFIX_MODULE
="dll"
38466 DLLIMP_SUFFIX
=$OS2_LIBEXT
38470 LIBEXT
=".$OS2_LIBEXT"
38472 powerpc
-*-darwin* )
38474 SO_SUFFIX_MODULE
="bundle"
38478 if test "x$DLLIMP_SUFFIX" = "x" ; then
38479 DLLIMP_SUFFIX
="$SO_SUFFIX"
38492 SHARED_LD_CC
="\$(CC) -shared -o"
38493 SHARED_LD_CXX
="\$(CXX) -shared -o"
38495 if test "x$GCC" = "xyes"; then
38499 case "${BAKEFILE_HOST}" in
38501 if test "x$GCC" = "xyes"; then
38502 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38503 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38505 LDFLAGS
="$LDFLAGS -L/usr/lib"
38507 SHARED_LD_CC
="${CC} -b -o"
38508 SHARED_LD_CXX
="${CXX} -b -o"
38514 if test "x$GCC" != "xyes"; then
38515 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38516 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38517 if test "${bakefile_cv_prog_icc+set}" = set; then
38518 echo $ECHO_N "(cached) $ECHO_C" >&6
38521 cat >conftest.
$ac_ext <<_ACEOF
38524 cat confdefs.h
>>conftest.
$ac_ext
38525 cat >>conftest.
$ac_ext <<_ACEOF
38526 /* end confdefs.h. */
38532 #ifndef __INTEL_COMPILER
38540 rm -f conftest.
$ac_objext
38541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38542 (eval $ac_compile) 2>conftest.er1
38544 grep -v '^ *+' conftest.er1
>conftest.err
38546 cat conftest.err
>&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } &&
38549 { ac_try
='test -z "$ac_c_werror_flag"
38550 || test ! -s conftest.err'
38551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38552 (eval $ac_try) 2>&5
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); }; } &&
38556 { ac_try
='test -s conftest.$ac_objext'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; }; then
38562 bakefile_cv_prog_icc
=yes
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.
$ac_ext >&5
38567 bakefile_cv_prog_icc
=no
38570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38573 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38574 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38575 if test "$bakefile_cv_prog_icc" = "yes"; then
38582 if test "x$GCC" != xyes
; then
38583 SHARED_LD_CC
="${CC} -G -o"
38584 SHARED_LD_CXX
="${CXX} -G -o"
38591 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38592 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38593 if test "${wx_cv_gcc31+set}" = set; then
38594 echo $ECHO_N "(cached) $ECHO_C" >&6
38597 cat >conftest.
$ac_ext <<_ACEOF
38600 cat confdefs.h
>>conftest.
$ac_ext
38601 cat >>conftest.
$ac_ext <<_ACEOF
38602 /* end confdefs.h. */
38608 #if (__GNUC__ < 3) || \
38609 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38617 rm -f conftest.
$ac_objext
38618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38619 (eval $ac_compile) 2>conftest.er1
38621 grep -v '^ *+' conftest.er1
>conftest.err
38623 cat conftest.err
>&5
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); } &&
38626 { ac_try
='test -z "$ac_c_werror_flag"
38627 || test ! -s conftest.err'
38628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38629 (eval $ac_try) 2>&5
38631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38632 (exit $ac_status); }; } &&
38633 { ac_try
='test -s conftest.$ac_objext'
38634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38635 (eval $ac_try) 2>&5
38637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38638 (exit $ac_status); }; }; then
38643 echo "$as_me: failed program was:" >&5
38644 sed 's/^/| /' conftest.
$ac_ext >&5
38651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38654 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38655 echo "${ECHO_T}$wx_cv_gcc31" >&6
38656 if test "$wx_cv_gcc31" = "no"; then
38659 cat <<EOF >shared-ld-sh
38661 #-----------------------------------------------------------------------------
38662 #-- Name: distrib/mac/shared-ld-sh
38663 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38664 #-- Author: Gilles Depeyrot
38665 #-- Copyright: (c) 2002 Gilles Depeyrot
38666 #-- Licence: any use permitted
38667 #-----------------------------------------------------------------------------
38672 linking_flag="-dynamiclib"
38674 while test ${D}# -gt 0; do
38681 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38682 # collect these options and values
38683 args="${D}{args} ${D}1 ${D}2"
38687 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38688 # collect these options
38689 args="${D}{args} ${D}1"
38692 -dynamiclib|-bundle)
38693 linking_flag="${D}1"
38697 echo "shared-ld: unhandled option '${D}1'"
38701 *.o | *.a | *.dylib)
38702 # collect object files
38703 objects="${D}{objects} ${D}1"
38707 echo "shared-ld: unhandled argument '${D}1'"
38716 # Link one module containing all the others
38718 if test ${D}{verbose} = 1; then
38719 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38721 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38723 if test ${D}{status} != 0; then
38728 # Link the shared library from the single module created
38730 if test ${D}{verbose} = 1; then
38731 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38733 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38735 if test ${D}{status} != 0; then
38740 # Remove intermediate module
38742 rm -f master.${D}${D}.o
38747 chmod +x shared
-ld-sh
38749 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38750 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38751 SHARED_LD_CXX
="$SHARED_LD_CC"
38752 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38754 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38755 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38756 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38757 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38760 PIC_FLAG
="-dynamic -fPIC"
38764 if test "x$GCC" != "xyes"; then
38765 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38766 set dummy makeC
++SharedLib
; ac_word
=$2
38767 echo "$as_me:$LINENO: checking for $ac_word" >&5
38768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38769 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38770 echo $ECHO_N "(cached) $ECHO_C" >&6
38772 if test -n "$AIX_CXX_LD"; then
38773 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38776 for as_dir
in $PATH
38779 test -z "$as_dir" && as_dir
=.
38780 for ac_exec_ext
in '' $ac_executable_extensions; do
38781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38782 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38789 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38792 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38793 if test -n "$AIX_CXX_LD"; then
38794 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38795 echo "${ECHO_T}$AIX_CXX_LD" >&6
38797 echo "$as_me:$LINENO: result: no" >&5
38798 echo "${ECHO_T}no" >&6
38801 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38802 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38807 SHARED_LD_CC
="${LD} -shared -o"
38808 SHARED_LD_CXX
="${LD} -shared -o"
38812 if test "x$GCC" != "xyes"; then
38817 *-*-cygwin* | *-*-mingw32* )
38821 *-pc-os2_emx | *-pc-os2-emx )
38822 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38823 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38827 cat <<EOF >dllar.sh
38830 # dllar - a tool to build both a .dll and an .a file
38831 # from a set of object (.o) files for EMX/OS2.
38833 # Written by Andrew Zabolotny, bit@freya.etu.ru
38834 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38836 # This script will accept a set of files on the command line.
38837 # All the public symbols from the .o files will be exported into
38838 # a .DEF file, then linker will be run (through gcc) against them to
38839 # build a shared library consisting of all given .o files. All libraries
38840 # (.a) will be first decompressed into component .o files then act as
38841 # described above. You can optionally give a description (-d "description")
38842 # which will be put into .DLL. To see the list of accepted options (as well
38843 # as command-line format) simply run this program without options. The .DLL
38844 # is built to be imported by name (there is no guarantee that new versions
38845 # of the library you build will have same ordinals for same symbols).
38847 # dllar is free software; you can redistribute it and/or modify
38848 # it under the terms of the GNU General Public License as published by
38849 # the Free Software Foundation; either version 2, or (at your option)
38850 # any later version.
38852 # dllar is distributed in the hope that it will be useful,
38853 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38854 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38855 # GNU General Public License for more details.
38857 # You should have received a copy of the GNU General Public License
38858 # along with dllar; see the file COPYING. If not, write to the Free
38859 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38862 # To successfuly run this program you will need:
38863 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38864 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38866 # (used to build the .dll)
38868 # (used to create .def file from .o files)
38870 # (used to create .a file from .def file)
38871 # - GNU text utilites (cat, sort, uniq)
38872 # used to process emxexp output
38873 # - GNU file utilities (mv, rm)
38875 # - lxlite (optional, see flag below)
38876 # (used for general .dll cleanup)
38883 # basnam, variant of basename, which does _not_ remove the path, _iff_
38884 # second argument (suffix to remove) is given
38888 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38891 echo ${D}1 | sed 's/'${D}2'${D}//'
38894 echo "error in basnam ${D}*"
38900 # Cleanup temporary files and output
38903 for i in ${D}inputFiles ; do
38906 rm -rf \`basnam ${D}i !\`
38913 # Kill result in case of failure as there is just to many stupid make/nmake
38914 # things out there which doesn't do this.
38915 if [] ${D}# -eq 0 []; then
38916 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38920 # Print usage and exit script with rc=1.
38922 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38923 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38924 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38925 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38926 echo ' []*.o[] []*.a[]'
38927 echo '*> "output_file" should have no extension.'
38928 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38929 echo ' The import library name is derived from this and is set to "name".a,'
38930 echo ' unless overridden by -import'
38931 echo '*> "importlib_name" should have no extension.'
38932 echo ' If it has the .o, or .a extension, it is automatically removed.'
38933 echo ' This name is used as the import library name and may be longer and'
38934 echo ' more descriptive than the DLL name which has to follow the old '
38935 echo ' 8.3 convention of FAT.'
38936 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38937 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38938 echo ' These flags will be put at the start of GCC command line.'
38939 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38940 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38941 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38942 echo ' If the last character of a symbol is "*", all symbols beginning'
38943 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38944 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38945 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38946 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38947 echo ' C runtime DLLs.'
38948 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38949 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38950 echo ' unchanged to GCC at the end of command line.'
38951 echo '*> If you create a DLL from a library and you do not specify -o,'
38952 echo ' the basename for DLL and import library will be set to library name,'
38953 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38954 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38955 echo ' library will be renamed into gcc_s.a.'
38958 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38959 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38964 # Execute a command.
38965 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38966 # @Uses Whatever CleanUp() uses.
38972 if [] ${D}rcCmd -ne 0 []; then
38973 echo "command failed, exit code="${D}rcCmd
38987 CFLAGS="-s -Zcrtdll"
38989 EXPORT_BY_ORDINALS=0
38994 case ${D}curDirS in
38998 curDirS=${D}{curDirS}"/"
39001 # Parse commandline
39003 while [] ${D}1 []; do
39006 EXPORT_BY_ORDINALS=1;
39033 exclude_symbols=${D}{exclude_symbols}${D}1" "
39037 library_flags=${D}{library_flags}${D}1" "
39053 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39057 if [] ${D}libsToLink -ne 0 []; then
39058 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39060 for file in ${D}1 ; do
39061 if [] -f ${D}file []; then
39062 inputFiles="${D}{inputFiles} ${D}file"
39066 if [] ${D}found -eq 0 []; then
39067 echo "ERROR: No file(s) found: "${D}1
39074 done # iterate cmdline words
39077 if [] -z "${D}inputFiles" []; then
39078 echo "dllar: no input files"
39082 # Now extract all .o files from .a files
39084 for file in ${D}inputFiles ; do
39095 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39100 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39102 if [] ${D}? -ne 0 []; then
39103 echo "Failed to create subdirectory ./${D}dirname"
39107 # Append '!' to indicate archive
39108 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39109 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39112 for subfile in ${D}dirname/*.o* ; do
39113 if [] -f ${D}subfile []; then
39115 if [] -s ${D}subfile []; then
39116 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39117 newInputFiles="${D}newInputFiles ${D}subfile"
39121 if [] ${D}found -eq 0 []; then
39122 echo "WARNING: there are no files in archive \'${D}file\'"
39126 newInputFiles="${D}{newInputFiles} ${D}file"
39130 inputFiles="${D}newInputFiles"
39132 # Output filename(s).
39134 if [] -z ${D}outFile []; then
39136 set outFile ${D}inputFiles; outFile=${D}2
39139 # If it is an archive, remove the '!' and the '_%' suffixes
39140 case ${D}outFile in
39142 outFile=\`basnam ${D}outFile _%!\`
39147 case ${D}outFile in
39149 outFile=\`basnam ${D}outFile .dll\`
39152 outFile=\`basnam ${D}outFile .DLL\`
39155 outFile=\`basnam ${D}outFile .o\`
39158 outFile=\`basnam ${D}outFile .obj\`
39161 outFile=\`basnam ${D}outFile .a\`
39164 outFile=\`basnam ${D}outFile .lib\`
39169 case ${D}outimpFile in
39171 outimpFile=\`basnam ${D}outimpFile .a\`
39174 outimpFile=\`basnam ${D}outimpFile .lib\`
39179 if [] -z ${D}outimpFile []; then
39180 outimpFile=${D}outFile
39182 defFile="${D}{outFile}.def"
39183 arcFile="${D}{outimpFile}.a"
39184 arcFile2="${D}{outimpFile}.lib"
39185 dllFile="${D}outFile"
39186 # Add suffix to dllFile later, first we need a version to use as
39187 # name in .def file.
39189 if [] ${D}do_backup -ne 0 [] ; then
39190 if [] -f ${D}arcFile [] ; then
39191 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39193 if [] -f ${D}arcFile2 [] ; then
39194 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39198 # Extract public symbols from all the object files.
39199 tmpdefFile=${D}{defFile}_%
39200 rm -f ${D}tmpdefFile
39201 for file in ${D}inputFiles ; do
39206 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39211 # Create the def file.
39213 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39214 dllFile="${D}dllFile.dll"
39215 if [] -n ${D}description []; then
39216 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39218 echo "EXPORTS" >> ${D}defFile
39220 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39221 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39223 # Checks if the export is ok or not.
39224 for word in ${D}exclude_symbols; do
39225 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39226 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39230 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39231 sed "=" < ${D}tmpdefFile | \
39235 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39237 ' > ${D}{tmpdefFile}%
39238 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39240 rm -f ${D}{tmpdefFile}%
39242 cat ${D}tmpdefFile >> ${D}defFile
39243 rm -f ${D}tmpdefFile
39245 # Do linking, create implib, and apply lxlite.
39247 for file in ${D}inputFiles ; do
39252 gccCmdl="${D}gccCmdl ${D}file"
39256 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39257 touch "${D}{outFile}.dll"
39259 doCommand "emximp -o ${D}arcFile ${D}defFile"
39260 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39262 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39265 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39267 doCommand "emxomf -s -l ${D}arcFile"
39277 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39285 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39286 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39287 { (exit 1); exit 1; }; }
39290 if test "x$PIC_FLAG" != "x" ; then
39291 PIC_FLAG
="$PIC_FLAG -DPIC"
39294 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39295 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39297 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39298 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39315 case "${BAKEFILE_HOST}" in
39317 SONAME_FLAG
="-Wl,-soname,"
39345 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39346 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39349 if test "x$GCC" = "xyes"; then
39352 case "${BAKEFILE_HOST}" in
39353 powerpc
-*-darwin* )
39354 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39357 DEPSFLAG_GCC
="-MMD"
39360 echo "$as_me:$LINENO: result: gcc" >&5
39361 echo "${ECHO_T}gcc" >&6
39363 echo "$as_me:$LINENO: result: none" >&5
39364 echo "${ECHO_T}none" >&6
39367 if test $DEPS_TRACKING = 1 ; then
39373 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39374 # script. It is used to track C/C++ files dependencies in portable way.
39376 # Permission is given to use this file in any way.
39378 DEPSMODE=${DEPSMODE}
39380 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39382 mkdir -p ${D}DEPSDIR
39384 if test ${D}DEPSMODE = gcc ; then
39385 ${D}* ${D}{DEPSFLAG_GCC}
39387 if test ${D}{status} != 0 ; then
39390 # move created file to the location we want it in:
39391 while test ${D}# -gt 0; do
39405 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39406 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39407 if test -f ${D}depfile ; then
39408 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39411 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39412 if test -f ${D}depfile ; then
39413 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39433 case ${BAKEFILE_HOST} in
39434 *-*-cygwin* | *-*-mingw32* )
39435 if test "$build" != "$host" ; then
39436 RESCOMP
=$host_alias-windres
39438 # Extract the first word of "windres", so it can be a program name with args.
39439 set dummy windres
; ac_word
=$2
39440 echo "$as_me:$LINENO: checking for $ac_word" >&5
39441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39442 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39443 echo $ECHO_N "(cached) $ECHO_C" >&6
39445 if test -n "$RESCOMP"; then
39446 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39449 for as_dir
in $PATH
39452 test -z "$as_dir" && as_dir
=.
39453 for ac_exec_ext
in '' $ac_executable_extensions; do
39454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39455 ac_cv_prog_RESCOMP
="windres"
39456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39462 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39465 RESCOMP
=$ac_cv_prog_RESCOMP
39466 if test -n "$RESCOMP"; then
39467 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39468 echo "${ECHO_T}$RESCOMP" >&6
39470 echo "$as_me:$LINENO: result: no" >&5
39471 echo "${ECHO_T}no" >&6
39478 # Extract the first word of "Rez", so it can be a program name with args.
39479 set dummy Rez
; ac_word
=$2
39480 echo "$as_me:$LINENO: checking for $ac_word" >&5
39481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39482 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39485 if test -n "$RESCOMP"; then
39486 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39489 for as_dir
in $PATH
39492 test -z "$as_dir" && as_dir
=.
39493 for ac_exec_ext
in '' $ac_executable_extensions; do
39494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39495 ac_cv_prog_RESCOMP
="Rez"
39496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39502 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39505 RESCOMP
=$ac_cv_prog_RESCOMP
39506 if test -n "$RESCOMP"; then
39507 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39508 echo "${ECHO_T}$RESCOMP" >&6
39510 echo "$as_me:$LINENO: result: no" >&5
39511 echo "${ECHO_T}no" >&6
39514 # Extract the first word of "SetFile", so it can be a program name with args.
39515 set dummy SetFile
; ac_word
=$2
39516 echo "$as_me:$LINENO: checking for $ac_word" >&5
39517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39518 if test "${ac_cv_prog_SETFILE+set}" = set; then
39519 echo $ECHO_N "(cached) $ECHO_C" >&6
39521 if test -n "$SETFILE"; then
39522 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39525 for as_dir
in $PATH
39528 test -z "$as_dir" && as_dir
=.
39529 for ac_exec_ext
in '' $ac_executable_extensions; do
39530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39531 ac_cv_prog_SETFILE
="SetFile"
39532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39538 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39541 SETFILE
=$ac_cv_prog_SETFILE
39542 if test -n "$SETFILE"; then
39543 echo "$as_me:$LINENO: result: $SETFILE" >&5
39544 echo "${ECHO_T}$SETFILE" >&6
39546 echo "$as_me:$LINENO: result: no" >&5
39547 echo "${ECHO_T}no" >&6
39557 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39561 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39565 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39566 if test "${enable_precomp_headers+set}" = set; then
39567 enableval
="$enable_precomp_headers"
39568 bk_use_pch
="$enableval"
39573 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39574 if test "x$GCC" = "xyes"; then
39575 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39576 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39577 cat >conftest.
$ac_ext <<_ACEOF
39580 cat confdefs.h
>>conftest.
$ac_ext
39581 cat >>conftest.
$ac_ext <<_ACEOF
39582 /* end confdefs.h. */
39588 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39589 #error "no pch support"
39592 #error "no pch support"
39594 #if (__GNUC__ == 3) && \
39595 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39596 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39597 #error "no pch support"
39604 rm -f conftest.
$ac_objext
39605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39606 (eval $ac_compile) 2>conftest.er1
39608 grep -v '^ *+' conftest.er1
>conftest.err
39610 cat conftest.err
>&5
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); } &&
39613 { ac_try
='test -z "$ac_c_werror_flag"
39614 || test ! -s conftest.err'
39615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39616 (eval $ac_try) 2>&5
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); }; } &&
39620 { ac_try
='test -s conftest.$ac_objext'
39621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39622 (eval $ac_try) 2>&5
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); }; }; then
39627 echo "$as_me:$LINENO: result: yes" >&5
39628 echo "${ECHO_T}yes" >&6
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.
$ac_ext >&5
39636 echo "$as_me:$LINENO: result: no" >&5
39637 echo "${ECHO_T}no" >&6
39640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39641 if test $GCC_PCH = 1 ; then
39642 cat <<EOF >bk-make-pch
39645 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39646 # script. It is used to generated precompiled headers.
39648 # Permission is given to use this file in any way.
39657 while test \${#} -gt 0; do
39660 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39661 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39662 headerfile="\${incdir}/\${header}"
39666 compiler="\${compiler} \${1}"
39670 if test "x\${headerfile}" = "x" ; then
39671 echo "error: can't find header \${header} in include paths" >2
39673 if test -f \${outfile} ; then
39676 mkdir -p \`dirname \${outfile}\`
39678 depsfile=".deps/\`basename \${outfile}\`.d"
39680 # can do this because gcc is >= 3.4:
39681 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39685 chmod +x bk
-make-pch
39696 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39697 if test "${enable_precomp_headers+set}" = set; then
39698 enableval
="$enable_precomp_headers"
39699 bk_use_pch
="$enableval"
39704 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39705 if test "x$GCC" = "xyes"; then
39706 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39707 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39708 cat >conftest.
$ac_ext <<_ACEOF
39711 cat confdefs.h
>>conftest.
$ac_ext
39712 cat >>conftest.
$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39719 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39720 #error "no pch support"
39723 #error "no pch support"
39725 #if (__GNUC__ == 3) && \
39726 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39727 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39728 #error "no pch support"
39735 rm -f conftest.
$ac_objext
39736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39737 (eval $ac_compile) 2>conftest.er1
39739 grep -v '^ *+' conftest.er1
>conftest.err
39741 cat conftest.err
>&5
39742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39743 (exit $ac_status); } &&
39744 { ac_try
='test -z "$ac_c_werror_flag"
39745 || test ! -s conftest.err'
39746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39747 (eval $ac_try) 2>&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); }; } &&
39751 { ac_try
='test -s conftest.$ac_objext'
39752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39753 (eval $ac_try) 2>&5
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); }; }; then
39758 echo "$as_me:$LINENO: result: yes" >&5
39759 echo "${ECHO_T}yes" >&6
39763 echo "$as_me: failed program was:" >&5
39764 sed 's/^/| /' conftest.
$ac_ext >&5
39767 echo "$as_me:$LINENO: result: no" >&5
39768 echo "${ECHO_T}no" >&6
39771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39772 if test $GCC_PCH = 1 ; then
39773 cat <<EOF >bk-make-pch
39776 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39777 # script. It is used to generated precompiled headers.
39779 # Permission is given to use this file in any way.
39788 while test \${#} -gt 0; do
39791 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39792 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39793 headerfile="\${incdir}/\${header}"
39797 compiler="\${compiler} \${1}"
39801 if test "x\${headerfile}" = "x" ; then
39802 echo "error: can't find header \${header} in include paths" >2
39804 if test -f \${outfile} ; then
39807 mkdir -p \`dirname \${outfile}\`
39809 depsfile=".deps/\`basename \${outfile}\`.d"
39811 # can do this because gcc is >= 3.4:
39812 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39816 chmod +x bk
-make-pch
39824 COND_BUILD_DEBUG
="#"
39825 if test "x$BUILD" = "xdebug" ; then
39826 COND_BUILD_DEBUG
=""
39829 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39830 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39831 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39834 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39835 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39836 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39839 COND_BUILD_DEBUG_UNICODE_0
="#"
39840 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39841 COND_BUILD_DEBUG_UNICODE_0
=""
39844 COND_BUILD_DEBUG_UNICODE_1
="#"
39845 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39846 COND_BUILD_DEBUG_UNICODE_1
=""
39849 COND_BUILD_RELEASE
="#"
39850 if test "x$BUILD" = "xrelease" ; then
39851 COND_BUILD_RELEASE
=""
39854 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39855 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39856 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39859 COND_BUILD_RELEASE_UNICODE_0
="#"
39860 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39861 COND_BUILD_RELEASE_UNICODE_0
=""
39864 COND_BUILD_RELEASE_UNICODE_1
="#"
39865 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39866 COND_BUILD_RELEASE_UNICODE_1
=""
39869 COND_DEBUG_FLAG_1
="#"
39870 if test "x$DEBUG_FLAG" = "x1" ; then
39871 COND_DEBUG_FLAG_1
=""
39874 COND_DEBUG_INFO_0
="#"
39875 if test "x$DEBUG_INFO" = "x0" ; then
39876 COND_DEBUG_INFO_0
=""
39879 COND_DEBUG_INFO_1
="#"
39880 if test "x$DEBUG_INFO" = "x1" ; then
39881 COND_DEBUG_INFO_1
=""
39884 COND_DEPS_TRACKING_0
="#"
39885 if test "x$DEPS_TRACKING" = "x0" ; then
39886 COND_DEPS_TRACKING_0
=""
39889 COND_DEPS_TRACKING_1
="#"
39890 if test "x$DEPS_TRACKING" = "x1" ; then
39891 COND_DEPS_TRACKING_1
=""
39895 if test "x$GCC_PCH" = "x1" ; then
39899 COND_MONOLITHIC_0
="#"
39900 if test "x$MONOLITHIC" = "x0" ; then
39901 COND_MONOLITHIC_0
=""
39904 COND_MONOLITHIC_0_SHARED_0
="#"
39905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39906 COND_MONOLITHIC_0_SHARED_0
=""
39909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39911 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39919 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39921 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39924 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39926 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39929 COND_MONOLITHIC_0_SHARED_1
="#"
39930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39931 COND_MONOLITHIC_0_SHARED_1
=""
39934 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39936 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39944 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39946 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39949 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39951 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39954 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39955 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39956 COND_MONOLITHIC_0_USE_ODBC_1
=""
39959 COND_MONOLITHIC_1
="#"
39960 if test "x$MONOLITHIC" = "x1" ; then
39961 COND_MONOLITHIC_1
=""
39964 COND_MONOLITHIC_1_SHARED_0
="#"
39965 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39966 COND_MONOLITHIC_1_SHARED_0
=""
39969 COND_MONOLITHIC_1_SHARED_1
="#"
39970 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39971 COND_MONOLITHIC_1_SHARED_1
=""
39974 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39975 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39976 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39979 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39980 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39981 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39984 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39985 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39986 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39989 COND_PLATFORM_MACOSX_1
="#"
39990 if test "x$PLATFORM_MACOSX" = "x1" ; then
39991 COND_PLATFORM_MACOSX_1
=""
39994 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39996 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39999 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40001 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40004 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40006 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40009 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40011 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40014 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40016 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40019 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40021 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40024 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40026 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40029 COND_PLATFORM_MAC_1
="#"
40030 if test "x$PLATFORM_MAC" = "x1" ; then
40031 COND_PLATFORM_MAC_1
=""
40034 COND_PLATFORM_OS2_1
="#"
40035 if test "x$PLATFORM_OS2" = "x1" ; then
40036 COND_PLATFORM_OS2_1
=""
40039 COND_PLATFORM_UNIX_0
="#"
40040 if test "x$PLATFORM_UNIX" = "x0" ; then
40041 COND_PLATFORM_UNIX_0
=""
40044 COND_PLATFORM_UNIX_1
="#"
40045 if test "x$PLATFORM_UNIX" = "x1" ; then
40046 COND_PLATFORM_UNIX_1
=""
40049 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40050 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40051 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40054 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40055 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40056 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40059 COND_PLATFORM_WIN32_0
="#"
40060 if test "x$PLATFORM_WIN32" = "x0" ; then
40061 COND_PLATFORM_WIN32_0
=""
40064 COND_PLATFORM_WIN32_1
="#"
40065 if test "x$PLATFORM_WIN32" = "x1" ; then
40066 COND_PLATFORM_WIN32_1
=""
40070 if test "x$SHARED" = "x0" ; then
40074 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40075 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40076 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40079 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40080 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40081 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40084 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40085 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40086 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40089 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40090 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40091 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40094 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40095 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40096 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40099 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40100 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40101 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40104 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40105 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40106 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40109 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40110 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40111 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40115 if test "x$SHARED" = "x1" ; then
40119 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40120 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40121 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40124 COND_TOOLKIT_COCOA
="#"
40125 if test "x$TOOLKIT" = "xCOCOA" ; then
40126 COND_TOOLKIT_COCOA
=""
40129 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40130 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40131 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40134 COND_TOOLKIT_GTK
="#"
40135 if test "x$TOOLKIT" = "xGTK" ; then
40136 COND_TOOLKIT_GTK
=""
40139 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40140 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40141 COND_TOOLKIT_GTK_USE_GUI_1
=""
40144 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40145 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40146 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40149 COND_TOOLKIT_MAC
="#"
40150 if test "x$TOOLKIT" = "xMAC" ; then
40151 COND_TOOLKIT_MAC
=""
40154 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40155 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40156 COND_TOOLKIT_MAC_USE_GUI_1
=""
40159 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40160 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40161 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40164 COND_TOOLKIT_MAC_WXUNIV_0
="#"
40165 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40166 COND_TOOLKIT_MAC_WXUNIV_0
=""
40169 COND_TOOLKIT_MGL
="#"
40170 if test "x$TOOLKIT" = "xMGL" ; then
40171 COND_TOOLKIT_MGL
=""
40174 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40175 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40176 COND_TOOLKIT_MGL_USE_GUI_1
=""
40179 COND_TOOLKIT_MOTIF
="#"
40180 if test "x$TOOLKIT" = "xMOTIF" ; then
40181 COND_TOOLKIT_MOTIF
=""
40184 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40185 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40186 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40189 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40190 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40191 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40194 COND_TOOLKIT_MSW
="#"
40195 if test "x$TOOLKIT" = "xMSW" ; then
40196 COND_TOOLKIT_MSW
=""
40199 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40200 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40201 COND_TOOLKIT_MSW_USE_GUI_1
=""
40204 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40205 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40206 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40209 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40210 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40211 COND_TOOLKIT_MSW_WXUNIV_0
=""
40214 COND_TOOLKIT_PM
="#"
40215 if test "x$TOOLKIT" = "xPM" ; then
40219 COND_TOOLKIT_PM_USE_GUI_1
="#"
40220 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40221 COND_TOOLKIT_PM_USE_GUI_1
=""
40224 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40225 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40226 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40229 COND_TOOLKIT_PM_WXUNIV_0
="#"
40230 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40231 COND_TOOLKIT_PM_WXUNIV_0
=""
40234 COND_TOOLKIT_WINCE
="#"
40235 if test "x$TOOLKIT" = "xWINCE" ; then
40236 COND_TOOLKIT_WINCE
=""
40239 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40240 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40241 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40244 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40245 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40246 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40249 COND_TOOLKIT_X11
="#"
40250 if test "x$TOOLKIT" = "xX11" ; then
40251 COND_TOOLKIT_X11
=""
40254 COND_TOOLKIT_X11_USE_GUI_1
="#"
40255 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40256 COND_TOOLKIT_X11_USE_GUI_1
=""
40260 if test "x$UNICODE" = "x1" ; then
40264 COND_USE_EXCEPTIONS_0
="#"
40265 if test "x$USE_EXCEPTIONS" = "x0" ; then
40266 COND_USE_EXCEPTIONS_0
=""
40269 COND_USE_EXCEPTIONS_1
="#"
40270 if test "x$USE_EXCEPTIONS" = "x1" ; then
40271 COND_USE_EXCEPTIONS_1
=""
40275 if test "x$USE_GUI" = "x0" ; then
40280 if test "x$USE_GUI" = "x1" ; then
40284 COND_USE_GUI_1_WXUNIV_0
="#"
40285 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40286 COND_USE_GUI_1_WXUNIV_0
=""
40289 COND_USE_GUI_1_WXUNIV_1
="#"
40290 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40291 COND_USE_GUI_1_WXUNIV_1
=""
40294 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40295 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40296 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40299 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40300 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40301 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40304 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40305 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40306 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40309 COND_USE_ODBC_1
="#"
40310 if test "x$USE_ODBC" = "x1" ; then
40314 COND_USE_PLUGINS_0
="#"
40315 if test "x$USE_PLUGINS" = "x0" ; then
40316 COND_USE_PLUGINS_0
=""
40319 COND_USE_SOSYMLINKS_1
="#"
40320 if test "x$USE_SOSYMLINKS" = "x1" ; then
40321 COND_USE_SOSYMLINKS_1
=""
40324 COND_USE_SOVERLINUX_1
="#"
40325 if test "x$USE_SOVERLINUX" = "x1" ; then
40326 COND_USE_SOVERLINUX_1
=""
40329 COND_USE_SOVERSION_0
="#"
40330 if test "x$USE_SOVERSION" = "x0" ; then
40331 COND_USE_SOVERSION_0
=""
40334 COND_USE_SOVERSOLARIS_1
="#"
40335 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40336 COND_USE_SOVERSOLARIS_1
=""
40339 COND_WITH_PLUGIN_SDL_1
="#"
40340 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40341 COND_WITH_PLUGIN_SDL_1
=""
40344 COND_WITH_SDL_1
="#"
40345 if test "x$WITH_SDL" = "x1" ; then
40350 if test "x$WXUNIV" = "x1" ; then
40354 COND_WXUSE_EXPAT_BUILTIN
="#"
40355 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40356 COND_WXUSE_EXPAT_BUILTIN
=""
40359 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40360 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40361 COND_WXUSE_LIBJPEG_BUILTIN
=""
40364 COND_WXUSE_LIBPNG_BUILTIN
="#"
40365 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40366 COND_WXUSE_LIBPNG_BUILTIN
=""
40369 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40370 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40371 COND_WXUSE_LIBTIFF_BUILTIN
=""
40374 COND_WXUSE_ODBC_BUILTIN
="#"
40375 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40376 COND_WXUSE_ODBC_BUILTIN
=""
40379 COND_WXUSE_REGEX_BUILTIN
="#"
40380 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40381 COND_WXUSE_REGEX_BUILTIN
=""
40384 COND_WXUSE_ZLIB_BUILTIN
="#"
40385 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40386 COND_WXUSE_ZLIB_BUILTIN
=""
40389 COND_BUILD_DEBUG
="#"
40390 if test "x$BUILD" = "xdebug" ; then
40391 COND_BUILD_DEBUG
=""
40394 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40395 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40396 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40399 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40400 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40401 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40404 COND_BUILD_DEBUG_UNICODE_0
="#"
40405 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40406 COND_BUILD_DEBUG_UNICODE_0
=""
40409 COND_BUILD_DEBUG_UNICODE_1
="#"
40410 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40411 COND_BUILD_DEBUG_UNICODE_1
=""
40414 COND_BUILD_RELEASE
="#"
40415 if test "x$BUILD" = "xrelease" ; then
40416 COND_BUILD_RELEASE
=""
40419 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40420 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40421 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40424 COND_BUILD_RELEASE_UNICODE_0
="#"
40425 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40426 COND_BUILD_RELEASE_UNICODE_0
=""
40429 COND_BUILD_RELEASE_UNICODE_1
="#"
40430 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40431 COND_BUILD_RELEASE_UNICODE_1
=""
40434 COND_DEBUG_FLAG_1
="#"
40435 if test "x$DEBUG_FLAG" = "x1" ; then
40436 COND_DEBUG_FLAG_1
=""
40439 COND_DEBUG_INFO_0
="#"
40440 if test "x$DEBUG_INFO" = "x0" ; then
40441 COND_DEBUG_INFO_0
=""
40444 COND_DEBUG_INFO_1
="#"
40445 if test "x$DEBUG_INFO" = "x1" ; then
40446 COND_DEBUG_INFO_1
=""
40449 COND_DEPS_TRACKING_0
="#"
40450 if test "x$DEPS_TRACKING" = "x0" ; then
40451 COND_DEPS_TRACKING_0
=""
40454 COND_DEPS_TRACKING_1
="#"
40455 if test "x$DEPS_TRACKING" = "x1" ; then
40456 COND_DEPS_TRACKING_1
=""
40460 if test "x$GCC_PCH" = "x1" ; then
40464 COND_MONOLITHIC_0
="#"
40465 if test "x$MONOLITHIC" = "x0" ; then
40466 COND_MONOLITHIC_0
=""
40469 COND_MONOLITHIC_0_SHARED_0
="#"
40470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40471 COND_MONOLITHIC_0_SHARED_0
=""
40474 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40476 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40479 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40481 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40484 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40486 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40489 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40491 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40494 COND_MONOLITHIC_0_SHARED_1
="#"
40495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40496 COND_MONOLITHIC_0_SHARED_1
=""
40499 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40500 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40501 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40504 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40505 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40506 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40509 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40511 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40514 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40515 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40516 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40519 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40520 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40521 COND_MONOLITHIC_0_USE_ODBC_1
=""
40524 COND_MONOLITHIC_1
="#"
40525 if test "x$MONOLITHIC" = "x1" ; then
40526 COND_MONOLITHIC_1
=""
40529 COND_MONOLITHIC_1_SHARED_0
="#"
40530 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40531 COND_MONOLITHIC_1_SHARED_0
=""
40534 COND_MONOLITHIC_1_SHARED_1
="#"
40535 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40536 COND_MONOLITHIC_1_SHARED_1
=""
40539 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40540 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40541 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40544 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40545 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40546 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40549 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40550 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40551 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40554 COND_PLATFORM_MACOSX_1
="#"
40555 if test "x$PLATFORM_MACOSX" = "x1" ; then
40556 COND_PLATFORM_MACOSX_1
=""
40559 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40561 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40564 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40566 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40569 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40571 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40574 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40576 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40579 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40581 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40584 COND_PLATFORM_MAC_1
="#"
40585 if test "x$PLATFORM_MAC" = "x1" ; then
40586 COND_PLATFORM_MAC_1
=""
40589 COND_PLATFORM_OS2_1
="#"
40590 if test "x$PLATFORM_OS2" = "x1" ; then
40591 COND_PLATFORM_OS2_1
=""
40594 COND_PLATFORM_UNIX_0
="#"
40595 if test "x$PLATFORM_UNIX" = "x0" ; then
40596 COND_PLATFORM_UNIX_0
=""
40599 COND_PLATFORM_UNIX_1
="#"
40600 if test "x$PLATFORM_UNIX" = "x1" ; then
40601 COND_PLATFORM_UNIX_1
=""
40604 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40605 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40606 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40609 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40610 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40611 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40614 COND_PLATFORM_WIN32_0
="#"
40615 if test "x$PLATFORM_WIN32" = "x0" ; then
40616 COND_PLATFORM_WIN32_0
=""
40619 COND_PLATFORM_WIN32_1
="#"
40620 if test "x$PLATFORM_WIN32" = "x1" ; then
40621 COND_PLATFORM_WIN32_1
=""
40625 if test "x$SHARED" = "x0" ; then
40629 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40630 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40631 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40634 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40635 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40636 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40639 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40640 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40641 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40644 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40645 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40646 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40649 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40650 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40651 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40654 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40655 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40656 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40659 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40660 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40661 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40664 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40665 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40666 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40670 if test "x$SHARED" = "x1" ; then
40674 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40675 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40676 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40679 COND_TOOLKIT_COCOA
="#"
40680 if test "x$TOOLKIT" = "xCOCOA" ; then
40681 COND_TOOLKIT_COCOA
=""
40684 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40685 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40686 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40689 COND_TOOLKIT_GTK
="#"
40690 if test "x$TOOLKIT" = "xGTK" ; then
40691 COND_TOOLKIT_GTK
=""
40694 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40695 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40696 COND_TOOLKIT_GTK_USE_GUI_1
=""
40699 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40700 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40701 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40704 COND_TOOLKIT_MAC
="#"
40705 if test "x$TOOLKIT" = "xMAC" ; then
40706 COND_TOOLKIT_MAC
=""
40709 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40710 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40711 COND_TOOLKIT_MAC_USE_GUI_1
=""
40714 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40715 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40716 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40719 COND_TOOLKIT_MGL
="#"
40720 if test "x$TOOLKIT" = "xMGL" ; then
40721 COND_TOOLKIT_MGL
=""
40724 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40725 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40726 COND_TOOLKIT_MGL_USE_GUI_1
=""
40729 COND_TOOLKIT_MOTIF
="#"
40730 if test "x$TOOLKIT" = "xMOTIF" ; then
40731 COND_TOOLKIT_MOTIF
=""
40734 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40735 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40736 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40739 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40740 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40741 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40744 COND_TOOLKIT_MSW
="#"
40745 if test "x$TOOLKIT" = "xMSW" ; then
40746 COND_TOOLKIT_MSW
=""
40749 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40750 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40751 COND_TOOLKIT_MSW_USE_GUI_1
=""
40754 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40755 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40756 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40759 COND_TOOLKIT_PM
="#"
40760 if test "x$TOOLKIT" = "xPM" ; then
40764 COND_TOOLKIT_PM_USE_GUI_1
="#"
40765 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40766 COND_TOOLKIT_PM_USE_GUI_1
=""
40769 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40770 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40771 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40774 COND_TOOLKIT_WINCE
="#"
40775 if test "x$TOOLKIT" = "xWINCE" ; then
40776 COND_TOOLKIT_WINCE
=""
40779 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40780 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40781 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40784 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40785 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40786 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40789 COND_TOOLKIT_X11
="#"
40790 if test "x$TOOLKIT" = "xX11" ; then
40791 COND_TOOLKIT_X11
=""
40794 COND_TOOLKIT_X11_USE_GUI_1
="#"
40795 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40796 COND_TOOLKIT_X11_USE_GUI_1
=""
40800 if test "x$UNICODE" = "x1" ; then
40804 COND_USE_EXCEPTIONS_0
="#"
40805 if test "x$USE_EXCEPTIONS" = "x0" ; then
40806 COND_USE_EXCEPTIONS_0
=""
40809 COND_USE_EXCEPTIONS_1
="#"
40810 if test "x$USE_EXCEPTIONS" = "x1" ; then
40811 COND_USE_EXCEPTIONS_1
=""
40815 if test "x$USE_GUI" = "x0" ; then
40820 if test "x$USE_GUI" = "x1" ; then
40824 COND_USE_GUI_1_WXUNIV_0
="#"
40825 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40826 COND_USE_GUI_1_WXUNIV_0
=""
40829 COND_USE_GUI_1_WXUNIV_1
="#"
40830 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40831 COND_USE_GUI_1_WXUNIV_1
=""
40834 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40835 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40836 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40839 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40840 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40841 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40844 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40845 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40846 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40849 COND_USE_ODBC_1
="#"
40850 if test "x$USE_ODBC" = "x1" ; then
40854 COND_USE_PLUGINS_0
="#"
40855 if test "x$USE_PLUGINS" = "x0" ; then
40856 COND_USE_PLUGINS_0
=""
40859 COND_USE_SOSYMLINKS_1
="#"
40860 if test "x$USE_SOSYMLINKS" = "x1" ; then
40861 COND_USE_SOSYMLINKS_1
=""
40864 COND_USE_SOVERLINUX_1
="#"
40865 if test "x$USE_SOVERLINUX" = "x1" ; then
40866 COND_USE_SOVERLINUX_1
=""
40869 COND_USE_SOVERSION_0
="#"
40870 if test "x$USE_SOVERSION" = "x0" ; then
40871 COND_USE_SOVERSION_0
=""
40874 COND_USE_SOVERSOLARIS_1
="#"
40875 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40876 COND_USE_SOVERSOLARIS_1
=""
40879 COND_WITH_PLUGIN_SDL_1
="#"
40880 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40881 COND_WITH_PLUGIN_SDL_1
=""
40885 if test "x$WXUNIV" = "x1" ; then
40889 COND_WXUSE_EXPAT_BUILTIN
="#"
40890 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40891 COND_WXUSE_EXPAT_BUILTIN
=""
40894 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40895 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40896 COND_WXUSE_LIBJPEG_BUILTIN
=""
40899 COND_WXUSE_LIBPNG_BUILTIN
="#"
40900 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40901 COND_WXUSE_LIBPNG_BUILTIN
=""
40904 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40905 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40906 COND_WXUSE_LIBTIFF_BUILTIN
=""
40909 COND_WXUSE_ODBC_BUILTIN
="#"
40910 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40911 COND_WXUSE_ODBC_BUILTIN
=""
40914 COND_WXUSE_REGEX_BUILTIN
="#"
40915 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40916 COND_WXUSE_REGEX_BUILTIN
=""
40919 COND_WXUSE_ZLIB_BUILTIN
="#"
40920 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40921 COND_WXUSE_ZLIB_BUILTIN
=""
40926 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40927 { { 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
40928 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;}
40929 { (exit 1); exit 1; }; }
40934 GCC_PRAGMA_FLAGS
=""
40935 if test $GCC_PCH = 1 ; then
40936 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40939 powerpc
-*-darwin* )
40940 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40943 if test "$wxUSE_STL" = "yes" -o \
40944 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40945 "$wxUSE_NO_RTTI" != "yes"; then
40946 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40947 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40948 cat >conftest.
$ac_ext <<_ACEOF
40951 cat confdefs.h
>>conftest.
$ac_ext
40952 cat >>conftest.
$ac_ext <<_ACEOF
40953 /* end confdefs.h. */
40958 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40959 #error "Not GCC 3.2 or greater"
40966 rm -f conftest.
$ac_objext
40967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40968 (eval $ac_compile) 2>conftest.er1
40970 grep -v '^ *+' conftest.er1
>conftest.err
40972 cat conftest.err
>&5
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); } &&
40975 { ac_try
='test -z "$ac_c_werror_flag"
40976 || test ! -s conftest.err'
40977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40978 (eval $ac_try) 2>&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); }; } &&
40982 { ac_try
='test -s conftest.$ac_objext'
40983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40984 (eval $ac_try) 2>&5
40986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40987 (exit $ac_status); }; }; then
40988 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40989 echo "$as_me:$LINENO: result: yes" >&5
40990 echo "${ECHO_T}yes" >&6
40992 echo "$as_me: failed program was:" >&5
40993 sed 's/^/| /' conftest.
$ac_ext >&5
40995 echo "$as_me:$LINENO: result: no" >&5
40996 echo "${ECHO_T}no" >&6
40998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41003 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41006 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41109 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41110 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41111 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41112 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41113 echo $ECHO_N "(cached) $ECHO_C" >&6
41115 cat >conftest.
make <<\_ACEOF
41117 @
echo 'ac_maketemp="$(MAKE)"'
41119 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41120 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41121 if test -n "$ac_maketemp"; then
41122 eval ac_cv_prog_make_
${ac_make}_set
=yes
41124 eval ac_cv_prog_make_
${ac_make}_set
=no
41126 rm -f conftest.
make
41128 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41129 echo "$as_me:$LINENO: result: yes" >&5
41130 echo "${ECHO_T}yes" >&6
41133 echo "$as_me:$LINENO: result: no" >&5
41134 echo "${ECHO_T}no" >&6
41135 SET_MAKE
="MAKE=${MAKE-make}"
41139 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
41140 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
41143 ac_config_headers
="$ac_config_headers setup.h"
41146 ac_config_files
="$ac_config_files wx-config wx-config-wrapper version-script Makefile"
41149 ac_config_commands
="$ac_config_commands default"
41153 if test "$wxUSE_GUI" = "yes"; then
41154 SUBDIRS
="samples demos utils contrib"
41155 else SUBDIRS
="samples utils"
41160 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41161 if test "${with_cppunit_prefix+set}" = set; then
41162 withval
="$with_cppunit_prefix"
41163 cppunit_config_prefix
="$withval"
41165 cppunit_config_prefix
=""
41168 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41169 if test "${with_cppunit_exec_prefix+set}" = set; then
41170 withval
="$with_cppunit_exec_prefix"
41171 cppunit_config_exec_prefix
="$withval"
41173 cppunit_config_exec_prefix
=""
41176 if test x
$cppunit_config_exec_prefix != x
; then
41177 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41178 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41179 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41182 if test x
$cppunit_config_prefix != x
; then
41183 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41184 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41185 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41189 # Extract the first word of "cppunit-config", so it can be a program name with args.
41190 set dummy cppunit
-config; ac_word
=$2
41191 echo "$as_me:$LINENO: checking for $ac_word" >&5
41192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41193 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41194 echo $ECHO_N "(cached) $ECHO_C" >&6
41196 case $CPPUNIT_CONFIG in
41198 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41202 for as_dir
in $PATH
41205 test -z "$as_dir" && as_dir
=.
41206 for ac_exec_ext
in '' $ac_executable_extensions; do
41207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41208 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41215 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41219 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41221 if test -n "$CPPUNIT_CONFIG"; then
41222 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41223 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41225 echo "$as_me:$LINENO: result: no" >&5
41226 echo "${ECHO_T}no" >&6
41229 cppunit_version_min
=1.8.0
41231 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41232 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41234 if test "$CPPUNIT_CONFIG" = "no" ; then
41237 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41238 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41239 cppunit_version
=`$CPPUNIT_CONFIG --version`
41241 cppunit_major_version
=`echo $cppunit_version | \
41242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41243 cppunit_minor_version
=`echo $cppunit_version | \
41244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41245 cppunit_micro_version
=`echo $cppunit_version | \
41246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41248 cppunit_major_min
=`echo $cppunit_version_min | \
41249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41250 cppunit_minor_min
=`echo $cppunit_version_min | \
41251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41252 cppunit_micro_min
=`echo $cppunit_version_min | \
41253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41255 cppunit_version_proper
=`expr \
41256 $cppunit_major_version \> $cppunit_major_min \| \
41257 $cppunit_major_version \= $cppunit_major_min \& \
41258 $cppunit_minor_version \> $cppunit_minor_min \| \
41259 $cppunit_major_version \= $cppunit_major_min \& \
41260 $cppunit_minor_version \= $cppunit_minor_min \& \
41261 $cppunit_micro_version \>= $cppunit_micro_min `
41263 if test "$cppunit_version_proper" = "1" ; then
41264 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41265 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41267 echo "$as_me:$LINENO: result: no" >&5
41268 echo "${ECHO_T}no" >&6
41273 if test "x$no_cppunit" = x
; then
41274 SUBDIRS
="$SUBDIRS tests"
41285 for subdir
in `echo $SUBDIRS`; do
41286 if test -d ${srcdir}/${subdir} ; then
41287 if test "$wxUSE_GUI" = "yes"; then
41288 if test ${subdir} = "samples"; then
41289 makefiles
="samples/Makefile.in $makefiles"
41290 for sample
in `echo $SAMPLES_SUBDIRS`; do
41291 if test -d $srcdir/samples
/$sample; then
41292 makefiles
="samples/$sample/Makefile.in $makefiles"
41295 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41297 else if test ${subdir} = "samples"; then
41298 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41299 elif test ${subdir} = "utils"; then
41300 makefiles
="utils/HelpGen/Makefile.in \
41301 utils/HelpGen/src/Makefile.in \
41302 utils/tex2rtf/Makefile.in \
41303 utils/tex2rtf/src/Makefile.in"
41304 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41308 for mkin
in $makefiles ; do
41309 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41310 ac_config_files
="$ac_config_files $mk"
41317 cat >confcache
<<\_ACEOF
41318 # This file is a shell script that caches the results of configure
41319 # tests run on this system so they can be shared between configure
41320 # scripts and configure runs, see configure's option --config-cache.
41321 # It is not useful on other systems. If it contains results you don't
41322 # want to keep, you may remove or edit it.
41324 # config.status only pays attention to the cache file if you give it
41325 # the --recheck option to rerun configure.
41327 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41328 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41329 # following values.
41333 # The following way of writing the cache mishandles newlines in values,
41334 # but we know of no workaround that is simple, portable, and efficient.
41335 # So, don't put newlines in cache variables' values.
41336 # Ultrix sh set writes to stderr and can't be redirected directly,
41337 # and sets the high bit in the cache file unless we assign to the vars.
41340 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41342 # `set' does not quote correctly, so add quotes (double-quote
41343 # substitution turns \\\\ into \\, and sed turns \\ into \).
41346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41349 # `set' quotes correctly as required by POSIX, so do not add quotes.
41351 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41360 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41362 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41363 if test -w $cache_file; then
41364 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41365 cat confcache
>$cache_file
41367 echo "not updating unwritable cache $cache_file"
41372 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41373 # Let make expand exec_prefix.
41374 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41376 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41377 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41378 # trailing colons and then remove the whole line if VPATH becomes empty
41379 # (actually we leave an empty line to preserve line numbers).
41380 if test "x$srcdir" = x.
; then
41381 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41382 s/:*\$(srcdir):*/:/;
41383 s/:*\${srcdir}:*/:/;
41385 s/^\([^=]*=[ ]*\):*/\1/;
41391 DEFS
=-DHAVE_CONFIG_H
41395 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41396 # 1. Remove the extension, and $U if already installed.
41397 ac_i
=`echo "$ac_i" |
41398 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41400 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41401 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41403 LIBOBJS
=$ac_libobjs
41405 LTLIBOBJS
=$ac_ltlibobjs
41409 : ${CONFIG_STATUS=./config.status}
41410 ac_clean_files_save
=$ac_clean_files
41411 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41412 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41413 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41414 cat >$CONFIG_STATUS <<_ACEOF
41416 # Generated by $as_me.
41417 # Run this file to recreate the current configuration.
41418 # Compiler output produced by configure, useful for debugging
41419 # configure, is in config.log if it exists.
41422 ac_cs_recheck=false
41424 SHELL=\${CONFIG_SHELL-$SHELL}
41427 cat >>$CONFIG_STATUS <<\_ACEOF
41428 ## --------------------- ##
41429 ## M4sh Initialization. ##
41430 ## --------------------- ##
41432 # Be Bourne compatible
41433 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41436 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41437 # is contrary to our usage. Disable this feature.
41438 alias -g '${1+"$@"}'='"$@"'
41439 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41442 DUALCASE
=1; export DUALCASE
# for MKS sh
41444 # Support unset when possible.
41445 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41452 # Work around bugs in pre-3.0 UWIN ksh.
41453 $as_unset ENV MAIL MAILPATH
41460 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41461 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41462 LC_TELEPHONE LC_TIME
41464 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41465 eval $as_var=C
; export $as_var
41471 # Required to use basename.
41472 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41478 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41479 as_basename
=basename
41485 # Name of the executable.
41486 as_me
=`$as_basename "$0" ||
41487 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41488 X"$0" : 'X\(//\)$' \| \
41489 X"$0" : 'X\(/\)$' \| \
41490 . : '\(.\)' 2>/dev/null ||
41492 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41493 /^X\/\(\/\/\)$/{ s//\1/; q; }
41494 /^X\/\(\/\).*/{ s//\1/; q; }
41498 # PATH needs CR, and LINENO needs CR and PATH.
41499 # Avoid depending upon Character Ranges.
41500 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41501 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41502 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41503 as_cr_digits
='0123456789'
41504 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41506 # The user is always right.
41507 if test "${PATH_SEPARATOR+set}" != set; then
41508 echo "#! /bin/sh" >conf$$.sh
41509 echo "exit 0" >>conf$$.sh
41511 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41520 as_lineno_1
=$LINENO
41521 as_lineno_2
=$LINENO
41522 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41523 test "x$as_lineno_1" != "x$as_lineno_2" &&
41524 test "x$as_lineno_3" = "x$as_lineno_2" || {
41525 # Find who we are. Look in the path if we contain no path at all
41528 *[\\/]* ) as_myself
=$0 ;;
41529 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41530 for as_dir
in $PATH
41533 test -z "$as_dir" && as_dir
=.
41534 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41539 # We did not find ourselves, most probably we were run as `sh COMMAND'
41540 # in which case we are not to be found in the path.
41541 if test "x$as_myself" = x
; then
41544 if test ! -f "$as_myself"; then
41545 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41546 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41547 { (exit 1); exit 1; }; }
41549 case $CONFIG_SHELL in
41551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41552 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41555 test -z "$as_dir" && as_dir
=.
41556 for as_base
in sh bash ksh sh5
; do
41559 if ("$as_dir/$as_base" -c '
41560 as_lineno_1=$LINENO
41561 as_lineno_2=$LINENO
41562 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41563 test "x$as_lineno_1" != "x$as_lineno_2" &&
41564 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41565 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41566 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41567 CONFIG_SHELL
=$as_dir/$as_base
41568 export CONFIG_SHELL
41569 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41577 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41578 # uniformly replaced by the line number. The first 'sed' inserts a
41579 # line-number line before each line; the second 'sed' does the real
41580 # work. The second script uses 'N' to pair each line-number line
41581 # with the numbered line, and appends trailing '-' during
41582 # substitution so that $LINENO is not a special case at line end.
41583 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41584 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41585 sed '=' <$as_myself |
41590 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41593 s,^['$as_cr_digits']*\n,,
41594 ' >$as_me.lineno
&&
41595 chmod +x
$as_me.lineno
||
41596 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41597 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41598 { (exit 1); exit 1; }; }
41600 # Don't try to exec as it changes $[0], causing all sort of problems
41601 # (the dirname of $[0] is not the place where we might find the
41602 # original and so on. Autoconf is especially sensible to this).
41604 # Exit status is that of the last command.
41609 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41610 *c
*,-n*) ECHO_N
= ECHO_C
='
41612 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41613 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41616 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41622 rm -f conf$$ conf$$.exe conf$$.
file
41624 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41625 # We could just check for DJGPP; but this test a) works b) is more generic
41626 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41627 if test -f conf$$.exe
; then
41628 # Don't use ln at all; we don't have any links
41633 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41638 rm -f conf$$ conf$$.exe conf$$.
file
41640 if mkdir -p .
2>/dev
/null
; then
41643 test -d .
/-p && rmdir .
/-p
41647 as_executable_p
="test -f"
41649 # Sed expression to map a string onto a valid CPP name.
41650 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41652 # Sed expression to map a string onto a valid variable name.
41653 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41657 # We need space, tab and new line, in precisely that order.
41667 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41668 # report actual input values of CONFIG_FILES etc. instead of their
41669 # values after options handling. Logging --version etc. is OK.
41673 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41674 ## Running $as_me. ##
41679 This file was extended by wxWidgets $as_me 2.5.2, which was
41680 generated by GNU Autoconf 2.59. Invocation command line was
41682 CONFIG_FILES = $CONFIG_FILES
41683 CONFIG_HEADERS = $CONFIG_HEADERS
41684 CONFIG_LINKS = $CONFIG_LINKS
41685 CONFIG_COMMANDS = $CONFIG_COMMANDS
41689 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41693 # Files that config.status was made for.
41694 if test -n "$ac_config_files"; then
41695 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41698 if test -n "$ac_config_headers"; then
41699 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41702 if test -n "$ac_config_links"; then
41703 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41706 if test -n "$ac_config_commands"; then
41707 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41710 cat >>$CONFIG_STATUS <<\_ACEOF
41713 \`$as_me' instantiates files from templates according to the
41714 current configuration.
41716 Usage: $0 [OPTIONS] [FILE]...
41718 -h, --help print this help, then exit
41719 -V, --version print version number, then exit
41720 -q, --quiet do not print progress messages
41721 -d, --debug don't remove temporary files
41722 --recheck update $as_me by reconfiguring in the same conditions
41723 --file=FILE[:TEMPLATE]
41724 instantiate the configuration file FILE
41725 --header=FILE[:TEMPLATE]
41726 instantiate the configuration header FILE
41728 Configuration files:
41731 Configuration headers:
41734 Configuration commands:
41737 Report bugs to <bug-autoconf@gnu.org>."
41740 cat >>$CONFIG_STATUS <<_ACEOF
41742 wxWidgets config.status 2.5.2
41743 configured by $0, generated by GNU Autoconf 2.59,
41744 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41746 Copyright (C) 2003 Free Software Foundation, Inc.
41747 This config.status script is free software; the Free Software Foundation
41748 gives unlimited permission to copy, distribute and modify it."
41753 cat >>$CONFIG_STATUS <<\_ACEOF
41754 # If no file are specified by the user, then we need to provide default
41755 # value. By we need to know if files were specified by the user.
41761 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41762 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41770 *) # This is not an option, so the user has probably given explicit
41773 ac_need_defaults
=false
;;
41777 # Handling of the options.
41779 cat >>$CONFIG_STATUS <<\_ACEOF
41780 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41782 --version | --vers* | -V )
41783 echo "$ac_cs_version"; exit 0 ;;
41785 # Conflict between --help and --header
41786 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41787 Try \`$0 --help' for more information." >&5
41788 echo "$as_me: error: ambiguous option: $1
41789 Try \`$0 --help' for more information." >&2;}
41790 { (exit 1); exit 1; }; };;
41791 --help | --hel | -h )
41792 echo "$ac_cs_usage"; exit 0 ;;
41793 --debug | --d* | -d )
41795 --file | --fil | --fi | --f )
41797 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41798 ac_need_defaults
=false
;;
41799 --header | --heade | --head | --hea )
41801 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41802 ac_need_defaults
=false
;;
41803 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41804 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41807 # This is an error.
41808 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41809 Try \`$0 --help' for more information." >&5
41810 echo "$as_me: error: unrecognized option: $1
41811 Try \`$0 --help' for more information." >&2;}
41812 { (exit 1); exit 1; }; } ;;
41814 *) ac_config_targets
="$ac_config_targets $1" ;;
41820 ac_configure_extra_args
=
41822 if $ac_cs_silent; then
41824 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41828 cat >>$CONFIG_STATUS <<_ACEOF
41829 if \$ac_cs_recheck; then
41830 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41831 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41836 cat >>$CONFIG_STATUS <<_ACEOF
41838 # INIT-COMMANDS section.
41842 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41843 WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}"
41852 cat >>$CONFIG_STATUS <<\_ACEOF
41853 for ac_config_target
in $ac_config_targets
41855 case "$ac_config_target" in
41856 # Handling of arguments.
41857 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
41858 "wx-config-wrapper" ) CONFIG_FILES
="$CONFIG_FILES wx-config-wrapper" ;;
41859 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41860 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41861 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41862 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
41863 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
41864 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41865 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41866 { (exit 1); exit 1; }; };;
41870 # If the user did not use the arguments to specify the items to instantiate,
41871 # then the envvar interface is used. Set only those that are not.
41872 # We use the long form for the default assignment because of an extremely
41873 # bizarre bug on SunOS 4.1.3.
41874 if $ac_need_defaults; then
41875 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41876 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41877 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41880 # Have a temporary directory for convenience. Make it in the build tree
41881 # simply because there is no reason to put it here, and in addition,
41882 # creating and moving files from /tmp can sometimes cause problems.
41883 # Create a temporary directory, and hook for its removal unless debugging.
41886 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41887 trap '{ (exit 1); exit 1; }' 1 2 13 15
41890 # Create a (secure) tmp directory for tmp files.
41893 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41894 test -n "$tmp" && test -d "$tmp"
41897 tmp
=.
/confstat$$
-$RANDOM
41898 (umask 077 && mkdir $tmp)
41901 echo "$me: cannot create a temporary directory in ." >&2
41902 { (exit 1); exit 1; }
41907 cat >>$CONFIG_STATUS <<_ACEOF
41910 # CONFIG_FILES section.
41913 # No need to generate the scripts if there are no CONFIG_FILES.
41914 # This happens for instance when ./config.status config.h
41915 if test -n "\$CONFIG_FILES"; then
41916 # Protect against being on the right side of a sed subst in config.status.
41917 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41918 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41919 s,@SHELL@,$SHELL,;t t
41920 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41921 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41922 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41923 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41924 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41925 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41926 s,@exec_prefix@,$exec_prefix,;t t
41927 s,@prefix@,$prefix,;t t
41928 s,@program_transform_name@,$program_transform_name,;t t
41929 s,@bindir@,$bindir,;t t
41930 s,@sbindir@,$sbindir,;t t
41931 s,@libexecdir@,$libexecdir,;t t
41932 s,@datadir@,$datadir,;t t
41933 s,@sysconfdir@,$sysconfdir,;t t
41934 s,@sharedstatedir@,$sharedstatedir,;t t
41935 s,@localstatedir@,$localstatedir,;t t
41936 s,@libdir@,$libdir,;t t
41937 s,@includedir@,$includedir,;t t
41938 s,@oldincludedir@,$oldincludedir,;t t
41939 s,@infodir@,$infodir,;t t
41940 s,@mandir@,$mandir,;t t
41941 s,@build_alias@,$build_alias,;t t
41942 s,@host_alias@,$host_alias,;t t
41943 s,@target_alias@,$target_alias,;t t
41944 s,@DEFS@,$DEFS,;t t
41945 s,@ECHO_C@,$ECHO_C,;t t
41946 s,@ECHO_N@,$ECHO_N,;t t
41947 s,@ECHO_T@,$ECHO_T,;t t
41948 s,@LIBS@,$LIBS,;t t
41949 s,@build@,$build,;t t
41950 s,@build_cpu@,$build_cpu,;t t
41951 s,@build_vendor@,$build_vendor,;t t
41952 s,@build_os@,$build_os,;t t
41953 s,@host@,$host,;t t
41954 s,@host_cpu@,$host_cpu,;t t
41955 s,@host_vendor@,$host_vendor,;t t
41956 s,@host_os@,$host_os,;t t
41957 s,@target@,$target,;t t
41958 s,@target_cpu@,$target_cpu,;t t
41959 s,@target_vendor@,$target_vendor,;t t
41960 s,@target_os@,$target_os,;t t
41962 s,@CFLAGS@,$CFLAGS,;t t
41963 s,@LDFLAGS@,$LDFLAGS,;t t
41964 s,@CPPFLAGS@,$CPPFLAGS,;t t
41965 s,@ac_ct_CC@,$ac_ct_CC,;t t
41966 s,@EXEEXT@,$EXEEXT,;t t
41967 s,@OBJEXT@,$OBJEXT,;t t
41969 s,@EGREP@,$EGREP,;t t
41971 s,@CXXFLAGS@,$CXXFLAGS,;t t
41972 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41973 s,@RANLIB@,$RANLIB,;t t
41974 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41976 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41977 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41978 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41979 s,@STRIP@,$STRIP,;t t
41980 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41981 s,@LN_S@,$LN_S,;t t
41982 s,@CXXCPP@,$CXXCPP,;t t
41983 s,@subdirs@,$subdirs,;t t
41984 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41985 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41986 s,@GTK_LIBS@,$GTK_LIBS,;t t
41987 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41988 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41989 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41990 s,@X_CFLAGS@,$X_CFLAGS,;t t
41991 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41992 s,@X_LIBS@,$X_LIBS,;t t
41993 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41994 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41995 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41996 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41997 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41998 s,@RESCOMP@,$RESCOMP,;t t
41999 s,@DEREZ@,$DEREZ,;t t
42000 s,@SETFILE@,$SETFILE,;t t
42001 s,@LIBICONV@,$LIBICONV,;t t
42002 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42003 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42004 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42005 s,@SDL_LIBS@,$SDL_LIBS,;t t
42006 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42007 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42008 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42009 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42010 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42011 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42012 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42013 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42014 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42015 s,@VENDOR@,$VENDOR,;t t
42016 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42017 s,@WXUNIV@,$WXUNIV,;t t
42018 s,@MONOLITHIC@,$MONOLITHIC,;t t
42019 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42020 s,@EXTRALIBS@,$EXTRALIBS,;t t
42021 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42022 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42023 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42024 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42025 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42026 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42027 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42028 s,@UNICODE@,$UNICODE,;t t
42029 s,@BUILD@,$BUILD,;t t
42030 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42031 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42032 s,@SHARED@,$SHARED,;t t
42033 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42034 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42035 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42036 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42037 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42038 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42039 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42040 s,@SET_MAKE@,$SET_MAKE,;t t
42041 s,@MAKE_SET@,$MAKE_SET,;t t
42042 s,@ac_ct_AR@,$ac_ct_AR,;t t
42043 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42045 s,@ac_ct_NM@,$ac_ct_NM,;t t
42046 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42047 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42048 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42049 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42050 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42051 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42052 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42053 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42054 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42055 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42056 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42057 s,@LIBPREFIX@,$LIBPREFIX,;t t
42058 s,@LIBEXT@,$LIBEXT,;t t
42059 s,@DLLPREFIX@,$DLLPREFIX,;t t
42060 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42061 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42062 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42063 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42064 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42065 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42066 s,@PIC_FLAG@,$PIC_FLAG,;t t
42067 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42068 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42069 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42070 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42071 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42072 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42073 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42074 s,@GCC_PCH@,$GCC_PCH,;t t
42075 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42076 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42077 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42078 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42079 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42080 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42081 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42082 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42083 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42084 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42085 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42086 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42087 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42088 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42089 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42090 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42091 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42092 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42093 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
42094 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42095 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42096 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42097 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42098 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
42099 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42100 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42101 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42102 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42103 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42104 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42105 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42106 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42107 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42108 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42109 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42110 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42111 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42112 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42113 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42114 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42115 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42116 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42117 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42118 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42119 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42120 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42121 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42122 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42123 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42124 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42125 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42126 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42127 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42128 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42129 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42130 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42131 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42132 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42133 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42134 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42135 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42136 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42137 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42138 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42139 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42140 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42141 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42142 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42143 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42144 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42145 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42146 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42147 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42148 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42149 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42150 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42151 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42152 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42153 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42154 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42155 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42156 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42157 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42158 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42159 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42160 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42161 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42162 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42163 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42164 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42165 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42166 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42167 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42168 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42169 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42170 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42171 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42172 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42173 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42174 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42175 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42176 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42177 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42178 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42179 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
42180 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42181 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42182 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42183 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42184 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42185 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42186 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42187 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42188 s,@PATH_IFS@,$PATH_IFS,;t t
42189 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
42190 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
42191 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
42192 s,@WX_SUBRELEASE_NUMBER@,$WX_SUBRELEASE_NUMBER,;t t
42193 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
42194 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
42195 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42196 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42197 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
42198 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
42199 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
42200 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
42201 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
42202 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
42203 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
42204 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
42205 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
42206 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
42207 s,@WX_ALL@,$WX_ALL,;t t
42208 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
42209 s,@SHARED_LD@,$SHARED_LD,;t t
42210 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
42211 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
42212 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42213 s,@USE_GUI@,$USE_GUI,;t t
42214 s,@AFMINSTALL@,$AFMINSTALL,;t t
42215 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42216 s,@TOOLKIT@,$TOOLKIT,;t t
42217 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42218 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
42219 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42220 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42221 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42222 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
42223 s,@cross_compiling@,$cross_compiling,;t t
42224 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42225 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
42226 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
42227 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
42228 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
42229 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42230 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42231 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42232 s,@WXCONFIG_DATA_FILE@,$WXCONFIG_DATA_FILE,;t t
42233 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42234 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42235 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42236 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42237 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
42238 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
42239 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
42240 s,@GUIDIST@,$GUIDIST,;t t
42241 s,@PORT_FILES@,$PORT_FILES,;t t
42242 s,@DISTDIR@,$DISTDIR,;t t
42243 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42244 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42245 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
42246 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
42247 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42248 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42249 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42250 s,@RESFLAGS@,$RESFLAGS,;t t
42251 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42252 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42253 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42254 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42255 s,@MACRESCOMP@,$MACRESCOMP,;t t
42256 s,@MACSETFILE@,$MACSETFILE,;t t
42257 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42259 s,@DLLTOOL@,$DLLTOOL,;t t
42262 s,@MAKEINFO@,$MAKEINFO,;t t
42263 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
42264 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42265 s,@LIBOBJS@,$LIBOBJS,;t t
42266 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42271 cat >>$CONFIG_STATUS <<\_ACEOF
42272 # Split the substitutions into bite-sized pieces for seds with
42273 # small command number limits, like on Digital OSF/1 and HP-UX.
42274 ac_max_sed_lines
=48
42275 ac_sed_frag
=1 # Number of current file.
42276 ac_beg
=1 # First line for current file.
42277 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42280 while $ac_more_lines; do
42281 if test $ac_beg -gt 1; then
42282 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42284 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42286 if test ! -s $tmp/subs.frag
; then
42287 ac_more_lines
=false
42289 # The purpose of the label and of the branching condition is to
42290 # speed up the sed processing (if there are no `@' at all, there
42291 # is no need to browse any of the substitutions).
42292 # These are the two extra sed commands mentioned above.
42294 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42295 if test -z "$ac_sed_cmds"; then
42296 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42298 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42300 ac_sed_frag
=`expr $ac_sed_frag + 1`
42302 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42305 if test -z "$ac_sed_cmds"; then
42308 fi # test -n "$CONFIG_FILES"
42311 cat >>$CONFIG_STATUS <<\_ACEOF
42312 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42313 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42315 - | *:- | *:-:* ) # input from stdin
42317 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42318 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42319 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42320 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42321 * ) ac_file_in
=$ac_file.
in ;;
42324 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42325 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42326 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42327 X"$ac_file" : 'X\(//\)[^/]' \| \
42328 X"$ac_file" : 'X\(//\)$' \| \
42329 X"$ac_file" : 'X\(/\)' \| \
42330 . : '\(.\)' 2>/dev/null ||
42332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42334 /^X\(\/\/\)$/{ s//\1/; q; }
42335 /^X\(\/\).*/{ s//\1/; q; }
42337 { if $as_mkdir_p; then
42342 while test ! -d "$as_dir"; do
42343 as_dirs
="$as_dir $as_dirs"
42344 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42346 X"$as_dir" : 'X\(//\)[^/]' \| \
42347 X"$as_dir" : 'X\(//\)$' \| \
42348 X"$as_dir" : 'X\(/\)' \| \
42349 . : '\(.\)' 2>/dev/null ||
42351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42353 /^X\(\/\/\)$/{ s//\1/; q; }
42354 /^X\(\/\).*/{ s//\1/; q; }
42357 test ! -n "$as_dirs" || mkdir $as_dirs
42358 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42359 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42360 { (exit 1); exit 1; }; }; }
42364 if test "$ac_dir" != .
; then
42365 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42366 # A "../" for each directory in $ac_dir_suffix.
42367 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42369 ac_dir_suffix
= ac_top_builddir
=
42373 .
) # No --srcdir option. We are building in place.
42375 if test -z "$ac_top_builddir"; then
42378 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42380 [\\/]* | ?
:[\\/]* ) # Absolute path.
42381 ac_srcdir
=$srcdir$ac_dir_suffix;
42382 ac_top_srcdir
=$srcdir ;;
42383 *) # Relative path.
42384 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42385 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42388 # Do not use `cd foo && pwd` to compute absolute paths, because
42389 # the directories may not exist.
42391 .
) ac_abs_builddir
="$ac_dir";;
42394 .
) ac_abs_builddir
=`pwd`;;
42395 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42396 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42399 case $ac_abs_builddir in
42400 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42402 case ${ac_top_builddir}.
in
42403 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42404 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42405 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42408 case $ac_abs_builddir in
42409 .
) ac_abs_srcdir
=$ac_srcdir;;
42412 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42413 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42414 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42417 case $ac_abs_builddir in
42418 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42420 case $ac_top_srcdir in
42421 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42422 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42423 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42429 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42430 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42433 if test x
"$ac_file" != x
-; then
42434 { echo "$as_me:$LINENO: creating $ac_file" >&5
42435 echo "$as_me: creating $ac_file" >&6;}
42438 # Let's still pretend it is `configure' which instantiates (i.e., don't
42439 # use $as_me), people would be surprised to read:
42440 # /* config.h. Generated by config.status. */
42441 if test x
"$ac_file" = x
-; then
42444 configure_input
="$ac_file. "
42446 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42447 sed 's,.*/,,'` by configure."
42449 # First look for the input files in the build tree, otherwise in the
42451 ac_file_inputs
=`IFS=:
42452 for f in $ac_file_in; do
42454 -) echo $tmp/stdin ;;
42456 # Absolute (can't be DOS-style, as IFS=:)
42457 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42458 echo "$as_me: error: cannot find input file: $f" >&2;}
42459 { (exit 1); exit 1; }; }
42462 if test -f "$f"; then
42465 elif test -f "$srcdir/$f"; then
42470 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42471 echo "$as_me: error: cannot find input file: $f" >&2;}
42472 { (exit 1); exit 1; }; }
42475 done` || { (exit 1); exit 1; }
42477 cat >>$CONFIG_STATUS <<_ACEOF
42481 cat >>$CONFIG_STATUS <<\_ACEOF
42483 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42484 s
,@configure_input@
,$configure_input,;t t
42485 s
,@srcdir@
,$ac_srcdir,;t t
42486 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42487 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42488 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42489 s
,@builddir@
,$ac_builddir,;t t
42490 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42491 s
,@top_builddir@
,$ac_top_builddir,;t t
42492 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42493 s
,@INSTALL@
,$ac_INSTALL,;t t
42494 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42496 if test x"$ac_file" != x-; then
42497 mv $tmp/out $ac_file
42505 cat >>$CONFIG_STATUS <<\_ACEOF
42508 # CONFIG_HEADER section.
42511 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42512 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42514 # ac_d sets the value in "#define NAME VALUE" lines.
42515 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42516 ac_dB
='[ ].*$,\1#\2'
42519 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42520 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42521 ac_uB
='$,\1#\2define\3'
42525 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42526 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42528 - | *:- | *:-:* ) # input from stdin
42530 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42531 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42532 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42533 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42534 * ) ac_file_in
=$ac_file.
in ;;
42537 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42538 echo "$as_me: creating $ac_file" >&6;}
42540 # First look for the input files in the build tree, otherwise in the
42542 ac_file_inputs
=`IFS=:
42543 for f in $ac_file_in; do
42545 -) echo $tmp/stdin ;;
42547 # Absolute (can't be DOS-style, as IFS=:)
42548 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42549 echo "$as_me: error: cannot find input file: $f" >&2;}
42550 { (exit 1); exit 1; }; }
42551 # Do quote $f, to prevent DOS paths from being IFS'd.
42554 if test -f "$f"; then
42557 elif test -f "$srcdir/$f"; then
42562 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42563 echo "$as_me: error: cannot find input file: $f" >&2;}
42564 { (exit 1); exit 1; }; }
42567 done` || { (exit 1); exit 1; }
42568 # Remove the trailing spaces.
42569 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42573 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42574 # `conftest.undefs', that substitutes the proper values into
42575 # config.h.in to produce config.h. The first handles `#define'
42576 # templates, and the second `#undef' templates.
42577 # And first: Protect against being on the right side of a sed subst in
42578 # config.status. Protect against being in an unquoted here document
42579 # in config.status.
42580 rm -f conftest.defines conftest.undefs
42581 # Using a here document instead of a string reduces the quoting nightmare.
42582 # Putting comments in sed scripts is not portable.
42584 # `end' is used to avoid that the second main sed command (meant for
42585 # 0-ary CPP macros) applies to n-ary macro definitions.
42586 # See the Autoconf documentation for `clear'.
42587 cat >confdef2sed.
sed <<\_ACEOF
42592 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42594 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42597 # If some macros were called several times there might be several times
42598 # the same #defines, which is useless. Nevertheless, we may not want to
42599 # sort them, since we want the *last* AC-DEFINE to be honored.
42600 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42601 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42602 rm -f confdef2sed.sed
42604 # This sed command replaces #undef with comments. This is necessary, for
42605 # example, in the case of _POSIX_SOURCE, which is predefined and required
42606 # on some systems where configure will not decide to define it.
42607 cat >>conftest.undefs <<\_ACEOF
42608 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42611 # Break up conftest.defines because some shells have a limit on the size
42612 # of here documents, and old seds have small limits too (100 cmds).
42613 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42614 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42615 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42616 echo ' :' >>$CONFIG_STATUS
42617 rm -f conftest.tail
42618 while grep . conftest.defines >/dev/null
42620 # Write a limited-size here document to $tmp/defines.sed.
42621 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42622 # Speed up: don't consider the non `#define' lines.
42623 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42624 # Work around the forget-to-reset-the-flag bug.
42625 echo 't clr' >>$CONFIG_STATUS
42626 echo ': clr' >>$CONFIG_STATUS
42627 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42629 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42631 mv $tmp/out $tmp/in
42633 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42634 rm -f conftest.defines
42635 mv conftest.
tail conftest.defines
42637 rm -f conftest.defines
42638 echo ' fi # grep' >>$CONFIG_STATUS
42639 echo >>$CONFIG_STATUS
42641 # Break up conftest.undefs because some shells have a limit on the size
42642 # of here documents, and old seds have small limits too (100 cmds).
42643 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42644 rm -f conftest.
tail
42645 while grep . conftest.undefs
>/dev
/null
42647 # Write a limited-size here document to $tmp/undefs.sed.
42648 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42649 # Speed up: don't consider the non
`#undef'
42650 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42651 # Work around the forget-to-reset-the-flag bug.
42652 echo 't clr' >>$CONFIG_STATUS
42653 echo ': clr' >>$CONFIG_STATUS
42654 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42656 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42658 mv $tmp/out $tmp/in
42660 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42661 rm -f conftest.undefs
42662 mv conftest.tail conftest.undefs
42664 rm -f conftest.undefs
42666 cat >>$CONFIG_STATUS <<\_ACEOF
42667 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42668 # use $as_me), people would be surprised to read:
42669 # /* config.h. Generated by config.status. */
42670 if test x
"$ac_file" = x
-; then
42671 echo "/* Generated by configure. */" >$tmp/config.h
42673 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42675 cat $tmp/in >>$tmp/config.h
42677 if test x
"$ac_file" != x
-; then
42678 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42679 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42680 echo "$as_me: $ac_file is unchanged" >&6;}
42682 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42683 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42684 X"$ac_file" : 'X\(//\)[^/]' \| \
42685 X"$ac_file" : 'X\(//\)$' \| \
42686 X"$ac_file" : 'X\(/\)' \| \
42687 . : '\(.\)' 2>/dev/null ||
42689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42690 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42691 /^X\(\/\/\)$/{ s//\1/; q; }
42692 /^X\(\/\).*/{ s//\1/; q; }
42694 { if $as_mkdir_p; then
42699 while test ! -d "$as_dir"; do
42700 as_dirs
="$as_dir $as_dirs"
42701 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42702 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42703 X"$as_dir" : 'X\(//\)[^/]' \| \
42704 X"$as_dir" : 'X\(//\)$' \| \
42705 X"$as_dir" : 'X\(/\)' \| \
42706 . : '\(.\)' 2>/dev/null ||
42708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42709 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42710 /^X\(\/\/\)$/{ s//\1/; q; }
42711 /^X\(\/\).*/{ s//\1/; q; }
42714 test ! -n "$as_dirs" || mkdir $as_dirs
42715 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42716 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42717 { (exit 1); exit 1; }; }; }
42720 mv $tmp/config.h
$ac_file
42724 rm -f $tmp/config.h
42728 cat >>$CONFIG_STATUS <<\_ACEOF
42731 # CONFIG_COMMANDS section.
42733 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42734 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42735 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42736 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42737 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42738 X"$ac_dest" : 'X\(//\)[^/]' \| \
42739 X"$ac_dest" : 'X\(//\)$' \| \
42740 X"$ac_dest" : 'X\(/\)' \| \
42741 . : '\(.\)' 2>/dev/null ||
42743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42744 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42745 /^X\(\/\/\)$/{ s//\1/; q; }
42746 /^X\(\/\).*/{ s//\1/; q; }
42748 { if $as_mkdir_p; then
42753 while test ! -d "$as_dir"; do
42754 as_dirs
="$as_dir $as_dirs"
42755 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42756 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42757 X"$as_dir" : 'X\(//\)[^/]' \| \
42758 X"$as_dir" : 'X\(//\)$' \| \
42759 X"$as_dir" : 'X\(/\)' \| \
42760 . : '\(.\)' 2>/dev/null ||
42762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42763 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42764 /^X\(\/\/\)$/{ s//\1/; q; }
42765 /^X\(\/\).*/{ s//\1/; q; }
42768 test ! -n "$as_dirs" || mkdir $as_dirs
42769 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42770 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42771 { (exit 1); exit 1; }; }; }
42775 if test "$ac_dir" != .
; then
42776 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42777 # A "../" for each directory in $ac_dir_suffix.
42778 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42780 ac_dir_suffix
= ac_top_builddir
=
42784 .
) # No --srcdir option. We are building in place.
42786 if test -z "$ac_top_builddir"; then
42789 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42791 [\\/]* | ?
:[\\/]* ) # Absolute path.
42792 ac_srcdir
=$srcdir$ac_dir_suffix;
42793 ac_top_srcdir
=$srcdir ;;
42794 *) # Relative path.
42795 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42796 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42799 # Do not use `cd foo && pwd` to compute absolute paths, because
42800 # the directories may not exist.
42802 .
) ac_abs_builddir
="$ac_dir";;
42805 .
) ac_abs_builddir
=`pwd`;;
42806 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42807 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42810 case $ac_abs_builddir in
42811 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42813 case ${ac_top_builddir}.
in
42814 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42815 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42816 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42819 case $ac_abs_builddir in
42820 .
) ac_abs_srcdir
=$ac_srcdir;;
42823 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42824 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42825 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42828 case $ac_abs_builddir in
42829 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42831 case $ac_top_srcdir in
42832 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42833 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42834 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42839 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42840 echo "$as_me: executing $ac_dest commands" >&6;}
42843 if test ! -d lib
; then
42846 if test ! -d lib
/wx
; then
42849 if test ! -d lib
/wx
/config
; then
42850 mkdir lib
/wx
/config
42852 if test ! -d lib
/wx
/include
; then
42853 mkdir lib
/wx
/include
42855 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
42856 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
42858 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
42859 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
42861 if test -f setup.h
; then
42862 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
42865 if test -f wx
-config; then
42867 mv -f wx
-config lib
/wx
/config
/${WXCONFIG_DATA_FILE}
42868 ( cd lib
/wx
/config
;
42869 rm -f ${TOOLCHAIN_NAME}
42870 ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
42872 if test -f wx
-config-wrapper; then
42873 chmod +x wx
-config-wrapper
42874 mv -f wx
-config-wrapper wx
-config
42875 rm -f wx
${TOOLCHAIN_NAME}-config
42876 ${LN_S} wx
-config wx
${TOOLCHAIN_NAME}-config
42883 cat >>$CONFIG_STATUS <<\_ACEOF
42885 { (exit 0); exit 0; }
42887 chmod +x
$CONFIG_STATUS
42888 ac_clean_files
=$ac_clean_files_save
42891 # configure is writing to config.log, and then calls config.status.
42892 # config.status does its own redirection, appending to config.log.
42893 # Unfortunately, on DOS this fails, as config.log is still kept open
42894 # by configure, so config.status won't be able to write to it; its
42895 # output is simply discarded. So we exec the FD to /dev/null,
42896 # effectively closing config.log, so it can be properly (re)opened and
42897 # appended to by config.status. When coming back to configure, we
42898 # need to make the FD available again.
42899 if test "$no_create" != yes; then
42901 ac_config_status_args
=
42902 test "$silent" = yes &&
42903 ac_config_status_args
="$ac_config_status_args --quiet"
42905 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42907 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42908 # would make configure fail if this is the last instruction.
42909 $ac_cs_success || { (exit 1); exit 1; }
42913 # CONFIG_SUBDIRS section.
42915 if test "$no_recursion" != yes; then
42917 # Remove --cache-file and --srcdir arguments so they do not pile up.
42918 ac_sub_configure_args
=
42920 for ac_arg
in $ac_configure_args; do
42921 if test -n "$ac_prev"; then
42926 -cache-file | --cache-file | --cache-fil | --cache-fi \
42927 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42928 ac_prev
=cache_file
;;
42929 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42930 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42933 --config-cache | -C)
42935 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42937 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42943 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
42947 # Always prepend --prefix to ensure using the same prefix
42948 # in subdir configurations.
42949 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
42952 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42954 # Do not complain, so a configure script can configure whichever
42955 # parts of a large source tree are present.
42956 test -d $srcdir/$ac_dir || continue
42958 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42959 echo "$as_me: configuring in $ac_dir" >&6;}
42960 { if $as_mkdir_p; then
42965 while test ! -d "$as_dir"; do
42966 as_dirs
="$as_dir $as_dirs"
42967 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42968 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42969 X"$as_dir" : 'X\(//\)[^/]' \| \
42970 X"$as_dir" : 'X\(//\)$' \| \
42971 X"$as_dir" : 'X\(/\)' \| \
42972 . : '\(.\)' 2>/dev/null ||
42974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42976 /^X\(\/\/\)$/{ s//\1/; q; }
42977 /^X\(\/\).*/{ s//\1/; q; }
42980 test ! -n "$as_dirs" || mkdir $as_dirs
42981 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42982 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42983 { (exit 1); exit 1; }; }; }
42987 if test "$ac_dir" != .
; then
42988 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42989 # A "../" for each directory in $ac_dir_suffix.
42990 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42992 ac_dir_suffix
= ac_top_builddir
=
42996 .
) # No --srcdir option. We are building in place.
42998 if test -z "$ac_top_builddir"; then
43001 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43003 [\\/]* | ?
:[\\/]* ) # Absolute path.
43004 ac_srcdir
=$srcdir$ac_dir_suffix;
43005 ac_top_srcdir
=$srcdir ;;
43006 *) # Relative path.
43007 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43008 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43011 # Do not use `cd foo && pwd` to compute absolute paths, because
43012 # the directories may not exist.
43014 .
) ac_abs_builddir
="$ac_dir";;
43017 .
) ac_abs_builddir
=`pwd`;;
43018 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43019 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43022 case $ac_abs_builddir in
43023 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43025 case ${ac_top_builddir}.
in
43026 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43027 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43028 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43031 case $ac_abs_builddir in
43032 .
) ac_abs_srcdir
=$ac_srcdir;;
43035 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43036 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43037 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43040 case $ac_abs_builddir in
43041 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43043 case $ac_top_srcdir in
43044 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43045 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43046 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43053 # Check for guested configure; otherwise get Cygnus style configure.
43054 if test -f $ac_srcdir/configure.gnu
; then
43055 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43056 elif test -f $ac_srcdir/configure
; then
43057 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43058 elif test -f $ac_srcdir/configure.
in; then
43059 ac_sub_configure
=$ac_configure
43061 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43062 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43066 # The recursion is here.
43067 if test -n "$ac_sub_configure"; then
43068 # Make the cache file name correct relative to the subdirectory.
43069 case $cache_file in
43070 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43071 *) # Relative path.
43072 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43075 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43076 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43077 # The eval makes quoting arguments work.
43078 eval $ac_sub_configure $ac_sub_configure_args \
43079 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43080 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43081 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43082 { (exit 1); exit 1; }; }
43091 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43093 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
43094 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43096 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43097 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43098 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43100 echo " What level of wxWidgets compatibility should be enabled?"
43101 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43102 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43104 echo " Which libraries should wxWidgets use?"
43105 echo " jpeg ${wxUSE_LIBJPEG-none}"
43106 echo " png ${wxUSE_LIBPNG-none}"
43107 echo " regex ${wxUSE_REGEX}"
43108 echo " tiff ${wxUSE_LIBTIFF-none}"
43109 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43110 echo " xpm ${wxUSE_LIBXPM-none}"
43112 echo " zlib ${wxUSE_ZLIB}"
43113 echo " odbc ${wxUSE_ODBC}"
43114 echo " expat ${wxUSE_EXPAT}"
43115 echo " libmspack ${wxUSE_LIBMSPACK}"
43116 echo " sdl ${wxUSE_LIBSDL}"