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-choicebook use wxChoicebook class
971 --enable-combobox use wxComboBox class
972 --enable-display use wxDisplay class
973 --enable-gauge use wxGauge class
974 --enable-grid use wxGrid class
975 --enable-imaglist use wxImageList class
976 --enable-listbook use wxListbook class
977 --enable-listbox use wxListBox class
978 --enable-listctrl use wxListCtrl class
979 --enable-notebook use wxNotebook class
980 --enable-radiobox use wxRadioBox class
981 --enable-radiobtn use wxRadioButton class
982 --enable-sash use wxSashWindow class
983 --enable-scrollbar use wxScrollBar class and scrollable windows
984 --enable-slider use wxSlider class
985 --enable-spinbtn use wxSpinButton class
986 --enable-spinctrl use wxSpinCtrl class
987 --enable-splitter use wxSplitterWindow class
988 --enable-statbmp use wxStaticBitmap class
989 --enable-statbox use wxStaticBox class
990 --enable-statline use wxStaticLine class
991 --enable-stattext use wxStaticText class
992 --enable-statusbar use wxStatusBar class
993 --enable-tabdialog use wxTabControl class
994 --enable-textctrl use wxTextCtrl class
995 --enable-togglebtn use wxToggleButton class
996 --enable-toolbar use wxToolBar class
997 --enable-tbarnative use native wxToolBar class
998 --enable-tbarsmpl use wxToolBarSimple class
999 --enable-treectrl use wxTreeCtrl class
1000 --enable-tipwindow use wxTipWindow class
1001 --enable-popupwin use wxPopUpWindow class
1002 --enable-commondlg use all common dialogs
1003 --enable-choicedlg use wxChoiceDialog
1004 --enable-coldlg use wxColourDialog
1005 --enable-filedlg use wxFileDialog
1006 --enable-finddlg use wxFindReplaceDialog
1007 --enable-fontdlg use wxFontDialog
1008 --enable-dirdlg use wxDirDialog
1009 --enable-msgdlg use wxMessageDialog
1010 --enable-numberdlg use wxNumberEntryDialog
1011 --enable-splash use wxSplashScreen
1012 --enable-textdlg use wxTextDialog
1013 --enable-tipdlg use startup tips
1014 --enable-progressdlg use wxProgressDialog
1015 --enable-wizarddlg use wxWizard
1016 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1017 --enable-miniframe use wxMiniFrame class
1018 --enable-tooltips use wxToolTip class
1019 --enable-splines use spline drawing code
1020 --enable-validators use wxValidator and derived classes
1021 --enable-busyinfo use wxBusyInfo
1022 --enable-joystick use wxJoystick
(Linux only
)
1023 --enable-metafiles use wxMetaFile
(Windows only
)
1024 --enable-dragimage use wxDragImage
1025 --enable-accessibility enable accessibility support
1026 --enable-palette use wxPalette class
1027 --enable-image use wxImage class
1028 --enable-gif use gif images
(GIF
file format
)
1029 --enable-pcx use pcx images
(PCX
file format
)
1030 --enable-iff use iff images
(IFF
file format
)
1031 --enable-pnm use pnm images
(PNM
file format
)
1032 --enable-xpm use xpm images
(XPM
file format
)
1033 --enable-icocur use Windows ICO and CUR formats
1034 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1035 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1036 --disable-largefile omit support
for large files
1037 --disable-gtktest do not try to compile and run a
test GTK
+ program
1038 --disable-gtktest Do not try to compile and run a
test GTK program
1039 --disable-sdltest Do not try to compile and run a
test SDL program
1040 --enable-omf use OMF object format
(OS
/2)
1041 --disable-precomp-headers
1042 don
't use precompiled headers even if compiler can
1045 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1046 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1048 --with-motif use Motif/Lesstif
1049 --with-mac use Mac OS X
1050 --with-cocoa use Cocoa
1051 --with-wine use Wine
1052 --with-msw use MS-Windows
1053 --with-pm use OS/2 Presentation Manager
1054 --with-mgl use SciTech MGL
1055 --with-microwin use MicroWindows
1057 --with-libpng use libpng (PNG image format)
1058 --with-libjpeg use libjpeg (JPEG file format)
1059 --with-libtiff use libtiff (TIFF file format)
1060 --with-libxpm use libxpm (XPM file format)
1061 --with-libmspack use libmspack (CHM help files loading)
1062 --with-sdl use SDL for audio on Unix
1063 --with-opengl use OpenGL (or Mesa)
1064 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1065 --with-regex enable support for wxRegEx class
1066 --with-zlib use zlib for LZW compression
1067 --with-odbc use the IODBC and wxODBC classes
1068 --with-expat enable XML support using expat parser
1069 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1070 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1071 --with-x use the X Window System
1072 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1073 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1074 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1075 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1076 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1078 Some influential environment variables:
1079 CC C compiler command
1080 CFLAGS C compiler flags
1081 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1082 nonstandard directory <lib dir>
1083 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1084 headers in a nonstandard directory <include dir>
1086 CXX C++ compiler command
1087 CXXFLAGS C++ compiler flags
1088 CXXCPP C++ preprocessor
1090 Use these variables to override the choices made by `configure' or to
help
1091 it to
find libraries and programs with nonstandard names
/locations.
1093 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1097 if test "$ac_init_help" = "recursive"; then
1098 # If there are subdirs, report their specific --help.
1100 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1101 test -d $ac_dir || continue
1104 if test "$ac_dir" != .
; then
1105 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1106 # A "../" for each directory in $ac_dir_suffix.
1107 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1109 ac_dir_suffix
= ac_top_builddir
=
1113 .
) # No --srcdir option. We are building in place.
1115 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1120 [\\/]* | ?
:[\\/]* ) # Absolute path.
1121 ac_srcdir
=$srcdir$ac_dir_suffix;
1122 ac_top_srcdir
=$srcdir ;;
1124 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1125 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1128 # Do not use `cd foo && pwd` to compute absolute paths, because
1129 # the directories may not exist.
1131 .
) ac_abs_builddir
="$ac_dir";;
1134 .
) ac_abs_builddir
=`pwd`;;
1135 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1136 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1139 case $ac_abs_builddir in
1140 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1142 case ${ac_top_builddir}.
in
1143 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1144 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1145 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1148 case $ac_abs_builddir in
1149 .
) ac_abs_srcdir
=$ac_srcdir;;
1152 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1153 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1154 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1157 case $ac_abs_builddir in
1158 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1160 case $ac_top_srcdir in
1161 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1162 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1163 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1168 # Check for guested configure; otherwise get Cygnus style configure.
1169 if test -f $ac_srcdir/configure.gnu
; then
1171 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1172 elif test -f $ac_srcdir/configure
; then
1174 $SHELL $ac_srcdir/configure
--help=recursive
1175 elif test -f $ac_srcdir/configure.ac
||
1176 test -f $ac_srcdir/configure.
in; then
1178 $ac_configure --help
1180 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1186 test -n "$ac_init_help" && exit 0
1187 if $ac_init_version; then
1189 wxWidgets configure
2.5.2
1190 generated by GNU Autoconf
2.59
1192 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1193 This configure
script is free software
; the Free Software Foundation
1194 gives unlimited permission to copy
, distribute and modify it.
1200 This file contains any messages produced by compilers while
1201 running configure, to aid debugging if configure makes a mistake.
1203 It was created by wxWidgets $as_me 2.5.2, which was
1204 generated by GNU Autoconf 2.59. Invocation command line was
1215 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1216 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1217 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1218 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1219 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1221 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1222 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1224 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1225 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1226 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1227 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1228 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1229 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1230 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1238 test -z "$as_dir" && as_dir
=.
1239 echo "PATH: $as_dir"
1254 # Keep a trace of the command line.
1255 # Strip out --no-create and --no-recursion so they do not pile up.
1256 # Strip out --silent because we don't want to record it for future runs.
1257 # Also quote any args containing shell meta-characters.
1258 # Make two passes to allow for proper duplicate-argument suppression.
1263 ac_must_keep_next
=false
1269 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271 | -silent | --silent | --silen | --sile | --sil)
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1279 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1280 if test $ac_must_keep_next = true
; then
1281 ac_must_keep_next
=false
# Got value, back to normal.
1284 *=* | --config-cache | -C | -disable-* | --disable-* \
1285 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1286 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1287 | -with-* | --with-* | -without-* | --without-* | --x)
1288 case "$ac_configure_args0 " in
1289 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 -* ) ac_must_keep_next
=true
;;
1295 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1296 # Get rid of the leading space.
1302 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1303 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1305 # When interrupted or exit'd, cleanup temporary files, and complete
1306 # config.log. We remove comments because anyway the quotes in there
1307 # would cause problems or look ugly.
1308 # WARNING: Be sure not to use single quotes in there, as some shells,
1309 # such as our DU 5.0 friend, will then `close' the trap.
1310 trap 'exit_status=$?
1311 # Save into config.log some information that might help in debugging.
1316 ## ---------------- ##
1317 ## Cache variables. ##
1318 ## ---------------- ##
1321 # The following way of writing the cache mishandles newlines in values,
1324 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1332 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1339 ## ----------------- ##
1340 ## Output variables. ##
1341 ## ----------------- ##
1344 for ac_var in $ac_subst_vars
1346 eval ac_val=$`echo $ac_var`
1347 echo "$ac_var='"'"'$ac_val'"'"'"
1351 if test -n "$ac_subst_files"; then
1358 for ac_var in $ac_subst_files
1360 eval ac_val=$`echo $ac_var`
1361 echo "$ac_var='"'"'$ac_val'"'"'"
1366 if test -s confdefs.h; then
1373 sed "/^$/d" confdefs.h | sort
1376 test "$ac_signal" != 0 &&
1377 echo "$as_me: caught signal $ac_signal"
1378 echo "$as_me: exit $exit_status"
1380 rm -f core *.core &&
1381 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 for ac_signal
in 1 2 13 15; do
1385 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1390 rm -rf conftest
* confdefs.h
1391 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 # Predefined preprocessor variables.
1396 cat >>confdefs.h
<<_ACEOF
1397 #define PACKAGE_NAME "$PACKAGE_NAME"
1401 cat >>confdefs.h
<<_ACEOF
1402 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1406 cat >>confdefs.h
<<_ACEOF
1407 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1411 cat >>confdefs.h
<<_ACEOF
1412 #define PACKAGE_STRING "$PACKAGE_STRING"
1416 cat >>confdefs.h
<<_ACEOF
1417 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1421 # Let the site file select an alternate cache file if it wants to.
1422 # Prefer explicitly selected file to automatically selected ones.
1423 if test -z "$CONFIG_SITE"; then
1424 if test "x$prefix" != xNONE
; then
1425 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1427 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430 for ac_site_file
in $CONFIG_SITE; do
1431 if test -r "$ac_site_file"; then
1432 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1433 echo "$as_me: loading site script $ac_site_file" >&6;}
1434 sed 's/^/| /' "$ac_site_file" >&5
1439 if test -r "$cache_file"; then
1440 # Some versions of bash will fail to source /dev/null (special
1441 # files actually), so we avoid doing that.
1442 if test -f "$cache_file"; then
1443 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1444 echo "$as_me: loading cache $cache_file" >&6;}
1446 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1447 *) . .
/$cache_file;;
1451 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1452 echo "$as_me: creating cache $cache_file" >&6;}
1456 # Check that the precious variables saved in the cache have kept the same
1458 ac_cache_corrupted
=false
1459 for ac_var
in `(set) 2>&1 |
1460 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1461 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1462 eval ac_new_set
=\
$ac_env_${ac_var}_set
1463 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1464 eval ac_new_val
="\$ac_env_${ac_var}_value"
1465 case $ac_old_set,$ac_new_set in
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1469 ac_cache_corrupted
=: ;;
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1473 ac_cache_corrupted
=: ;;
1476 if test "x$ac_old_val" != "x$ac_new_val"; then
1477 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1478 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1479 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1480 echo "$as_me: former value: $ac_old_val" >&2;}
1481 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1482 echo "$as_me: current value: $ac_new_val" >&2;}
1483 ac_cache_corrupted
=:
1486 # Pass precious variables to config.status.
1487 if test "$ac_new_set" = set; then
1489 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1490 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1491 *) ac_arg
=$ac_var=$ac_new_val ;;
1493 case " $ac_configure_args " in
1494 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1495 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1499 if $ac_cache_corrupted; then
1500 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1501 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1502 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1503 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1504 { (exit 1); exit 1; }; }
1508 ac_cpp
='$CPP $CPPFLAGS'
1509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1543 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1544 if test -f $ac_dir/install-sh; then
1546 ac_install_sh
="$ac_aux_dir/install-sh -c"
1548 elif test -f $ac_dir/install.sh
; then
1550 ac_install_sh
="$ac_aux_dir/install.sh -c"
1552 elif test -f $ac_dir/shtool
; then
1554 ac_install_sh
="$ac_aux_dir/shtool install -c"
1558 if test -z "$ac_aux_dir"; then
1559 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1560 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1561 { (exit 1); exit 1; }; }
1563 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1564 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1565 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1567 # Make sure we can run config.sub.
1568 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1569 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1570 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1571 { (exit 1); exit 1; }; }
1573 echo "$as_me:$LINENO: checking build system type" >&5
1574 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1575 if test "${ac_cv_build+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 ac_cv_build_alias
=$build_alias
1579 test -z "$ac_cv_build_alias" &&
1580 ac_cv_build_alias
=`$ac_config_guess`
1581 test -z "$ac_cv_build_alias" &&
1582 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1583 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1584 { (exit 1); exit 1; }; }
1585 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1586 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1587 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1588 { (exit 1); exit 1; }; }
1591 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1592 echo "${ECHO_T}$ac_cv_build" >&6
1594 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1595 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1596 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1599 echo "$as_me:$LINENO: checking host system type" >&5
1600 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1601 if test "${ac_cv_host+set}" = set; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 ac_cv_host_alias
=$host_alias
1605 test -z "$ac_cv_host_alias" &&
1606 ac_cv_host_alias
=$ac_cv_build_alias
1607 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1608 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1609 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1610 { (exit 1); exit 1; }; }
1613 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1614 echo "${ECHO_T}$ac_cv_host" >&6
1616 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1617 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1618 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1621 echo "$as_me:$LINENO: checking target system type" >&5
1622 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1623 if test "${ac_cv_target+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 ac_cv_target_alias
=$target_alias
1627 test "x$ac_cv_target_alias" = "x" &&
1628 ac_cv_target_alias
=$ac_cv_host_alias
1629 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1630 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1631 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1632 { (exit 1); exit 1; }; }
1635 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1636 echo "${ECHO_T}$ac_cv_target" >&6
1637 target
=$ac_cv_target
1638 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1639 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1640 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1643 # The aliases save the names the user supplied, while $host etc.
1644 # will get canonicalized.
1645 test -n "$target_alias" &&
1646 test "$program_prefix$program_suffix$program_transform_name" = \
1648 program_prefix
=${target_alias}-
1652 WX_MAJOR_VERSION_NUMBER
=2
1653 WX_MINOR_VERSION_NUMBER
=5
1655 WX_SUBRELEASE_NUMBER
=3
1657 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1658 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1660 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1676 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1682 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1688 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1690 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1692 DEFAULT_wxUSE_COCOA
=0
1696 DEFAULT_wxUSE_MICROWIN
=0
1697 DEFAULT_wxUSE_MOTIF
=0
1702 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1703 DEFAULT_DEFAULT_wxUSE_GTK
=0
1704 DEFAULT_DEFAULT_wxUSE_MAC
=0
1705 DEFAULT_DEFAULT_wxUSE_MGL
=0
1706 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1707 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1708 DEFAULT_DEFAULT_wxUSE_MSW
=0
1709 DEFAULT_DEFAULT_wxUSE_PM
=0
1710 DEFAULT_DEFAULT_wxUSE_X11
=0
1715 SAMPLES_RPATH_POSTLINK
=
1720 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1721 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1723 cat >>confdefs.h
<<\_ACEOF
1730 cat >>confdefs.h
<<\_ACEOF
1735 if test "x$TMP" = "xalpha"; then
1737 cat >>confdefs.h
<<\_ACEOF
1742 DEFAULT_DEFAULT_wxUSE_GTK
=1
1744 *-*-gnu* | *-*-k*bsd
*-gnu )
1747 if test "x$TMP" = "xalpha"; then
1749 cat >>confdefs.h
<<\_ACEOF
1754 DEFAULT_DEFAULT_wxUSE_GTK
=1
1756 *-*-irix5* | *-*-irix6* )
1759 cat >>confdefs.h
<<\_ACEOF
1763 cat >>confdefs.h
<<\_ACEOF
1767 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1773 cat >>confdefs.h
<<\_ACEOF
1777 cat >>confdefs.h
<<\_ACEOF
1778 #define __SOLARIS__ 1
1781 cat >>confdefs.h
<<\_ACEOF
1785 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1786 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1792 cat >>confdefs.h
<<\_ACEOF
1796 cat >>confdefs.h
<<\_ACEOF
1800 cat >>confdefs.h
<<\_ACEOF
1804 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1809 cat >>confdefs.h
<<\_ACEOF
1810 #define __FREEBSD__ 1
1813 cat >>confdefs.h
<<\_ACEOF
1817 DEFAULT_DEFAULT_wxUSE_GTK
=1
1822 cat >>confdefs.h
<<\_ACEOF
1823 #define __OPENBSD__ 1
1826 cat >>confdefs.h
<<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_GTK
=1
1835 cat >>confdefs.h
<<\_ACEOF
1836 #define __NETBSD__ 1
1839 cat >>confdefs.h
<<\_ACEOF
1843 DEFAULT_DEFAULT_wxUSE_GTK
=1
1848 cat >>confdefs.h
<<\_ACEOF
1852 cat >>confdefs.h
<<\_ACEOF
1856 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1857 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1862 cat >>confdefs.h
<<\_ACEOF
1866 cat >>confdefs.h
<<\_ACEOF
1870 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1875 cat >>confdefs.h
<<\_ACEOF
1879 cat >>confdefs.h
<<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1890 cat >>confdefs.h
<<\_ACEOF
1894 cat >>confdefs.h
<<\_ACEOF
1898 cat >>confdefs.h
<<\_ACEOF
1902 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1909 cat >>confdefs.h
<<\_ACEOF
1910 #define __UNIXWARE__ 1
1915 *-*-cygwin* | *-*-mingw32* )
1919 DEFAULT_DEFAULT_wxUSE_MSW
=1
1925 cat >>confdefs.h
<<\_ACEOF
1930 DEFAULT_DEFAULT_wxUSE_MGL
=1
1931 LIBS
="$LIBS -lstdc++"
1934 *-pc-os2_emx | *-pc-os2-emx )
1935 cat >>confdefs.h
<<\_ACEOF
1940 cat >>confdefs.h
<<\_ACEOF
1945 DEFAULT_DEFAULT_wxUSE_PM
=1
1947 LDFLAGS
="$LDFLAGS -Zcrtdll"
1948 ac_executable_extensions
=".exe"
1949 export ac_executable_extensions
1953 for ac_dir
in $PATH; do
1955 if test -z "$ac_TEMP_PATH"; then
1956 ac_TEMP_PATH
="$ac_dir"
1958 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1961 export PATH
="$ac_TEMP_PATH"
1969 cat >>confdefs.h
<<\_ACEOF
1973 cat >>confdefs.h
<<\_ACEOF
1974 #define __DARWIN__ 1
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define __POWERPC__ 1
1981 cat >>confdefs.h
<<\_ACEOF
1982 #define TARGET_CARBON 1
1985 DEFAULT_DEFAULT_wxUSE_MAC
=1
1990 cat >>confdefs.h
<<\_ACEOF
1997 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1998 echo "$as_me: error: unknown system type ${host}." >&2;}
1999 { (exit 1); exit 1; }; }
2005 wx_arg_cache_file
="configarg.cache"
2006 echo "loading argument cache $wx_arg_cache_file"
2007 rm -f ${wx_arg_cache_file}.tmp
2008 touch ${wx_arg_cache_file}.tmp
2009 touch ${wx_arg_cache_file}
2013 if test $DEBUG_CONFIGURE = 1; then
2014 DEFAULT_wxUSE_UNIVERSAL
=no
2015 DEFAULT_wxUSE_STL
=no
2017 DEFAULT_wxUSE_NANOX
=no
2019 DEFAULT_wxUSE_THREADS
=yes
2021 DEFAULT_wxUSE_SHARED
=yes
2022 DEFAULT_wxUSE_OPTIMISE
=no
2023 DEFAULT_wxUSE_PROFILE
=no
2024 DEFAULT_wxUSE_NO_DEPS
=no
2025 DEFAULT_wxUSE_NO_RTTI
=no
2026 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2027 DEFAULT_wxUSE_PERMISSIVE
=no
2028 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2029 DEFAULT_wxUSE_DEBUG_INFO
=yes
2030 DEFAULT_wxUSE_DEBUG_GDB
=yes
2031 DEFAULT_wxUSE_MEM_TRACING
=no
2032 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2033 DEFAULT_wxUSE_DMALLOC
=no
2034 DEFAULT_wxUSE_APPLE_IEEE
=no
2036 DEFAULT_wxUSE_EXCEPTIONS
=no
2037 DEFAULT_wxUSE_LOG
=yes
2038 DEFAULT_wxUSE_LOGWINDOW
=no
2039 DEFAULT_wxUSE_LOGGUI
=no
2040 DEFAULT_wxUSE_LOGDIALOG
=no
2042 DEFAULT_wxUSE_GUI
=yes
2043 DEFAULT_wxUSE_CONTROLS
=no
2045 DEFAULT_wxUSE_REGEX
=no
2046 DEFAULT_wxUSE_XML
=no
2047 DEFAULT_wxUSE_EXPAT
=no
2048 DEFAULT_wxUSE_ZLIB
=no
2049 DEFAULT_wxUSE_LIBPNG
=no
2050 DEFAULT_wxUSE_LIBJPEG
=no
2051 DEFAULT_wxUSE_LIBTIFF
=no
2052 DEFAULT_wxUSE_LIBXPM
=no
2053 DEFAULT_wxUSE_LIBMSPACK
=no
2054 DEFAULT_wxUSE_LIBSDL
=no
2055 DEFAULT_wxUSE_ODBC
=no
2056 DEFAULT_wxUSE_OPENGL
=no
2058 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2059 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2060 DEFAULT_wxUSE_STD_IOSTREAM
=no
2061 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2062 DEFAULT_wxUSE_DATETIME
=no
2063 DEFAULT_wxUSE_TIMER
=no
2064 DEFAULT_wxUSE_STOPWATCH
=no
2065 DEFAULT_wxUSE_FILE
=no
2066 DEFAULT_wxUSE_FFILE
=no
2067 DEFAULT_wxUSE_TEXTBUFFER
=no
2068 DEFAULT_wxUSE_TEXTFILE
=no
2069 DEFAULT_wxUSE_SOUND
=no
2070 DEFAULT_wxUSE_INTL
=no
2071 DEFAULT_wxUSE_CONFIG
=no
2072 DEFAULT_wxUSE_FONTMAP
=no
2073 DEFAULT_wxUSE_STREAMS
=no
2074 DEFAULT_wxUSE_SOCKETS
=no
2075 DEFAULT_wxUSE_OLE
=no
2076 DEFAULT_wxUSE_DATAOBJ
=no
2077 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2078 DEFAULT_wxUSE_JOYSTICK
=no
2079 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2080 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2081 DEFAULT_wxUSE_LONGLONG
=no
2082 DEFAULT_wxUSE_GEOMETRY
=no
2084 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2085 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2086 DEFAULT_wxUSE_POSTSCRIPT
=no
2088 DEFAULT_wxUSE_CLIPBOARD
=no
2089 DEFAULT_wxUSE_TOOLTIPS
=no
2090 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2091 DEFAULT_wxUSE_DRAGIMAGE
=no
2092 DEFAULT_wxUSE_SPLINES
=no
2094 DEFAULT_wxUSE_MDI
=no
2095 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2096 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2097 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2099 DEFAULT_wxUSE_RESOURCES
=no
2100 DEFAULT_wxUSE_CONSTRAINTS
=no
2101 DEFAULT_wxUSE_IPC
=no
2102 DEFAULT_wxUSE_HELP
=no
2103 DEFAULT_wxUSE_MS_HTML_HELP
=no
2104 DEFAULT_wxUSE_WXHTML_HELP
=no
2105 DEFAULT_wxUSE_TREELAYOUT
=no
2106 DEFAULT_wxUSE_METAFILE
=no
2107 DEFAULT_wxUSE_MIMETYPE
=no
2108 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2109 DEFAULT_wxUSE_PROTOCOL
=no
2110 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2111 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2112 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2113 DEFAULT_wxUSE_URL
=no
2115 DEFAULT_wxUSE_COMMONDLGS
=no
2116 DEFAULT_wxUSE_CHOICEDLG
=no
2117 DEFAULT_wxUSE_COLOURDLG
=no
2118 DEFAULT_wxUSE_DIRDLG
=no
2119 DEFAULT_wxUSE_FILEDLG
=no
2120 DEFAULT_wxUSE_FINDREPLDLG
=no
2121 DEFAULT_wxUSE_FONTDLG
=no
2122 DEFAULT_wxUSE_MSGDLG
=no
2123 DEFAULT_wxUSE_NUMBERDLG
=no
2124 DEFAULT_wxUSE_TEXTDLG
=no
2125 DEFAULT_wxUSE_SPLASH
=no
2126 DEFAULT_wxUSE_STARTUP_TIPS
=no
2127 DEFAULT_wxUSE_PROGRESSDLG
=no
2128 DEFAULT_wxUSE_WIZARDDLG
=no
2130 DEFAULT_wxUSE_MENUS
=no
2131 DEFAULT_wxUSE_MINIFRAME
=no
2132 DEFAULT_wxUSE_HTML
=no
2133 DEFAULT_wxUSE_WEBKIT
=no
2134 DEFAULT_wxUSE_FILESYSTEM
=no
2135 DEFAULT_wxUSE_FS_INET
=no
2136 DEFAULT_wxUSE_FS_ZIP
=no
2137 DEFAULT_wxUSE_BUSYINFO
=no
2138 DEFAULT_wxUSE_ZIPSTREAM
=no
2139 DEFAULT_wxUSE_VALIDATORS
=no
2141 DEFAULT_wxUSE_ACCEL
=no
2142 DEFAULT_wxUSE_BUTTON
=no
2143 DEFAULT_wxUSE_BMPBUTTON
=no
2144 DEFAULT_wxUSE_CALCTRL
=no
2145 DEFAULT_wxUSE_CARET
=no
2146 DEFAULT_wxUSE_CHECKBOX
=no
2147 DEFAULT_wxUSE_CHECKLST
=no
2148 DEFAULT_wxUSE_CHOICE
=no
2149 DEFAULT_wxUSE_CHOICEBOOK
=no
2150 DEFAULT_wxUSE_COMBOBOX
=no
2151 DEFAULT_wxUSE_DISPLAY
=no
2152 DEFAULT_wxUSE_GAUGE
=no
2153 DEFAULT_wxUSE_GRID
=no
2154 DEFAULT_wxUSE_IMAGLIST
=no
2155 DEFAULT_wxUSE_LISTBOOK
=no
2156 DEFAULT_wxUSE_LISTBOX
=no
2157 DEFAULT_wxUSE_LISTCTRL
=no
2158 DEFAULT_wxUSE_NOTEBOOK
=no
2159 DEFAULT_wxUSE_RADIOBOX
=no
2160 DEFAULT_wxUSE_RADIOBTN
=no
2161 DEFAULT_wxUSE_SASH
=no
2162 DEFAULT_wxUSE_SCROLLBAR
=no
2163 DEFAULT_wxUSE_SLIDER
=no
2164 DEFAULT_wxUSE_SPINBTN
=no
2165 DEFAULT_wxUSE_SPINCTRL
=no
2166 DEFAULT_wxUSE_SPLITTER
=no
2167 DEFAULT_wxUSE_STATBMP
=no
2168 DEFAULT_wxUSE_STATBOX
=no
2169 DEFAULT_wxUSE_STATLINE
=no
2170 DEFAULT_wxUSE_STATTEXT
=no
2171 DEFAULT_wxUSE_STATUSBAR
=yes
2172 DEFAULT_wxUSE_TABDIALOG
=no
2173 DEFAULT_wxUSE_TEXTCTRL
=no
2174 DEFAULT_wxUSE_TOGGLEBTN
=no
2175 DEFAULT_wxUSE_TOOLBAR
=no
2176 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2177 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2178 DEFAULT_wxUSE_TREECTRL
=no
2179 DEFAULT_wxUSE_POPUPWIN
=no
2180 DEFAULT_wxUSE_TIPWINDOW
=no
2182 DEFAULT_wxUSE_UNICODE
=no
2183 DEFAULT_wxUSE_UNICODE_MSLU
=no
2184 DEFAULT_wxUSE_WCSRTOMBS
=no
2186 DEFAULT_wxUSE_PALETTE
=no
2187 DEFAULT_wxUSE_IMAGE
=no
2188 DEFAULT_wxUSE_GIF
=no
2189 DEFAULT_wxUSE_PCX
=no
2190 DEFAULT_wxUSE_PNM
=no
2191 DEFAULT_wxUSE_IFF
=no
2192 DEFAULT_wxUSE_XPM
=no
2193 DEFAULT_wxUSE_ICO_CUR
=no
2194 DEFAULT_wxUSE_ACCESSIBILITY
=no
2196 DEFAULT_wxUSE_MONOLITHIC
=no
2197 DEFAULT_wxUSE_PLUGINS
=no
2198 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2200 DEFAULT_wxUSE_UNIVERSAL
=no
2201 DEFAULT_wxUSE_STL
=no
2203 DEFAULT_wxUSE_NANOX
=no
2205 DEFAULT_wxUSE_THREADS
=yes
2207 DEFAULT_wxUSE_SHARED
=yes
2208 DEFAULT_wxUSE_OPTIMISE
=yes
2209 DEFAULT_wxUSE_PROFILE
=no
2210 DEFAULT_wxUSE_NO_DEPS
=no
2211 DEFAULT_wxUSE_NO_RTTI
=no
2212 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2213 DEFAULT_wxUSE_PERMISSIVE
=no
2214 DEFAULT_wxUSE_DEBUG_FLAG
=no
2215 DEFAULT_wxUSE_DEBUG_INFO
=no
2216 DEFAULT_wxUSE_DEBUG_GDB
=no
2217 DEFAULT_wxUSE_MEM_TRACING
=no
2218 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2219 DEFAULT_wxUSE_DMALLOC
=no
2220 DEFAULT_wxUSE_APPLE_IEEE
=yes
2222 DEFAULT_wxUSE_EXCEPTIONS
=yes
2223 DEFAULT_wxUSE_LOG
=yes
2224 DEFAULT_wxUSE_LOGWINDOW
=yes
2225 DEFAULT_wxUSE_LOGGUI
=yes
2226 DEFAULT_wxUSE_LOGDIALOG
=yes
2228 DEFAULT_wxUSE_GUI
=yes
2230 DEFAULT_wxUSE_REGEX
=yes
2231 DEFAULT_wxUSE_XML
=yes
2232 DEFAULT_wxUSE_EXPAT
=yes
2233 DEFAULT_wxUSE_ZLIB
=yes
2234 DEFAULT_wxUSE_LIBPNG
=yes
2235 DEFAULT_wxUSE_LIBJPEG
=yes
2236 DEFAULT_wxUSE_LIBTIFF
=yes
2237 DEFAULT_wxUSE_LIBXPM
=yes
2238 DEFAULT_wxUSE_LIBMSPACK
=yes
2239 DEFAULT_wxUSE_LIBSDL
=no
2240 DEFAULT_wxUSE_ODBC
=no
2241 DEFAULT_wxUSE_OPENGL
=no
2243 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2244 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2245 DEFAULT_wxUSE_STD_IOSTREAM
=no
2246 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2247 DEFAULT_wxUSE_DATETIME
=yes
2248 DEFAULT_wxUSE_TIMER
=yes
2249 DEFAULT_wxUSE_STOPWATCH
=yes
2250 DEFAULT_wxUSE_FILE
=yes
2251 DEFAULT_wxUSE_FFILE
=yes
2252 DEFAULT_wxUSE_TEXTBUFFER
=yes
2253 DEFAULT_wxUSE_TEXTFILE
=yes
2254 DEFAULT_wxUSE_SOUND
=yes
2255 DEFAULT_wxUSE_INTL
=yes
2256 DEFAULT_wxUSE_CONFIG
=yes
2257 DEFAULT_wxUSE_FONTMAP
=yes
2258 DEFAULT_wxUSE_STREAMS
=yes
2259 DEFAULT_wxUSE_SOCKETS
=yes
2260 DEFAULT_wxUSE_OLE
=yes
2261 DEFAULT_wxUSE_DATAOBJ
=yes
2262 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2263 DEFAULT_wxUSE_JOYSTICK
=yes
2264 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2265 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2266 DEFAULT_wxUSE_LONGLONG
=yes
2267 DEFAULT_wxUSE_GEOMETRY
=yes
2269 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2270 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2271 DEFAULT_wxUSE_POSTSCRIPT
=yes
2273 DEFAULT_wxUSE_CLIPBOARD
=yes
2274 DEFAULT_wxUSE_TOOLTIPS
=yes
2275 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2276 DEFAULT_wxUSE_DRAGIMAGE
=yes
2277 DEFAULT_wxUSE_SPLINES
=yes
2279 DEFAULT_wxUSE_MDI
=yes
2280 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2281 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2282 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2284 DEFAULT_wxUSE_RESOURCES
=no
2285 DEFAULT_wxUSE_CONSTRAINTS
=yes
2286 DEFAULT_wxUSE_IPC
=yes
2287 DEFAULT_wxUSE_HELP
=yes
2288 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2289 DEFAULT_wxUSE_WXHTML_HELP
=yes
2290 DEFAULT_wxUSE_TREELAYOUT
=yes
2291 DEFAULT_wxUSE_METAFILE
=yes
2292 DEFAULT_wxUSE_MIMETYPE
=yes
2293 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2294 DEFAULT_wxUSE_PROTOCOL
=yes
2295 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2296 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2297 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2298 DEFAULT_wxUSE_URL
=yes
2300 DEFAULT_wxUSE_COMMONDLGS
=yes
2301 DEFAULT_wxUSE_CHOICEDLG
=yes
2302 DEFAULT_wxUSE_COLOURDLG
=yes
2303 DEFAULT_wxUSE_DIRDLG
=yes
2304 DEFAULT_wxUSE_FILEDLG
=yes
2305 DEFAULT_wxUSE_FINDREPLDLG
=yes
2306 DEFAULT_wxUSE_FONTDLG
=yes
2307 DEFAULT_wxUSE_MSGDLG
=yes
2308 DEFAULT_wxUSE_NUMBERDLG
=yes
2309 DEFAULT_wxUSE_TEXTDLG
=yes
2310 DEFAULT_wxUSE_SPLASH
=yes
2311 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2312 DEFAULT_wxUSE_PROGRESSDLG
=yes
2313 DEFAULT_wxUSE_WIZARDDLG
=yes
2315 DEFAULT_wxUSE_MENUS
=yes
2316 DEFAULT_wxUSE_MINIFRAME
=yes
2317 DEFAULT_wxUSE_HTML
=yes
2318 DEFAULT_wxUSE_WEBKIT
=yes
2319 DEFAULT_wxUSE_FILESYSTEM
=yes
2320 DEFAULT_wxUSE_FS_INET
=yes
2321 DEFAULT_wxUSE_FS_ZIP
=yes
2322 DEFAULT_wxUSE_BUSYINFO
=yes
2323 DEFAULT_wxUSE_ZIPSTREAM
=yes
2324 DEFAULT_wxUSE_VALIDATORS
=yes
2326 DEFAULT_wxUSE_ACCEL
=yes
2327 DEFAULT_wxUSE_BUTTON
=yes
2328 DEFAULT_wxUSE_BMPBUTTON
=yes
2329 DEFAULT_wxUSE_CALCTRL
=yes
2330 DEFAULT_wxUSE_CARET
=yes
2331 DEFAULT_wxUSE_CHECKBOX
=yes
2332 DEFAULT_wxUSE_CHECKLST
=yes
2333 DEFAULT_wxUSE_CHOICE
=yes
2334 DEFAULT_wxUSE_CHOICEBOOK
=yes
2335 DEFAULT_wxUSE_COMBOBOX
=yes
2336 DEFAULT_wxUSE_DISPLAY
=yes
2337 DEFAULT_wxUSE_GAUGE
=yes
2338 DEFAULT_wxUSE_GRID
=yes
2339 DEFAULT_wxUSE_IMAGLIST
=yes
2340 DEFAULT_wxUSE_LISTBOOK
=yes
2341 DEFAULT_wxUSE_LISTBOX
=yes
2342 DEFAULT_wxUSE_LISTCTRL
=yes
2343 DEFAULT_wxUSE_NOTEBOOK
=yes
2344 DEFAULT_wxUSE_RADIOBOX
=yes
2345 DEFAULT_wxUSE_RADIOBTN
=yes
2346 DEFAULT_wxUSE_SASH
=yes
2347 DEFAULT_wxUSE_SCROLLBAR
=yes
2348 DEFAULT_wxUSE_SLIDER
=yes
2349 DEFAULT_wxUSE_SPINBTN
=yes
2350 DEFAULT_wxUSE_SPINCTRL
=yes
2351 DEFAULT_wxUSE_SPLITTER
=yes
2352 DEFAULT_wxUSE_STATBMP
=yes
2353 DEFAULT_wxUSE_STATBOX
=yes
2354 DEFAULT_wxUSE_STATLINE
=yes
2355 DEFAULT_wxUSE_STATTEXT
=yes
2356 DEFAULT_wxUSE_STATUSBAR
=yes
2357 DEFAULT_wxUSE_TABDIALOG
=no
2358 DEFAULT_wxUSE_TEXTCTRL
=yes
2359 DEFAULT_wxUSE_TOGGLEBTN
=yes
2360 DEFAULT_wxUSE_TOOLBAR
=yes
2361 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2362 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2363 DEFAULT_wxUSE_TREECTRL
=yes
2364 DEFAULT_wxUSE_POPUPWIN
=yes
2365 DEFAULT_wxUSE_TIPWINDOW
=yes
2367 DEFAULT_wxUSE_UNICODE
=no
2368 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2369 DEFAULT_wxUSE_WCSRTOMBS
=no
2371 DEFAULT_wxUSE_PALETTE
=yes
2372 DEFAULT_wxUSE_IMAGE
=yes
2373 DEFAULT_wxUSE_GIF
=yes
2374 DEFAULT_wxUSE_PCX
=yes
2375 DEFAULT_wxUSE_IFF
=no
2376 DEFAULT_wxUSE_PNM
=yes
2377 DEFAULT_wxUSE_XPM
=yes
2378 DEFAULT_wxUSE_ICO_CUR
=yes
2379 DEFAULT_wxUSE_ACCESSIBILITY
=no
2381 DEFAULT_wxUSE_MONOLITHIC
=no
2382 DEFAULT_wxUSE_PLUGINS
=no
2383 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2385 DEFAULT_wxUSE_GTK2
=yes
2390 for toolkit
in `echo $ALL_TOOLKITS`; do
2391 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2392 if test "x$LINE" != "x" ; then
2393 has_toolkit_in_cache
=1
2394 eval "DEFAULT_$LINE"
2395 eval "CACHE_$toolkit=1"
2402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2403 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2405 # Check whether --enable-gui or --disable-gui was given.
2406 if test "${enable_gui+set}" = set; then
2407 enableval
="$enable_gui"
2409 if test "$enableval" = yes; then
2410 ac_cv_use_gui
='wxUSE_GUI=yes'
2412 ac_cv_use_gui
='wxUSE_GUI=no'
2417 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2418 if test "x$LINE" != x
; then
2419 eval "DEFAULT_$LINE"
2424 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2428 eval "$ac_cv_use_gui"
2429 if test "$no_cache" != 1; then
2430 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2433 if test "$wxUSE_GUI" = yes; then
2434 echo "$as_me:$LINENO: result: yes" >&5
2435 echo "${ECHO_T}yes" >&6
2437 echo "$as_me:$LINENO: result: no" >&5
2438 echo "${ECHO_T}no" >&6
2443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2444 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2446 # Check whether --enable-monolithic or --disable-monolithic was given.
2447 if test "${enable_monolithic+set}" = set; then
2448 enableval
="$enable_monolithic"
2450 if test "$enableval" = yes; then
2451 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2453 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2458 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2459 if test "x$LINE" != x
; then
2460 eval "DEFAULT_$LINE"
2465 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2469 eval "$ac_cv_use_monolithic"
2470 if test "$no_cache" != 1; then
2471 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2474 if test "$wxUSE_MONOLITHIC" = yes; then
2475 echo "$as_me:$LINENO: result: yes" >&5
2476 echo "${ECHO_T}yes" >&6
2478 echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6
2484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2485 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2487 # Check whether --enable-plugins or --disable-plugins was given.
2488 if test "${enable_plugins+set}" = set; then
2489 enableval
="$enable_plugins"
2491 if test "$enableval" = yes; then
2492 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2494 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2499 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2500 if test "x$LINE" != x
; then
2501 eval "DEFAULT_$LINE"
2506 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2510 eval "$ac_cv_use_plugins"
2511 if test "$no_cache" != 1; then
2512 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2515 if test "$wxUSE_PLUGINS" = yes; then
2516 echo "$as_me:$LINENO: result: yes" >&5
2517 echo "${ECHO_T}yes" >&6
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2524 if test "$wxUSE_GUI" = "yes"; then
2528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2529 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2531 # Check whether --enable-universal or --disable-universal was given.
2532 if test "${enable_universal+set}" = set; then
2533 enableval
="$enable_universal"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2538 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2543 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2554 eval "$ac_cv_use_universal"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2559 if test "$wxUSE_UNIVERSAL" = yes; then
2560 echo "$as_me:$LINENO: result: yes" >&5
2561 echo "${ECHO_T}yes" >&6
2563 echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6
2568 # Check whether --with-gtk or --without-gtk was given.
2569 if test "${with_gtk+set}" = set; then
2571 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2574 # Check whether --with-motif or --without-motif was given.
2575 if test "${with_motif+set}" = set; then
2576 withval
="$with_motif"
2577 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2580 # Check whether --with-mac or --without-mac was given.
2581 if test "${with_mac+set}" = set; then
2583 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2586 # Check whether --with-cocoa or --without-cocoa was given.
2587 if test "${with_cocoa+set}" = set; then
2588 withval
="$with_cocoa"
2589 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2592 # Check whether --with-wine or --without-wine was given.
2593 if test "${with_wine+set}" = set; then
2594 withval
="$with_wine"
2595 wxUSE_WINE
="$withval" CACHE_WINE
=1
2598 # Check whether --with-msw or --without-msw was given.
2599 if test "${with_msw+set}" = set; then
2601 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2604 # Check whether --with-pm or --without-pm was given.
2605 if test "${with_pm+set}" = set; then
2607 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2610 # Check whether --with-mgl or --without-mgl was given.
2611 if test "${with_mgl+set}" = set; then
2613 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2616 # Check whether --with-microwin or --without-microwin was given.
2617 if test "${with_microwin+set}" = set; then
2618 withval
="$with_microwin"
2619 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2622 # Check whether --with-x11 or --without-x11 was given.
2623 if test "${with_x11+set}" = set; then
2625 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2630 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2632 # Check whether --enable-nanox or --disable-nanox was given.
2633 if test "${enable_nanox+set}" = set; then
2634 enableval
="$enable_nanox"
2636 if test "$enableval" = yes; then
2637 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2639 ac_cv_use_nanox
='wxUSE_NANOX=no'
2644 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2645 if test "x$LINE" != x
; then
2646 eval "DEFAULT_$LINE"
2651 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2655 eval "$ac_cv_use_nanox"
2656 if test "$no_cache" != 1; then
2657 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2660 if test "$wxUSE_NANOX" = yes; then
2661 echo "$as_me:$LINENO: result: yes" >&5
2662 echo "${ECHO_T}yes" >&6
2664 echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6
2671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2672 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2674 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2675 if test "${enable_gtk2+set}" = set; then
2676 enableval
="$enable_gtk2"
2678 if test "$enableval" = yes; then
2679 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2681 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2686 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2687 if test "x$LINE" != x
; then
2688 eval "DEFAULT_$LINE"
2693 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2697 eval "$ac_cv_use_gtk2"
2698 if test "$no_cache" != 1; then
2699 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2702 if test "$wxUSE_GTK2" = yes; then
2703 echo "$as_me:$LINENO: result: yes" >&5
2704 echo "${ECHO_T}yes" >&6
2706 echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6
2712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2713 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2715 # Check whether --enable-gpe or --disable-gpe was given.
2716 if test "${enable_gpe+set}" = set; then
2717 enableval
="$enable_gpe"
2719 if test "$enableval" = yes; then
2720 ac_cv_use_gpe
='wxUSE_GPE=yes'
2722 ac_cv_use_gpe
='wxUSE_GPE=no'
2727 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2728 if test "x$LINE" != x
; then
2729 eval "DEFAULT_$LINE"
2734 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2738 eval "$ac_cv_use_gpe"
2739 if test "$no_cache" != 1; then
2740 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2743 if test "$wxUSE_GPE" = yes; then
2744 echo "$as_me:$LINENO: result: yes" >&5
2745 echo "${ECHO_T}yes" >&6
2747 echo "$as_me:$LINENO: result: no" >&5
2748 echo "${ECHO_T}no" >&6
2753 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2754 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2757 # Check whether --with-libpng or --without-libpng was given.
2758 if test "${with_libpng+set}" = set; then
2759 withval
="$with_libpng"
2761 if test "$withval" = yes; then
2762 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2763 elif test "$withval" = no
; then
2764 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2765 elif test "$withval" = sys
; then
2766 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2767 elif test "$withval" = builtin; then
2768 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2770 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2771 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2772 { (exit 1); exit 1; }; }
2777 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x
; then
2779 eval "DEFAULT_$LINE"
2784 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2788 eval "$ac_cv_use_libpng"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2793 if test "$wxUSE_LIBPNG" = yes; then
2794 echo "$as_me:$LINENO: result: yes" >&5
2795 echo "${ECHO_T}yes" >&6
2796 elif test "$wxUSE_LIBPNG" = no
; then
2797 echo "$as_me:$LINENO: result: no" >&5
2798 echo "${ECHO_T}no" >&6
2799 elif test "$wxUSE_LIBPNG" = sys
; then
2800 echo "$as_me:$LINENO: result: system version" >&5
2801 echo "${ECHO_T}system version" >&6
2802 elif test "$wxUSE_LIBPNG" = builtin; then
2803 echo "$as_me:$LINENO: result: builtin version" >&5
2804 echo "${ECHO_T}builtin version" >&6
2806 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2807 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2808 { (exit 1); exit 1; }; }
2812 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2813 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2816 # Check whether --with-libjpeg or --without-libjpeg was given.
2817 if test "${with_libjpeg+set}" = set; then
2818 withval
="$with_libjpeg"
2820 if test "$withval" = yes; then
2821 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2822 elif test "$withval" = no
; then
2823 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2824 elif test "$withval" = sys
; then
2825 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2826 elif test "$withval" = builtin; then
2827 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2829 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2830 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2831 { (exit 1); exit 1; }; }
2836 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2837 if test "x$LINE" != x
; then
2838 eval "DEFAULT_$LINE"
2843 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2847 eval "$ac_cv_use_libjpeg"
2848 if test "$no_cache" != 1; then
2849 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2852 if test "$wxUSE_LIBJPEG" = yes; then
2853 echo "$as_me:$LINENO: result: yes" >&5
2854 echo "${ECHO_T}yes" >&6
2855 elif test "$wxUSE_LIBJPEG" = no
; then
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2858 elif test "$wxUSE_LIBJPEG" = sys
; then
2859 echo "$as_me:$LINENO: result: system version" >&5
2860 echo "${ECHO_T}system version" >&6
2861 elif test "$wxUSE_LIBJPEG" = builtin; then
2862 echo "$as_me:$LINENO: result: builtin version" >&5
2863 echo "${ECHO_T}builtin version" >&6
2865 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2866 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2867 { (exit 1); exit 1; }; }
2871 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2872 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2875 # Check whether --with-libtiff or --without-libtiff was given.
2876 if test "${with_libtiff+set}" = set; then
2877 withval
="$with_libtiff"
2879 if test "$withval" = yes; then
2880 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2881 elif test "$withval" = no
; then
2882 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2883 elif test "$withval" = sys
; then
2884 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2885 elif test "$withval" = builtin; then
2886 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2888 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2889 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2890 { (exit 1); exit 1; }; }
2895 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2896 if test "x$LINE" != x
; then
2897 eval "DEFAULT_$LINE"
2902 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2906 eval "$ac_cv_use_libtiff"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2911 if test "$wxUSE_LIBTIFF" = yes; then
2912 echo "$as_me:$LINENO: result: yes" >&5
2913 echo "${ECHO_T}yes" >&6
2914 elif test "$wxUSE_LIBTIFF" = no
; then
2915 echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6
2917 elif test "$wxUSE_LIBTIFF" = sys
; then
2918 echo "$as_me:$LINENO: result: system version" >&5
2919 echo "${ECHO_T}system version" >&6
2920 elif test "$wxUSE_LIBTIFF" = builtin; then
2921 echo "$as_me:$LINENO: result: builtin version" >&5
2922 echo "${ECHO_T}builtin version" >&6
2924 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2925 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2926 { (exit 1); exit 1; }; }
2930 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2931 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2934 # Check whether --with-libxpm or --without-libxpm was given.
2935 if test "${with_libxpm+set}" = set; then
2936 withval
="$with_libxpm"
2938 if test "$withval" = yes; then
2939 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2940 elif test "$withval" = no
; then
2941 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2942 elif test "$withval" = sys
; then
2943 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2944 elif test "$withval" = builtin; then
2945 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2947 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2948 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2949 { (exit 1); exit 1; }; }
2954 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x
; then
2956 eval "DEFAULT_$LINE"
2961 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2965 eval "$ac_cv_use_libxpm"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2970 if test "$wxUSE_LIBXPM" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2973 elif test "$wxUSE_LIBXPM" = no
; then
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2976 elif test "$wxUSE_LIBXPM" = sys
; then
2977 echo "$as_me:$LINENO: result: system version" >&5
2978 echo "${ECHO_T}system version" >&6
2979 elif test "$wxUSE_LIBXPM" = builtin; then
2980 echo "$as_me:$LINENO: result: builtin version" >&5
2981 echo "${ECHO_T}builtin version" >&6
2983 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2984 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2985 { (exit 1); exit 1; }; }
2989 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2990 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2993 # Check whether --with-libmspack or --without-libmspack was given.
2994 if test "${with_libmspack+set}" = set; then
2995 withval
="$with_libmspack"
2997 if test "$withval" = yes; then
2998 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3000 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3005 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x
; then
3007 eval "DEFAULT_$LINE"
3012 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3016 eval "$ac_cv_use_libmspack"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3021 if test "$wxUSE_LIBMSPACK" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3030 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3031 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3034 # Check whether --with-sdl or --without-sdl was given.
3035 if test "${with_sdl+set}" = set; then
3038 if test "$withval" = yes; then
3039 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3041 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3046 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x
; then
3048 eval "DEFAULT_$LINE"
3053 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3057 eval "$ac_cv_use_sdl"
3058 if test "$no_cache" != 1; then
3059 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3062 if test "$wxUSE_LIBSDL" = yes; then
3063 echo "$as_me:$LINENO: result: yes" >&5
3064 echo "${ECHO_T}yes" >&6
3066 echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6
3071 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3072 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3075 # Check whether --with-opengl or --without-opengl was given.
3076 if test "${with_opengl+set}" = set; then
3077 withval
="$with_opengl"
3079 if test "$withval" = yes; then
3080 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3082 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3087 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3088 if test "x$LINE" != x
; then
3089 eval "DEFAULT_$LINE"
3094 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3098 eval "$ac_cv_use_opengl"
3099 if test "$no_cache" != 1; then
3100 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3103 if test "$wxUSE_OPENGL" = yes; then
3104 echo "$as_me:$LINENO: result: yes" >&5
3105 echo "${ECHO_T}yes" >&6
3107 echo "$as_me:$LINENO: result: no" >&5
3108 echo "${ECHO_T}no" >&6
3115 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3116 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3119 # Check whether --with-dmalloc or --without-dmalloc was given.
3120 if test "${with_dmalloc+set}" = set; then
3121 withval
="$with_dmalloc"
3123 if test "$withval" = yes; then
3124 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3126 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3131 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x
; then
3133 eval "DEFAULT_$LINE"
3138 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3142 eval "$ac_cv_use_dmalloc"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3147 if test "$wxUSE_DMALLOC" = yes; then
3148 echo "$as_me:$LINENO: result: yes" >&5
3149 echo "${ECHO_T}yes" >&6
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3156 echo "$as_me:$LINENO: checking for --with-regex" >&5
3157 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3160 # Check whether --with-regex or --without-regex was given.
3161 if test "${with_regex+set}" = set; then
3162 withval
="$with_regex"
3164 if test "$withval" = yes; then
3165 ac_cv_use_regex
='wxUSE_REGEX=yes'
3166 elif test "$withval" = no
; then
3167 ac_cv_use_regex
='wxUSE_REGEX=no'
3168 elif test "$withval" = sys
; then
3169 ac_cv_use_regex
='wxUSE_REGEX=sys'
3170 elif test "$withval" = builtin; then
3171 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3173 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3174 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3175 { (exit 1); exit 1; }; }
3180 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x
; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3191 eval "$ac_cv_use_regex"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_REGEX" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3199 elif test "$wxUSE_REGEX" = no
; then
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 elif test "$wxUSE_REGEX" = sys
; then
3203 echo "$as_me:$LINENO: result: system version" >&5
3204 echo "${ECHO_T}system version" >&6
3205 elif test "$wxUSE_REGEX" = builtin; then
3206 echo "$as_me:$LINENO: result: builtin version" >&5
3207 echo "${ECHO_T}builtin version" >&6
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3215 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3216 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3219 # Check whether --with-zlib or --without-zlib was given.
3220 if test "${with_zlib+set}" = set; then
3221 withval
="$with_zlib"
3223 if test "$withval" = yes; then
3224 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3225 elif test "$withval" = no
; then
3226 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3227 elif test "$withval" = sys
; then
3228 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3229 elif test "$withval" = builtin; then
3230 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3232 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3233 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3234 { (exit 1); exit 1; }; }
3239 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3240 if test "x$LINE" != x
; then
3241 eval "DEFAULT_$LINE"
3246 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3250 eval "$ac_cv_use_zlib"
3251 if test "$no_cache" != 1; then
3252 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3255 if test "$wxUSE_ZLIB" = yes; then
3256 echo "$as_me:$LINENO: result: yes" >&5
3257 echo "${ECHO_T}yes" >&6
3258 elif test "$wxUSE_ZLIB" = no
; then
3259 echo "$as_me:$LINENO: result: no" >&5
3260 echo "${ECHO_T}no" >&6
3261 elif test "$wxUSE_ZLIB" = sys
; then
3262 echo "$as_me:$LINENO: result: system version" >&5
3263 echo "${ECHO_T}system version" >&6
3264 elif test "$wxUSE_ZLIB" = builtin; then
3265 echo "$as_me:$LINENO: result: builtin version" >&5
3266 echo "${ECHO_T}builtin version" >&6
3268 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3269 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3270 { (exit 1); exit 1; }; }
3274 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3275 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3278 # Check whether --with-odbc or --without-odbc was given.
3279 if test "${with_odbc+set}" = set; then
3280 withval
="$with_odbc"
3282 if test "$withval" = yes; then
3283 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3284 elif test "$withval" = no
; then
3285 ac_cv_use_odbc
='wxUSE_ODBC=no'
3286 elif test "$withval" = sys
; then
3287 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3288 elif test "$withval" = builtin; then
3289 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3291 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3292 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3293 { (exit 1); exit 1; }; }
3298 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3299 if test "x$LINE" != x
; then
3300 eval "DEFAULT_$LINE"
3305 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3309 eval "$ac_cv_use_odbc"
3310 if test "$no_cache" != 1; then
3311 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3314 if test "$wxUSE_ODBC" = yes; then
3315 echo "$as_me:$LINENO: result: yes" >&5
3316 echo "${ECHO_T}yes" >&6
3317 elif test "$wxUSE_ODBC" = no
; then
3318 echo "$as_me:$LINENO: result: no" >&5
3319 echo "${ECHO_T}no" >&6
3320 elif test "$wxUSE_ODBC" = sys
; then
3321 echo "$as_me:$LINENO: result: system version" >&5
3322 echo "${ECHO_T}system version" >&6
3323 elif test "$wxUSE_ODBC" = builtin; then
3324 echo "$as_me:$LINENO: result: builtin version" >&5
3325 echo "${ECHO_T}builtin version" >&6
3327 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3328 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3329 { (exit 1); exit 1; }; }
3333 echo "$as_me:$LINENO: checking for --with-expat" >&5
3334 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3337 # Check whether --with-expat or --without-expat was given.
3338 if test "${with_expat+set}" = set; then
3339 withval
="$with_expat"
3341 if test "$withval" = yes; then
3342 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3343 elif test "$withval" = no
; then
3344 ac_cv_use_expat
='wxUSE_EXPAT=no'
3345 elif test "$withval" = sys
; then
3346 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3347 elif test "$withval" = builtin; then
3348 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3350 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3351 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3352 { (exit 1); exit 1; }; }
3357 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3358 if test "x$LINE" != x
; then
3359 eval "DEFAULT_$LINE"
3364 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3368 eval "$ac_cv_use_expat"
3369 if test "$no_cache" != 1; then
3370 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3373 if test "$wxUSE_EXPAT" = yes; then
3374 echo "$as_me:$LINENO: result: yes" >&5
3375 echo "${ECHO_T}yes" >&6
3376 elif test "$wxUSE_EXPAT" = no
; then
3377 echo "$as_me:$LINENO: result: no" >&5
3378 echo "${ECHO_T}no" >&6
3379 elif test "$wxUSE_EXPAT" = sys
; then
3380 echo "$as_me:$LINENO: result: system version" >&5
3381 echo "${ECHO_T}system version" >&6
3382 elif test "$wxUSE_EXPAT" = builtin; then
3383 echo "$as_me:$LINENO: result: builtin version" >&5
3384 echo "${ECHO_T}builtin version" >&6
3386 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3387 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3388 { (exit 1); exit 1; }; }
3395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3396 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3398 # Check whether --enable-shared or --disable-shared was given.
3399 if test "${enable_shared+set}" = set; then
3400 enableval
="$enable_shared"
3402 if test "$enableval" = yes; then
3403 ac_cv_use_shared
='wxUSE_SHARED=yes'
3405 ac_cv_use_shared
='wxUSE_SHARED=no'
3410 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3411 if test "x$LINE" != x
; then
3412 eval "DEFAULT_$LINE"
3417 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3421 eval "$ac_cv_use_shared"
3422 if test "$no_cache" != 1; then
3423 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3426 if test "$wxUSE_SHARED" = yes; then
3427 echo "$as_me:$LINENO: result: yes" >&5
3428 echo "${ECHO_T}yes" >&6
3430 echo "$as_me:$LINENO: result: no" >&5
3431 echo "${ECHO_T}no" >&6
3436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3437 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3439 # Check whether --enable-optimise or --disable-optimise was given.
3440 if test "${enable_optimise+set}" = set; then
3441 enableval
="$enable_optimise"
3443 if test "$enableval" = yes; then
3444 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3446 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3451 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3452 if test "x$LINE" != x
; then
3453 eval "DEFAULT_$LINE"
3458 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3462 eval "$ac_cv_use_optimise"
3463 if test "$no_cache" != 1; then
3464 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3467 if test "$wxUSE_OPTIMISE" = yes; then
3468 echo "$as_me:$LINENO: result: yes" >&5
3469 echo "${ECHO_T}yes" >&6
3471 echo "$as_me:$LINENO: result: no" >&5
3472 echo "${ECHO_T}no" >&6
3477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3478 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3480 # Check whether --enable-debug or --disable-debug was given.
3481 if test "${enable_debug+set}" = set; then
3482 enableval
="$enable_debug"
3484 if test "$enableval" = yes; then
3485 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3487 ac_cv_use_debug
='wxUSE_DEBUG=no'
3492 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3493 if test "x$LINE" != x
; then
3494 eval "DEFAULT_$LINE"
3499 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3503 eval "$ac_cv_use_debug"
3504 if test "$no_cache" != 1; then
3505 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3508 if test "$wxUSE_DEBUG" = yes; then
3509 echo "$as_me:$LINENO: result: yes" >&5
3510 echo "${ECHO_T}yes" >&6
3512 echo "$as_me:$LINENO: result: no" >&5
3513 echo "${ECHO_T}no" >&6
3518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3519 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3521 # Check whether --enable-stl or --disable-stl was given.
3522 if test "${enable_stl+set}" = set; then
3523 enableval
="$enable_stl"
3525 if test "$enableval" = yes; then
3526 ac_cv_use_stl
='wxUSE_STL=yes'
3528 ac_cv_use_stl
='wxUSE_STL=no'
3533 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3534 if test "x$LINE" != x
; then
3535 eval "DEFAULT_$LINE"
3540 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3544 eval "$ac_cv_use_stl"
3545 if test "$no_cache" != 1; then
3546 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3549 if test "$wxUSE_STL" = yes; then
3550 echo "$as_me:$LINENO: result: yes" >&5
3551 echo "${ECHO_T}yes" >&6
3553 echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6
3557 if test "$USE_OS2" = "1"; then
3560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3561 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3563 # Check whether --enable-omf or --disable-omf was given.
3564 if test "${enable_omf+set}" = set; then
3565 enableval
="$enable_omf"
3567 if test "$enableval" = yes; then
3568 ac_cv_use_omf
='wxUSE_OMF=yes'
3570 ac_cv_use_omf
='wxUSE_OMF=no'
3575 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x
; then
3577 eval "DEFAULT_$LINE"
3582 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3586 eval "$ac_cv_use_omf"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3591 if test "$wxUSE_OMF" = yes; then
3592 echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3601 if test "$wxUSE_DEBUG" = "yes"; then
3602 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3603 DEFAULT_wxUSE_DEBUG_INFO
=yes
3605 elif test "$wxUSE_DEBUG" = "no"; then
3606 DEFAULT_wxUSE_DEBUG_FLAG
=no
3607 DEFAULT_wxUSE_DEBUG_INFO
=no
3613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3614 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3616 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3617 if test "${enable_debug_flag+set}" = set; then
3618 enableval
="$enable_debug_flag"
3620 if test "$enableval" = yes; then
3621 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3623 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3628 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x
; then
3630 eval "DEFAULT_$LINE"
3635 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3639 eval "$ac_cv_use_debug_flag"
3640 if test "$no_cache" != 1; then
3641 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3644 if test "$wxUSE_DEBUG_FLAG" = yes; then
3645 echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3655 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3657 # Check whether --enable-debug_info or --disable-debug_info was given.
3658 if test "${enable_debug_info+set}" = set; then
3659 enableval
="$enable_debug_info"
3661 if test "$enableval" = yes; then
3662 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3664 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3669 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3670 if test "x$LINE" != x
; then
3671 eval "DEFAULT_$LINE"
3676 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3680 eval "$ac_cv_use_debug_info"
3681 if test "$no_cache" != 1; then
3682 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3685 if test "$wxUSE_DEBUG_INFO" = yes; then
3686 echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6
3689 echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6
3695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3696 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3698 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3699 if test "${enable_debug_gdb+set}" = set; then
3700 enableval
="$enable_debug_gdb"
3702 if test "$enableval" = yes; then
3703 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3705 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3710 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3711 if test "x$LINE" != x
; then
3712 eval "DEFAULT_$LINE"
3717 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3721 eval "$ac_cv_use_debug_gdb"
3722 if test "$no_cache" != 1; then
3723 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3726 if test "$wxUSE_DEBUG_GDB" = yes; then
3727 echo "$as_me:$LINENO: result: yes" >&5
3728 echo "${ECHO_T}yes" >&6
3730 echo "$as_me:$LINENO: result: no" >&5
3731 echo "${ECHO_T}no" >&6
3736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3737 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3739 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3740 if test "${enable_debug_cntxt+set}" = set; then
3741 enableval
="$enable_debug_cntxt"
3743 if test "$enableval" = yes; then
3744 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3746 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3751 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3752 if test "x$LINE" != x
; then
3753 eval "DEFAULT_$LINE"
3758 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3762 eval "$ac_cv_use_debug_cntxt"
3763 if test "$no_cache" != 1; then
3764 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3767 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3768 echo "$as_me:$LINENO: result: yes" >&5
3769 echo "${ECHO_T}yes" >&6
3771 echo "$as_me:$LINENO: result: no" >&5
3772 echo "${ECHO_T}no" >&6
3777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3778 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3780 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3781 if test "${enable_mem_tracing+set}" = set; then
3782 enableval
="$enable_mem_tracing"
3784 if test "$enableval" = yes; then
3785 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3787 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3792 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x
; then
3794 eval "DEFAULT_$LINE"
3799 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3803 eval "$ac_cv_use_mem_tracing"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3808 if test "$wxUSE_MEM_TRACING" = yes; then
3809 echo "$as_me:$LINENO: result: yes" >&5
3810 echo "${ECHO_T}yes" >&6
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3819 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3821 # Check whether --enable-profile or --disable-profile was given.
3822 if test "${enable_profile+set}" = set; then
3823 enableval
="$enable_profile"
3825 if test "$enableval" = yes; then
3826 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3828 ac_cv_use_profile
='wxUSE_PROFILE=no'
3833 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x
; then
3835 eval "DEFAULT_$LINE"
3840 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3844 eval "$ac_cv_use_profile"
3845 if test "$no_cache" != 1; then
3846 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3849 if test "$wxUSE_PROFILE" = yes; then
3850 echo "$as_me:$LINENO: result: yes" >&5
3851 echo "${ECHO_T}yes" >&6
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3860 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3862 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3863 if test "${enable_no_rtti+set}" = set; then
3864 enableval
="$enable_no_rtti"
3866 if test "$enableval" = yes; then
3867 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3869 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3874 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3875 if test "x$LINE" != x
; then
3876 eval "DEFAULT_$LINE"
3881 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3885 eval "$ac_cv_use_no_rtti"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3890 if test "$wxUSE_NO_RTTI" = yes; then
3891 echo "$as_me:$LINENO: result: yes" >&5
3892 echo "${ECHO_T}yes" >&6
3894 echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3901 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3903 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3904 if test "${enable_no_exceptions+set}" = set; then
3905 enableval
="$enable_no_exceptions"
3907 if test "$enableval" = yes; then
3908 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3910 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3915 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x
; then
3917 eval "DEFAULT_$LINE"
3922 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3926 eval "$ac_cv_use_no_exceptions"
3927 if test "$no_cache" != 1; then
3928 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3931 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3932 echo "$as_me:$LINENO: result: yes" >&5
3933 echo "${ECHO_T}yes" >&6
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3942 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3944 # Check whether --enable-permissive or --disable-permissive was given.
3945 if test "${enable_permissive+set}" = set; then
3946 enableval
="$enable_permissive"
3948 if test "$enableval" = yes; then
3949 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3951 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3956 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3957 if test "x$LINE" != x
; then
3958 eval "DEFAULT_$LINE"
3963 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3967 eval "$ac_cv_use_permissive"
3968 if test "$no_cache" != 1; then
3969 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3972 if test "$wxUSE_PERMISSIVE" = yes; then
3973 echo "$as_me:$LINENO: result: yes" >&5
3974 echo "${ECHO_T}yes" >&6
3976 echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3983 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3985 # Check whether --enable-no_deps or --disable-no_deps was given.
3986 if test "${enable_no_deps+set}" = set; then
3987 enableval
="$enable_no_deps"
3989 if test "$enableval" = yes; then
3990 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3992 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3997 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x
; then
3999 eval "DEFAULT_$LINE"
4004 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4008 eval "$ac_cv_use_no_deps"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4013 if test "$wxUSE_NO_DEPS" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4025 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4027 # Check whether --enable-compat22 or --disable-compat22 was given.
4028 if test "${enable_compat22+set}" = set; then
4029 enableval
="$enable_compat22"
4031 if test "$enableval" = yes; then
4032 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4034 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4039 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x
; then
4041 eval "DEFAULT_$LINE"
4046 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4050 eval "$ac_cv_use_compat22"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4055 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4056 echo "$as_me:$LINENO: result: yes" >&5
4057 echo "${ECHO_T}yes" >&6
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4064 enablestring
=disable
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4068 # Check whether --enable-compat24 or --disable-compat24 was given.
4069 if test "${enable_compat24+set}" = set; then
4070 enableval
="$enable_compat24"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4075 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4080 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x
; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4091 eval "$ac_cv_use_compat24"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4096 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4105 # Check whether --enable-rpath or --disable-rpath was given.
4106 if test "${enable_rpath+set}" = set; then
4107 enableval
="$enable_rpath"
4108 wxRPATH_DIR
="$enableval"
4111 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4112 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4120 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4122 # Check whether --enable-intl or --disable-intl was given.
4123 if test "${enable_intl+set}" = set; then
4124 enableval
="$enable_intl"
4126 if test "$enableval" = yes; then
4127 ac_cv_use_intl
='wxUSE_INTL=yes'
4129 ac_cv_use_intl
='wxUSE_INTL=no'
4134 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4135 if test "x$LINE" != x
; then
4136 eval "DEFAULT_$LINE"
4141 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4145 eval "$ac_cv_use_intl"
4146 if test "$no_cache" != 1; then
4147 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4150 if test "$wxUSE_INTL" = yes; then
4151 echo "$as_me:$LINENO: result: yes" >&5
4152 echo "${ECHO_T}yes" >&6
4154 echo "$as_me:$LINENO: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4163 # Check whether --enable-config or --disable-config was given.
4164 if test "${enable_config+set}" = set; then
4165 enableval
="$enable_config"
4167 if test "$enableval" = yes; then
4168 ac_cv_use_config
='wxUSE_CONFIG=yes'
4170 ac_cv_use_config
='wxUSE_CONFIG=no'
4175 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x
; then
4177 eval "DEFAULT_$LINE"
4182 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4186 eval "$ac_cv_use_config"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4191 if test "$wxUSE_CONFIG" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4205 # Check whether --enable-protocols or --disable-protocols was given.
4206 if test "${enable_protocols+set}" = set; then
4207 enableval
="$enable_protocols"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4212 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4217 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4228 eval "$ac_cv_use_protocols"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_PROTOCOL" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4246 # Check whether --enable-ftp or --disable-ftp was given.
4247 if test "${enable_ftp+set}" = set; then
4248 enableval
="$enable_ftp"
4250 if test "$enableval" = yes; then
4251 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4253 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4258 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x
; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4269 eval "$ac_cv_use_ftp"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4285 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4287 # Check whether --enable-http or --disable-http was given.
4288 if test "${enable_http+set}" = set; then
4289 enableval
="$enable_http"
4291 if test "$enableval" = yes; then
4292 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4294 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4299 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x
; then
4301 eval "DEFAULT_$LINE"
4306 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4310 eval "$ac_cv_use_http"
4311 if test "$no_cache" != 1; then
4312 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4315 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4316 echo "$as_me:$LINENO: result: yes" >&5
4317 echo "${ECHO_T}yes" >&6
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4326 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4328 # Check whether --enable-fileproto or --disable-fileproto was given.
4329 if test "${enable_fileproto+set}" = set; then
4330 enableval
="$enable_fileproto"
4332 if test "$enableval" = yes; then
4333 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4335 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4340 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4341 if test "x$LINE" != x
; then
4342 eval "DEFAULT_$LINE"
4347 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4351 eval "$ac_cv_use_fileproto"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4356 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4357 echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4367 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4369 # Check whether --enable-sockets or --disable-sockets was given.
4370 if test "${enable_sockets+set}" = set; then
4371 enableval
="$enable_sockets"
4373 if test "$enableval" = yes; then
4374 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4376 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4381 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x
; then
4383 eval "DEFAULT_$LINE"
4388 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4392 eval "$ac_cv_use_sockets"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_SOCKETS" = yes; then
4398 echo "$as_me:$LINENO: result: yes" >&5
4399 echo "${ECHO_T}yes" >&6
4401 echo "$as_me:$LINENO: result: no" >&5
4402 echo "${ECHO_T}no" >&6
4407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4408 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4410 # Check whether --enable-ole or --disable-ole was given.
4411 if test "${enable_ole+set}" = set; then
4412 enableval
="$enable_ole"
4414 if test "$enableval" = yes; then
4415 ac_cv_use_ole
='wxUSE_OLE=yes'
4417 ac_cv_use_ole
='wxUSE_OLE=no'
4422 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x
; then
4424 eval "DEFAULT_$LINE"
4429 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4433 eval "$ac_cv_use_ole"
4434 if test "$no_cache" != 1; then
4435 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4438 if test "$wxUSE_OLE" = yes; then
4439 echo "$as_me:$LINENO: result: yes" >&5
4440 echo "${ECHO_T}yes" >&6
4442 echo "$as_me:$LINENO: result: no" >&5
4443 echo "${ECHO_T}no" >&6
4448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4451 # Check whether --enable-dataobj or --disable-dataobj was given.
4452 if test "${enable_dataobj+set}" = set; then
4453 enableval
="$enable_dataobj"
4455 if test "$enableval" = yes; then
4456 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4458 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4463 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x
; then
4465 eval "DEFAULT_$LINE"
4470 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4474 eval "$ac_cv_use_dataobj"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4479 if test "$wxUSE_DATAOBJ" = yes; then
4480 echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6
4483 echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6
4490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4493 # Check whether --enable-ipc or --disable-ipc was given.
4494 if test "${enable_ipc+set}" = set; then
4495 enableval
="$enable_ipc"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_ipc
='wxUSE_IPC=yes'
4500 ac_cv_use_ipc
='wxUSE_IPC=no'
4505 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4516 eval "$ac_cv_use_ipc"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_IPC" = yes; then
4522 echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4533 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4535 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4536 if test "${enable_apple_ieee+set}" = set; then
4537 enableval
="$enable_apple_ieee"
4539 if test "$enableval" = yes; then
4540 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4542 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4547 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4548 if test "x$LINE" != x
; then
4549 eval "DEFAULT_$LINE"
4554 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4558 eval "$ac_cv_use_apple_ieee"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4563 if test "$wxUSE_APPLE_IEEE" = yes; then
4564 echo "$as_me:$LINENO: result: yes" >&5
4565 echo "${ECHO_T}yes" >&6
4567 echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6
4573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4576 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4577 if test "${enable_catch_segvs+set}" = set; then
4578 enableval
="$enable_catch_segvs"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4583 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4588 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4599 eval "$ac_cv_use_catch_segvs"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6
4608 echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6
4614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4617 # Check whether --enable-cmdline or --disable-cmdline was given.
4618 if test "${enable_cmdline+set}" = set; then
4619 enableval
="$enable_cmdline"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4624 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4629 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4640 eval "$ac_cv_use_cmdline"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4646 echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4658 # Check whether --enable-datetime or --disable-datetime was given.
4659 if test "${enable_datetime+set}" = set; then
4660 enableval
="$enable_datetime"
4662 if test "$enableval" = yes; then
4663 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4665 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4670 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x
; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4681 eval "$ac_cv_use_datetime"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4686 if test "$wxUSE_DATETIME" = yes; then
4687 echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6
4690 echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6
4696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4699 # Check whether --enable-dialupman or --disable-dialupman was given.
4700 if test "${enable_dialupman+set}" = set; then
4701 enableval
="$enable_dialupman"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4706 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4711 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4722 eval "$ac_cv_use_dialupman"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4727 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4728 echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6
4731 echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6
4737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4740 # Check whether --enable-dynlib or --disable-dynlib was given.
4741 if test "${enable_dynlib+set}" = set; then
4742 enableval
="$enable_dynlib"
4744 if test "$enableval" = yes; then
4745 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4747 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4752 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4753 if test "x$LINE" != x
; then
4754 eval "DEFAULT_$LINE"
4759 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4763 eval "$ac_cv_use_dynlib"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4768 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4769 echo "$as_me:$LINENO: result: yes" >&5
4770 echo "${ECHO_T}yes" >&6
4772 echo "$as_me:$LINENO: result: no" >&5
4773 echo "${ECHO_T}no" >&6
4778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4779 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4781 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4782 if test "${enable_dynamicloader+set}" = set; then
4783 enableval
="$enable_dynamicloader"
4785 if test "$enableval" = yes; then
4786 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4788 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4793 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4794 if test "x$LINE" != x
; then
4795 eval "DEFAULT_$LINE"
4800 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4804 eval "$ac_cv_use_dynamicloader"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4810 echo "$as_me:$LINENO: result: yes" >&5
4811 echo "${ECHO_T}yes" >&6
4813 echo "$as_me:$LINENO: result: no" >&5
4814 echo "${ECHO_T}no" >&6
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4822 # Check whether --enable-exceptions or --disable-exceptions was given.
4823 if test "${enable_exceptions+set}" = set; then
4824 enableval
="$enable_exceptions"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4829 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4834 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4845 eval "$ac_cv_use_exceptions"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4850 if test "$wxUSE_EXCEPTIONS" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4863 # Check whether --enable-ffile or --disable-ffile was given.
4864 if test "${enable_ffile+set}" = set; then
4865 enableval
="$enable_ffile"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4870 ac_cv_use_ffile
='wxUSE_FFILE=no'
4875 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x
; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4886 eval "$ac_cv_use_ffile"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_FFILE" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4904 # Check whether --enable-file or --disable-file was given.
4905 if test "${enable_file+set}" = set; then
4906 enableval
="$enable_file"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_file
='wxUSE_FILE=yes'
4911 ac_cv_use_file
='wxUSE_FILE=no'
4916 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4927 eval "$ac_cv_use_file"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_FILE" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4945 # Check whether --enable-filesystem or --disable-filesystem was given.
4946 if test "${enable_filesystem+set}" = set; then
4947 enableval
="$enable_filesystem"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4952 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4957 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4968 eval "$ac_cv_use_filesystem"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_FILESYSTEM" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4986 # Check whether --enable-fontmap or --disable-fontmap was given.
4987 if test "${enable_fontmap+set}" = set; then
4988 enableval
="$enable_fontmap"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4993 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4998 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5009 eval "$ac_cv_use_fontmap"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_FONTMAP" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5027 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5028 if test "${enable_fs_inet+set}" = set; then
5029 enableval
="$enable_fs_inet"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5034 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5039 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5050 eval "$ac_cv_use_fs_inet"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5055 if test "$wxUSE_FS_INET" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5068 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5069 if test "${enable_fs_zip+set}" = set; then
5070 enableval
="$enable_fs_zip"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5075 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5080 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5091 eval "$ac_cv_use_fs_zip"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_FS_ZIP" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5109 # Check whether --enable-geometry or --disable-geometry was given.
5110 if test "${enable_geometry+set}" = set; then
5111 enableval
="$enable_geometry"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5116 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5121 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5132 eval "$ac_cv_use_geometry"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5137 if test "$wxUSE_GEOMETRY" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5150 # Check whether --enable-log or --disable-log was given.
5151 if test "${enable_log+set}" = set; then
5152 enableval
="$enable_log"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_log
='wxUSE_LOG=yes'
5157 ac_cv_use_log
='wxUSE_LOG=no'
5162 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5173 eval "$ac_cv_use_log"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5178 if test "$wxUSE_LOG" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5191 # Check whether --enable-longlong or --disable-longlong was given.
5192 if test "${enable_longlong+set}" = set; then
5193 enableval
="$enable_longlong"
5195 if test "$enableval" = yes; then
5196 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5198 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5203 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x
; then
5205 eval "DEFAULT_$LINE"
5210 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5214 eval "$ac_cv_use_longlong"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5219 if test "$wxUSE_LONGLONG" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5232 # Check whether --enable-mimetype or --disable-mimetype was given.
5233 if test "${enable_mimetype+set}" = set; then
5234 enableval
="$enable_mimetype"
5236 if test "$enableval" = yes; then
5237 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5239 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5244 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5251 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5255 eval "$ac_cv_use_mimetype"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5260 if test "$wxUSE_MIMETYPE" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5273 # Check whether --enable-mslu or --disable-mslu was given.
5274 if test "${enable_mslu+set}" = set; then
5275 enableval
="$enable_mslu"
5277 if test "$enableval" = yes; then
5278 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5280 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5285 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x
; then
5287 eval "DEFAULT_$LINE"
5292 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5296 eval "$ac_cv_use_mslu"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5301 if test "$wxUSE_UNICODE_MSLU" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5314 # Check whether --enable-snglinst or --disable-snglinst was given.
5315 if test "${enable_snglinst+set}" = set; then
5316 enableval
="$enable_snglinst"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5321 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5326 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5337 eval "$ac_cv_use_snglinst"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5342 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5355 # Check whether --enable-streams or --disable-streams was given.
5356 if test "${enable_streams+set}" = set; then
5357 enableval
="$enable_streams"
5359 if test "$enableval" = yes; then
5360 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5362 ac_cv_use_streams
='wxUSE_STREAMS=no'
5367 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x
; then
5369 eval "DEFAULT_$LINE"
5374 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5378 eval "$ac_cv_use_streams"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5383 if test "$wxUSE_STREAMS" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5396 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5397 if test "${enable_std_iostreams+set}" = set; then
5398 enableval
="$enable_std_iostreams"
5400 if test "$enableval" = yes; then
5401 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5403 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5408 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5419 eval "$ac_cv_use_std_iostreams"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_STD_IOSTREAM" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5437 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5438 if test "${enable_stopwatch+set}" = set; then
5439 enableval
="$enable_stopwatch"
5441 if test "$enableval" = yes; then
5442 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5444 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5449 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5460 eval "$ac_cv_use_stopwatch"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_STOPWATCH" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5478 # Check whether --enable-system_options or --disable-system_options was given.
5479 if test "${enable_system_options+set}" = set; then
5480 enableval
="$enable_system_options"
5482 if test "$enableval" = yes; then
5483 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5485 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5490 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5501 eval "$ac_cv_use_system_options"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5519 # Check whether --enable-textbuf or --disable-textbuf was given.
5520 if test "${enable_textbuf+set}" = set; then
5521 enableval
="$enable_textbuf"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5526 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5531 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5542 eval "$ac_cv_use_textbuf"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5547 if test "$wxUSE_TEXTBUFFER" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5560 # Check whether --enable-textfile or --disable-textfile was given.
5561 if test "${enable_textfile+set}" = set; then
5562 enableval
="$enable_textfile"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5567 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5572 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5583 eval "$ac_cv_use_textfile"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_TEXTFILE" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5601 # Check whether --enable-timer or --disable-timer was given.
5602 if test "${enable_timer+set}" = set; then
5603 enableval
="$enable_timer"
5605 if test "$enableval" = yes; then
5606 ac_cv_use_timer
='wxUSE_TIMER=yes'
5608 ac_cv_use_timer
='wxUSE_TIMER=no'
5613 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x
; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5624 eval "$ac_cv_use_timer"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5629 if test "$wxUSE_TIMER" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5642 # Check whether --enable-unicode or --disable-unicode was given.
5643 if test "${enable_unicode+set}" = set; then
5644 enableval
="$enable_unicode"
5646 if test "$enableval" = yes; then
5647 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5649 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5654 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x
; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5665 eval "$ac_cv_use_unicode"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5670 if test "$wxUSE_UNICODE" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5683 # Check whether --enable-sound or --disable-sound was given.
5684 if test "${enable_sound+set}" = set; then
5685 enableval
="$enable_sound"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_sound
='wxUSE_SOUND=yes'
5690 ac_cv_use_sound
='wxUSE_SOUND=no'
5695 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x
; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5706 eval "$ac_cv_use_sound"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5711 if test "$wxUSE_SOUND" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5724 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5725 if test "${enable_wxprintfv+set}" = set; then
5726 enableval
="$enable_wxprintfv"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5731 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5736 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5747 eval "$ac_cv_use_wxprintfv"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5752 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5765 # Check whether --enable-zipstream or --disable-zipstream was given.
5766 if test "${enable_zipstream+set}" = set; then
5767 enableval
="$enable_zipstream"
5769 if test "$enableval" = yes; then
5770 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5772 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5777 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x
; then
5779 eval "DEFAULT_$LINE"
5784 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5788 eval "$ac_cv_use_zipstream"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5793 if test "$wxUSE_ZIPSTREAM" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5807 # Check whether --enable-url or --disable-url was given.
5808 if test "${enable_url+set}" = set; then
5809 enableval
="$enable_url"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_url
='wxUSE_URL=yes'
5814 ac_cv_use_url
='wxUSE_URL=no'
5819 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5830 eval "$ac_cv_use_url"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5835 if test "$wxUSE_URL" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5848 # Check whether --enable-protocol or --disable-protocol was given.
5849 if test "${enable_protocol+set}" = set; then
5850 enableval
="$enable_protocol"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5855 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5860 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5871 eval "$ac_cv_use_protocol"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_PROTOCOL" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5889 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5890 if test "${enable_protocol_http+set}" = set; then
5891 enableval
="$enable_protocol_http"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5896 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5901 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5912 eval "$ac_cv_use_protocol_http"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5917 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5930 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5931 if test "${enable_protocol_ftp+set}" = set; then
5932 enableval
="$enable_protocol_ftp"
5934 if test "$enableval" = yes; then
5935 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5937 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5942 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x
; then
5944 eval "DEFAULT_$LINE"
5949 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5953 eval "$ac_cv_use_protocol_ftp"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5958 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5971 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5972 if test "${enable_protocol_file+set}" = set; then
5973 enableval
="$enable_protocol_file"
5975 if test "$enableval" = yes; then
5976 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5978 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5983 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x
; then
5985 eval "DEFAULT_$LINE"
5990 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5994 eval "$ac_cv_use_protocol_file"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6015 # Check whether --enable-threads or --disable-threads was given.
6016 if test "${enable_threads+set}" = set; then
6017 enableval
="$enable_threads"
6019 if test "$enableval" = yes; then
6020 ac_cv_use_threads
='wxUSE_THREADS=yes'
6022 ac_cv_use_threads
='wxUSE_THREADS=no'
6027 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x
; then
6029 eval "DEFAULT_$LINE"
6034 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6038 eval "$ac_cv_use_threads"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6043 if test "$wxUSE_THREADS" = yes; then
6044 echo "$as_me:$LINENO: result: yes" >&5
6045 echo "${ECHO_T}yes" >&6
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6052 if test "$wxUSE_GUI" = "yes"; then
6057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6058 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6060 # Check whether --enable-docview or --disable-docview was given.
6061 if test "${enable_docview+set}" = set; then
6062 enableval
="$enable_docview"
6064 if test "$enableval" = yes; then
6065 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6067 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6072 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6073 if test "x$LINE" != x
; then
6074 eval "DEFAULT_$LINE"
6079 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6083 eval "$ac_cv_use_docview"
6084 if test "$no_cache" != 1; then
6085 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6088 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6089 echo "$as_me:$LINENO: result: yes" >&5
6090 echo "${ECHO_T}yes" >&6
6092 echo "$as_me:$LINENO: result: no" >&5
6093 echo "${ECHO_T}no" >&6
6098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6099 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6101 # Check whether --enable-help or --disable-help was given.
6102 if test "${enable_help+set}" = set; then
6103 enableval
="$enable_help"
6105 if test "$enableval" = yes; then
6106 ac_cv_use_help
='wxUSE_HELP=yes'
6108 ac_cv_use_help
='wxUSE_HELP=no'
6113 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6114 if test "x$LINE" != x
; then
6115 eval "DEFAULT_$LINE"
6120 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6124 eval "$ac_cv_use_help"
6125 if test "$no_cache" != 1; then
6126 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6129 if test "$wxUSE_HELP" = yes; then
6130 echo "$as_me:$LINENO: result: yes" >&5
6131 echo "${ECHO_T}yes" >&6
6133 echo "$as_me:$LINENO: result: no" >&5
6134 echo "${ECHO_T}no" >&6
6139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6140 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6142 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6143 if test "${enable_mshtmlhelp+set}" = set; then
6144 enableval
="$enable_mshtmlhelp"
6146 if test "$enableval" = yes; then
6147 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6149 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6154 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6155 if test "x$LINE" != x
; then
6156 eval "DEFAULT_$LINE"
6161 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6165 eval "$ac_cv_use_mshtmlhelp"
6166 if test "$no_cache" != 1; then
6167 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6170 if test "$wxUSE_MS_HTML_HELP" = yes; then
6171 echo "$as_me:$LINENO: result: yes" >&5
6172 echo "${ECHO_T}yes" >&6
6174 echo "$as_me:$LINENO: result: no" >&5
6175 echo "${ECHO_T}no" >&6
6180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6181 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6183 # Check whether --enable-html or --disable-html was given.
6184 if test "${enable_html+set}" = set; then
6185 enableval
="$enable_html"
6187 if test "$enableval" = yes; then
6188 ac_cv_use_html
='wxUSE_HTML=yes'
6190 ac_cv_use_html
='wxUSE_HTML=no'
6195 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6196 if test "x$LINE" != x
; then
6197 eval "DEFAULT_$LINE"
6202 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6206 eval "$ac_cv_use_html"
6207 if test "$no_cache" != 1; then
6208 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6211 if test "$wxUSE_HTML" = yes; then
6212 echo "$as_me:$LINENO: result: yes" >&5
6213 echo "${ECHO_T}yes" >&6
6215 echo "$as_me:$LINENO: result: no" >&5
6216 echo "${ECHO_T}no" >&6
6221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6222 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6224 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6225 if test "${enable_htmlhelp+set}" = set; then
6226 enableval
="$enable_htmlhelp"
6228 if test "$enableval" = yes; then
6229 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6231 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6236 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x
; then
6238 eval "DEFAULT_$LINE"
6243 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6247 eval "$ac_cv_use_htmlhelp"
6248 if test "$no_cache" != 1; then
6249 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6252 if test "$wxUSE_WXHTML_HELP" = yes; then
6253 echo "$as_me:$LINENO: result: yes" >&5
6254 echo "${ECHO_T}yes" >&6
6256 echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6
6262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6263 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6265 # Check whether --enable-constraints or --disable-constraints was given.
6266 if test "${enable_constraints+set}" = set; then
6267 enableval
="$enable_constraints"
6269 if test "$enableval" = yes; then
6270 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6272 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6277 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x
; then
6279 eval "DEFAULT_$LINE"
6284 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6288 eval "$ac_cv_use_constraints"
6289 if test "$no_cache" != 1; then
6290 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6293 if test "$wxUSE_CONSTRAINTS" = yes; then
6294 echo "$as_me:$LINENO: result: yes" >&5
6295 echo "${ECHO_T}yes" >&6
6297 echo "$as_me:$LINENO: result: no" >&5
6298 echo "${ECHO_T}no" >&6
6303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6306 # Check whether --enable-printarch or --disable-printarch was given.
6307 if test "${enable_printarch+set}" = set; then
6308 enableval
="$enable_printarch"
6310 if test "$enableval" = yes; then
6311 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6313 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6318 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x
; then
6320 eval "DEFAULT_$LINE"
6325 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6329 eval "$ac_cv_use_printarch"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6334 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6335 echo "$as_me:$LINENO: result: yes" >&5
6336 echo "${ECHO_T}yes" >&6
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6347 # Check whether --enable-mdi or --disable-mdi was given.
6348 if test "${enable_mdi+set}" = set; then
6349 enableval
="$enable_mdi"
6351 if test "$enableval" = yes; then
6352 ac_cv_use_mdi
='wxUSE_MDI=yes'
6354 ac_cv_use_mdi
='wxUSE_MDI=no'
6359 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x
; then
6361 eval "DEFAULT_$LINE"
6366 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6370 eval "$ac_cv_use_mdi"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6375 if test "$wxUSE_MDI" = yes; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377 echo "${ECHO_T}yes" >&6
6379 echo "$as_me:$LINENO: result: no" >&5
6380 echo "${ECHO_T}no" >&6
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6388 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6389 if test "${enable_mdidoc+set}" = set; then
6390 enableval
="$enable_mdidoc"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6395 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6400 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x
; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6411 eval "$ac_cv_use_mdidoc"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6429 # Check whether --enable-loggui or --disable-loggui was given.
6430 if test "${enable_loggui+set}" = set; then
6431 enableval
="$enable_loggui"
6433 if test "$enableval" = yes; then
6434 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6436 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6441 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x
; then
6443 eval "DEFAULT_$LINE"
6448 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6452 eval "$ac_cv_use_loggui"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6457 if test "$wxUSE_LOGGUI" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459 echo "${ECHO_T}yes" >&6
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6470 # Check whether --enable-logwin or --disable-logwin was given.
6471 if test "${enable_logwin+set}" = set; then
6472 enableval
="$enable_logwin"
6474 if test "$enableval" = yes; then
6475 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6477 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6482 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x
; then
6484 eval "DEFAULT_$LINE"
6489 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6493 eval "$ac_cv_use_logwin"
6494 if test "$no_cache" != 1; then
6495 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6498 if test "$wxUSE_LOGWINDOW" = yes; then
6499 echo "$as_me:$LINENO: result: yes" >&5
6500 echo "${ECHO_T}yes" >&6
6502 echo "$as_me:$LINENO: result: no" >&5
6503 echo "${ECHO_T}no" >&6
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6511 # Check whether --enable-logdialog or --disable-logdialog was given.
6512 if test "${enable_logdialog+set}" = set; then
6513 enableval
="$enable_logdialog"
6515 if test "$enableval" = yes; then
6516 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6518 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6523 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x
; then
6525 eval "DEFAULT_$LINE"
6530 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6534 eval "$ac_cv_use_logdialog"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6539 if test "$wxUSE_LOGDIALOG" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6552 # Check whether --enable-webkit or --disable-webkit was given.
6553 if test "${enable_webkit+set}" = set; then
6554 enableval
="$enable_webkit"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6559 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6564 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x
; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6575 eval "$ac_cv_use_webkit"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6580 if test "$wxUSE_WEBKIT" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6594 # Check whether --enable-postscript or --disable-postscript was given.
6595 if test "${enable_postscript+set}" = set; then
6596 enableval
="$enable_postscript"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6601 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6606 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6617 eval "$ac_cv_use_postscript"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_POSTSCRIPT" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6638 # Check whether --enable-prologio or --disable-prologio was given.
6639 if test "${enable_prologio+set}" = set; then
6640 enableval
="$enable_prologio"
6642 if test "$enableval" = yes; then
6643 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6645 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6650 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x
; then
6652 eval "DEFAULT_$LINE"
6657 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6661 eval "$ac_cv_use_prologio"
6662 if test "$no_cache" != 1; then
6663 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6666 if test "$wxUSE_PROLOGIO" = yes; then
6667 echo "$as_me:$LINENO: result: yes" >&5
6668 echo "${ECHO_T}yes" >&6
6670 echo "$as_me:$LINENO: result: no" >&5
6671 echo "${ECHO_T}no" >&6
6676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6679 # Check whether --enable-resources or --disable-resources was given.
6680 if test "${enable_resources+set}" = set; then
6681 enableval
="$enable_resources"
6683 if test "$enableval" = yes; then
6684 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6686 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6691 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x
; then
6693 eval "DEFAULT_$LINE"
6698 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6702 eval "$ac_cv_use_resources"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6707 if test "$wxUSE_RESOURCES" = yes; then
6708 echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6
6711 echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6
6719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6722 # Check whether --enable-clipboard or --disable-clipboard was given.
6723 if test "${enable_clipboard+set}" = set; then
6724 enableval
="$enable_clipboard"
6726 if test "$enableval" = yes; then
6727 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6729 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6734 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x
; then
6736 eval "DEFAULT_$LINE"
6741 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6745 eval "$ac_cv_use_clipboard"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6750 if test "$wxUSE_CLIPBOARD" = yes; then
6751 echo "$as_me:$LINENO: result: yes" >&5
6752 echo "${ECHO_T}yes" >&6
6754 echo "$as_me:$LINENO: result: no" >&5
6755 echo "${ECHO_T}no" >&6
6760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6761 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6763 # Check whether --enable-dnd or --disable-dnd was given.
6764 if test "${enable_dnd+set}" = set; then
6765 enableval
="$enable_dnd"
6767 if test "$enableval" = yes; then
6768 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6770 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6775 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6776 if test "x$LINE" != x
; then
6777 eval "DEFAULT_$LINE"
6782 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6786 eval "$ac_cv_use_dnd"
6787 if test "$no_cache" != 1; then
6788 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6791 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6792 echo "$as_me:$LINENO: result: yes" >&5
6793 echo "${ECHO_T}yes" >&6
6795 echo "$as_me:$LINENO: result: no" >&5
6796 echo "${ECHO_T}no" >&6
6801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6802 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6804 # Check whether --enable-metafile or --disable-metafile was given.
6805 if test "${enable_metafile+set}" = set; then
6806 enableval
="$enable_metafile"
6808 if test "$enableval" = yes; then
6809 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6811 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6816 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6817 if test "x$LINE" != x
; then
6818 eval "DEFAULT_$LINE"
6823 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6827 eval "$ac_cv_use_metafile"
6828 if test "$no_cache" != 1; then
6829 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6832 if test "$wxUSE_METAFILE" = yes; then
6833 echo "$as_me:$LINENO: result: yes" >&5
6834 echo "${ECHO_T}yes" >&6
6836 echo "$as_me:$LINENO: result: no" >&5
6837 echo "${ECHO_T}no" >&6
6845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6846 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6848 # Check whether --enable-controls or --disable-controls was given.
6849 if test "${enable_controls+set}" = set; then
6850 enableval
="$enable_controls"
6852 if test "$enableval" = yes; then
6853 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6855 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6860 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x
; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6871 eval "$ac_cv_use_controls"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6876 if test "$wxUSE_CONTROLS" = yes; then
6877 echo "$as_me:$LINENO: result: yes" >&5
6878 echo "${ECHO_T}yes" >&6
6880 echo "$as_me:$LINENO: result: no" >&5
6881 echo "${ECHO_T}no" >&6
6885 if test "$wxUSE_CONTROLS" = "yes"; then
6886 DEFAULT_wxUSE_ACCEL
=yes
6887 DEFAULT_wxUSE_BMPBUTTON
=yes
6888 DEFAULT_wxUSE_BUTTON
=yes
6889 DEFAULT_wxUSE_CALCTRL
=no
6890 DEFAULT_wxUSE_CARET
=yes
6891 DEFAULT_wxUSE_COMBOBOX
=yes
6892 DEFAULT_wxUSE_CHECKBOX
=yes
6893 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6894 DEFAULT_wxUSE_CHOICE
=yes
6895 DEFAULT_wxUSE_CHOICEBOOK
=yes
6896 DEFAULT_wxUSE_GAUGE
=yes
6897 DEFAULT_wxUSE_GRID
=yes
6898 DEFAULT_wxUSE_IMAGLIST
=yes
6899 DEFAULT_wxUSE_LISTBOOK
=yes
6900 DEFAULT_wxUSE_LISTBOX
=yes
6901 DEFAULT_wxUSE_LISTCTRL
=yes
6902 DEFAULT_wxUSE_NOTEBOOK
=yes
6903 DEFAULT_wxUSE_RADIOBOX
=yes
6904 DEFAULT_wxUSE_RADIOBTN
=yes
6905 DEFAULT_wxUSE_SASH
=yes
6906 DEFAULT_wxUSE_SCROLLBAR
=yes
6907 DEFAULT_wxUSE_SLIDER
=yes
6908 DEFAULT_wxUSE_SPINBTN
=yes
6909 DEFAULT_wxUSE_SPINCTRL
=yes
6910 DEFAULT_wxUSE_SPLITTER
=yes
6911 DEFAULT_wxUSE_STATBMP
=yes
6912 DEFAULT_wxUSE_STATBOX
=yes
6913 DEFAULT_wxUSE_STATLINE
=yes
6914 DEFAULT_wxUSE_STATUSBAR
=yes
6915 DEFAULT_wxUSE_TAB_DIALOG
=yes
6916 DEFAULT_wxUSE_TOGGLEBTN
=yes
6917 DEFAULT_wxUSE_TOOLBAR
=yes
6918 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6919 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6920 DEFAULT_wxUSE_TOOLTIPS
=yes
6921 DEFAULT_wxUSE_TREECTRL
=yes
6922 DEFAULT_wxUSE_POPUPWIN
=yes
6923 DEFAULT_wxUSE_TIPWINDOW
=yes
6924 elif test "$wxUSE_CONTROLS" = "no"; then
6925 DEFAULT_wxUSE_ACCEL
=no
6926 DEFAULT_wxUSE_BMPBUTTON
=no
6927 DEFAULT_wxUSE_BUTTON
=no
6928 DEFAULT_wxUSE_CALCTRL
=no
6929 DEFAULT_wxUSE_CARET
=no
6930 DEFAULT_wxUSE_COMBOBOX
=no
6931 DEFAULT_wxUSE_CHECKBOX
=no
6932 DEFAULT_wxUSE_CHECKLISTBOX
=no
6933 DEFAULT_wxUSE_CHOICE
=no
6934 DEFAULT_wxUSE_CHOICEBOOK
=no
6935 DEFAULT_wxUSE_GAUGE
=no
6936 DEFAULT_wxUSE_GRID
=no
6937 DEFAULT_wxUSE_IMAGLIST
=no
6938 DEFAULT_wxUSE_LISTBOOK
=no
6939 DEFAULT_wxUSE_LISTBOX
=no
6940 DEFAULT_wxUSE_LISTCTRL
=no
6941 DEFAULT_wxUSE_NOTEBOOK
=no
6942 DEFAULT_wxUSE_RADIOBOX
=no
6943 DEFAULT_wxUSE_RADIOBTN
=no
6944 DEFAULT_wxUSE_SASH
=no
6945 DEFAULT_wxUSE_SCROLLBAR
=no
6946 DEFAULT_wxUSE_SLIDER
=no
6947 DEFAULT_wxUSE_SPINBTN
=no
6948 DEFAULT_wxUSE_SPINCTRL
=no
6949 DEFAULT_wxUSE_SPLITTER
=no
6950 DEFAULT_wxUSE_STATBMP
=no
6951 DEFAULT_wxUSE_STATBOX
=no
6952 DEFAULT_wxUSE_STATLINE
=no
6953 DEFAULT_wxUSE_STATUSBAR
=no
6954 DEFAULT_wxUSE_TAB_DIALOG
=no
6955 DEFAULT_wxUSE_TOGGLEBTN
=no
6956 DEFAULT_wxUSE_TOOLBAR
=no
6957 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6958 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6959 DEFAULT_wxUSE_TOOLTIPS
=no
6960 DEFAULT_wxUSE_TREECTRL
=no
6961 DEFAULT_wxUSE_POPUPWIN
=no
6962 DEFAULT_wxUSE_TIPWINDOW
=no
6965 ## FIXME: This is a blatant hack
6966 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6967 wxUSE_PRINTING_ARCHITECTURE
=no
6968 wxUSE_DRAG_AND_DROP
=no
6969 DEFAULT_wxUSE_TOOLTIPS
=no
6970 DEFAULT_wxUSE_DRAGIMAGE
=no
6975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6976 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6978 # Check whether --enable-accel or --disable-accel was given.
6979 if test "${enable_accel+set}" = set; then
6980 enableval
="$enable_accel"
6982 if test "$enableval" = yes; then
6983 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6985 ac_cv_use_accel
='wxUSE_ACCEL=no'
6990 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6991 if test "x$LINE" != x
; then
6992 eval "DEFAULT_$LINE"
6997 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7001 eval "$ac_cv_use_accel"
7002 if test "$no_cache" != 1; then
7003 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7006 if test "$wxUSE_ACCEL" = yes; then
7007 echo "$as_me:$LINENO: result: yes" >&5
7008 echo "${ECHO_T}yes" >&6
7010 echo "$as_me:$LINENO: result: no" >&5
7011 echo "${ECHO_T}no" >&6
7016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7017 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7019 # Check whether --enable-button or --disable-button was given.
7020 if test "${enable_button+set}" = set; then
7021 enableval
="$enable_button"
7023 if test "$enableval" = yes; then
7024 ac_cv_use_button
='wxUSE_BUTTON=yes'
7026 ac_cv_use_button
='wxUSE_BUTTON=no'
7031 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7032 if test "x$LINE" != x
; then
7033 eval "DEFAULT_$LINE"
7038 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7042 eval "$ac_cv_use_button"
7043 if test "$no_cache" != 1; then
7044 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7047 if test "$wxUSE_BUTTON" = yes; then
7048 echo "$as_me:$LINENO: result: yes" >&5
7049 echo "${ECHO_T}yes" >&6
7051 echo "$as_me:$LINENO: result: no" >&5
7052 echo "${ECHO_T}no" >&6
7057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7058 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7060 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7061 if test "${enable_bmpbutton+set}" = set; then
7062 enableval
="$enable_bmpbutton"
7064 if test "$enableval" = yes; then
7065 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7067 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7072 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7073 if test "x$LINE" != x
; then
7074 eval "DEFAULT_$LINE"
7079 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7083 eval "$ac_cv_use_bmpbutton"
7084 if test "$no_cache" != 1; then
7085 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7088 if test "$wxUSE_BMPBUTTON" = yes; then
7089 echo "$as_me:$LINENO: result: yes" >&5
7090 echo "${ECHO_T}yes" >&6
7092 echo "$as_me:$LINENO: result: no" >&5
7093 echo "${ECHO_T}no" >&6
7098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7099 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7101 # Check whether --enable-calendar or --disable-calendar was given.
7102 if test "${enable_calendar+set}" = set; then
7103 enableval
="$enable_calendar"
7105 if test "$enableval" = yes; then
7106 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7108 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7113 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7114 if test "x$LINE" != x
; then
7115 eval "DEFAULT_$LINE"
7120 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7124 eval "$ac_cv_use_calendar"
7125 if test "$no_cache" != 1; then
7126 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7129 if test "$wxUSE_CALCTRL" = yes; then
7130 echo "$as_me:$LINENO: result: yes" >&5
7131 echo "${ECHO_T}yes" >&6
7133 echo "$as_me:$LINENO: result: no" >&5
7134 echo "${ECHO_T}no" >&6
7139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7140 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7142 # Check whether --enable-caret or --disable-caret was given.
7143 if test "${enable_caret+set}" = set; then
7144 enableval
="$enable_caret"
7146 if test "$enableval" = yes; then
7147 ac_cv_use_caret
='wxUSE_CARET=yes'
7149 ac_cv_use_caret
='wxUSE_CARET=no'
7154 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7155 if test "x$LINE" != x
; then
7156 eval "DEFAULT_$LINE"
7161 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7165 eval "$ac_cv_use_caret"
7166 if test "$no_cache" != 1; then
7167 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7170 if test "$wxUSE_CARET" = yes; then
7171 echo "$as_me:$LINENO: result: yes" >&5
7172 echo "${ECHO_T}yes" >&6
7174 echo "$as_me:$LINENO: result: no" >&5
7175 echo "${ECHO_T}no" >&6
7180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7181 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7183 # Check whether --enable-checkbox or --disable-checkbox was given.
7184 if test "${enable_checkbox+set}" = set; then
7185 enableval
="$enable_checkbox"
7187 if test "$enableval" = yes; then
7188 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7190 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7195 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7196 if test "x$LINE" != x
; then
7197 eval "DEFAULT_$LINE"
7202 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7206 eval "$ac_cv_use_checkbox"
7207 if test "$no_cache" != 1; then
7208 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7211 if test "$wxUSE_CHECKBOX" = yes; then
7212 echo "$as_me:$LINENO: result: yes" >&5
7213 echo "${ECHO_T}yes" >&6
7215 echo "$as_me:$LINENO: result: no" >&5
7216 echo "${ECHO_T}no" >&6
7221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7222 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7224 # Check whether --enable-checklst or --disable-checklst was given.
7225 if test "${enable_checklst+set}" = set; then
7226 enableval
="$enable_checklst"
7228 if test "$enableval" = yes; then
7229 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7231 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7236 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7237 if test "x$LINE" != x
; then
7238 eval "DEFAULT_$LINE"
7243 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7247 eval "$ac_cv_use_checklst"
7248 if test "$no_cache" != 1; then
7249 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7252 if test "$wxUSE_CHECKLST" = yes; then
7253 echo "$as_me:$LINENO: result: yes" >&5
7254 echo "${ECHO_T}yes" >&6
7256 echo "$as_me:$LINENO: result: no" >&5
7257 echo "${ECHO_T}no" >&6
7262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7263 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7265 # Check whether --enable-choice or --disable-choice was given.
7266 if test "${enable_choice+set}" = set; then
7267 enableval
="$enable_choice"
7269 if test "$enableval" = yes; then
7270 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7272 ac_cv_use_choice
='wxUSE_CHOICE=no'
7277 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7278 if test "x$LINE" != x
; then
7279 eval "DEFAULT_$LINE"
7284 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7288 eval "$ac_cv_use_choice"
7289 if test "$no_cache" != 1; then
7290 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7293 if test "$wxUSE_CHOICE" = yes; then
7294 echo "$as_me:$LINENO: result: yes" >&5
7295 echo "${ECHO_T}yes" >&6
7297 echo "$as_me:$LINENO: result: no" >&5
7298 echo "${ECHO_T}no" >&6
7303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7304 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7306 # Check whether --enable-choicebook or --disable-choicebook was given.
7307 if test "${enable_choicebook+set}" = set; then
7308 enableval
="$enable_choicebook"
7310 if test "$enableval" = yes; then
7311 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7313 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7318 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7319 if test "x$LINE" != x
; then
7320 eval "DEFAULT_$LINE"
7325 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7329 eval "$ac_cv_use_choicebook"
7330 if test "$no_cache" != 1; then
7331 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7334 if test "$wxUSE_CHOICEBOOK" = yes; then
7335 echo "$as_me:$LINENO: result: yes" >&5
7336 echo "${ECHO_T}yes" >&6
7338 echo "$as_me:$LINENO: result: no" >&5
7339 echo "${ECHO_T}no" >&6
7344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7347 # Check whether --enable-combobox or --disable-combobox was given.
7348 if test "${enable_combobox+set}" = set; then
7349 enableval
="$enable_combobox"
7351 if test "$enableval" = yes; then
7352 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7354 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7359 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7360 if test "x$LINE" != x
; then
7361 eval "DEFAULT_$LINE"
7366 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7370 eval "$ac_cv_use_combobox"
7371 if test "$no_cache" != 1; then
7372 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7375 if test "$wxUSE_COMBOBOX" = yes; then
7376 echo "$as_me:$LINENO: result: yes" >&5
7377 echo "${ECHO_T}yes" >&6
7379 echo "$as_me:$LINENO: result: no" >&5
7380 echo "${ECHO_T}no" >&6
7385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7386 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7388 # Check whether --enable-display or --disable-display was given.
7389 if test "${enable_display+set}" = set; then
7390 enableval
="$enable_display"
7392 if test "$enableval" = yes; then
7393 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7395 ac_cv_use_display
='wxUSE_DISPLAY=no'
7400 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7401 if test "x$LINE" != x
; then
7402 eval "DEFAULT_$LINE"
7407 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7411 eval "$ac_cv_use_display"
7412 if test "$no_cache" != 1; then
7413 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7416 if test "$wxUSE_DISPLAY" = yes; then
7417 echo "$as_me:$LINENO: result: yes" >&5
7418 echo "${ECHO_T}yes" >&6
7420 echo "$as_me:$LINENO: result: no" >&5
7421 echo "${ECHO_T}no" >&6
7426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7427 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7429 # Check whether --enable-gauge or --disable-gauge was given.
7430 if test "${enable_gauge+set}" = set; then
7431 enableval
="$enable_gauge"
7433 if test "$enableval" = yes; then
7434 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7436 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7441 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7442 if test "x$LINE" != x
; then
7443 eval "DEFAULT_$LINE"
7448 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7452 eval "$ac_cv_use_gauge"
7453 if test "$no_cache" != 1; then
7454 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7457 if test "$wxUSE_GAUGE" = yes; then
7458 echo "$as_me:$LINENO: result: yes" >&5
7459 echo "${ECHO_T}yes" >&6
7461 echo "$as_me:$LINENO: result: no" >&5
7462 echo "${ECHO_T}no" >&6
7467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7470 # Check whether --enable-grid or --disable-grid was given.
7471 if test "${enable_grid+set}" = set; then
7472 enableval
="$enable_grid"
7474 if test "$enableval" = yes; then
7475 ac_cv_use_grid
='wxUSE_GRID=yes'
7477 ac_cv_use_grid
='wxUSE_GRID=no'
7482 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7483 if test "x$LINE" != x
; then
7484 eval "DEFAULT_$LINE"
7489 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7493 eval "$ac_cv_use_grid"
7494 if test "$no_cache" != 1; then
7495 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7498 if test "$wxUSE_GRID" = yes; then
7499 echo "$as_me:$LINENO: result: yes" >&5
7500 echo "${ECHO_T}yes" >&6
7502 echo "$as_me:$LINENO: result: no" >&5
7503 echo "${ECHO_T}no" >&6
7508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7509 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7511 # Check whether --enable-imaglist or --disable-imaglist was given.
7512 if test "${enable_imaglist+set}" = set; then
7513 enableval
="$enable_imaglist"
7515 if test "$enableval" = yes; then
7516 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7518 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7523 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7524 if test "x$LINE" != x
; then
7525 eval "DEFAULT_$LINE"
7530 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7534 eval "$ac_cv_use_imaglist"
7535 if test "$no_cache" != 1; then
7536 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7539 if test "$wxUSE_IMAGLIST" = yes; then
7540 echo "$as_me:$LINENO: result: yes" >&5
7541 echo "${ECHO_T}yes" >&6
7543 echo "$as_me:$LINENO: result: no" >&5
7544 echo "${ECHO_T}no" >&6
7549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7550 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7552 # Check whether --enable-listbook or --disable-listbook was given.
7553 if test "${enable_listbook+set}" = set; then
7554 enableval
="$enable_listbook"
7556 if test "$enableval" = yes; then
7557 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7559 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7564 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7565 if test "x$LINE" != x
; then
7566 eval "DEFAULT_$LINE"
7571 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7575 eval "$ac_cv_use_listbook"
7576 if test "$no_cache" != 1; then
7577 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7580 if test "$wxUSE_LISTBOOK" = yes; then
7581 echo "$as_me:$LINENO: result: yes" >&5
7582 echo "${ECHO_T}yes" >&6
7584 echo "$as_me:$LINENO: result: no" >&5
7585 echo "${ECHO_T}no" >&6
7590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7593 # Check whether --enable-listbox or --disable-listbox was given.
7594 if test "${enable_listbox+set}" = set; then
7595 enableval
="$enable_listbox"
7597 if test "$enableval" = yes; then
7598 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7600 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7605 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7606 if test "x$LINE" != x
; then
7607 eval "DEFAULT_$LINE"
7612 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7616 eval "$ac_cv_use_listbox"
7617 if test "$no_cache" != 1; then
7618 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7621 if test "$wxUSE_LISTBOX" = yes; then
7622 echo "$as_me:$LINENO: result: yes" >&5
7623 echo "${ECHO_T}yes" >&6
7625 echo "$as_me:$LINENO: result: no" >&5
7626 echo "${ECHO_T}no" >&6
7631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7632 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7634 # Check whether --enable-listctrl or --disable-listctrl was given.
7635 if test "${enable_listctrl+set}" = set; then
7636 enableval
="$enable_listctrl"
7638 if test "$enableval" = yes; then
7639 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7641 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7646 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7647 if test "x$LINE" != x
; then
7648 eval "DEFAULT_$LINE"
7653 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7657 eval "$ac_cv_use_listctrl"
7658 if test "$no_cache" != 1; then
7659 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7662 if test "$wxUSE_LISTCTRL" = yes; then
7663 echo "$as_me:$LINENO: result: yes" >&5
7664 echo "${ECHO_T}yes" >&6
7666 echo "$as_me:$LINENO: result: no" >&5
7667 echo "${ECHO_T}no" >&6
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7675 # Check whether --enable-notebook or --disable-notebook was given.
7676 if test "${enable_notebook+set}" = set; then
7677 enableval
="$enable_notebook"
7679 if test "$enableval" = yes; then
7680 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7682 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7687 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x
; then
7689 eval "DEFAULT_$LINE"
7694 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7698 eval "$ac_cv_use_notebook"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_NOTEBOOK" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7716 # Check whether --enable-radiobox or --disable-radiobox was given.
7717 if test "${enable_radiobox+set}" = set; then
7718 enableval
="$enable_radiobox"
7720 if test "$enableval" = yes; then
7721 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7723 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7728 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x
; then
7730 eval "DEFAULT_$LINE"
7735 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7739 eval "$ac_cv_use_radiobox"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_RADIOBOX" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7757 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7758 if test "${enable_radiobtn+set}" = set; then
7759 enableval
="$enable_radiobtn"
7761 if test "$enableval" = yes; then
7762 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7764 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7769 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7770 if test "x$LINE" != x
; then
7771 eval "DEFAULT_$LINE"
7776 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7780 eval "$ac_cv_use_radiobtn"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7785 if test "$wxUSE_RADIOBTN" = yes; then
7786 echo "$as_me:$LINENO: result: yes" >&5
7787 echo "${ECHO_T}yes" >&6
7789 echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6
7795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7798 # Check whether --enable-sash or --disable-sash was given.
7799 if test "${enable_sash+set}" = set; then
7800 enableval
="$enable_sash"
7802 if test "$enableval" = yes; then
7803 ac_cv_use_sash
='wxUSE_SASH=yes'
7805 ac_cv_use_sash
='wxUSE_SASH=no'
7810 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x
; then
7812 eval "DEFAULT_$LINE"
7817 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7821 eval "$ac_cv_use_sash"
7822 if test "$no_cache" != 1; then
7823 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7826 if test "$wxUSE_SASH" = yes; then
7827 echo "$as_me:$LINENO: result: yes" >&5
7828 echo "${ECHO_T}yes" >&6
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7839 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7840 if test "${enable_scrollbar+set}" = set; then
7841 enableval
="$enable_scrollbar"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7846 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7851 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x
; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7862 eval "$ac_cv_use_scrollbar"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7867 if test "$wxUSE_SCROLLBAR" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7880 # Check whether --enable-slider or --disable-slider was given.
7881 if test "${enable_slider+set}" = set; then
7882 enableval
="$enable_slider"
7884 if test "$enableval" = yes; then
7885 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7887 ac_cv_use_slider
='wxUSE_SLIDER=no'
7892 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7893 if test "x$LINE" != x
; then
7894 eval "DEFAULT_$LINE"
7899 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7903 eval "$ac_cv_use_slider"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7908 if test "$wxUSE_SLIDER" = yes; then
7909 echo "$as_me:$LINENO: result: yes" >&5
7910 echo "${ECHO_T}yes" >&6
7912 echo "$as_me:$LINENO: result: no" >&5
7913 echo "${ECHO_T}no" >&6
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7921 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7922 if test "${enable_spinbtn+set}" = set; then
7923 enableval
="$enable_spinbtn"
7925 if test "$enableval" = yes; then
7926 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7928 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7933 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x
; then
7935 eval "DEFAULT_$LINE"
7940 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7944 eval "$ac_cv_use_spinbtn"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7949 if test "$wxUSE_SPINBTN" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7962 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7963 if test "${enable_spinctrl+set}" = set; then
7964 enableval
="$enable_spinctrl"
7966 if test "$enableval" = yes; then
7967 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7969 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7974 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x
; then
7976 eval "DEFAULT_$LINE"
7981 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7985 eval "$ac_cv_use_spinctrl"
7986 if test "$no_cache" != 1; then
7987 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7990 if test "$wxUSE_SPINCTRL" = yes; then
7991 echo "$as_me:$LINENO: result: yes" >&5
7992 echo "${ECHO_T}yes" >&6
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
8000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8003 # Check whether --enable-splitter or --disable-splitter was given.
8004 if test "${enable_splitter+set}" = set; then
8005 enableval
="$enable_splitter"
8007 if test "$enableval" = yes; then
8008 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8010 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8015 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8016 if test "x$LINE" != x
; then
8017 eval "DEFAULT_$LINE"
8022 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8026 eval "$ac_cv_use_splitter"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8031 if test "$wxUSE_SPLITTER" = yes; then
8032 echo "$as_me:$LINENO: result: yes" >&5
8033 echo "${ECHO_T}yes" >&6
8035 echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6
8041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8044 # Check whether --enable-statbmp or --disable-statbmp was given.
8045 if test "${enable_statbmp+set}" = set; then
8046 enableval
="$enable_statbmp"
8048 if test "$enableval" = yes; then
8049 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8051 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8056 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x
; then
8058 eval "DEFAULT_$LINE"
8063 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8067 eval "$ac_cv_use_statbmp"
8068 if test "$no_cache" != 1; then
8069 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8072 if test "$wxUSE_STATBMP" = yes; then
8073 echo "$as_me:$LINENO: result: yes" >&5
8074 echo "${ECHO_T}yes" >&6
8076 echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6
8082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8085 # Check whether --enable-statbox or --disable-statbox was given.
8086 if test "${enable_statbox+set}" = set; then
8087 enableval
="$enable_statbox"
8089 if test "$enableval" = yes; then
8090 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8092 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8097 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x
; then
8099 eval "DEFAULT_$LINE"
8104 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8108 eval "$ac_cv_use_statbox"
8109 if test "$no_cache" != 1; then
8110 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8113 if test "$wxUSE_STATBOX" = yes; then
8114 echo "$as_me:$LINENO: result: yes" >&5
8115 echo "${ECHO_T}yes" >&6
8117 echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6
8123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8126 # Check whether --enable-statline or --disable-statline was given.
8127 if test "${enable_statline+set}" = set; then
8128 enableval
="$enable_statline"
8130 if test "$enableval" = yes; then
8131 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8133 ac_cv_use_statline
='wxUSE_STATLINE=no'
8138 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x
; then
8140 eval "DEFAULT_$LINE"
8145 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8149 eval "$ac_cv_use_statline"
8150 if test "$no_cache" != 1; then
8151 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8154 if test "$wxUSE_STATLINE" = yes; then
8155 echo "$as_me:$LINENO: result: yes" >&5
8156 echo "${ECHO_T}yes" >&6
8158 echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8165 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8167 # Check whether --enable-stattext or --disable-stattext was given.
8168 if test "${enable_stattext+set}" = set; then
8169 enableval
="$enable_stattext"
8171 if test "$enableval" = yes; then
8172 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8174 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8179 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x
; then
8181 eval "DEFAULT_$LINE"
8186 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8190 eval "$ac_cv_use_stattext"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8195 if test "$wxUSE_STATTEXT" = yes; then
8196 echo "$as_me:$LINENO: result: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8199 echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6
8205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8208 # Check whether --enable-statusbar or --disable-statusbar was given.
8209 if test "${enable_statusbar+set}" = set; then
8210 enableval
="$enable_statusbar"
8212 if test "$enableval" = yes; then
8213 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8215 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8220 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x
; then
8222 eval "DEFAULT_$LINE"
8227 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8231 eval "$ac_cv_use_statusbar"
8232 if test "$no_cache" != 1; then
8233 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8236 if test "$wxUSE_STATUSBAR" = yes; then
8237 echo "$as_me:$LINENO: result: yes" >&5
8238 echo "${ECHO_T}yes" >&6
8240 echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6
8246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8247 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8249 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8250 if test "${enable_tabdialog+set}" = set; then
8251 enableval
="$enable_tabdialog"
8253 if test "$enableval" = yes; then
8254 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8256 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8261 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x
; then
8263 eval "DEFAULT_$LINE"
8268 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8272 eval "$ac_cv_use_tabdialog"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8277 if test "$wxUSE_TABDIALOG" = yes; then
8278 echo "$as_me:$LINENO: result: yes" >&5
8279 echo "${ECHO_T}yes" >&6
8281 echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6
8287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8290 # Check whether --enable-textctrl or --disable-textctrl was given.
8291 if test "${enable_textctrl+set}" = set; then
8292 enableval
="$enable_textctrl"
8294 if test "$enableval" = yes; then
8295 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8297 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8302 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x
; then
8304 eval "DEFAULT_$LINE"
8309 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8313 eval "$ac_cv_use_textctrl"
8314 if test "$no_cache" != 1; then
8315 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8318 if test "$wxUSE_TEXTCTRL" = yes; then
8319 echo "$as_me:$LINENO: result: yes" >&5
8320 echo "${ECHO_T}yes" >&6
8322 echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6
8328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8331 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8332 if test "${enable_togglebtn+set}" = set; then
8333 enableval
="$enable_togglebtn"
8335 if test "$enableval" = yes; then
8336 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8338 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8343 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8344 if test "x$LINE" != x
; then
8345 eval "DEFAULT_$LINE"
8350 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8354 eval "$ac_cv_use_togglebtn"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8359 if test "$wxUSE_TOGGLEBTN" = yes; then
8360 echo "$as_me:$LINENO: result: yes" >&5
8361 echo "${ECHO_T}yes" >&6
8363 echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6
8369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8372 # Check whether --enable-toolbar or --disable-toolbar was given.
8373 if test "${enable_toolbar+set}" = set; then
8374 enableval
="$enable_toolbar"
8376 if test "$enableval" = yes; then
8377 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8379 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8384 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x
; then
8386 eval "DEFAULT_$LINE"
8391 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8395 eval "$ac_cv_use_toolbar"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8400 if test "$wxUSE_TOOLBAR" = yes; then
8401 echo "$as_me:$LINENO: result: yes" >&5
8402 echo "${ECHO_T}yes" >&6
8404 echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6
8410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8413 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8414 if test "${enable_tbarnative+set}" = set; then
8415 enableval
="$enable_tbarnative"
8417 if test "$enableval" = yes; then
8418 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8420 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8425 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x
; then
8427 eval "DEFAULT_$LINE"
8432 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8436 eval "$ac_cv_use_tbarnative"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8441 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8442 echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6
8445 echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6
8451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8454 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8455 if test "${enable_tbarsmpl+set}" = set; then
8456 enableval
="$enable_tbarsmpl"
8458 if test "$enableval" = yes; then
8459 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8461 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8466 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x
; then
8468 eval "DEFAULT_$LINE"
8473 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8477 eval "$ac_cv_use_tbarsmpl"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8482 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8483 echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6
8486 echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6
8492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8495 # Check whether --enable-treectrl or --disable-treectrl was given.
8496 if test "${enable_treectrl+set}" = set; then
8497 enableval
="$enable_treectrl"
8499 if test "$enableval" = yes; then
8500 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8502 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8507 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x
; then
8509 eval "DEFAULT_$LINE"
8514 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8518 eval "$ac_cv_use_treectrl"
8519 if test "$no_cache" != 1; then
8520 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8523 if test "$wxUSE_TREECTRL" = yes; then
8524 echo "$as_me:$LINENO: result: yes" >&5
8525 echo "${ECHO_T}yes" >&6
8527 echo "$as_me:$LINENO: result: no" >&5
8528 echo "${ECHO_T}no" >&6
8533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8536 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8537 if test "${enable_tipwindow+set}" = set; then
8538 enableval
="$enable_tipwindow"
8540 if test "$enableval" = yes; then
8541 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8543 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8548 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x
; then
8550 eval "DEFAULT_$LINE"
8555 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8559 eval "$ac_cv_use_tipwindow"
8560 if test "$no_cache" != 1; then
8561 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8564 if test "$wxUSE_TIPWINDOW" = yes; then
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8577 # Check whether --enable-popupwin or --disable-popupwin was given.
8578 if test "${enable_popupwin+set}" = set; then
8579 enableval
="$enable_popupwin"
8581 if test "$enableval" = yes; then
8582 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8584 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8589 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8590 if test "x$LINE" != x
; then
8591 eval "DEFAULT_$LINE"
8596 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8600 eval "$ac_cv_use_popupwin"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8605 if test "$wxUSE_POPUPWIN" = yes; then
8606 echo "$as_me:$LINENO: result: yes" >&5
8607 echo "${ECHO_T}yes" >&6
8609 echo "$as_me:$LINENO: result: no" >&5
8610 echo "${ECHO_T}no" >&6
8617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8618 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8620 # Check whether --enable-commondlg or --disable-commondlg was given.
8621 if test "${enable_commondlg+set}" = set; then
8622 enableval
="$enable_commondlg"
8624 if test "$enableval" = yes; then
8625 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8627 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8632 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8633 if test "x$LINE" != x
; then
8634 eval "DEFAULT_$LINE"
8639 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8643 eval "$ac_cv_use_commondlg"
8644 if test "$no_cache" != 1; then
8645 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8648 if test "$wxUSE_COMMONDLGS" = yes; then
8649 echo "$as_me:$LINENO: result: yes" >&5
8650 echo "${ECHO_T}yes" >&6
8652 echo "$as_me:$LINENO: result: no" >&5
8653 echo "${ECHO_T}no" >&6
8658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8659 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8661 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8662 if test "${enable_choicedlg+set}" = set; then
8663 enableval
="$enable_choicedlg"
8665 if test "$enableval" = yes; then
8666 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8668 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8673 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8674 if test "x$LINE" != x
; then
8675 eval "DEFAULT_$LINE"
8680 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8684 eval "$ac_cv_use_choicedlg"
8685 if test "$no_cache" != 1; then
8686 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8689 if test "$wxUSE_CHOICEDLG" = yes; then
8690 echo "$as_me:$LINENO: result: yes" >&5
8691 echo "${ECHO_T}yes" >&6
8693 echo "$as_me:$LINENO: result: no" >&5
8694 echo "${ECHO_T}no" >&6
8699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8700 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8702 # Check whether --enable-coldlg or --disable-coldlg was given.
8703 if test "${enable_coldlg+set}" = set; then
8704 enableval
="$enable_coldlg"
8706 if test "$enableval" = yes; then
8707 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8709 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8714 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8715 if test "x$LINE" != x
; then
8716 eval "DEFAULT_$LINE"
8721 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8725 eval "$ac_cv_use_coldlg"
8726 if test "$no_cache" != 1; then
8727 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8730 if test "$wxUSE_COLOURDLG" = yes; then
8731 echo "$as_me:$LINENO: result: yes" >&5
8732 echo "${ECHO_T}yes" >&6
8734 echo "$as_me:$LINENO: result: no" >&5
8735 echo "${ECHO_T}no" >&6
8740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8741 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8743 # Check whether --enable-filedlg or --disable-filedlg was given.
8744 if test "${enable_filedlg+set}" = set; then
8745 enableval
="$enable_filedlg"
8747 if test "$enableval" = yes; then
8748 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8750 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8755 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8756 if test "x$LINE" != x
; then
8757 eval "DEFAULT_$LINE"
8762 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8766 eval "$ac_cv_use_filedlg"
8767 if test "$no_cache" != 1; then
8768 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8771 if test "$wxUSE_FILEDLG" = yes; then
8772 echo "$as_me:$LINENO: result: yes" >&5
8773 echo "${ECHO_T}yes" >&6
8775 echo "$as_me:$LINENO: result: no" >&5
8776 echo "${ECHO_T}no" >&6
8781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8782 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8784 # Check whether --enable-finddlg or --disable-finddlg was given.
8785 if test "${enable_finddlg+set}" = set; then
8786 enableval
="$enable_finddlg"
8788 if test "$enableval" = yes; then
8789 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8791 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8796 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8797 if test "x$LINE" != x
; then
8798 eval "DEFAULT_$LINE"
8803 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8807 eval "$ac_cv_use_finddlg"
8808 if test "$no_cache" != 1; then
8809 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8812 if test "$wxUSE_FINDREPLDLG" = yes; then
8813 echo "$as_me:$LINENO: result: yes" >&5
8814 echo "${ECHO_T}yes" >&6
8816 echo "$as_me:$LINENO: result: no" >&5
8817 echo "${ECHO_T}no" >&6
8822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8825 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8826 if test "${enable_fontdlg+set}" = set; then
8827 enableval
="$enable_fontdlg"
8829 if test "$enableval" = yes; then
8830 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8832 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8837 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8838 if test "x$LINE" != x
; then
8839 eval "DEFAULT_$LINE"
8844 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8848 eval "$ac_cv_use_fontdlg"
8849 if test "$no_cache" != 1; then
8850 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8853 if test "$wxUSE_FONTDLG" = yes; then
8854 echo "$as_me:$LINENO: result: yes" >&5
8855 echo "${ECHO_T}yes" >&6
8857 echo "$as_me:$LINENO: result: no" >&5
8858 echo "${ECHO_T}no" >&6
8863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8864 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8866 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8867 if test "${enable_dirdlg+set}" = set; then
8868 enableval
="$enable_dirdlg"
8870 if test "$enableval" = yes; then
8871 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8873 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8878 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8879 if test "x$LINE" != x
; then
8880 eval "DEFAULT_$LINE"
8885 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8889 eval "$ac_cv_use_dirdlg"
8890 if test "$no_cache" != 1; then
8891 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8894 if test "$wxUSE_DIRDLG" = yes; then
8895 echo "$as_me:$LINENO: result: yes" >&5
8896 echo "${ECHO_T}yes" >&6
8898 echo "$as_me:$LINENO: result: no" >&5
8899 echo "${ECHO_T}no" >&6
8904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8907 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8908 if test "${enable_msgdlg+set}" = set; then
8909 enableval
="$enable_msgdlg"
8911 if test "$enableval" = yes; then
8912 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8914 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8919 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8920 if test "x$LINE" != x
; then
8921 eval "DEFAULT_$LINE"
8926 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8930 eval "$ac_cv_use_msgdlg"
8931 if test "$no_cache" != 1; then
8932 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8935 if test "$wxUSE_MSGDLG" = yes; then
8936 echo "$as_me:$LINENO: result: yes" >&5
8937 echo "${ECHO_T}yes" >&6
8939 echo "$as_me:$LINENO: result: no" >&5
8940 echo "${ECHO_T}no" >&6
8945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8946 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8948 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8949 if test "${enable_numberdlg+set}" = set; then
8950 enableval
="$enable_numberdlg"
8952 if test "$enableval" = yes; then
8953 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8955 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8960 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8961 if test "x$LINE" != x
; then
8962 eval "DEFAULT_$LINE"
8967 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8971 eval "$ac_cv_use_numberdlg"
8972 if test "$no_cache" != 1; then
8973 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8976 if test "$wxUSE_NUMBERDLG" = yes; then
8977 echo "$as_me:$LINENO: result: yes" >&5
8978 echo "${ECHO_T}yes" >&6
8980 echo "$as_me:$LINENO: result: no" >&5
8981 echo "${ECHO_T}no" >&6
8986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8989 # Check whether --enable-splash or --disable-splash was given.
8990 if test "${enable_splash+set}" = set; then
8991 enableval
="$enable_splash"
8993 if test "$enableval" = yes; then
8994 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8996 ac_cv_use_splash
='wxUSE_SPLASH=no'
9001 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9002 if test "x$LINE" != x
; then
9003 eval "DEFAULT_$LINE"
9008 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9012 eval "$ac_cv_use_splash"
9013 if test "$no_cache" != 1; then
9014 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9017 if test "$wxUSE_SPLASH" = yes; then
9018 echo "$as_me:$LINENO: result: yes" >&5
9019 echo "${ECHO_T}yes" >&6
9021 echo "$as_me:$LINENO: result: no" >&5
9022 echo "${ECHO_T}no" >&6
9027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9028 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9030 # Check whether --enable-textdlg or --disable-textdlg was given.
9031 if test "${enable_textdlg+set}" = set; then
9032 enableval
="$enable_textdlg"
9034 if test "$enableval" = yes; then
9035 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9037 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9042 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9043 if test "x$LINE" != x
; then
9044 eval "DEFAULT_$LINE"
9049 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9053 eval "$ac_cv_use_textdlg"
9054 if test "$no_cache" != 1; then
9055 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9058 if test "$wxUSE_TEXTDLG" = yes; then
9059 echo "$as_me:$LINENO: result: yes" >&5
9060 echo "${ECHO_T}yes" >&6
9062 echo "$as_me:$LINENO: result: no" >&5
9063 echo "${ECHO_T}no" >&6
9068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9069 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9071 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9072 if test "${enable_tipdlg+set}" = set; then
9073 enableval
="$enable_tipdlg"
9075 if test "$enableval" = yes; then
9076 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9078 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9083 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9084 if test "x$LINE" != x
; then
9085 eval "DEFAULT_$LINE"
9090 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9094 eval "$ac_cv_use_tipdlg"
9095 if test "$no_cache" != 1; then
9096 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9099 if test "$wxUSE_STARTUP_TIPS" = yes; then
9100 echo "$as_me:$LINENO: result: yes" >&5
9101 echo "${ECHO_T}yes" >&6
9103 echo "$as_me:$LINENO: result: no" >&5
9104 echo "${ECHO_T}no" >&6
9109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9112 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9113 if test "${enable_progressdlg+set}" = set; then
9114 enableval
="$enable_progressdlg"
9116 if test "$enableval" = yes; then
9117 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9119 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9124 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9125 if test "x$LINE" != x
; then
9126 eval "DEFAULT_$LINE"
9131 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9135 eval "$ac_cv_use_progressdlg"
9136 if test "$no_cache" != 1; then
9137 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9140 if test "$wxUSE_PROGRESSDLG" = yes; then
9141 echo "$as_me:$LINENO: result: yes" >&5
9142 echo "${ECHO_T}yes" >&6
9144 echo "$as_me:$LINENO: result: no" >&5
9145 echo "${ECHO_T}no" >&6
9150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9151 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9153 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9154 if test "${enable_wizarddlg+set}" = set; then
9155 enableval
="$enable_wizarddlg"
9157 if test "$enableval" = yes; then
9158 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9160 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9165 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9166 if test "x$LINE" != x
; then
9167 eval "DEFAULT_$LINE"
9172 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9176 eval "$ac_cv_use_wizarddlg"
9177 if test "$no_cache" != 1; then
9178 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9181 if test "$wxUSE_WIZARDDLG" = yes; then
9182 echo "$as_me:$LINENO: result: yes" >&5
9183 echo "${ECHO_T}yes" >&6
9185 echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6
9193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9194 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9196 # Check whether --enable-menus or --disable-menus was given.
9197 if test "${enable_menus+set}" = set; then
9198 enableval
="$enable_menus"
9200 if test "$enableval" = yes; then
9201 ac_cv_use_menus
='wxUSE_MENUS=yes'
9203 ac_cv_use_menus
='wxUSE_MENUS=no'
9208 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9209 if test "x$LINE" != x
; then
9210 eval "DEFAULT_$LINE"
9215 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9219 eval "$ac_cv_use_menus"
9220 if test "$no_cache" != 1; then
9221 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9224 if test "$wxUSE_MENUS" = yes; then
9225 echo "$as_me:$LINENO: result: yes" >&5
9226 echo "${ECHO_T}yes" >&6
9228 echo "$as_me:$LINENO: result: no" >&5
9229 echo "${ECHO_T}no" >&6
9234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9235 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9237 # Check whether --enable-miniframe or --disable-miniframe was given.
9238 if test "${enable_miniframe+set}" = set; then
9239 enableval
="$enable_miniframe"
9241 if test "$enableval" = yes; then
9242 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9244 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9249 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9250 if test "x$LINE" != x
; then
9251 eval "DEFAULT_$LINE"
9256 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9260 eval "$ac_cv_use_miniframe"
9261 if test "$no_cache" != 1; then
9262 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9265 if test "$wxUSE_MINIFRAME" = yes; then
9266 echo "$as_me:$LINENO: result: yes" >&5
9267 echo "${ECHO_T}yes" >&6
9269 echo "$as_me:$LINENO: result: no" >&5
9270 echo "${ECHO_T}no" >&6
9275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9276 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9278 # Check whether --enable-tooltips or --disable-tooltips was given.
9279 if test "${enable_tooltips+set}" = set; then
9280 enableval
="$enable_tooltips"
9282 if test "$enableval" = yes; then
9283 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9285 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9290 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9291 if test "x$LINE" != x
; then
9292 eval "DEFAULT_$LINE"
9297 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9301 eval "$ac_cv_use_tooltips"
9302 if test "$no_cache" != 1; then
9303 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9306 if test "$wxUSE_TOOLTIPS" = yes; then
9307 echo "$as_me:$LINENO: result: yes" >&5
9308 echo "${ECHO_T}yes" >&6
9310 echo "$as_me:$LINENO: result: no" >&5
9311 echo "${ECHO_T}no" >&6
9316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9317 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9319 # Check whether --enable-splines or --disable-splines was given.
9320 if test "${enable_splines+set}" = set; then
9321 enableval
="$enable_splines"
9323 if test "$enableval" = yes; then
9324 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9326 ac_cv_use_splines
='wxUSE_SPLINES=no'
9331 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x
; then
9333 eval "DEFAULT_$LINE"
9338 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9342 eval "$ac_cv_use_splines"
9343 if test "$no_cache" != 1; then
9344 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9347 if test "$wxUSE_SPLINES" = yes; then
9348 echo "$as_me:$LINENO: result: yes" >&5
9349 echo "${ECHO_T}yes" >&6
9351 echo "$as_me:$LINENO: result: no" >&5
9352 echo "${ECHO_T}no" >&6
9357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9358 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9360 # Check whether --enable-validators or --disable-validators was given.
9361 if test "${enable_validators+set}" = set; then
9362 enableval
="$enable_validators"
9364 if test "$enableval" = yes; then
9365 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9367 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9372 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9373 if test "x$LINE" != x
; then
9374 eval "DEFAULT_$LINE"
9379 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9383 eval "$ac_cv_use_validators"
9384 if test "$no_cache" != 1; then
9385 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9388 if test "$wxUSE_VALIDATORS" = yes; then
9389 echo "$as_me:$LINENO: result: yes" >&5
9390 echo "${ECHO_T}yes" >&6
9392 echo "$as_me:$LINENO: result: no" >&5
9393 echo "${ECHO_T}no" >&6
9398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9399 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9401 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9402 if test "${enable_busyinfo+set}" = set; then
9403 enableval
="$enable_busyinfo"
9405 if test "$enableval" = yes; then
9406 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9408 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9413 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9414 if test "x$LINE" != x
; then
9415 eval "DEFAULT_$LINE"
9420 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9424 eval "$ac_cv_use_busyinfo"
9425 if test "$no_cache" != 1; then
9426 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9429 if test "$wxUSE_BUSYINFO" = yes; then
9430 echo "$as_me:$LINENO: result: yes" >&5
9431 echo "${ECHO_T}yes" >&6
9433 echo "$as_me:$LINENO: result: no" >&5
9434 echo "${ECHO_T}no" >&6
9439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9440 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9442 # Check whether --enable-joystick or --disable-joystick was given.
9443 if test "${enable_joystick+set}" = set; then
9444 enableval
="$enable_joystick"
9446 if test "$enableval" = yes; then
9447 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9449 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9454 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9455 if test "x$LINE" != x
; then
9456 eval "DEFAULT_$LINE"
9461 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9465 eval "$ac_cv_use_joystick"
9466 if test "$no_cache" != 1; then
9467 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9470 if test "$wxUSE_JOYSTICK" = yes; then
9471 echo "$as_me:$LINENO: result: yes" >&5
9472 echo "${ECHO_T}yes" >&6
9474 echo "$as_me:$LINENO: result: no" >&5
9475 echo "${ECHO_T}no" >&6
9480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9481 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9483 # Check whether --enable-metafile or --disable-metafile was given.
9484 if test "${enable_metafile+set}" = set; then
9485 enableval
="$enable_metafile"
9487 if test "$enableval" = yes; then
9488 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9490 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9495 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9496 if test "x$LINE" != x
; then
9497 eval "DEFAULT_$LINE"
9502 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9506 eval "$ac_cv_use_metafile"
9507 if test "$no_cache" != 1; then
9508 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9511 if test "$wxUSE_METAFILE" = yes; then
9512 echo "$as_me:$LINENO: result: yes" >&5
9513 echo "${ECHO_T}yes" >&6
9515 echo "$as_me:$LINENO: result: no" >&5
9516 echo "${ECHO_T}no" >&6
9521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9522 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9524 # Check whether --enable-dragimage or --disable-dragimage was given.
9525 if test "${enable_dragimage+set}" = set; then
9526 enableval
="$enable_dragimage"
9528 if test "$enableval" = yes; then
9529 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9531 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9536 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9537 if test "x$LINE" != x
; then
9538 eval "DEFAULT_$LINE"
9543 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9547 eval "$ac_cv_use_dragimage"
9548 if test "$no_cache" != 1; then
9549 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9552 if test "$wxUSE_DRAGIMAGE" = yes; then
9553 echo "$as_me:$LINENO: result: yes" >&5
9554 echo "${ECHO_T}yes" >&6
9556 echo "$as_me:$LINENO: result: no" >&5
9557 echo "${ECHO_T}no" >&6
9562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9563 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9565 # Check whether --enable-accessibility or --disable-accessibility was given.
9566 if test "${enable_accessibility+set}" = set; then
9567 enableval
="$enable_accessibility"
9569 if test "$enableval" = yes; then
9570 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9572 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9577 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9578 if test "x$LINE" != x
; then
9579 eval "DEFAULT_$LINE"
9584 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9588 eval "$ac_cv_use_accessibility"
9589 if test "$no_cache" != 1; then
9590 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9593 if test "$wxUSE_ACCESSIBILITY" = yes; then
9594 echo "$as_me:$LINENO: result: yes" >&5
9595 echo "${ECHO_T}yes" >&6
9597 echo "$as_me:$LINENO: result: no" >&5
9598 echo "${ECHO_T}no" >&6
9605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9606 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9608 # Check whether --enable-palette or --disable-palette was given.
9609 if test "${enable_palette+set}" = set; then
9610 enableval
="$enable_palette"
9612 if test "$enableval" = yes; then
9613 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9615 ac_cv_use_palette
='wxUSE_PALETTE=no'
9620 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9621 if test "x$LINE" != x
; then
9622 eval "DEFAULT_$LINE"
9627 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9631 eval "$ac_cv_use_palette"
9632 if test "$no_cache" != 1; then
9633 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9636 if test "$wxUSE_PALETTE" = yes; then
9637 echo "$as_me:$LINENO: result: yes" >&5
9638 echo "${ECHO_T}yes" >&6
9640 echo "$as_me:$LINENO: result: no" >&5
9641 echo "${ECHO_T}no" >&6
9646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9647 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9649 # Check whether --enable-image or --disable-image was given.
9650 if test "${enable_image+set}" = set; then
9651 enableval
="$enable_image"
9653 if test "$enableval" = yes; then
9654 ac_cv_use_image
='wxUSE_IMAGE=yes'
9656 ac_cv_use_image
='wxUSE_IMAGE=no'
9661 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9662 if test "x$LINE" != x
; then
9663 eval "DEFAULT_$LINE"
9668 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9672 eval "$ac_cv_use_image"
9673 if test "$no_cache" != 1; then
9674 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9677 if test "$wxUSE_IMAGE" = yes; then
9678 echo "$as_me:$LINENO: result: yes" >&5
9679 echo "${ECHO_T}yes" >&6
9681 echo "$as_me:$LINENO: result: no" >&5
9682 echo "${ECHO_T}no" >&6
9687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9688 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9690 # Check whether --enable-gif or --disable-gif was given.
9691 if test "${enable_gif+set}" = set; then
9692 enableval
="$enable_gif"
9694 if test "$enableval" = yes; then
9695 ac_cv_use_gif
='wxUSE_GIF=yes'
9697 ac_cv_use_gif
='wxUSE_GIF=no'
9702 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9703 if test "x$LINE" != x
; then
9704 eval "DEFAULT_$LINE"
9709 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9713 eval "$ac_cv_use_gif"
9714 if test "$no_cache" != 1; then
9715 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9718 if test "$wxUSE_GIF" = yes; then
9719 echo "$as_me:$LINENO: result: yes" >&5
9720 echo "${ECHO_T}yes" >&6
9722 echo "$as_me:$LINENO: result: no" >&5
9723 echo "${ECHO_T}no" >&6
9728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9729 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9731 # Check whether --enable-pcx or --disable-pcx was given.
9732 if test "${enable_pcx+set}" = set; then
9733 enableval
="$enable_pcx"
9735 if test "$enableval" = yes; then
9736 ac_cv_use_pcx
='wxUSE_PCX=yes'
9738 ac_cv_use_pcx
='wxUSE_PCX=no'
9743 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9744 if test "x$LINE" != x
; then
9745 eval "DEFAULT_$LINE"
9750 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9754 eval "$ac_cv_use_pcx"
9755 if test "$no_cache" != 1; then
9756 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9759 if test "$wxUSE_PCX" = yes; then
9760 echo "$as_me:$LINENO: result: yes" >&5
9761 echo "${ECHO_T}yes" >&6
9763 echo "$as_me:$LINENO: result: no" >&5
9764 echo "${ECHO_T}no" >&6
9769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9770 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9772 # Check whether --enable-iff or --disable-iff was given.
9773 if test "${enable_iff+set}" = set; then
9774 enableval
="$enable_iff"
9776 if test "$enableval" = yes; then
9777 ac_cv_use_iff
='wxUSE_IFF=yes'
9779 ac_cv_use_iff
='wxUSE_IFF=no'
9784 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9785 if test "x$LINE" != x
; then
9786 eval "DEFAULT_$LINE"
9791 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9795 eval "$ac_cv_use_iff"
9796 if test "$no_cache" != 1; then
9797 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9800 if test "$wxUSE_IFF" = yes; then
9801 echo "$as_me:$LINENO: result: yes" >&5
9802 echo "${ECHO_T}yes" >&6
9804 echo "$as_me:$LINENO: result: no" >&5
9805 echo "${ECHO_T}no" >&6
9810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9811 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9813 # Check whether --enable-pnm or --disable-pnm was given.
9814 if test "${enable_pnm+set}" = set; then
9815 enableval
="$enable_pnm"
9817 if test "$enableval" = yes; then
9818 ac_cv_use_pnm
='wxUSE_PNM=yes'
9820 ac_cv_use_pnm
='wxUSE_PNM=no'
9825 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9826 if test "x$LINE" != x
; then
9827 eval "DEFAULT_$LINE"
9832 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9836 eval "$ac_cv_use_pnm"
9837 if test "$no_cache" != 1; then
9838 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9841 if test "$wxUSE_PNM" = yes; then
9842 echo "$as_me:$LINENO: result: yes" >&5
9843 echo "${ECHO_T}yes" >&6
9845 echo "$as_me:$LINENO: result: no" >&5
9846 echo "${ECHO_T}no" >&6
9851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9852 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9854 # Check whether --enable-xpm or --disable-xpm was given.
9855 if test "${enable_xpm+set}" = set; then
9856 enableval
="$enable_xpm"
9858 if test "$enableval" = yes; then
9859 ac_cv_use_xpm
='wxUSE_XPM=yes'
9861 ac_cv_use_xpm
='wxUSE_XPM=no'
9866 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9867 if test "x$LINE" != x
; then
9868 eval "DEFAULT_$LINE"
9873 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9877 eval "$ac_cv_use_xpm"
9878 if test "$no_cache" != 1; then
9879 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9882 if test "$wxUSE_XPM" = yes; then
9883 echo "$as_me:$LINENO: result: yes" >&5
9884 echo "${ECHO_T}yes" >&6
9886 echo "$as_me:$LINENO: result: no" >&5
9887 echo "${ECHO_T}no" >&6
9892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9893 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9895 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9896 if test "${enable_ico_cur+set}" = set; then
9897 enableval
="$enable_ico_cur"
9899 if test "$enableval" = yes; then
9900 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9902 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9907 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9908 if test "x$LINE" != x
; then
9909 eval "DEFAULT_$LINE"
9914 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9918 eval "$ac_cv_use_ico_cur"
9919 if test "$no_cache" != 1; then
9920 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9923 if test "$wxUSE_ICO_CUR" = yes; then
9924 echo "$as_me:$LINENO: result: yes" >&5
9925 echo "${ECHO_T}yes" >&6
9927 echo "$as_me:$LINENO: result: no" >&5
9928 echo "${ECHO_T}no" >&6
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9940 # Check whether --enable-official_build or --disable-official_build was given.
9941 if test "${enable_official_build+set}" = set; then
9942 enableval
="$enable_official_build"
9944 if test "$enableval" = yes; then
9945 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9947 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9952 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x
; then
9954 eval "DEFAULT_$LINE"
9959 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9963 eval "$ac_cv_use_official_build"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9968 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9976 # Check whether --enable-vendor or --disable-vendor was given.
9977 if test "${enable_vendor+set}" = set; then
9978 enableval
="$enable_vendor"
9981 if test "x$VENDOR" = "x"; then
9986 *-pc-os2_emx | *-pc-os2-emx )
9996 echo "saving argument cache $wx_arg_cache_file"
9997 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10001 echo "$as_me:$LINENO: checking for toolkit" >&5
10002 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10004 # In Wine, we need to default to MSW, not GTK or MOTIF
10005 if test "$wxUSE_WINE" = "yes"; then
10006 DEFAULT_DEFAULT_wxUSE_GTK
=0
10007 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10008 DEFAULT_DEFAULT_wxUSE_MSW
=1
10012 if test "$wxUSE_GUI" = "yes"; then
10014 if test "$USE_BEOS" = 1; then
10015 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10016 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10017 { (exit 1); exit 1; }; }
10020 if test "$TOOLKIT_GIVEN" = 1; then
10021 for toolkit
in `echo $ALL_TOOLKITS`; do
10023 eval "value=\$${var}"
10024 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10027 for toolkit
in `echo $ALL_TOOLKITS`; do
10028 if test "$has_toolkit_in_cache" != 1; then
10029 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10031 var
=DEFAULT_wxUSE_
$toolkit
10033 eval "wxUSE_$toolkit=\$${var}"
10037 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10038 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10039 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10042 *-pc-os2_emx | *-pc-os2-emx )
10043 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10046 case "$NUM_TOOLKITS" in
10050 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10051 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10052 { (exit 1); exit 1; }; }
10055 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10056 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10057 { (exit 1); exit 1; }; }
10060 for toolkit
in `echo $ALL_TOOLKITS`; do
10062 eval "value=\$${var}"
10063 if test "x$value" != x
; then
10064 cache_var
=CACHE_
$toolkit
10065 eval "cache=\$${cache_var}"
10066 if test "$cache" = 1; then
10067 echo "$var=$value" >> ${wx_arg_cache_file}
10069 if test "$value" = 1; then
10070 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10071 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10072 echo "${ECHO_T}$toolkit_echo" >&6
10077 if test "x$host_alias" != "x"; then
10078 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10079 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10081 echo "$as_me:$LINENO: result: base only" >&5
10082 echo "${ECHO_T}base only" >&6
10087 doesnt_want_win32
=0
10090 if test "$wxUSE_MSW" = 1 ; then
10093 doesnt_want_win32
=1
10101 if test "$wxUSE_WINE" = "yes"; then
10106 LDFLAGS_GUI
="-mwindows"
10109 if test "$wants_win32" = 1 ; then
10112 cat >>confdefs.h
<<\_ACEOF
10113 #define __WIN32__ 1
10116 cat >>confdefs.h
<<\_ACEOF
10117 #define __WIN95__ 1
10120 cat >>confdefs.h
<<\_ACEOF
10121 #define __WINDOWS__ 1
10124 cat >>confdefs.h
<<\_ACEOF
10125 #define __GNUWIN32__ 1
10128 cat >>confdefs.h
<<\_ACEOF
10132 cat >>confdefs.h
<<\_ACEOF
10133 #define WINVER 0x0400
10137 if test "$doesnt_want_win32" = 1 ; then
10142 if test "$USE_UNIX" = 1 ; then
10144 cat >>confdefs.h
<<\_ACEOF
10151 cat >confcache
<<\_ACEOF
10152 # This file is a shell script that caches the results of configure
10153 # tests run on this system so they can be shared between configure
10154 # scripts and configure runs, see configure's option --config-cache.
10155 # It is not useful on other systems. If it contains results you don't
10156 # want to keep, you may remove or edit it.
10158 # config.status only pays attention to the cache file if you give it
10159 # the --recheck option to rerun configure.
10161 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10162 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10163 # following values.
10167 # The following way of writing the cache mishandles newlines in values,
10168 # but we know of no workaround that is simple, portable, and efficient.
10169 # So, don't put newlines in cache variables' values.
10170 # Ultrix sh set writes to stderr and can't be redirected directly,
10171 # and sets the high bit in the cache file unless we assign to the vars.
10174 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10176 # `set' does not quote correctly, so add quotes (double-quote
10177 # substitution turns \\\\ into \\, and sed turns \\ into \).
10180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10183 # `set' quotes correctly as required by POSIX, so do not add quotes.
10185 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10192 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10194 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10196 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10197 if test -w $cache_file; then
10198 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10199 cat confcache
>$cache_file
10201 echo "not updating unwritable cache $cache_file"
10206 if test "$build" != "$host" ; then
10207 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10209 CXX
=$host_alias-c++
10211 RANLIB
=$host_alias-ranlib
10212 DLLTOOL
=$host_alias-dlltool
10213 RESCOMP
=$host_alias-windres
10216 STRIP
=$host_alias-strip
10218 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10219 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10220 { (exit 1); exit 1; }; }
10226 ac_cpp
='$CPP $CPPFLAGS'
10227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10230 if test -n "$ac_tool_prefix"; then
10231 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10232 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10233 echo "$as_me:$LINENO: checking for $ac_word" >&5
10234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10235 if test "${ac_cv_prog_CC+set}" = set; then
10236 echo $ECHO_N "(cached) $ECHO_C" >&6
10238 if test -n "$CC"; then
10239 ac_cv_prog_CC
="$CC" # Let the user override the test.
10241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10242 for as_dir
in $PATH
10245 test -z "$as_dir" && as_dir
=.
10246 for ac_exec_ext
in '' $ac_executable_extensions; do
10247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10248 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10258 if test -n "$CC"; then
10259 echo "$as_me:$LINENO: result: $CC" >&5
10260 echo "${ECHO_T}$CC" >&6
10262 echo "$as_me:$LINENO: result: no" >&5
10263 echo "${ECHO_T}no" >&6
10267 if test -z "$ac_cv_prog_CC"; then
10269 # Extract the first word of "gcc", so it can be a program name with args.
10270 set dummy gcc
; ac_word
=$2
10271 echo "$as_me:$LINENO: checking for $ac_word" >&5
10272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10274 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 if test -n "$ac_ct_CC"; then
10277 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10280 for as_dir
in $PATH
10283 test -z "$as_dir" && as_dir
=.
10284 for ac_exec_ext
in '' $ac_executable_extensions; do
10285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10286 ac_cv_prog_ac_ct_CC
="gcc"
10287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10295 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10296 if test -n "$ac_ct_CC"; then
10297 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10298 echo "${ECHO_T}$ac_ct_CC" >&6
10300 echo "$as_me:$LINENO: result: no" >&5
10301 echo "${ECHO_T}no" >&6
10306 CC
="$ac_cv_prog_CC"
10309 if test -z "$CC"; then
10310 if test -n "$ac_tool_prefix"; then
10311 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10312 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10313 echo "$as_me:$LINENO: checking for $ac_word" >&5
10314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10315 if test "${ac_cv_prog_CC+set}" = set; then
10316 echo $ECHO_N "(cached) $ECHO_C" >&6
10318 if test -n "$CC"; then
10319 ac_cv_prog_CC
="$CC" # Let the user override the test.
10321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10322 for as_dir
in $PATH
10325 test -z "$as_dir" && as_dir
=.
10326 for ac_exec_ext
in '' $ac_executable_extensions; do
10327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10328 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10338 if test -n "$CC"; then
10339 echo "$as_me:$LINENO: result: $CC" >&5
10340 echo "${ECHO_T}$CC" >&6
10342 echo "$as_me:$LINENO: result: no" >&5
10343 echo "${ECHO_T}no" >&6
10347 if test -z "$ac_cv_prog_CC"; then
10349 # Extract the first word of "cc", so it can be a program name with args.
10350 set dummy cc
; ac_word
=$2
10351 echo "$as_me:$LINENO: checking for $ac_word" >&5
10352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10354 echo $ECHO_N "(cached) $ECHO_C" >&6
10356 if test -n "$ac_ct_CC"; then
10357 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10360 for as_dir
in $PATH
10363 test -z "$as_dir" && as_dir
=.
10364 for ac_exec_ext
in '' $ac_executable_extensions; do
10365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10366 ac_cv_prog_ac_ct_CC
="cc"
10367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10375 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10376 if test -n "$ac_ct_CC"; then
10377 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10378 echo "${ECHO_T}$ac_ct_CC" >&6
10380 echo "$as_me:$LINENO: result: no" >&5
10381 echo "${ECHO_T}no" >&6
10386 CC
="$ac_cv_prog_CC"
10390 if test -z "$CC"; then
10391 # Extract the first word of "cc", so it can be a program name with args.
10392 set dummy cc
; ac_word
=$2
10393 echo "$as_me:$LINENO: checking for $ac_word" >&5
10394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10395 if test "${ac_cv_prog_CC+set}" = set; then
10396 echo $ECHO_N "(cached) $ECHO_C" >&6
10398 if test -n "$CC"; then
10399 ac_cv_prog_CC
="$CC" # Let the user override the test.
10401 ac_prog_rejected
=no
10402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10403 for as_dir
in $PATH
10406 test -z "$as_dir" && as_dir
=.
10407 for ac_exec_ext
in '' $ac_executable_extensions; do
10408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10409 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10410 ac_prog_rejected
=yes
10414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10420 if test $ac_prog_rejected = yes; then
10421 # We found a bogon in the path, so make sure we never use it.
10422 set dummy
$ac_cv_prog_CC
10424 if test $# != 0; then
10425 # We chose a different compiler from the bogus one.
10426 # However, it has the same basename, so the bogon will be chosen
10427 # first if we set CC to just the basename; use the full file name.
10429 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10435 if test -n "$CC"; then
10436 echo "$as_me:$LINENO: result: $CC" >&5
10437 echo "${ECHO_T}$CC" >&6
10439 echo "$as_me:$LINENO: result: no" >&5
10440 echo "${ECHO_T}no" >&6
10444 if test -z "$CC"; then
10445 if test -n "$ac_tool_prefix"; then
10448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10449 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10450 echo "$as_me:$LINENO: checking for $ac_word" >&5
10451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10452 if test "${ac_cv_prog_CC+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 if test -n "$CC"; then
10456 ac_cv_prog_CC
="$CC" # Let the user override the test.
10458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10459 for as_dir
in $PATH
10462 test -z "$as_dir" && as_dir
=.
10463 for ac_exec_ext
in '' $ac_executable_extensions; do
10464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10465 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10475 if test -n "$CC"; then
10476 echo "$as_me:$LINENO: result: $CC" >&5
10477 echo "${ECHO_T}$CC" >&6
10479 echo "$as_me:$LINENO: result: no" >&5
10480 echo "${ECHO_T}no" >&6
10483 test -n "$CC" && break
10486 if test -z "$CC"; then
10490 # Extract the first word of "$ac_prog", so it can be a program name with args.
10491 set dummy
$ac_prog; ac_word
=$2
10492 echo "$as_me:$LINENO: checking for $ac_word" >&5
10493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10494 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10495 echo $ECHO_N "(cached) $ECHO_C" >&6
10497 if test -n "$ac_ct_CC"; then
10498 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10501 for as_dir
in $PATH
10504 test -z "$as_dir" && as_dir
=.
10505 for ac_exec_ext
in '' $ac_executable_extensions; do
10506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10507 ac_cv_prog_ac_ct_CC
="$ac_prog"
10508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10516 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10517 if test -n "$ac_ct_CC"; then
10518 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10519 echo "${ECHO_T}$ac_ct_CC" >&6
10521 echo "$as_me:$LINENO: result: no" >&5
10522 echo "${ECHO_T}no" >&6
10525 test -n "$ac_ct_CC" && break
10534 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10535 See \`config.log' for more details." >&5
10536 echo "$as_me: error: no acceptable C compiler found in \$PATH
10537 See \`config.log' for more details." >&2;}
10538 { (exit 1); exit 1; }; }
10540 # Provide some information about the compiler.
10541 echo "$as_me:$LINENO:" \
10542 "checking for C compiler version" >&5
10543 ac_compiler
=`set X $ac_compile; echo $2`
10544 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10545 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }
10549 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10550 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); }
10554 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10555 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }
10560 cat >conftest.
$ac_ext <<_ACEOF
10563 cat confdefs.h
>>conftest.
$ac_ext
10564 cat >>conftest.
$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10575 ac_clean_files_save
=$ac_clean_files
10576 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10577 # Try to create an executable without -o first, disregard a.out.
10578 # It will help us diagnose broken compilers, and finding out an intuition
10580 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10581 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10582 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10583 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10584 (eval $ac_link_default) 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; then
10588 # Find the output, starting from the most likely. This scheme is
10589 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10592 # Be careful to initialize this variable, since it used to be cached.
10593 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10595 # b.out is created by i960 compilers.
10596 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10598 test -f "$ac_file" || continue
10600 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10603 # This is the source file.
10606 # We found the default executable, but exeext='' is most
10610 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10611 # FIXME: I believe we export ac_cv_exeext for Libtool,
10612 # but it would be cool to find out if it's true. Does anybody
10613 # maintain Libtool? --akim.
10614 export ac_cv_exeext
10621 echo "$as_me: failed program was:" >&5
10622 sed 's/^/| /' conftest.
$ac_ext >&5
10624 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10625 See \`config.log' for more details." >&5
10626 echo "$as_me: error: C compiler cannot create executables
10627 See \`config.log' for more details." >&2;}
10628 { (exit 77); exit 77; }; }
10631 ac_exeext
=$ac_cv_exeext
10632 echo "$as_me:$LINENO: result: $ac_file" >&5
10633 echo "${ECHO_T}$ac_file" >&6
10635 # Check the compiler produces executables we can run. If not, either
10636 # the compiler is broken, or we cross compile.
10637 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10638 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10639 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10640 # If not cross compiling, check that we can run a simple program.
10641 if test "$cross_compiling" != yes; then
10642 if { ac_try
='./$ac_file'
10643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10644 (eval $ac_try) 2>&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); }; }; then
10650 if test "$cross_compiling" = maybe
; then
10651 cross_compiling
=yes
10653 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10654 If you meant to cross compile, use \`--host'.
10655 See \`config.log' for more details." >&5
10656 echo "$as_me: error: cannot run C compiled programs.
10657 If you meant to cross compile, use \`--host'.
10658 See \`config.log' for more details." >&2;}
10659 { (exit 1); exit 1; }; }
10663 echo "$as_me:$LINENO: result: yes" >&5
10664 echo "${ECHO_T}yes" >&6
10666 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10667 ac_clean_files
=$ac_clean_files_save
10668 # Check the compiler produces executables we can run. If not, either
10669 # the compiler is broken, or we cross compile.
10670 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10671 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10672 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10673 echo "${ECHO_T}$cross_compiling" >&6
10675 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10676 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10678 (eval $ac_link) 2>&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; then
10682 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10683 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10684 # work properly (i.e., refer to `conftest.exe'), while it won't with
10686 for ac_file
in conftest.exe conftest conftest.
*; do
10687 test -f "$ac_file" || continue
10689 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10690 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10691 export ac_cv_exeext
10697 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10698 See \`config.log' for more details." >&5
10699 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10700 See \`config.log' for more details." >&2;}
10701 { (exit 1); exit 1; }; }
10704 rm -f conftest
$ac_cv_exeext
10705 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10706 echo "${ECHO_T}$ac_cv_exeext" >&6
10708 rm -f conftest.
$ac_ext
10709 EXEEXT
=$ac_cv_exeext
10711 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10712 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10713 if test "${ac_cv_objext+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 cat >conftest.
$ac_ext <<_ACEOF
10719 cat confdefs.h
>>conftest.
$ac_ext
10720 cat >>conftest.
$ac_ext <<_ACEOF
10721 /* end confdefs.h. */
10731 rm -f conftest.o conftest.obj
10732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10733 (eval $ac_compile) 2>&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); }; then
10737 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10739 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10740 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10745 echo "$as_me: failed program was:" >&5
10746 sed 's/^/| /' conftest.
$ac_ext >&5
10748 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10749 See \`config.log' for more details." >&5
10750 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10751 See \`config.log' for more details." >&2;}
10752 { (exit 1); exit 1; }; }
10755 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10757 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10758 echo "${ECHO_T}$ac_cv_objext" >&6
10759 OBJEXT
=$ac_cv_objext
10761 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10762 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10763 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10764 echo $ECHO_N "(cached) $ECHO_C" >&6
10766 cat >conftest.
$ac_ext <<_ACEOF
10769 cat confdefs.h
>>conftest.
$ac_ext
10770 cat >>conftest.
$ac_ext <<_ACEOF
10771 /* end confdefs.h. */
10784 rm -f conftest.
$ac_objext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10786 (eval $ac_compile) 2>conftest.er1
10788 grep -v '^ *+' conftest.er1
>conftest.err
10790 cat conftest.err
>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10795 (eval $ac_try) 2>&5
10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); }; } &&
10799 { ac_try
='test -s conftest.$ac_objext'
10800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10801 (eval $ac_try) 2>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); }; }; then
10805 ac_compiler_gnu
=yes
10807 echo "$as_me: failed program was:" >&5
10808 sed 's/^/| /' conftest.
$ac_ext >&5
10812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10813 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10816 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10817 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10818 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10819 ac_test_CFLAGS
=${CFLAGS+set}
10820 ac_save_CFLAGS
=$CFLAGS
10822 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10823 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10824 if test "${ac_cv_prog_cc_g+set}" = set; then
10825 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 cat >conftest.
$ac_ext <<_ACEOF
10830 cat confdefs.h
>>conftest.
$ac_ext
10831 cat >>conftest.
$ac_ext <<_ACEOF
10832 /* end confdefs.h. */
10842 rm -f conftest.
$ac_objext
10843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10844 (eval $ac_compile) 2>conftest.er1
10846 grep -v '^ *+' conftest.er1
>conftest.err
10848 cat conftest.err
>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); } &&
10851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853 (eval $ac_try) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }; } &&
10857 { ac_try
='test -s conftest.$ac_objext'
10858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859 (eval $ac_try) 2>&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); }; }; then
10863 ac_cv_prog_cc_g
=yes
10865 echo "$as_me: failed program was:" >&5
10866 sed 's/^/| /' conftest.
$ac_ext >&5
10870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10872 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10873 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10874 if test "$ac_test_CFLAGS" = set; then
10875 CFLAGS
=$ac_save_CFLAGS
10876 elif test $ac_cv_prog_cc_g = yes; then
10877 if test "$GCC" = yes; then
10883 if test "$GCC" = yes; then
10889 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10890 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10891 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 ac_cv_prog_cc_stdc
=no
10896 cat >conftest.
$ac_ext <<_ACEOF
10899 cat confdefs.h
>>conftest.
$ac_ext
10900 cat >>conftest.
$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10902 #include <stdarg.h>
10904 #include <sys/types.h>
10905 #include <sys/stat.h>
10906 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10907 struct buf { int x; };
10908 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10909 static char *e (p, i)
10915 static char *f (char * (*g) (char **, int), char **p, ...)
10920 s = g (p, va_arg (v,int));
10925 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10926 function prototypes and stuff, but not '\xHH' hex character constants.
10927 These don't provoke an error unfortunately, instead are silently treated
10928 as 'x'. The following induces an error, until -std1 is added to get
10929 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10930 array size at least. It's necessary to write '\x00'==0 to get something
10931 that's true only with -std1. */
10932 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10934 int test (int i, double x);
10935 struct s1 {int (*f) (int a);};
10936 struct s2 {int (*f) (double a);};
10937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10948 # Don't try gcc -ansi; that turns off useful extensions and
10949 # breaks some systems' header files.
10950 # AIX -qlanglvl=ansi
10951 # Ultrix and OSF/1 -std1
10952 # HP-UX 10.20 and later -Ae
10953 # HP-UX older versions -Aa -D_HPUX_SOURCE
10954 # SVR4 -Xc -D__EXTENSIONS__
10955 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10957 CC
="$ac_save_CC $ac_arg"
10958 rm -f conftest.
$ac_objext
10959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10960 (eval $ac_compile) 2>conftest.er1
10962 grep -v '^ *+' conftest.er1
>conftest.err
10964 cat conftest.err
>&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); } &&
10967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 (eval $ac_try) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; } &&
10973 { ac_try
='test -s conftest.$ac_objext'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; }; then
10979 ac_cv_prog_cc_stdc
=$ac_arg
10982 echo "$as_me: failed program was:" >&5
10983 sed 's/^/| /' conftest.
$ac_ext >&5
10986 rm -f conftest.err conftest.
$ac_objext
10988 rm -f conftest.
$ac_ext conftest.
$ac_objext
10993 case "x$ac_cv_prog_cc_stdc" in
10995 echo "$as_me:$LINENO: result: none needed" >&5
10996 echo "${ECHO_T}none needed" >&6 ;;
10998 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10999 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11000 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11003 # Some people use a C++ compiler to compile C. Since we use `exit',
11004 # in C++ we need to declare it. In case someone uses the same compiler
11005 # for both compiling C and C++ we need to have the C++ compiler decide
11006 # the declaration of exit, since it's the most demanding environment.
11007 cat >conftest.
$ac_ext <<_ACEOF
11008 #ifndef __cplusplus
11012 rm -f conftest.
$ac_objext
11013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11014 (eval $ac_compile) 2>conftest.er1
11016 grep -v '^ *+' conftest.er1
>conftest.err
11018 cat conftest.err
>&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); } &&
11021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11023 (eval $ac_try) 2>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }; } &&
11027 { ac_try
='test -s conftest.$ac_objext'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; }; then
11033 for ac_declaration
in \
11035 'extern "C" void std::exit (int) throw (); using std::exit;' \
11036 'extern "C" void std::exit (int); using std::exit;' \
11037 'extern "C" void exit (int) throw ();' \
11038 'extern "C" void exit (int);' \
11041 cat >conftest.
$ac_ext <<_ACEOF
11044 cat confdefs.h
>>conftest.
$ac_ext
11045 cat >>conftest.
$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11048 #include <stdlib.h>
11057 rm -f conftest.
$ac_objext
11058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11059 (eval $ac_compile) 2>conftest.er1
11061 grep -v '^ *+' conftest.er1
>conftest.err
11063 cat conftest.err
>&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 (exit $ac_status); } &&
11066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11068 (eval $ac_try) 2>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }; } &&
11072 { ac_try
='test -s conftest.$ac_objext'
11073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11074 (eval $ac_try) 2>&5
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); }; }; then
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.
$ac_ext >&5
11085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11086 cat >conftest.
$ac_ext <<_ACEOF
11089 cat confdefs.h
>>conftest.
$ac_ext
11090 cat >>conftest.
$ac_ext <<_ACEOF
11091 /* end confdefs.h. */
11101 rm -f conftest.
$ac_objext
11102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11103 (eval $ac_compile) 2>conftest.er1
11105 grep -v '^ *+' conftest.er1
>conftest.err
11107 cat conftest.err
>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } &&
11110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112 (eval $ac_try) 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; } &&
11116 { ac_try
='test -s conftest.$ac_objext'
11117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11118 (eval $ac_try) 2>&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); }; }; then
11124 echo "$as_me: failed program was:" >&5
11125 sed 's/^/| /' conftest.
$ac_ext >&5
11128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11131 if test -n "$ac_declaration"; then
11132 echo '#ifdef __cplusplus' >>confdefs.h
11133 echo $ac_declaration >>confdefs.h
11134 echo '#endif' >>confdefs.h
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.
$ac_ext >&5
11142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11144 ac_cpp
='$CPP $CPPFLAGS'
11145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11152 ac_cpp
='$CPP $CPPFLAGS'
11153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11156 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11157 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11158 # On Suns, sometimes $CPP names a directory.
11159 if test -n "$CPP" && test -d "$CPP"; then
11162 if test -z "$CPP"; then
11163 if test "${ac_cv_prog_CPP+set}" = set; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6
11166 # Double quotes because CPP needs to be expanded
11167 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11169 ac_preproc_ok
=false
11170 for ac_c_preproc_warn_flag
in '' yes
11172 # Use a header file that comes with gcc, so configuring glibc
11173 # with a fresh cross-compiler works.
11174 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11175 # <limits.h> exists even on freestanding compilers.
11176 # On the NeXT, cc -E runs the code through the compiler's parser,
11177 # not just through cpp. "Syntax error" is here to catch this case.
11178 cat >conftest.
$ac_ext <<_ACEOF
11181 cat confdefs.h
>>conftest.
$ac_ext
11182 cat >>conftest.
$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11185 # include <limits.h>
11187 # include <assert.h>
11191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11192 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11194 grep -v '^ *+' conftest.er1
>conftest.err
11196 cat conftest.err
>&5
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); } >/dev
/null
; then
11199 if test -s conftest.err
; then
11200 ac_cpp_err
=$ac_c_preproc_warn_flag
11201 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11208 if test -z "$ac_cpp_err"; then
11211 echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.
$ac_ext >&5
11214 # Broken: fails on valid input.
11217 rm -f conftest.err conftest.
$ac_ext
11219 # OK, works on sane cases. Now check whether non-existent headers
11220 # can be detected and how.
11221 cat >conftest.
$ac_ext <<_ACEOF
11224 cat confdefs.h
>>conftest.
$ac_ext
11225 cat >>conftest.
$ac_ext <<_ACEOF
11226 /* end confdefs.h. */
11227 #include <ac_nonexistent.h>
11229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11230 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11232 grep -v '^ *+' conftest.er1
>conftest.err
11234 cat conftest.err
>&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } >/dev
/null
; then
11237 if test -s conftest.err
; then
11238 ac_cpp_err
=$ac_c_preproc_warn_flag
11239 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11246 if test -z "$ac_cpp_err"; then
11247 # Broken: success on invalid input.
11250 echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.
$ac_ext >&5
11253 # Passes both tests.
11257 rm -f conftest.err conftest.
$ac_ext
11260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11261 rm -f conftest.err conftest.
$ac_ext
11262 if $ac_preproc_ok; then
11267 ac_cv_prog_CPP
=$CPP
11270 CPP
=$ac_cv_prog_CPP
11272 ac_cv_prog_CPP
=$CPP
11274 echo "$as_me:$LINENO: result: $CPP" >&5
11275 echo "${ECHO_T}$CPP" >&6
11276 ac_preproc_ok
=false
11277 for ac_c_preproc_warn_flag
in '' yes
11279 # Use a header file that comes with gcc, so configuring glibc
11280 # with a fresh cross-compiler works.
11281 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11282 # <limits.h> exists even on freestanding compilers.
11283 # On the NeXT, cc -E runs the code through the compiler's parser,
11284 # not just through cpp. "Syntax error" is here to catch this case.
11285 cat >conftest.
$ac_ext <<_ACEOF
11288 cat confdefs.h
>>conftest.
$ac_ext
11289 cat >>conftest.
$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11292 # include <limits.h>
11294 # include <assert.h>
11298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11299 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11301 grep -v '^ *+' conftest.er1
>conftest.err
11303 cat conftest.err
>&5
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); } >/dev
/null
; then
11306 if test -s conftest.err
; then
11307 ac_cpp_err
=$ac_c_preproc_warn_flag
11308 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11315 if test -z "$ac_cpp_err"; then
11318 echo "$as_me: failed program was:" >&5
11319 sed 's/^/| /' conftest.
$ac_ext >&5
11321 # Broken: fails on valid input.
11324 rm -f conftest.err conftest.
$ac_ext
11326 # OK, works on sane cases. Now check whether non-existent headers
11327 # can be detected and how.
11328 cat >conftest.
$ac_ext <<_ACEOF
11331 cat confdefs.h
>>conftest.
$ac_ext
11332 cat >>conftest.
$ac_ext <<_ACEOF
11333 /* end confdefs.h. */
11334 #include <ac_nonexistent.h>
11336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11337 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11339 grep -v '^ *+' conftest.er1
>conftest.err
11341 cat conftest.err
>&5
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); } >/dev
/null
; then
11344 if test -s conftest.err
; then
11345 ac_cpp_err
=$ac_c_preproc_warn_flag
11346 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11353 if test -z "$ac_cpp_err"; then
11354 # Broken: success on invalid input.
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.
$ac_ext >&5
11360 # Passes both tests.
11364 rm -f conftest.err conftest.
$ac_ext
11367 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11368 rm -f conftest.err conftest.
$ac_ext
11369 if $ac_preproc_ok; then
11372 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11373 See \`config.log' for more details." >&5
11374 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11375 See \`config.log' for more details." >&2;}
11376 { (exit 1); exit 1; }; }
11380 ac_cpp
='$CPP $CPPFLAGS'
11381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11386 echo "$as_me:$LINENO: checking for egrep" >&5
11387 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11388 if test "${ac_cv_prog_egrep+set}" = set; then
11389 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11392 then ac_cv_prog_egrep
='grep -E'
11393 else ac_cv_prog_egrep
='egrep'
11396 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11397 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11398 EGREP
=$ac_cv_prog_egrep
11401 if test $ac_cv_c_compiler_gnu = yes; then
11402 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11403 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11404 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11405 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 ac_pattern
="Autoconf.*'x'"
11408 cat >conftest.
$ac_ext <<_ACEOF
11411 cat confdefs.h
>>conftest.
$ac_ext
11412 cat >>conftest.
$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11418 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11419 ac_cv_prog_gcc_traditional
=yes
11421 ac_cv_prog_gcc_traditional
=no
11426 if test $ac_cv_prog_gcc_traditional = no
; then
11427 cat >conftest.
$ac_ext <<_ACEOF
11430 cat confdefs.h
>>conftest.
$ac_ext
11431 cat >>conftest.
$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11433 #include <termio.h>
11436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11437 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11438 ac_cv_prog_gcc_traditional
=yes
11444 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11445 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11446 if test $ac_cv_prog_gcc_traditional = yes; then
11447 CC
="$CC -traditional"
11455 ac_cpp
='$CXXCPP $CPPFLAGS'
11456 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11457 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11458 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11461 CXXFLAGS
=${CXXFLAGS:=}
11463 ac_cpp
='$CXXCPP $CPPFLAGS'
11464 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11465 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11466 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11467 if test -n "$ac_tool_prefix"; then
11468 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11471 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11472 echo "$as_me:$LINENO: checking for $ac_word" >&5
11473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11474 if test "${ac_cv_prog_CXX+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 if test -n "$CXX"; then
11478 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11481 for as_dir
in $PATH
11484 test -z "$as_dir" && as_dir
=.
11485 for ac_exec_ext
in '' $ac_executable_extensions; do
11486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11487 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 CXX
=$ac_cv_prog_CXX
11497 if test -n "$CXX"; then
11498 echo "$as_me:$LINENO: result: $CXX" >&5
11499 echo "${ECHO_T}$CXX" >&6
11501 echo "$as_me:$LINENO: result: no" >&5
11502 echo "${ECHO_T}no" >&6
11505 test -n "$CXX" && break
11508 if test -z "$CXX"; then
11510 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11512 # Extract the first word of "$ac_prog", so it can be a program name with args.
11513 set dummy
$ac_prog; ac_word
=$2
11514 echo "$as_me:$LINENO: checking for $ac_word" >&5
11515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11516 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 if test -n "$ac_ct_CXX"; then
11520 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11523 for as_dir
in $PATH
11526 test -z "$as_dir" && as_dir
=.
11527 for ac_exec_ext
in '' $ac_executable_extensions; do
11528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11529 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11538 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11539 if test -n "$ac_ct_CXX"; then
11540 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11541 echo "${ECHO_T}$ac_ct_CXX" >&6
11543 echo "$as_me:$LINENO: result: no" >&5
11544 echo "${ECHO_T}no" >&6
11547 test -n "$ac_ct_CXX" && break
11549 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11555 # Provide some information about the compiler.
11556 echo "$as_me:$LINENO:" \
11557 "checking for C++ compiler version" >&5
11558 ac_compiler
=`set X $ac_compile; echo $2`
11559 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11560 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); }
11564 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11565 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); }
11569 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11570 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); }
11575 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11576 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11577 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11578 echo $ECHO_N "(cached) $ECHO_C" >&6
11580 cat >conftest.
$ac_ext <<_ACEOF
11583 cat confdefs.h
>>conftest.
$ac_ext
11584 cat >>conftest.
$ac_ext <<_ACEOF
11585 /* end confdefs.h. */
11598 rm -f conftest.
$ac_objext
11599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11600 (eval $ac_compile) 2>conftest.er1
11602 grep -v '^ *+' conftest.er1
>conftest.err
11604 cat conftest.err
>&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } &&
11607 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; } &&
11613 { ac_try
='test -s conftest.$ac_objext'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; }; then
11619 ac_compiler_gnu
=yes
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.
$ac_ext >&5
11626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11627 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11630 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11631 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11632 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11633 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11634 ac_save_CXXFLAGS
=$CXXFLAGS
11636 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11637 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11638 if test "${ac_cv_prog_cxx_g+set}" = set; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11641 cat >conftest.
$ac_ext <<_ACEOF
11644 cat confdefs.h
>>conftest.
$ac_ext
11645 cat >>conftest.
$ac_ext <<_ACEOF
11646 /* end confdefs.h. */
11656 rm -f conftest.
$ac_objext
11657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11658 (eval $ac_compile) 2>conftest.er1
11660 grep -v '^ *+' conftest.er1
>conftest.err
11662 cat conftest.err
>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); } &&
11665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11667 (eval $ac_try) 2>&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); }; } &&
11671 { ac_try
='test -s conftest.$ac_objext'
11672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11673 (eval $ac_try) 2>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); }; }; then
11677 ac_cv_prog_cxx_g
=yes
11679 echo "$as_me: failed program was:" >&5
11680 sed 's/^/| /' conftest.
$ac_ext >&5
11682 ac_cv_prog_cxx_g
=no
11684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11686 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11687 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11688 if test "$ac_test_CXXFLAGS" = set; then
11689 CXXFLAGS
=$ac_save_CXXFLAGS
11690 elif test $ac_cv_prog_cxx_g = yes; then
11691 if test "$GXX" = yes; then
11697 if test "$GXX" = yes; then
11703 for ac_declaration
in \
11705 'extern "C" void std::exit (int) throw (); using std::exit;' \
11706 'extern "C" void std::exit (int); using std::exit;' \
11707 'extern "C" void exit (int) throw ();' \
11708 'extern "C" void exit (int);' \
11711 cat >conftest.
$ac_ext <<_ACEOF
11714 cat confdefs.h
>>conftest.
$ac_ext
11715 cat >>conftest.
$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11718 #include <stdlib.h>
11727 rm -f conftest.
$ac_objext
11728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11729 (eval $ac_compile) 2>conftest.er1
11731 grep -v '^ *+' conftest.er1
>conftest.err
11733 cat conftest.err
>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } &&
11736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738 (eval $ac_try) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }; } &&
11742 { ac_try
='test -s conftest.$ac_objext'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; }; then
11750 echo "$as_me: failed program was:" >&5
11751 sed 's/^/| /' conftest.
$ac_ext >&5
11755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11756 cat >conftest.
$ac_ext <<_ACEOF
11759 cat confdefs.h
>>conftest.
$ac_ext
11760 cat >>conftest.
$ac_ext <<_ACEOF
11761 /* end confdefs.h. */
11771 rm -f conftest.
$ac_objext
11772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11773 (eval $ac_compile) 2>conftest.er1
11775 grep -v '^ *+' conftest.er1
>conftest.err
11777 cat conftest.err
>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; } &&
11786 { ac_try
='test -s conftest.$ac_objext'
11787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11788 (eval $ac_try) 2>&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); }; }; then
11794 echo "$as_me: failed program was:" >&5
11795 sed 's/^/| /' conftest.
$ac_ext >&5
11798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11801 if test -n "$ac_declaration"; then
11802 echo '#ifdef __cplusplus' >>confdefs.h
11803 echo $ac_declaration >>confdefs.h
11804 echo '#endif' >>confdefs.h
11808 ac_cpp
='$CXXCPP $CPPFLAGS'
11809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11815 ac_cpp
='$CPP $CPPFLAGS'
11816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11821 if test -n "$ac_tool_prefix"; then
11822 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11823 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11824 echo "$as_me:$LINENO: checking for $ac_word" >&5
11825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11826 if test "${ac_cv_prog_RANLIB+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 if test -n "$RANLIB"; then
11830 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11833 for as_dir
in $PATH
11836 test -z "$as_dir" && as_dir
=.
11837 for ac_exec_ext
in '' $ac_executable_extensions; do
11838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11839 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11848 RANLIB
=$ac_cv_prog_RANLIB
11849 if test -n "$RANLIB"; then
11850 echo "$as_me:$LINENO: result: $RANLIB" >&5
11851 echo "${ECHO_T}$RANLIB" >&6
11853 echo "$as_me:$LINENO: result: no" >&5
11854 echo "${ECHO_T}no" >&6
11858 if test -z "$ac_cv_prog_RANLIB"; then
11859 ac_ct_RANLIB
=$RANLIB
11860 # Extract the first word of "ranlib", so it can be a program name with args.
11861 set dummy ranlib
; ac_word
=$2
11862 echo "$as_me:$LINENO: checking for $ac_word" >&5
11863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11864 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11865 echo $ECHO_N "(cached) $ECHO_C" >&6
11867 if test -n "$ac_ct_RANLIB"; then
11868 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11871 for as_dir
in $PATH
11874 test -z "$as_dir" && as_dir
=.
11875 for ac_exec_ext
in '' $ac_executable_extensions; do
11876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11877 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11884 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11887 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11888 if test -n "$ac_ct_RANLIB"; then
11889 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11890 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11892 echo "$as_me:$LINENO: result: no" >&5
11893 echo "${ECHO_T}no" >&6
11896 RANLIB
=$ac_ct_RANLIB
11898 RANLIB
="$ac_cv_prog_RANLIB"
11902 # Extract the first word of "ar", so it can be a program name with args.
11903 set dummy
ar; ac_word
=$2
11904 echo "$as_me:$LINENO: checking for $ac_word" >&5
11905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11906 if test "${ac_cv_prog_AR+set}" = set; then
11907 echo $ECHO_N "(cached) $ECHO_C" >&6
11909 if test -n "$AR"; then
11910 ac_cv_prog_AR
="$AR" # Let the user override the test.
11912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11913 for as_dir
in $PATH
11916 test -z "$as_dir" && as_dir
=.
11917 for ac_exec_ext
in '' $ac_executable_extensions; do
11918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11929 if test -n "$AR"; then
11930 echo "$as_me:$LINENO: result: $AR" >&5
11931 echo "${ECHO_T}$AR" >&6
11933 echo "$as_me:$LINENO: result: no" >&5
11934 echo "${ECHO_T}no" >&6
11937 if test "x$AR" = "x" ; then
11938 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11939 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11940 { (exit 1); exit 1; }; }
11943 # Find a good install program. We prefer a C program (faster),
11944 # so one script is as good as another. But avoid the broken or
11945 # incompatible versions:
11946 # SysV /etc/install, /usr/sbin/install
11947 # SunOS /usr/etc/install
11948 # IRIX /sbin/install
11950 # AmigaOS /C/install, which installs bootblocks on floppy discs
11951 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11952 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11953 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11954 # OS/2's system install, which has a completely different semantic
11955 # ./install, which can be erroneously created by make from ./install.sh.
11956 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11957 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11958 if test -z "$INSTALL"; then
11959 if test "${ac_cv_path_install+set}" = set; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11963 for as_dir
in $PATH
11966 test -z "$as_dir" && as_dir
=.
11967 # Account for people who put trailing slashes in PATH elements.
11969 .
/ | .
// | /cC
/* | \
11970 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11971 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11974 # OSF1 and SCO ODT 3.0 have their own names for install.
11975 # Don't use installbsd from OSF since it installs stuff as root
11977 for ac_prog
in ginstall scoinst
install; do
11978 for ac_exec_ext
in '' $ac_executable_extensions; do
11979 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11980 if test $ac_prog = install &&
11981 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11982 # AIX install. It has an incompatible calling convention.
11984 elif test $ac_prog = install &&
11985 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11986 # program-specific install script used by HP pwplus--don't use.
11989 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12001 if test "${ac_cv_path_install+set}" = set; then
12002 INSTALL
=$ac_cv_path_install
12004 # As a last resort, use the slow shell script. We don't cache a
12005 # path for INSTALL within a source directory, because that will
12006 # break other packages using the cache if that directory is
12007 # removed, or if the path is relative.
12008 INSTALL
=$ac_install_sh
12011 echo "$as_me:$LINENO: result: $INSTALL" >&5
12012 echo "${ECHO_T}$INSTALL" >&6
12014 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12015 # It thinks the first close brace ends the variable substitution.
12016 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12018 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12020 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12026 ?
:* ) # Drive letter, considered as absolute.
12029 INSTALL
=`pwd`/${INSTALL} ;;
12035 powerpc
-*-darwin* )
12036 INSTALL_PROGRAM
="cp -fp"
12037 INSTALL_DATA
="cp -fp"
12043 # Extract the first word of "strip", so it can be a program name with args.
12044 set dummy strip
; ac_word
=$2
12045 echo "$as_me:$LINENO: checking for $ac_word" >&5
12046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12047 if test "${ac_cv_prog_STRIP+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 if test -n "$STRIP"; then
12051 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12054 for as_dir
in $PATH
12057 test -z "$as_dir" && as_dir
=.
12058 for ac_exec_ext
in '' $ac_executable_extensions; do
12059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12060 ac_cv_prog_STRIP
="strip"
12061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12067 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12070 STRIP
=$ac_cv_prog_STRIP
12071 if test -n "$STRIP"; then
12072 echo "$as_me:$LINENO: result: $STRIP" >&5
12073 echo "${ECHO_T}$STRIP" >&6
12075 echo "$as_me:$LINENO: result: no" >&5
12076 echo "${ECHO_T}no" >&6
12080 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12081 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12082 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12087 egrep -s GNU
> /dev
/null
); then
12088 wx_cv_prog_makeisgnu
="yes"
12090 wx_cv_prog_makeisgnu
="no"
12094 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12095 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12097 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12105 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12106 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12107 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12108 if test "${wx_cv_prog_makevpath+set}" = set; then
12109 echo $ECHO_N "(cached) $ECHO_C" >&6
12112 cat - << EOF > confMake
12118 if test ! -d sub
; then
12121 echo dummy
> sub
/file
12122 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12124 rm -f sub
/file check final_file confMake
12126 if test "$RESULT" = 0; then
12127 wx_cv_prog_makevpath
="yes"
12129 wx_cv_prog_makevpath
="no"
12133 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12134 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12136 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12137 { { echo "$as_me:$LINENO: error:
12138 You need a make-utility that is able to use the variable
12140 If your version of make does not support VPATH correctly,
12141 please install GNU-make (possibly as gmake), and start
12142 configure with the following command:
12143 export MAKE=gmake; ./configure for sh-type shells
12144 setenv MAKE gmake; ./configure for csh-type shells
12145 Also please do remember to use gmake in this case every time
12146 you are trying to compile.
12148 echo "$as_me: error:
12149 You need a make-utility that is able to use the variable
12151 If your version of make does not support VPATH correctly,
12152 please install GNU-make (possibly as gmake), and start
12153 configure with the following command:
12154 export MAKE=gmake; ./configure for sh-type shells
12155 setenv MAKE gmake; ./configure for csh-type shells
12156 Also please do remember to use gmake in this case every time
12157 you are trying to compile.
12159 { (exit 1); exit 1; }; }
12161 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12162 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12164 if test "$LN_S" = "ln -s"; then
12165 echo "$as_me:$LINENO: result: yes" >&5
12166 echo "${ECHO_T}yes" >&6
12168 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12169 echo "${ECHO_T}no, using $LN_S" >&6
12175 *-pc-os2_emx | *-pc-os2-emx )
12176 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12177 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12178 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12179 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12182 ac_check_lib_save_LIBS
=$LIBS
12183 LIBS
="-lcExt $LIBS"
12184 cat >conftest.
$ac_ext <<_ACEOF
12187 cat confdefs.h
>>conftest.
$ac_ext
12188 cat >>conftest.
$ac_ext <<_ACEOF
12189 /* end confdefs.h. */
12191 /* Override any gcc2 internal prototype to avoid an error. */
12195 /* We use char because int might match the return type of a gcc2
12196 builtin and then its argument prototype would still apply. */
12206 rm -f conftest.
$ac_objext conftest
$ac_exeext
12207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12208 (eval $ac_link) 2>conftest.er1
12210 grep -v '^ *+' conftest.er1
>conftest.err
12212 cat conftest.err
>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } &&
12215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } &&
12221 { ac_try
='test -s conftest$ac_exeext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 ac_cv_lib_cExt_drand48
=yes
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.
$ac_ext >&5
12232 ac_cv_lib_cExt_drand48
=no
12234 rm -f conftest.err conftest.
$ac_objext \
12235 conftest
$ac_exeext conftest.
$ac_ext
12236 LIBS
=$ac_check_lib_save_LIBS
12238 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12239 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12240 if test $ac_cv_lib_cExt_drand48 = yes; then
12241 LIBS
="$LIBS -lcExt"
12245 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12247 echo "$as_me:$LINENO: checking for gcc version" >&5
12248 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12249 if test "${wx_cv_gccversion+set}" = set; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 cat >conftest.
$ac_ext <<_ACEOF
12256 cat confdefs.h
>>conftest.
$ac_ext
12257 cat >>conftest.
$ac_ext <<_ACEOF
12258 /* end confdefs.h. */
12272 rm -f conftest.
$ac_objext
12273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12274 (eval $ac_compile) 2>conftest.er1
12276 grep -v '^ *+' conftest.er1
>conftest.err
12278 cat conftest.err
>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } &&
12281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12283 (eval $ac_try) 2>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); }; } &&
12287 { ac_try
='test -s conftest.$ac_objext'
12288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12289 (eval $ac_try) 2>&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); }; }; then
12294 cat >conftest.
$ac_ext <<_ACEOF
12297 cat confdefs.h
>>conftest.
$ac_ext
12298 cat >>conftest.
$ac_ext <<_ACEOF
12299 /* end confdefs.h. */
12305 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12306 #error intermediate gcc
12313 rm -f conftest.
$ac_objext
12314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12315 (eval $ac_compile) 2>conftest.er1
12317 grep -v '^ *+' conftest.er1
>conftest.err
12319 cat conftest.err
>&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } &&
12322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12324 (eval $ac_try) 2>&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); }; } &&
12328 { ac_try
='test -s conftest.$ac_objext'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; }; then
12335 wx_cv_gccversion
=Innotek
12338 echo "$as_me: failed program was:" >&5
12339 sed 's/^/| /' conftest.
$ac_ext >&5
12346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12349 echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.
$ac_ext >&5
12357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12360 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12361 echo "${ECHO_T}$wx_cv_gccversion" >&6
12362 if test "$wx_cv_gccversion" = "2"; then
12363 LIBS
="$LIBS -lstdcpp"
12364 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12366 if test "$wx_cv_gccversion" = "3"; then
12367 LIBS
="$LIBS -lstdcxx"
12368 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12370 LIBS
="$LIBS -lstdc++"
12373 if test "$wxUSE_OMF" = "yes"; then
12374 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12382 ac_cpp
='$CXXCPP $CPPFLAGS'
12383 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12384 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12385 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12389 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12390 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12391 if test "${ac_cv_string_strcasecmp+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12395 cat >conftest.
$ac_ext <<_ACEOF
12398 cat confdefs.h
>>conftest.
$ac_ext
12399 cat >>conftest.
$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12402 #include <string.h>
12408 strcasecmp("foo", "bar");
12414 rm -f conftest.
$ac_objext conftest
$ac_exeext
12415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12416 (eval $ac_link) 2>conftest.er1
12418 grep -v '^ *+' conftest.er1
>conftest.err
12420 cat conftest.err
>&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); } &&
12423 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; } &&
12429 { ac_try
='test -s conftest$ac_exeext'
12430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12431 (eval $ac_try) 2>&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); }; }; then
12435 ac_cv_string_strcasecmp
=yes
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.
$ac_ext >&5
12440 ac_cv_string_strcasecmp
=no
12443 rm -f conftest.err conftest.
$ac_objext \
12444 conftest
$ac_exeext conftest.
$ac_ext
12447 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12448 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12450 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12451 cat >>confdefs.h
<<\_ACEOF
12452 #define HAVE_STRCASECMP_IN_STRING_H 1
12456 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12457 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12458 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12459 echo $ECHO_N "(cached) $ECHO_C" >&6
12462 cat >conftest.
$ac_ext <<_ACEOF
12465 cat confdefs.h
>>conftest.
$ac_ext
12466 cat >>conftest.
$ac_ext <<_ACEOF
12467 /* end confdefs.h. */
12469 #include <strings.h>
12475 strcasecmp("foo", "bar");
12481 rm -f conftest.
$ac_objext conftest
$ac_exeext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12483 (eval $ac_link) 2>conftest.er1
12485 grep -v '^ *+' conftest.er1
>conftest.err
12487 cat conftest.err
>&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } &&
12490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12492 (eval $ac_try) 2>&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); }; } &&
12496 { ac_try
='test -s conftest$ac_exeext'
12497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12498 (eval $ac_try) 2>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); }; }; then
12502 ac_cv_strings_strcasecmp
=yes
12504 echo "$as_me: failed program was:" >&5
12505 sed 's/^/| /' conftest.
$ac_ext >&5
12507 ac_cv_strings_strcasecmp
=no
12510 rm -f conftest.err conftest.
$ac_objext \
12511 conftest
$ac_exeext conftest.
$ac_ext
12514 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12515 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12517 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12518 cat >>confdefs.h
<<\_ACEOF
12519 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12523 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12524 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12525 { (exit 1); exit 1; }; }
12530 ac_cpp
='$CPP $CPPFLAGS'
12531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12539 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12540 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12541 if test "${ac_cv_header_stdc+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 cat >conftest.
$ac_ext <<_ACEOF
12547 cat confdefs.h
>>conftest.
$ac_ext
12548 cat >>conftest.
$ac_ext <<_ACEOF
12549 /* end confdefs.h. */
12550 #include <stdlib.h>
12551 #include <stdarg.h>
12552 #include <string.h>
12563 rm -f conftest.
$ac_objext
12564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12565 (eval $ac_compile) 2>conftest.er1
12567 grep -v '^ *+' conftest.er1
>conftest.err
12569 cat conftest.err
>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); } &&
12572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574 (eval $ac_try) 2>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); }; } &&
12578 { ac_try
='test -s conftest.$ac_objext'
12579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12580 (eval $ac_try) 2>&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); }; }; then
12584 ac_cv_header_stdc
=yes
12586 echo "$as_me: failed program was:" >&5
12587 sed 's/^/| /' conftest.
$ac_ext >&5
12589 ac_cv_header_stdc
=no
12591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12593 if test $ac_cv_header_stdc = yes; then
12594 # SunOS 4.x string.h does not declare mem*, 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 <string.h>
12604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12605 $EGREP "memchr" >/dev
/null
2>&1; then
12608 ac_cv_header_stdc
=no
12614 if test $ac_cv_header_stdc = yes; then
12615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12616 cat >conftest.
$ac_ext <<_ACEOF
12619 cat confdefs.h
>>conftest.
$ac_ext
12620 cat >>conftest.
$ac_ext <<_ACEOF
12621 /* end confdefs.h. */
12622 #include <stdlib.h>
12625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12626 $EGREP "free" >/dev
/null
2>&1; then
12629 ac_cv_header_stdc
=no
12635 if test $ac_cv_header_stdc = yes; then
12636 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12637 if test "$cross_compiling" = yes; then
12640 cat >conftest.
$ac_ext <<_ACEOF
12643 cat confdefs.h
>>conftest.
$ac_ext
12644 cat >>conftest.
$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12647 #if ((' ' & 0x0FF) == 0x020)
12648 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12649 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12651 # define ISLOWER(c) \
12652 (('a' <= (c) && (c) <= 'i') \
12653 || ('j' <= (c) && (c) <= 'r') \
12654 || ('s' <= (c) && (c) <= 'z'))
12655 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12658 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12663 for (i = 0; i < 256; i++)
12664 if (XOR (islower (i), ISLOWER (i))
12665 || toupper (i) != TOUPPER (i))
12670 rm -f conftest
$ac_exeext
12671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12672 (eval $ac_link) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; }; then
12683 echo "$as_me: program exited with status $ac_status" >&5
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.
$ac_ext >&5
12687 ( exit $ac_status )
12688 ac_cv_header_stdc
=no
12690 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12694 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12695 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12696 if test $ac_cv_header_stdc = yes; then
12698 cat >>confdefs.h
<<\_ACEOF
12699 #define STDC_HEADERS 1
12704 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12714 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12715 inttypes.h stdint.h unistd.h
12717 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12718 echo "$as_me:$LINENO: checking for $ac_header" >&5
12719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 cat >conftest.
$ac_ext <<_ACEOF
12726 cat confdefs.h
>>conftest.
$ac_ext
12727 cat >>conftest.
$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 $ac_includes_default
12731 #include <$ac_header>
12733 rm -f conftest.
$ac_objext
12734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12735 (eval $ac_compile) 2>conftest.er1
12737 grep -v '^ *+' conftest.er1
>conftest.err
12739 cat conftest.err
>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); } &&
12742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; } &&
12748 { ac_try
='test -s conftest.$ac_objext'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; }; then
12754 eval "$as_ac_Header=yes"
12756 echo "$as_me: failed program was:" >&5
12757 sed 's/^/| /' conftest.
$ac_ext >&5
12759 eval "$as_ac_Header=no"
12761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12766 cat >>confdefs.h
<<_ACEOF
12767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12776 for ac_header
in stdlib.h
12778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12780 echo "$as_me:$LINENO: checking for $ac_header" >&5
12781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12788 # Is the header compilable?
12789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12791 cat >conftest.
$ac_ext <<_ACEOF
12794 cat confdefs.h
>>conftest.
$ac_ext
12795 cat >>conftest.
$ac_ext <<_ACEOF
12796 /* end confdefs.h. */
12797 $ac_includes_default
12798 #include <$ac_header>
12800 rm -f conftest.
$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12804 grep -v '^ *+' conftest.er1
>conftest.err
12806 cat conftest.err
>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; } &&
12815 { ac_try
='test -s conftest.$ac_objext'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; }; then
12821 ac_header_compiler
=yes
12823 echo "$as_me: failed program was:" >&5
12824 sed 's/^/| /' conftest.
$ac_ext >&5
12826 ac_header_compiler
=no
12828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12830 echo "${ECHO_T}$ac_header_compiler" >&6
12832 # Is the header present?
12833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12835 cat >conftest.
$ac_ext <<_ACEOF
12838 cat confdefs.h
>>conftest.
$ac_ext
12839 cat >>conftest.
$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12841 #include <$ac_header>
12843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12844 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12846 grep -v '^ *+' conftest.er1
>conftest.err
12848 cat conftest.err
>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); } >/dev
/null
; then
12851 if test -s conftest.err
; then
12852 ac_cpp_err
=$ac_c_preproc_warn_flag
12853 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12860 if test -z "$ac_cpp_err"; then
12861 ac_header_preproc
=yes
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.
$ac_ext >&5
12866 ac_header_preproc
=no
12868 rm -f conftest.err conftest.
$ac_ext
12869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12870 echo "${ECHO_T}$ac_header_preproc" >&6
12872 # So? What about this header?
12873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12879 ac_header_preproc
=yes
12882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12896 ## ----------------------------------------- ##
12897 ## Report this to wx-dev@lists.wxwidgets.org ##
12898 ## ----------------------------------------- ##
12901 sed "s/^/$as_me: WARNING: /" >&2
12904 echo "$as_me:$LINENO: checking for $ac_header" >&5
12905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 eval "$as_ac_Header=\$ac_header_preproc"
12911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12916 cat >>confdefs.h
<<_ACEOF
12917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12925 for ac_header
in malloc.h
12927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12929 echo "$as_me:$LINENO: checking for $ac_header" >&5
12930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12937 # Is the header compilable?
12938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12940 cat >conftest.
$ac_ext <<_ACEOF
12943 cat confdefs.h
>>conftest.
$ac_ext
12944 cat >>conftest.
$ac_ext <<_ACEOF
12945 /* end confdefs.h. */
12946 $ac_includes_default
12947 #include <$ac_header>
12949 rm -f conftest.
$ac_objext
12950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12951 (eval $ac_compile) 2>conftest.er1
12953 grep -v '^ *+' conftest.er1
>conftest.err
12955 cat conftest.err
>&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); } &&
12958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12960 (eval $ac_try) 2>&5
12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12963 (exit $ac_status); }; } &&
12964 { ac_try
='test -s conftest.$ac_objext'
12965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12966 (eval $ac_try) 2>&5
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); }; }; then
12970 ac_header_compiler
=yes
12972 echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.
$ac_ext >&5
12975 ac_header_compiler
=no
12977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12979 echo "${ECHO_T}$ac_header_compiler" >&6
12981 # Is the header present?
12982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12984 cat >conftest.
$ac_ext <<_ACEOF
12987 cat confdefs.h
>>conftest.
$ac_ext
12988 cat >>conftest.
$ac_ext <<_ACEOF
12989 /* end confdefs.h. */
12990 #include <$ac_header>
12992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12993 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12995 grep -v '^ *+' conftest.er1
>conftest.err
12997 cat conftest.err
>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); } >/dev
/null
; then
13000 if test -s conftest.err
; then
13001 ac_cpp_err
=$ac_c_preproc_warn_flag
13002 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13009 if test -z "$ac_cpp_err"; then
13010 ac_header_preproc
=yes
13012 echo "$as_me: failed program was:" >&5
13013 sed 's/^/| /' conftest.
$ac_ext >&5
13015 ac_header_preproc
=no
13017 rm -f conftest.err conftest.
$ac_ext
13018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13019 echo "${ECHO_T}$ac_header_preproc" >&6
13021 # So? What about this header?
13022 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13024 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13027 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13028 ac_header_preproc
=yes
13031 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13032 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13033 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13034 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13035 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13036 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13037 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13038 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13041 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13042 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13045 ## ----------------------------------------- ##
13046 ## Report this to wx-dev@lists.wxwidgets.org ##
13047 ## ----------------------------------------- ##
13050 sed "s/^/$as_me: WARNING: /" >&2
13053 echo "$as_me:$LINENO: checking for $ac_header" >&5
13054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 eval "$as_ac_Header=\$ac_header_preproc"
13060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13065 cat >>confdefs.h
<<_ACEOF
13066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13074 for ac_header
in unistd.h
13076 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13078 echo "$as_me:$LINENO: checking for $ac_header" >&5
13079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13086 # Is the header compilable?
13087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13089 cat >conftest.
$ac_ext <<_ACEOF
13092 cat confdefs.h
>>conftest.
$ac_ext
13093 cat >>conftest.
$ac_ext <<_ACEOF
13094 /* end confdefs.h. */
13095 $ac_includes_default
13096 #include <$ac_header>
13098 rm -f conftest.
$ac_objext
13099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13100 (eval $ac_compile) 2>conftest.er1
13102 grep -v '^ *+' conftest.er1
>conftest.err
13104 cat conftest.err
>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); } &&
13107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; } &&
13113 { ac_try
='test -s conftest.$ac_objext'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; }; then
13119 ac_header_compiler
=yes
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.
$ac_ext >&5
13124 ac_header_compiler
=no
13126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13128 echo "${ECHO_T}$ac_header_compiler" >&6
13130 # Is the header present?
13131 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13133 cat >conftest.
$ac_ext <<_ACEOF
13136 cat confdefs.h
>>conftest.
$ac_ext
13137 cat >>conftest.
$ac_ext <<_ACEOF
13138 /* end confdefs.h. */
13139 #include <$ac_header>
13141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13144 grep -v '^ *+' conftest.er1
>conftest.err
13146 cat conftest.err
>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } >/dev
/null
; then
13149 if test -s conftest.err
; then
13150 ac_cpp_err
=$ac_c_preproc_warn_flag
13151 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13158 if test -z "$ac_cpp_err"; then
13159 ac_header_preproc
=yes
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.
$ac_ext >&5
13164 ac_header_preproc
=no
13166 rm -f conftest.err conftest.
$ac_ext
13167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13168 echo "${ECHO_T}$ac_header_preproc" >&6
13170 # So? What about this header?
13171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13177 ac_header_preproc
=yes
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13194 ## ----------------------------------------- ##
13195 ## Report this to wx-dev@lists.wxwidgets.org ##
13196 ## ----------------------------------------- ##
13199 sed "s/^/$as_me: WARNING: /" >&2
13202 echo "$as_me:$LINENO: checking for $ac_header" >&5
13203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13205 echo $ECHO_N "(cached) $ECHO_C" >&6
13207 eval "$as_ac_Header=\$ac_header_preproc"
13209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13214 cat >>confdefs.h
<<_ACEOF
13215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13223 for ac_header
in wchar.h
13225 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13227 echo "$as_me:$LINENO: checking for $ac_header" >&5
13228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13230 echo $ECHO_N "(cached) $ECHO_C" >&6
13232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13235 # Is the header compilable?
13236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13238 cat >conftest.
$ac_ext <<_ACEOF
13241 cat confdefs.h
>>conftest.
$ac_ext
13242 cat >>conftest.
$ac_ext <<_ACEOF
13243 /* end confdefs.h. */
13244 $ac_includes_default
13245 #include <$ac_header>
13247 rm -f conftest.
$ac_objext
13248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13249 (eval $ac_compile) 2>conftest.er1
13251 grep -v '^ *+' conftest.er1
>conftest.err
13253 cat conftest.err
>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } &&
13256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; } &&
13262 { ac_try
='test -s conftest.$ac_objext'
13263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13264 (eval $ac_try) 2>&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); }; }; then
13268 ac_header_compiler
=yes
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.
$ac_ext >&5
13273 ac_header_compiler
=no
13275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13277 echo "${ECHO_T}$ac_header_compiler" >&6
13279 # Is the header present?
13280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13282 cat >conftest.
$ac_ext <<_ACEOF
13285 cat confdefs.h
>>conftest.
$ac_ext
13286 cat >>conftest.
$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13288 #include <$ac_header>
13290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13291 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13293 grep -v '^ *+' conftest.er1
>conftest.err
13295 cat conftest.err
>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } >/dev
/null
; then
13298 if test -s conftest.err
; then
13299 ac_cpp_err
=$ac_c_preproc_warn_flag
13300 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13307 if test -z "$ac_cpp_err"; then
13308 ac_header_preproc
=yes
13310 echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.
$ac_ext >&5
13313 ac_header_preproc
=no
13315 rm -f conftest.err conftest.
$ac_ext
13316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13317 echo "${ECHO_T}$ac_header_preproc" >&6
13319 # So? What about this header?
13320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13326 ac_header_preproc
=yes
13329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13343 ## ----------------------------------------- ##
13344 ## Report this to wx-dev@lists.wxwidgets.org ##
13345 ## ----------------------------------------- ##
13348 sed "s/^/$as_me: WARNING: /" >&2
13351 echo "$as_me:$LINENO: checking for $ac_header" >&5
13352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13354 echo $ECHO_N "(cached) $ECHO_C" >&6
13356 eval "$as_ac_Header=\$ac_header_preproc"
13358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13363 cat >>confdefs.h
<<_ACEOF
13364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13372 if test "$ac_cv_header_wchar_h" != "yes"; then
13374 for ac_header
in wcstr.h
13376 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13378 echo "$as_me:$LINENO: checking for $ac_header" >&5
13379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13381 echo $ECHO_N "(cached) $ECHO_C" >&6
13383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13386 # Is the header compilable?
13387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13389 cat >conftest.
$ac_ext <<_ACEOF
13392 cat confdefs.h
>>conftest.
$ac_ext
13393 cat >>conftest.
$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395 $ac_includes_default
13396 #include <$ac_header>
13398 rm -f conftest.
$ac_objext
13399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13400 (eval $ac_compile) 2>conftest.er1
13402 grep -v '^ *+' conftest.er1
>conftest.err
13404 cat conftest.err
>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); } &&
13407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409 (eval $ac_try) 2>&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); }; } &&
13413 { ac_try
='test -s conftest.$ac_objext'
13414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13415 (eval $ac_try) 2>&5
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); }; }; then
13419 ac_header_compiler
=yes
13421 echo "$as_me: failed program was:" >&5
13422 sed 's/^/| /' conftest.
$ac_ext >&5
13424 ac_header_compiler
=no
13426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13428 echo "${ECHO_T}$ac_header_compiler" >&6
13430 # Is the header present?
13431 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13432 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13433 cat >conftest.
$ac_ext <<_ACEOF
13436 cat confdefs.h
>>conftest.
$ac_ext
13437 cat >>conftest.
$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13439 #include <$ac_header>
13441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13442 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13444 grep -v '^ *+' conftest.er1
>conftest.err
13446 cat conftest.err
>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } >/dev
/null
; then
13449 if test -s conftest.err
; then
13450 ac_cpp_err
=$ac_c_preproc_warn_flag
13451 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13458 if test -z "$ac_cpp_err"; then
13459 ac_header_preproc
=yes
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.
$ac_ext >&5
13464 ac_header_preproc
=no
13466 rm -f conftest.err conftest.
$ac_ext
13467 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13468 echo "${ECHO_T}$ac_header_preproc" >&6
13470 # So? What about this header?
13471 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13473 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13474 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13476 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13477 ac_header_preproc
=yes
13480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13481 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13483 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13484 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13485 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13486 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13487 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13490 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13491 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13494 ## ----------------------------------------- ##
13495 ## Report this to wx-dev@lists.wxwidgets.org ##
13496 ## ----------------------------------------- ##
13499 sed "s/^/$as_me: WARNING: /" >&2
13502 echo "$as_me:$LINENO: checking for $ac_header" >&5
13503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13505 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 eval "$as_ac_Header=\$ac_header_preproc"
13509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13513 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13514 cat >>confdefs.h
<<_ACEOF
13515 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13525 for ac_header
in fnmatch.h
13527 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13529 echo "$as_me:$LINENO: checking for $ac_header" >&5
13530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13532 echo $ECHO_N "(cached) $ECHO_C" >&6
13534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13537 # Is the header compilable?
13538 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13540 cat >conftest.
$ac_ext <<_ACEOF
13543 cat confdefs.h
>>conftest.
$ac_ext
13544 cat >>conftest.
$ac_ext <<_ACEOF
13545 /* end confdefs.h. */
13546 $ac_includes_default
13547 #include <$ac_header>
13549 rm -f conftest.
$ac_objext
13550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13551 (eval $ac_compile) 2>conftest.er1
13553 grep -v '^ *+' conftest.er1
>conftest.err
13555 cat conftest.err
>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); } &&
13558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13560 (eval $ac_try) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; } &&
13564 { ac_try
='test -s conftest.$ac_objext'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; }; then
13570 ac_header_compiler
=yes
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13575 ac_header_compiler
=no
13577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13579 echo "${ECHO_T}$ac_header_compiler" >&6
13581 # Is the header present?
13582 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13584 cat >conftest.
$ac_ext <<_ACEOF
13587 cat confdefs.h
>>conftest.
$ac_ext
13588 cat >>conftest.
$ac_ext <<_ACEOF
13589 /* end confdefs.h. */
13590 #include <$ac_header>
13592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13595 grep -v '^ *+' conftest.er1
>conftest.err
13597 cat conftest.err
>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); } >/dev
/null
; then
13600 if test -s conftest.err
; then
13601 ac_cpp_err
=$ac_c_preproc_warn_flag
13602 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13609 if test -z "$ac_cpp_err"; then
13610 ac_header_preproc
=yes
13612 echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.
$ac_ext >&5
13615 ac_header_preproc
=no
13617 rm -f conftest.err conftest.
$ac_ext
13618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13619 echo "${ECHO_T}$ac_header_preproc" >&6
13621 # So? What about this header?
13622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13627 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13628 ac_header_preproc
=yes
13631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13635 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13636 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13637 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13638 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13641 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13642 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13645 ## ----------------------------------------- ##
13646 ## Report this to wx-dev@lists.wxwidgets.org ##
13647 ## ----------------------------------------- ##
13650 sed "s/^/$as_me: WARNING: /" >&2
13653 echo "$as_me:$LINENO: checking for $ac_header" >&5
13654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13656 echo $ECHO_N "(cached) $ECHO_C" >&6
13658 eval "$as_ac_Header=\$ac_header_preproc"
13660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13665 cat >>confdefs.h
<<_ACEOF
13666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13674 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13676 for ac_func
in fnmatch
13678 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13679 echo "$as_me:$LINENO: checking for $ac_func" >&5
13680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13681 if eval "test \"\${$as_ac_var+set}\" = set"; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 cat >conftest.
$ac_ext <<_ACEOF
13687 cat confdefs.h
>>conftest.
$ac_ext
13688 cat >>conftest.
$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13692 #define $ac_func innocuous_$ac_func
13694 /* System header to define __stub macros and hopefully few prototypes,
13695 which can conflict with char $ac_func (); below.
13696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13697 <limits.h> exists even on freestanding compilers. */
13700 # include <limits.h>
13702 # include <assert.h>
13707 /* Override any gcc2 internal prototype to avoid an error. */
13712 /* We use char because int might match the return type of a gcc2
13713 builtin and then its argument prototype would still apply. */
13715 /* The GNU C library defines this for functions which it implements
13716 to always fail with ENOSYS. Some functions are actually named
13717 something starting with __ and the normal name is an alias. */
13718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13721 char (*f) () = $ac_func;
13730 return f != $ac_func;
13735 rm -f conftest.
$ac_objext conftest
$ac_exeext
13736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13737 (eval $ac_link) 2>conftest.er1
13739 grep -v '^ *+' conftest.er1
>conftest.err
13741 cat conftest.err
>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); } &&
13744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; } &&
13750 { ac_try
='test -s conftest$ac_exeext'
13751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13752 (eval $ac_try) 2>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); }; }; then
13756 eval "$as_ac_var=yes"
13758 echo "$as_me: failed program was:" >&5
13759 sed 's/^/| /' conftest.
$ac_ext >&5
13761 eval "$as_ac_var=no"
13763 rm -f conftest.err conftest.
$ac_objext \
13764 conftest
$ac_exeext conftest.
$ac_ext
13766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13768 if test `eval echo '${'$as_ac_var'}'` = yes; then
13769 cat >>confdefs.h
<<_ACEOF
13770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13779 for ac_header
in langinfo.h
13781 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13783 echo "$as_me:$LINENO: checking for $ac_header" >&5
13784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13786 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13791 # Is the header compilable?
13792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13794 cat >conftest.
$ac_ext <<_ACEOF
13797 cat confdefs.h
>>conftest.
$ac_ext
13798 cat >>conftest.
$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13800 $ac_includes_default
13801 #include <$ac_header>
13803 rm -f conftest.
$ac_objext
13804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13805 (eval $ac_compile) 2>conftest.er1
13807 grep -v '^ *+' conftest.er1
>conftest.err
13809 cat conftest.err
>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } &&
13812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; } &&
13818 { ac_try
='test -s conftest.$ac_objext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13824 ac_header_compiler
=yes
13826 echo "$as_me: failed program was:" >&5
13827 sed 's/^/| /' conftest.
$ac_ext >&5
13829 ac_header_compiler
=no
13831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13833 echo "${ECHO_T}$ac_header_compiler" >&6
13835 # Is the header present?
13836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13838 cat >conftest.
$ac_ext <<_ACEOF
13841 cat confdefs.h
>>conftest.
$ac_ext
13842 cat >>conftest.
$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13844 #include <$ac_header>
13846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13849 grep -v '^ *+' conftest.er1
>conftest.err
13851 cat conftest.err
>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } >/dev
/null
; then
13854 if test -s conftest.err
; then
13855 ac_cpp_err
=$ac_c_preproc_warn_flag
13856 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13863 if test -z "$ac_cpp_err"; then
13864 ac_header_preproc
=yes
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.
$ac_ext >&5
13869 ac_header_preproc
=no
13871 rm -f conftest.err conftest.
$ac_ext
13872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13873 echo "${ECHO_T}$ac_header_preproc" >&6
13875 # So? What about this header?
13876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13882 ac_header_preproc
=yes
13885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13899 ## ----------------------------------------- ##
13900 ## Report this to wx-dev@lists.wxwidgets.org ##
13901 ## ----------------------------------------- ##
13904 sed "s/^/$as_me: WARNING: /" >&2
13907 echo "$as_me:$LINENO: checking for $ac_header" >&5
13908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13910 echo $ECHO_N "(cached) $ECHO_C" >&6
13912 eval "$as_ac_Header=\$ac_header_preproc"
13914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13919 cat >>confdefs.h
<<_ACEOF
13920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13929 *-pc-os2_emx | *-pc-os2-emx )
13930 if test $ac_cv_header_langinfo_h = "yes"; then
13931 LIBS
="$LIBS -lintl"
13936 if test "$wxUSE_GUI" = "yes"; then
13937 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13939 for ac_header
in X
11/Xlib.h
13941 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13943 echo "$as_me:$LINENO: checking for $ac_header" >&5
13944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13946 echo $ECHO_N "(cached) $ECHO_C" >&6
13948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13951 # Is the header compilable?
13952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13954 cat >conftest.
$ac_ext <<_ACEOF
13957 cat confdefs.h
>>conftest.
$ac_ext
13958 cat >>conftest.
$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 $ac_includes_default
13961 #include <$ac_header>
13963 rm -f conftest.
$ac_objext
13964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13965 (eval $ac_compile) 2>conftest.er1
13967 grep -v '^ *+' conftest.er1
>conftest.err
13969 cat conftest.err
>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } &&
13972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; } &&
13978 { ac_try
='test -s conftest.$ac_objext'
13979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13980 (eval $ac_try) 2>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); }; }; then
13984 ac_header_compiler
=yes
13986 echo "$as_me: failed program was:" >&5
13987 sed 's/^/| /' conftest.
$ac_ext >&5
13989 ac_header_compiler
=no
13991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13993 echo "${ECHO_T}$ac_header_compiler" >&6
13995 # Is the header present?
13996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13998 cat >conftest.
$ac_ext <<_ACEOF
14001 cat confdefs.h
>>conftest.
$ac_ext
14002 cat >>conftest.
$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 #include <$ac_header>
14006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14009 grep -v '^ *+' conftest.er1
>conftest.err
14011 cat conftest.err
>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); } >/dev
/null
; then
14014 if test -s conftest.err
; then
14015 ac_cpp_err
=$ac_c_preproc_warn_flag
14016 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14023 if test -z "$ac_cpp_err"; then
14024 ac_header_preproc
=yes
14026 echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.
$ac_ext >&5
14029 ac_header_preproc
=no
14031 rm -f conftest.err conftest.
$ac_ext
14032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14033 echo "${ECHO_T}$ac_header_preproc" >&6
14035 # So? What about this header?
14036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14042 ac_header_preproc
=yes
14045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14056 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14059 ## ----------------------------------------- ##
14060 ## Report this to wx-dev@lists.wxwidgets.org ##
14061 ## ----------------------------------------- ##
14064 sed "s/^/$as_me: WARNING: /" >&2
14067 echo "$as_me:$LINENO: checking for $ac_header" >&5
14068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 eval "$as_ac_Header=\$ac_header_preproc"
14074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14079 cat >>confdefs.h
<<_ACEOF
14080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14088 for ac_header
in X
11/XKBlib.h
14090 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14091 echo "$as_me:$LINENO: checking for $ac_header" >&5
14092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 cat >conftest.
$ac_ext <<_ACEOF
14099 cat confdefs.h
>>conftest.
$ac_ext
14100 cat >>conftest.
$ac_ext <<_ACEOF
14101 /* end confdefs.h. */
14103 #if HAVE_X11_XLIB_H
14104 #include <X11/Xlib.h>
14108 #include <$ac_header>
14110 rm -f conftest.
$ac_objext
14111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14112 (eval $ac_compile) 2>conftest.er1
14114 grep -v '^ *+' conftest.er1
>conftest.err
14116 cat conftest.err
>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); } &&
14119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14121 (eval $ac_try) 2>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; } &&
14125 { ac_try
='test -s conftest.$ac_objext'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 eval "$as_ac_Header=yes"
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.
$ac_ext >&5
14136 eval "$as_ac_Header=no"
14138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14143 cat >>confdefs.h
<<_ACEOF
14144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14155 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14156 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14157 if test "${ac_cv_c_const+set}" = set; then
14158 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 cat >conftest.
$ac_ext <<_ACEOF
14163 cat confdefs.h
>>conftest.
$ac_ext
14164 cat >>conftest.
$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14170 /* FIXME: Include the comments suggested by Paul. */
14171 #ifndef __cplusplus
14172 /* Ultrix mips cc rejects this. */
14173 typedef int charset[2];
14175 /* SunOS 4.1.1 cc rejects this. */
14176 char const *const *ccp;
14178 /* NEC SVR4.0.2 mips cc rejects this. */
14179 struct point {int x, y;};
14180 static struct point const zero = {0,0};
14181 /* AIX XL C 1.02.0.0 rejects this.
14182 It does not let you subtract one const X* pointer from another in
14183 an arm of an if-expression whose if-part is not a constant
14185 const char *g = "string";
14186 ccp = &g + (g ? g-g : 0);
14187 /* HPUX 7.0 cc rejects these. */
14190 ccp = (char const *const *) p;
14191 { /* SCO 3.2v4 cc rejects this. */
14193 char const *s = 0 ? (char *) 0 : (char const *) 0;
14197 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14198 int x[] = {25, 17};
14199 const int *foo = &x[0];
14202 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14203 typedef const int *iptr;
14207 { /* AIX XL C 1.02.0.0 rejects this saying
14208 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14209 struct s { int j; const int *ap[3]; };
14210 struct s *b; b->j = 5;
14212 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14213 const int foo = 10;
14221 rm -f conftest.
$ac_objext
14222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14223 (eval $ac_compile) 2>conftest.er1
14225 grep -v '^ *+' conftest.er1
>conftest.err
14227 cat conftest.err
>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; } &&
14236 { ac_try
='test -s conftest.$ac_objext'
14237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 (eval $ac_try) 2>&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); }; }; then
14244 echo "$as_me: failed program was:" >&5
14245 sed 's/^/| /' conftest.
$ac_ext >&5
14249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14251 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14252 echo "${ECHO_T}$ac_cv_c_const" >&6
14253 if test $ac_cv_c_const = no
; then
14255 cat >>confdefs.h
<<\_ACEOF
14261 echo "$as_me:$LINENO: checking for inline" >&5
14262 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14263 if test "${ac_cv_c_inline+set}" = set; then
14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 for ac_kw
in inline __inline__ __inline
; do
14268 cat >conftest.
$ac_ext <<_ACEOF
14271 cat confdefs.h
>>conftest.
$ac_ext
14272 cat >>conftest.
$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 #ifndef __cplusplus
14276 static $ac_kw foo_t static_foo () {return 0; }
14277 $ac_kw foo_t foo () {return 0; }
14281 rm -f conftest.
$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>conftest.er1
14285 grep -v '^ *+' conftest.er1
>conftest.err
14287 cat conftest.err
>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; } &&
14296 { ac_try
='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 ac_cv_c_inline
=$ac_kw; break
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.
$ac_ext >&5
14308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14312 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14313 echo "${ECHO_T}$ac_cv_c_inline" >&6
14316 case $ac_cv_c_inline in
14319 case $ac_cv_c_inline in
14321 *) ac_val
=$ac_cv_c_inline;;
14323 cat >>confdefs.h
<<_ACEOF
14324 #ifndef __cplusplus
14325 #define inline $ac_val
14332 echo "$as_me:$LINENO: checking for char" >&5
14333 echo $ECHO_N "checking for char... $ECHO_C" >&6
14334 if test "${ac_cv_type_char+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 cat >conftest.
$ac_ext <<_ACEOF
14340 cat confdefs.h
>>conftest.
$ac_ext
14341 cat >>conftest.
$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 $ac_includes_default
14355 rm -f conftest.
$ac_objext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14357 (eval $ac_compile) 2>conftest.er1
14359 grep -v '^ *+' conftest.er1
>conftest.err
14361 cat conftest.err
>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; } &&
14370 { ac_try
='test -s conftest.$ac_objext'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; }; then
14376 ac_cv_type_char
=yes
14378 echo "$as_me: failed program was:" >&5
14379 sed 's/^/| /' conftest.
$ac_ext >&5
14383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14385 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14386 echo "${ECHO_T}$ac_cv_type_char" >&6
14388 echo "$as_me:$LINENO: checking size of char" >&5
14389 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14390 if test "${ac_cv_sizeof_char+set}" = set; then
14391 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 if test "$ac_cv_type_char" = yes; then
14394 # The cast to unsigned long works around a bug in the HP C Compiler
14395 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14396 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14397 # This bug is HP SR number 8606223364.
14398 if test "$cross_compiling" = yes; then
14399 # Depending upon the size, compute the lo and hi bounds.
14400 cat >conftest.
$ac_ext <<_ACEOF
14403 cat confdefs.h
>>conftest.
$ac_ext
14404 cat >>conftest.
$ac_ext <<_ACEOF
14405 /* end confdefs.h. */
14406 $ac_includes_default
14410 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14417 rm -f conftest.
$ac_objext
14418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14419 (eval $ac_compile) 2>conftest.er1
14421 grep -v '^ *+' conftest.er1
>conftest.err
14423 cat conftest.err
>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14432 { ac_try
='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14440 cat >conftest.
$ac_ext <<_ACEOF
14443 cat confdefs.h
>>conftest.
$ac_ext
14444 cat >>conftest.
$ac_ext <<_ACEOF
14445 /* end confdefs.h. */
14446 $ac_includes_default
14450 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14457 rm -f conftest.
$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14461 grep -v '^ *+' conftest.er1
>conftest.err
14463 cat conftest.err
>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; } &&
14472 { ac_try
='test -s conftest.$ac_objext'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; }; then
14478 ac_hi
=$ac_mid; break
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.
$ac_ext >&5
14483 ac_lo
=`expr $ac_mid + 1`
14484 if test $ac_lo -le $ac_mid; then
14488 ac_mid
=`expr 2 '*' $ac_mid + 1`
14490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.
$ac_ext >&5
14496 cat >conftest.
$ac_ext <<_ACEOF
14499 cat confdefs.h
>>conftest.
$ac_ext
14500 cat >>conftest.
$ac_ext <<_ACEOF
14501 /* end confdefs.h. */
14502 $ac_includes_default
14506 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14513 rm -f conftest.
$ac_objext
14514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14515 (eval $ac_compile) 2>conftest.er1
14517 grep -v '^ *+' conftest.er1
>conftest.err
14519 cat conftest.err
>&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); } &&
14522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; } &&
14528 { ac_try
='test -s conftest.$ac_objext'
14529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530 (eval $ac_try) 2>&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; }; then
14536 cat >conftest.
$ac_ext <<_ACEOF
14539 cat confdefs.h
>>conftest.
$ac_ext
14540 cat >>conftest.
$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14542 $ac_includes_default
14546 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14553 rm -f conftest.
$ac_objext
14554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14555 (eval $ac_compile) 2>conftest.er1
14557 grep -v '^ *+' conftest.er1
>conftest.err
14559 cat conftest.err
>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } &&
14562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try
='test -s conftest.$ac_objext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14574 ac_lo
=$ac_mid; break
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.
$ac_ext >&5
14579 ac_hi
=`expr '(' $ac_mid ')' - 1`
14580 if test $ac_mid -le $ac_hi; then
14584 ac_mid
=`expr 2 '*' $ac_mid`
14586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.
$ac_ext >&5
14594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14597 # Binary search between lo and hi bounds.
14598 while test "x$ac_lo" != "x$ac_hi"; do
14599 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14600 cat >conftest.
$ac_ext <<_ACEOF
14603 cat confdefs.h
>>conftest.
$ac_ext
14604 cat >>conftest.
$ac_ext <<_ACEOF
14605 /* end confdefs.h. */
14606 $ac_includes_default
14610 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14617 rm -f conftest.
$ac_objext
14618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14619 (eval $ac_compile) 2>conftest.er1
14621 grep -v '^ *+' conftest.er1
>conftest.err
14623 cat conftest.err
>&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } &&
14626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14628 (eval $ac_try) 2>&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); }; } &&
14632 { ac_try
='test -s conftest.$ac_objext'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; }; then
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.
$ac_ext >&5
14643 ac_lo
=`expr '(' $ac_mid ')' + 1`
14645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14648 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14649 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14650 See \`config.log' for more details." >&5
14651 echo "$as_me: error: cannot compute sizeof (char), 77
14652 See \`config.log' for more details." >&2;}
14653 { (exit 1); exit 1; }; } ;;
14656 if test "$cross_compiling" = yes; then
14657 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14658 echo "$as_me: error: internal error: not reached in cross-compile" >&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" || test ! -s conftest.err'
14771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14772 (eval $ac_try) 2>&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; } &&
14776 { ac_try
='test -s conftest.$ac_objext'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; }; then
14782 ac_cv_type_short
=yes
14784 echo "$as_me: failed program was:" >&5
14785 sed 's/^/| /' conftest.
$ac_ext >&5
14787 ac_cv_type_short
=no
14789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14791 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14792 echo "${ECHO_T}$ac_cv_type_short" >&6
14794 echo "$as_me:$LINENO: checking size of short" >&5
14795 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14796 if test "${ac_cv_sizeof_short+set}" = set; then
14797 echo $ECHO_N "(cached) $ECHO_C" >&6
14799 if test "$ac_cv_type_short" = yes; then
14800 # The cast to unsigned long works around a bug in the HP C Compiler
14801 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14802 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14803 # This bug is HP SR number 8606223364.
14804 if test "$cross_compiling" = yes; then
14805 # Depending upon the size, compute the lo and hi bounds.
14806 cat >conftest.
$ac_ext <<_ACEOF
14809 cat confdefs.h
>>conftest.
$ac_ext
14810 cat >>conftest.
$ac_ext <<_ACEOF
14811 /* end confdefs.h. */
14812 $ac_includes_default
14816 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14823 rm -f conftest.
$ac_objext
14824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14825 (eval $ac_compile) 2>conftest.er1
14827 grep -v '^ *+' conftest.er1
>conftest.err
14829 cat conftest.err
>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); } &&
14832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; } &&
14838 { ac_try
='test -s conftest.$ac_objext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14846 cat >conftest.
$ac_ext <<_ACEOF
14849 cat confdefs.h
>>conftest.
$ac_ext
14850 cat >>conftest.
$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14852 $ac_includes_default
14856 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14863 rm -f conftest.
$ac_objext
14864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 (eval $ac_compile) 2>conftest.er1
14867 grep -v '^ *+' conftest.er1
>conftest.err
14869 cat conftest.err
>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } &&
14872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; } &&
14878 { ac_try
='test -s conftest.$ac_objext'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; }; then
14884 ac_hi
=$ac_mid; break
14886 echo "$as_me: failed program was:" >&5
14887 sed 's/^/| /' conftest.
$ac_ext >&5
14889 ac_lo
=`expr $ac_mid + 1`
14890 if test $ac_lo -le $ac_mid; then
14894 ac_mid
=`expr 2 '*' $ac_mid + 1`
14896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.
$ac_ext >&5
14902 cat >conftest.
$ac_ext <<_ACEOF
14905 cat confdefs.h
>>conftest.
$ac_ext
14906 cat >>conftest.
$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908 $ac_includes_default
14912 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14919 rm -f conftest.
$ac_objext
14920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14921 (eval $ac_compile) 2>conftest.er1
14923 grep -v '^ *+' conftest.er1
>conftest.err
14925 cat conftest.err
>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; } &&
14934 { ac_try
='test -s conftest.$ac_objext'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; }; then
14942 cat >conftest.
$ac_ext <<_ACEOF
14945 cat confdefs.h
>>conftest.
$ac_ext
14946 cat >>conftest.
$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948 $ac_includes_default
14952 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14959 rm -f conftest.
$ac_objext
14960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14961 (eval $ac_compile) 2>conftest.er1
14963 grep -v '^ *+' conftest.er1
>conftest.err
14965 cat conftest.err
>&5
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); } &&
14968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try
='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_lo
=$ac_mid; break
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14985 ac_hi
=`expr '(' $ac_mid ')' - 1`
14986 if test $ac_mid -le $ac_hi; then
14990 ac_mid
=`expr 2 '*' $ac_mid`
14992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.
$ac_ext >&5
15000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15003 # Binary search between lo and hi bounds.
15004 while test "x$ac_lo" != "x$ac_hi"; do
15005 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15006 cat >conftest.
$ac_ext <<_ACEOF
15009 cat confdefs.h
>>conftest.
$ac_ext
15010 cat >>conftest.
$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15012 $ac_includes_default
15016 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15023 rm -f conftest.
$ac_objext
15024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15025 (eval $ac_compile) 2>conftest.er1
15027 grep -v '^ *+' conftest.er1
>conftest.err
15029 cat conftest.err
>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; } &&
15038 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15046 echo "$as_me: failed program was:" >&5
15047 sed 's/^/| /' conftest.
$ac_ext >&5
15049 ac_lo
=`expr '(' $ac_mid ')' + 1`
15051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15054 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15055 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15056 See \`config.log' for more details." >&5
15057 echo "$as_me: error: cannot compute sizeof (short), 77
15058 See \`config.log' for more details." >&2;}
15059 { (exit 1); exit 1; }; } ;;
15062 if test "$cross_compiling" = yes; then
15063 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15064 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15065 { (exit 1); exit 1; }; }
15067 cat >conftest.
$ac_ext <<_ACEOF
15070 cat confdefs.h
>>conftest.
$ac_ext
15071 cat >>conftest.
$ac_ext <<_ACEOF
15072 /* end confdefs.h. */
15073 $ac_includes_default
15074 long longval () { return (long) (sizeof (short)); }
15075 unsigned long ulongval () { return (long) (sizeof (short)); }
15077 #include <stdlib.h>
15082 FILE *f = fopen ("conftest.val", "w");
15085 if (((long) (sizeof (short))) < 0)
15087 long i = longval ();
15088 if (i != ((long) (sizeof (short))))
15090 fprintf (f, "%ld\n", i);
15094 unsigned long i = ulongval ();
15095 if (i != ((long) (sizeof (short))))
15097 fprintf (f, "%lu\n", i);
15099 exit (ferror (f) || fclose (f) != 0);
15105 rm -f conftest
$ac_exeext
15106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15107 (eval $ac_link) 2>&5
15109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_cv_sizeof_short
=`cat conftest.val`
15118 echo "$as_me: program exited with status $ac_status" >&5
15119 echo "$as_me: failed program was:" >&5
15120 sed 's/^/| /' conftest.
$ac_ext >&5
15122 ( exit $ac_status )
15123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15124 See \`config.log' for more details." >&5
15125 echo "$as_me: error: cannot compute sizeof (short), 77
15126 See \`config.log' for more details." >&2;}
15127 { (exit 1); exit 1; }; }
15129 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15134 ac_cv_sizeof_short
=0
15137 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15138 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15139 cat >>confdefs.h
<<_ACEOF
15140 #define SIZEOF_SHORT $ac_cv_sizeof_short
15144 echo "$as_me:$LINENO: checking for void *" >&5
15145 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15146 if test "${ac_cv_type_void_p+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 cat >conftest.
$ac_ext <<_ACEOF
15152 cat confdefs.h
>>conftest.
$ac_ext
15153 cat >>conftest.
$ac_ext <<_ACEOF
15154 /* end confdefs.h. */
15155 $ac_includes_default
15161 if (sizeof (void *))
15167 rm -f conftest.
$ac_objext
15168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15169 (eval $ac_compile) 2>conftest.er1
15171 grep -v '^ *+' conftest.er1
>conftest.err
15173 cat conftest.err
>&5
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); } &&
15176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; } &&
15182 { ac_try
='test -s conftest.$ac_objext'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15188 ac_cv_type_void_p
=yes
15190 echo "$as_me: failed program was:" >&5
15191 sed 's/^/| /' conftest.
$ac_ext >&5
15193 ac_cv_type_void_p
=no
15195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15197 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15198 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15200 echo "$as_me:$LINENO: checking size of void *" >&5
15201 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15202 if test "${ac_cv_sizeof_void_p+set}" = set; then
15203 echo $ECHO_N "(cached) $ECHO_C" >&6
15205 if test "$ac_cv_type_void_p" = yes; then
15206 # The cast to unsigned long works around a bug in the HP C Compiler
15207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15209 # This bug is HP SR number 8606223364.
15210 if test "$cross_compiling" = yes; then
15211 # Depending upon the size, compute the lo and hi bounds.
15212 cat >conftest.
$ac_ext <<_ACEOF
15215 cat confdefs.h
>>conftest.
$ac_ext
15216 cat >>conftest.
$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 $ac_includes_default
15222 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15229 rm -f conftest.
$ac_objext
15230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15231 (eval $ac_compile) 2>conftest.er1
15233 grep -v '^ *+' conftest.er1
>conftest.err
15235 cat conftest.err
>&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); } &&
15238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15240 (eval $ac_try) 2>&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); }; } &&
15244 { ac_try
='test -s conftest.$ac_objext'
15245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15246 (eval $ac_try) 2>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; }; then
15252 cat >conftest.
$ac_ext <<_ACEOF
15255 cat confdefs.h
>>conftest.
$ac_ext
15256 cat >>conftest.
$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15258 $ac_includes_default
15262 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15269 rm -f conftest.
$ac_objext
15270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15271 (eval $ac_compile) 2>conftest.er1
15273 grep -v '^ *+' conftest.er1
>conftest.err
15275 cat conftest.err
>&5
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); } &&
15278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15280 (eval $ac_try) 2>&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); }; } &&
15284 { ac_try
='test -s conftest.$ac_objext'
15285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15286 (eval $ac_try) 2>&5
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); }; }; then
15290 ac_hi
=$ac_mid; break
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.
$ac_ext >&5
15295 ac_lo
=`expr $ac_mid + 1`
15296 if test $ac_lo -le $ac_mid; then
15300 ac_mid
=`expr 2 '*' $ac_mid + 1`
15302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15305 echo "$as_me: failed program was:" >&5
15306 sed 's/^/| /' conftest.
$ac_ext >&5
15308 cat >conftest.
$ac_ext <<_ACEOF
15311 cat confdefs.h
>>conftest.
$ac_ext
15312 cat >>conftest.
$ac_ext <<_ACEOF
15313 /* end confdefs.h. */
15314 $ac_includes_default
15318 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15325 rm -f conftest.
$ac_objext
15326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15327 (eval $ac_compile) 2>conftest.er1
15329 grep -v '^ *+' conftest.er1
>conftest.err
15331 cat conftest.err
>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); } &&
15334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15336 (eval $ac_try) 2>&5
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); }; } &&
15340 { ac_try
='test -s conftest.$ac_objext'
15341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15342 (eval $ac_try) 2>&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); }; }; then
15348 cat >conftest.
$ac_ext <<_ACEOF
15351 cat confdefs.h
>>conftest.
$ac_ext
15352 cat >>conftest.
$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15354 $ac_includes_default
15358 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15365 rm -f conftest.
$ac_objext
15366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15367 (eval $ac_compile) 2>conftest.er1
15369 grep -v '^ *+' conftest.er1
>conftest.err
15371 cat conftest.err
>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); } &&
15374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; } &&
15380 { ac_try
='test -s conftest.$ac_objext'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; }; then
15386 ac_lo
=$ac_mid; break
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.
$ac_ext >&5
15391 ac_hi
=`expr '(' $ac_mid ')' - 1`
15392 if test $ac_mid -le $ac_hi; then
15396 ac_mid
=`expr 2 '*' $ac_mid`
15398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.
$ac_ext >&5
15406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15409 # Binary search between lo and hi bounds.
15410 while test "x$ac_lo" != "x$ac_hi"; do
15411 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15412 cat >conftest.
$ac_ext <<_ACEOF
15415 cat confdefs.h
>>conftest.
$ac_ext
15416 cat >>conftest.
$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15418 $ac_includes_default
15422 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15429 rm -f conftest.
$ac_objext
15430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15431 (eval $ac_compile) 2>conftest.er1
15433 grep -v '^ *+' conftest.er1
>conftest.err
15435 cat conftest.err
>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; } &&
15444 { ac_try
='test -s conftest.$ac_objext'
15445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 (eval $ac_try) 2>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; }; then
15452 echo "$as_me: failed program was:" >&5
15453 sed 's/^/| /' conftest.
$ac_ext >&5
15455 ac_lo
=`expr '(' $ac_mid ')' + 1`
15457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15460 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15461 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15462 See \`config.log' for more details." >&5
15463 echo "$as_me: error: cannot compute sizeof (void *), 77
15464 See \`config.log' for more details." >&2;}
15465 { (exit 1); exit 1; }; } ;;
15468 if test "$cross_compiling" = yes; then
15469 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15470 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15471 { (exit 1); exit 1; }; }
15473 cat >conftest.
$ac_ext <<_ACEOF
15476 cat confdefs.h
>>conftest.
$ac_ext
15477 cat >>conftest.
$ac_ext <<_ACEOF
15478 /* end confdefs.h. */
15479 $ac_includes_default
15480 long longval () { return (long) (sizeof (void *)); }
15481 unsigned long ulongval () { return (long) (sizeof (void *)); }
15483 #include <stdlib.h>
15488 FILE *f = fopen ("conftest.val", "w");
15491 if (((long) (sizeof (void *))) < 0)
15493 long i = longval ();
15494 if (i != ((long) (sizeof (void *))))
15496 fprintf (f, "%ld\n", i);
15500 unsigned long i = ulongval ();
15501 if (i != ((long) (sizeof (void *))))
15503 fprintf (f, "%lu\n", i);
15505 exit (ferror (f) || fclose (f) != 0);
15511 rm -f conftest
$ac_exeext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15513 (eval $ac_link) 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15522 ac_cv_sizeof_void_p
=`cat conftest.val`
15524 echo "$as_me: program exited with status $ac_status" >&5
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.
$ac_ext >&5
15528 ( exit $ac_status )
15529 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15530 See \`config.log' for more details." >&5
15531 echo "$as_me: error: cannot compute sizeof (void *), 77
15532 See \`config.log' for more details." >&2;}
15533 { (exit 1); exit 1; }; }
15535 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15540 ac_cv_sizeof_void_p
=0
15543 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15544 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15545 cat >>confdefs.h
<<_ACEOF
15546 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15550 echo "$as_me:$LINENO: checking for int" >&5
15551 echo $ECHO_N "checking for int... $ECHO_C" >&6
15552 if test "${ac_cv_type_int+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15555 cat >conftest.
$ac_ext <<_ACEOF
15558 cat confdefs.h
>>conftest.
$ac_ext
15559 cat >>conftest.
$ac_ext <<_ACEOF
15560 /* end confdefs.h. */
15561 $ac_includes_default
15573 rm -f conftest.
$ac_objext
15574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15575 (eval $ac_compile) 2>conftest.er1
15577 grep -v '^ *+' conftest.er1
>conftest.err
15579 cat conftest.err
>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15584 (eval $ac_try) 2>&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; } &&
15588 { ac_try
='test -s conftest.$ac_objext'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; }; then
15596 echo "$as_me: failed program was:" >&5
15597 sed 's/^/| /' conftest.
$ac_ext >&5
15601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15603 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15604 echo "${ECHO_T}$ac_cv_type_int" >&6
15606 echo "$as_me:$LINENO: checking size of int" >&5
15607 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15608 if test "${ac_cv_sizeof_int+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 if test "$ac_cv_type_int" = yes; then
15612 # The cast to unsigned long works around a bug in the HP C Compiler
15613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15615 # This bug is HP SR number 8606223364.
15616 if test "$cross_compiling" = yes; then
15617 # Depending upon the size, compute the lo and hi bounds.
15618 cat >conftest.
$ac_ext <<_ACEOF
15621 cat confdefs.h
>>conftest.
$ac_ext
15622 cat >>conftest.
$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15624 $ac_includes_default
15628 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15635 rm -f conftest.
$ac_objext
15636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15637 (eval $ac_compile) 2>conftest.er1
15639 grep -v '^ *+' conftest.er1
>conftest.err
15641 cat conftest.err
>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } &&
15644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15646 (eval $ac_try) 2>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; } &&
15650 { ac_try
='test -s conftest.$ac_objext'
15651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15652 (eval $ac_try) 2>&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); }; }; then
15658 cat >conftest.
$ac_ext <<_ACEOF
15661 cat confdefs.h
>>conftest.
$ac_ext
15662 cat >>conftest.
$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 $ac_includes_default
15668 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15675 rm -f conftest.
$ac_objext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 (eval $ac_compile) 2>conftest.er1
15679 grep -v '^ *+' conftest.er1
>conftest.err
15681 cat conftest.err
>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; } &&
15690 { ac_try
='test -s conftest.$ac_objext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15696 ac_hi
=$ac_mid; break
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.
$ac_ext >&5
15701 ac_lo
=`expr $ac_mid + 1`
15702 if test $ac_lo -le $ac_mid; then
15706 ac_mid
=`expr 2 '*' $ac_mid + 1`
15708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15711 echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.
$ac_ext >&5
15714 cat >conftest.
$ac_ext <<_ACEOF
15717 cat confdefs.h
>>conftest.
$ac_ext
15718 cat >>conftest.
$ac_ext <<_ACEOF
15719 /* end confdefs.h. */
15720 $ac_includes_default
15724 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15731 rm -f conftest.
$ac_objext
15732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15733 (eval $ac_compile) 2>conftest.er1
15735 grep -v '^ *+' conftest.er1
>conftest.err
15737 cat conftest.err
>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } &&
15740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; } &&
15746 { ac_try
='test -s conftest.$ac_objext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15754 cat >conftest.
$ac_ext <<_ACEOF
15757 cat confdefs.h
>>conftest.
$ac_ext
15758 cat >>conftest.
$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 $ac_includes_default
15764 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15771 rm -f conftest.
$ac_objext
15772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15773 (eval $ac_compile) 2>conftest.er1
15775 grep -v '^ *+' conftest.er1
>conftest.err
15777 cat conftest.err
>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); } &&
15780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try
='test -s conftest.$ac_objext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15792 ac_lo
=$ac_mid; break
15794 echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.
$ac_ext >&5
15797 ac_hi
=`expr '(' $ac_mid ')' - 1`
15798 if test $ac_mid -le $ac_hi; then
15802 ac_mid
=`expr 2 '*' $ac_mid`
15804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15807 echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.
$ac_ext >&5
15812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15815 # Binary search between lo and hi bounds.
15816 while test "x$ac_lo" != "x$ac_hi"; do
15817 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15818 cat >conftest.
$ac_ext <<_ACEOF
15821 cat confdefs.h
>>conftest.
$ac_ext
15822 cat >>conftest.
$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15824 $ac_includes_default
15828 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15835 rm -f conftest.
$ac_objext
15836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15837 (eval $ac_compile) 2>conftest.er1
15839 grep -v '^ *+' conftest.er1
>conftest.err
15841 cat conftest.err
>&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); } &&
15844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15846 (eval $ac_try) 2>&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); }; } &&
15850 { ac_try
='test -s conftest.$ac_objext'
15851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852 (eval $ac_try) 2>&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); }; }; then
15858 echo "$as_me: failed program was:" >&5
15859 sed 's/^/| /' conftest.
$ac_ext >&5
15861 ac_lo
=`expr '(' $ac_mid ')' + 1`
15863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15866 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15867 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15868 See \`config.log' for more details." >&5
15869 echo "$as_me: error: cannot compute sizeof (int), 77
15870 See \`config.log' for more details." >&2;}
15871 { (exit 1); exit 1; }; } ;;
15874 if test "$cross_compiling" = yes; then
15875 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15876 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15877 { (exit 1); exit 1; }; }
15879 cat >conftest.
$ac_ext <<_ACEOF
15882 cat confdefs.h
>>conftest.
$ac_ext
15883 cat >>conftest.
$ac_ext <<_ACEOF
15884 /* end confdefs.h. */
15885 $ac_includes_default
15886 long longval () { return (long) (sizeof (int)); }
15887 unsigned long ulongval () { return (long) (sizeof (int)); }
15889 #include <stdlib.h>
15894 FILE *f = fopen ("conftest.val", "w");
15897 if (((long) (sizeof (int))) < 0)
15899 long i = longval ();
15900 if (i != ((long) (sizeof (int))))
15902 fprintf (f, "%ld\n", i);
15906 unsigned long i = ulongval ();
15907 if (i != ((long) (sizeof (int))))
15909 fprintf (f, "%lu\n", i);
15911 exit (ferror (f) || fclose (f) != 0);
15917 rm -f conftest
$ac_exeext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15919 (eval $ac_link) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15924 (eval $ac_try) 2>&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); }; }; then
15928 ac_cv_sizeof_int
=`cat conftest.val`
15930 echo "$as_me: program exited with status $ac_status" >&5
15931 echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.
$ac_ext >&5
15934 ( exit $ac_status )
15935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15936 See \`config.log' for more details." >&5
15937 echo "$as_me: error: cannot compute sizeof (int), 77
15938 See \`config.log' for more details." >&2;}
15939 { (exit 1); exit 1; }; }
15941 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15949 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15950 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15951 cat >>confdefs.h
<<_ACEOF
15952 #define SIZEOF_INT $ac_cv_sizeof_int
15956 echo "$as_me:$LINENO: checking for long" >&5
15957 echo $ECHO_N "checking for long... $ECHO_C" >&6
15958 if test "${ac_cv_type_long+set}" = set; then
15959 echo $ECHO_N "(cached) $ECHO_C" >&6
15961 cat >conftest.
$ac_ext <<_ACEOF
15964 cat confdefs.h
>>conftest.
$ac_ext
15965 cat >>conftest.
$ac_ext <<_ACEOF
15966 /* end confdefs.h. */
15967 $ac_includes_default
15979 rm -f conftest.
$ac_objext
15980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15981 (eval $ac_compile) 2>conftest.er1
15983 grep -v '^ *+' conftest.er1
>conftest.err
15985 cat conftest.err
>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } &&
15988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15990 (eval $ac_try) 2>&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); }; } &&
15994 { ac_try
='test -s conftest.$ac_objext'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; }; then
16000 ac_cv_type_long
=yes
16002 echo "$as_me: failed program was:" >&5
16003 sed 's/^/| /' conftest.
$ac_ext >&5
16007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16009 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16010 echo "${ECHO_T}$ac_cv_type_long" >&6
16012 echo "$as_me:$LINENO: checking size of long" >&5
16013 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16014 if test "${ac_cv_sizeof_long+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 if test "$ac_cv_type_long" = yes; then
16018 # The cast to unsigned long works around a bug in the HP C Compiler
16019 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16020 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16021 # This bug is HP SR number 8606223364.
16022 if test "$cross_compiling" = yes; then
16023 # Depending upon the size, compute the lo and hi bounds.
16024 cat >conftest.
$ac_ext <<_ACEOF
16027 cat confdefs.h
>>conftest.
$ac_ext
16028 cat >>conftest.
$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16030 $ac_includes_default
16034 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16041 rm -f conftest.
$ac_objext
16042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16043 (eval $ac_compile) 2>conftest.er1
16045 grep -v '^ *+' conftest.er1
>conftest.err
16047 cat conftest.err
>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } &&
16050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16052 (eval $ac_try) 2>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); }; } &&
16056 { ac_try
='test -s conftest.$ac_objext'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; }; then
16064 cat >conftest.
$ac_ext <<_ACEOF
16067 cat confdefs.h
>>conftest.
$ac_ext
16068 cat >>conftest.
$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 $ac_includes_default
16074 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16081 rm -f conftest.
$ac_objext
16082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16083 (eval $ac_compile) 2>conftest.er1
16085 grep -v '^ *+' conftest.er1
>conftest.err
16087 cat conftest.err
>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } &&
16090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; } &&
16096 { ac_try
='test -s conftest.$ac_objext'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; }; then
16102 ac_hi
=$ac_mid; break
16104 echo "$as_me: failed program was:" >&5
16105 sed 's/^/| /' conftest.
$ac_ext >&5
16107 ac_lo
=`expr $ac_mid + 1`
16108 if test $ac_lo -le $ac_mid; then
16112 ac_mid
=`expr 2 '*' $ac_mid + 1`
16114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16117 echo "$as_me: failed program was:" >&5
16118 sed 's/^/| /' conftest.
$ac_ext >&5
16120 cat >conftest.
$ac_ext <<_ACEOF
16123 cat confdefs.h
>>conftest.
$ac_ext
16124 cat >>conftest.
$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126 $ac_includes_default
16130 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16137 rm -f conftest.
$ac_objext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16139 (eval $ac_compile) 2>conftest.er1
16141 grep -v '^ *+' conftest.er1
>conftest.err
16143 cat conftest.err
>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; } &&
16152 { ac_try
='test -s conftest.$ac_objext'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16160 cat >conftest.
$ac_ext <<_ACEOF
16163 cat confdefs.h
>>conftest.
$ac_ext
16164 cat >>conftest.
$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 $ac_includes_default
16170 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16177 rm -f conftest.
$ac_objext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16179 (eval $ac_compile) 2>conftest.er1
16181 grep -v '^ *+' conftest.er1
>conftest.err
16183 cat conftest.err
>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; } &&
16192 { ac_try
='test -s conftest.$ac_objext'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; }; then
16198 ac_lo
=$ac_mid; break
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.
$ac_ext >&5
16203 ac_hi
=`expr '(' $ac_mid ')' - 1`
16204 if test $ac_mid -le $ac_hi; then
16208 ac_mid
=`expr 2 '*' $ac_mid`
16210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16213 echo "$as_me: failed program was:" >&5
16214 sed 's/^/| /' conftest.
$ac_ext >&5
16218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16221 # Binary search between lo and hi bounds.
16222 while test "x$ac_lo" != "x$ac_hi"; do
16223 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16224 cat >conftest.
$ac_ext <<_ACEOF
16227 cat confdefs.h
>>conftest.
$ac_ext
16228 cat >>conftest.
$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 $ac_includes_default
16234 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16241 rm -f conftest.
$ac_objext
16242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16243 (eval $ac_compile) 2>conftest.er1
16245 grep -v '^ *+' conftest.er1
>conftest.err
16247 cat conftest.err
>&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); } &&
16250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252 (eval $ac_try) 2>&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); }; } &&
16256 { ac_try
='test -s conftest.$ac_objext'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; }; then
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.
$ac_ext >&5
16267 ac_lo
=`expr '(' $ac_mid ')' + 1`
16269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16272 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16273 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16274 See \`config.log' for more details." >&5
16275 echo "$as_me: error: cannot compute sizeof (long), 77
16276 See \`config.log' for more details." >&2;}
16277 { (exit 1); exit 1; }; } ;;
16280 if test "$cross_compiling" = yes; then
16281 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16282 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16283 { (exit 1); exit 1; }; }
16285 cat >conftest.
$ac_ext <<_ACEOF
16288 cat confdefs.h
>>conftest.
$ac_ext
16289 cat >>conftest.
$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16291 $ac_includes_default
16292 long longval () { return (long) (sizeof (long)); }
16293 unsigned long ulongval () { return (long) (sizeof (long)); }
16295 #include <stdlib.h>
16300 FILE *f = fopen ("conftest.val", "w");
16303 if (((long) (sizeof (long))) < 0)
16305 long i = longval ();
16306 if (i != ((long) (sizeof (long))))
16308 fprintf (f, "%ld\n", i);
16312 unsigned long i = ulongval ();
16313 if (i != ((long) (sizeof (long))))
16315 fprintf (f, "%lu\n", i);
16317 exit (ferror (f) || fclose (f) != 0);
16323 rm -f conftest
$ac_exeext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16325 (eval $ac_link) 2>&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_cv_sizeof_long
=`cat conftest.val`
16336 echo "$as_me: program exited with status $ac_status" >&5
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.
$ac_ext >&5
16340 ( exit $ac_status )
16341 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16342 See \`config.log' for more details." >&5
16343 echo "$as_me: error: cannot compute sizeof (long), 77
16344 See \`config.log' for more details." >&2;}
16345 { (exit 1); exit 1; }; }
16347 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16352 ac_cv_sizeof_long
=0
16355 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16356 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16357 cat >>confdefs.h
<<_ACEOF
16358 #define SIZEOF_LONG $ac_cv_sizeof_long
16362 echo "$as_me:$LINENO: checking for size_t" >&5
16363 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16364 if test "${ac_cv_type_size_t+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 cat >conftest.
$ac_ext <<_ACEOF
16370 cat confdefs.h
>>conftest.
$ac_ext
16371 cat >>conftest.
$ac_ext <<_ACEOF
16372 /* end confdefs.h. */
16373 $ac_includes_default
16379 if (sizeof (size_t))
16385 rm -f conftest.
$ac_objext
16386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16387 (eval $ac_compile) 2>conftest.er1
16389 grep -v '^ *+' conftest.er1
>conftest.err
16391 cat conftest.err
>&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } &&
16394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; } &&
16400 { ac_try
='test -s conftest.$ac_objext'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; }; then
16406 ac_cv_type_size_t
=yes
16408 echo "$as_me: failed program was:" >&5
16409 sed 's/^/| /' conftest.
$ac_ext >&5
16411 ac_cv_type_size_t
=no
16413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16415 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16416 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16418 echo "$as_me:$LINENO: checking size of size_t" >&5
16419 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16420 if test "${ac_cv_sizeof_size_t+set}" = set; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16423 if test "$ac_cv_type_size_t" = yes; then
16424 # The cast to unsigned long works around a bug in the HP C Compiler
16425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16427 # This bug is HP SR number 8606223364.
16428 if test "$cross_compiling" = yes; then
16429 # Depending upon the size, compute the lo and hi bounds.
16430 cat >conftest.
$ac_ext <<_ACEOF
16433 cat confdefs.h
>>conftest.
$ac_ext
16434 cat >>conftest.
$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16436 $ac_includes_default
16440 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16447 rm -f conftest.
$ac_objext
16448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16449 (eval $ac_compile) 2>conftest.er1
16451 grep -v '^ *+' conftest.er1
>conftest.err
16453 cat conftest.err
>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } &&
16456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16458 (eval $ac_try) 2>&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }; } &&
16462 { ac_try
='test -s conftest.$ac_objext'
16463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464 (eval $ac_try) 2>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; }; then
16470 cat >conftest.
$ac_ext <<_ACEOF
16473 cat confdefs.h
>>conftest.
$ac_ext
16474 cat >>conftest.
$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 $ac_includes_default
16480 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16487 rm -f conftest.
$ac_objext
16488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16489 (eval $ac_compile) 2>conftest.er1
16491 grep -v '^ *+' conftest.er1
>conftest.err
16493 cat conftest.err
>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); } &&
16496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; } &&
16502 { ac_try
='test -s conftest.$ac_objext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16508 ac_hi
=$ac_mid; break
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.
$ac_ext >&5
16513 ac_lo
=`expr $ac_mid + 1`
16514 if test $ac_lo -le $ac_mid; then
16518 ac_mid
=`expr 2 '*' $ac_mid + 1`
16520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.
$ac_ext >&5
16526 cat >conftest.
$ac_ext <<_ACEOF
16529 cat confdefs.h
>>conftest.
$ac_ext
16530 cat >>conftest.
$ac_ext <<_ACEOF
16531 /* end confdefs.h. */
16532 $ac_includes_default
16536 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16543 rm -f conftest.
$ac_objext
16544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16545 (eval $ac_compile) 2>conftest.er1
16547 grep -v '^ *+' conftest.er1
>conftest.err
16549 cat conftest.err
>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); } &&
16552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; } &&
16558 { ac_try
='test -s conftest.$ac_objext'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then
16566 cat >conftest.
$ac_ext <<_ACEOF
16569 cat confdefs.h
>>conftest.
$ac_ext
16570 cat >>conftest.
$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 $ac_includes_default
16576 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16583 rm -f conftest.
$ac_objext
16584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16585 (eval $ac_compile) 2>conftest.er1
16587 grep -v '^ *+' conftest.er1
>conftest.err
16589 cat conftest.err
>&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } &&
16592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; } &&
16598 { ac_try
='test -s conftest.$ac_objext'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; }; then
16604 ac_lo
=$ac_mid; break
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.
$ac_ext >&5
16609 ac_hi
=`expr '(' $ac_mid ')' - 1`
16610 if test $ac_mid -le $ac_hi; then
16614 ac_mid
=`expr 2 '*' $ac_mid`
16616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.
$ac_ext >&5
16624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16627 # Binary search between lo and hi bounds.
16628 while test "x$ac_lo" != "x$ac_hi"; do
16629 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16630 cat >conftest.
$ac_ext <<_ACEOF
16633 cat confdefs.h
>>conftest.
$ac_ext
16634 cat >>conftest.
$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16636 $ac_includes_default
16640 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16647 rm -f conftest.
$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649 (eval $ac_compile) 2>conftest.er1
16651 grep -v '^ *+' conftest.er1
>conftest.err
16653 cat conftest.err
>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try
='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16670 echo "$as_me: failed program was:" >&5
16671 sed 's/^/| /' conftest.
$ac_ext >&5
16673 ac_lo
=`expr '(' $ac_mid ')' + 1`
16675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16678 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16679 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16680 See \`config.log' for more details." >&5
16681 echo "$as_me: error: cannot compute sizeof (size_t), 77
16682 See \`config.log' for more details." >&2;}
16683 { (exit 1); exit 1; }; } ;;
16686 if test "$cross_compiling" = yes; then
16687 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16688 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16689 { (exit 1); exit 1; }; }
16691 cat >conftest.
$ac_ext <<_ACEOF
16694 cat confdefs.h
>>conftest.
$ac_ext
16695 cat >>conftest.
$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 $ac_includes_default
16698 long longval () { return (long) (sizeof (size_t)); }
16699 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16701 #include <stdlib.h>
16706 FILE *f = fopen ("conftest.val", "w");
16709 if (((long) (sizeof (size_t))) < 0)
16711 long i = longval ();
16712 if (i != ((long) (sizeof (size_t))))
16714 fprintf (f, "%ld\n", i);
16718 unsigned long i = ulongval ();
16719 if (i != ((long) (sizeof (size_t))))
16721 fprintf (f, "%lu\n", i);
16723 exit (ferror (f) || fclose (f) != 0);
16729 rm -f conftest
$ac_exeext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16731 (eval $ac_link) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; }; then
16740 ac_cv_sizeof_size_t
=`cat conftest.val`
16742 echo "$as_me: program exited with status $ac_status" >&5
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.
$ac_ext >&5
16746 ( exit $ac_status )
16747 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16748 See \`config.log' for more details." >&5
16749 echo "$as_me: error: cannot compute sizeof (size_t), 77
16750 See \`config.log' for more details." >&2;}
16751 { (exit 1); exit 1; }; }
16753 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16758 ac_cv_sizeof_size_t
=0
16761 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16762 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16763 cat >>confdefs.h
<<_ACEOF
16764 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16771 echo "$as_me:$LINENO: checking for long long" >&5
16772 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16773 if test "${ac_cv_type_long_long+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 cat >conftest.
$ac_ext <<_ACEOF
16779 cat confdefs.h
>>conftest.
$ac_ext
16780 cat >>conftest.
$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 $ac_includes_default
16786 if ((long long *) 0)
16788 if (sizeof (long long))
16794 rm -f conftest.
$ac_objext
16795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16796 (eval $ac_compile) 2>conftest.er1
16798 grep -v '^ *+' conftest.er1
>conftest.err
16800 cat conftest.err
>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } &&
16803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; } &&
16809 { ac_try
='test -s conftest.$ac_objext'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; }; then
16815 ac_cv_type_long_long
=yes
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.
$ac_ext >&5
16820 ac_cv_type_long_long
=no
16822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16824 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16825 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16827 echo "$as_me:$LINENO: checking size of long long" >&5
16828 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16829 if test "${ac_cv_sizeof_long_long+set}" = set; then
16830 echo $ECHO_N "(cached) $ECHO_C" >&6
16832 if test "$ac_cv_type_long_long" = yes; then
16833 # The cast to unsigned long works around a bug in the HP C Compiler
16834 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16835 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16836 # This bug is HP SR number 8606223364.
16837 if test "$cross_compiling" = yes; then
16838 # Depending upon the size, compute the lo and hi bounds.
16839 cat >conftest.
$ac_ext <<_ACEOF
16842 cat confdefs.h
>>conftest.
$ac_ext
16843 cat >>conftest.
$ac_ext <<_ACEOF
16844 /* end confdefs.h. */
16845 $ac_includes_default
16849 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16856 rm -f conftest.
$ac_objext
16857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16858 (eval $ac_compile) 2>conftest.er1
16860 grep -v '^ *+' conftest.er1
>conftest.err
16862 cat conftest.err
>&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); } &&
16865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; } &&
16871 { ac_try
='test -s conftest.$ac_objext'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; }; then
16879 cat >conftest.
$ac_ext <<_ACEOF
16882 cat confdefs.h
>>conftest.
$ac_ext
16883 cat >>conftest.
$ac_ext <<_ACEOF
16884 /* end confdefs.h. */
16885 $ac_includes_default
16889 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16896 rm -f conftest.
$ac_objext
16897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16898 (eval $ac_compile) 2>conftest.er1
16900 grep -v '^ *+' conftest.er1
>conftest.err
16902 cat conftest.err
>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } &&
16905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try
='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 ac_hi
=$ac_mid; break
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.
$ac_ext >&5
16922 ac_lo
=`expr $ac_mid + 1`
16923 if test $ac_lo -le $ac_mid; then
16927 ac_mid
=`expr 2 '*' $ac_mid + 1`
16929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.
$ac_ext >&5
16935 cat >conftest.
$ac_ext <<_ACEOF
16938 cat confdefs.h
>>conftest.
$ac_ext
16939 cat >>conftest.
$ac_ext <<_ACEOF
16940 /* end confdefs.h. */
16941 $ac_includes_default
16945 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16952 rm -f conftest.
$ac_objext
16953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16954 (eval $ac_compile) 2>conftest.er1
16956 grep -v '^ *+' conftest.er1
>conftest.err
16958 cat conftest.err
>&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); } &&
16961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; } &&
16967 { ac_try
='test -s conftest.$ac_objext'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; }; then
16975 cat >conftest.
$ac_ext <<_ACEOF
16978 cat confdefs.h
>>conftest.
$ac_ext
16979 cat >>conftest.
$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16981 $ac_includes_default
16985 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16992 rm -f conftest.
$ac_objext
16993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16994 (eval $ac_compile) 2>conftest.er1
16996 grep -v '^ *+' conftest.er1
>conftest.err
16998 cat conftest.err
>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } &&
17001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; } &&
17007 { ac_try
='test -s conftest.$ac_objext'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; }; then
17013 ac_lo
=$ac_mid; break
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.
$ac_ext >&5
17018 ac_hi
=`expr '(' $ac_mid ')' - 1`
17019 if test $ac_mid -le $ac_hi; then
17023 ac_mid
=`expr 2 '*' $ac_mid`
17025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.
$ac_ext >&5
17033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17036 # Binary search between lo and hi bounds.
17037 while test "x$ac_lo" != "x$ac_hi"; do
17038 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17039 cat >conftest.
$ac_ext <<_ACEOF
17042 cat confdefs.h
>>conftest.
$ac_ext
17043 cat >>conftest.
$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045 $ac_includes_default
17049 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17056 rm -f conftest.
$ac_objext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>conftest.er1
17060 grep -v '^ *+' conftest.er1
>conftest.err
17062 cat conftest.err
>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17067 (eval $ac_try) 2>&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); }; } &&
17071 { ac_try
='test -s conftest.$ac_objext'
17072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17073 (eval $ac_try) 2>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); }; }; then
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.
$ac_ext >&5
17082 ac_lo
=`expr '(' $ac_mid ')' + 1`
17084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17087 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17088 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17089 See \`config.log' for more details." >&5
17090 echo "$as_me: error: cannot compute sizeof (long long), 77
17091 See \`config.log' for more details." >&2;}
17092 { (exit 1); exit 1; }; } ;;
17095 if test "$cross_compiling" = yes; then
17096 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17097 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17098 { (exit 1); exit 1; }; }
17100 cat >conftest.
$ac_ext <<_ACEOF
17103 cat confdefs.h
>>conftest.
$ac_ext
17104 cat >>conftest.
$ac_ext <<_ACEOF
17105 /* end confdefs.h. */
17106 $ac_includes_default
17107 long longval () { return (long) (sizeof (long long)); }
17108 unsigned long ulongval () { return (long) (sizeof (long long)); }
17110 #include <stdlib.h>
17115 FILE *f = fopen ("conftest.val", "w");
17118 if (((long) (sizeof (long long))) < 0)
17120 long i = longval ();
17121 if (i != ((long) (sizeof (long long))))
17123 fprintf (f, "%ld\n", i);
17127 unsigned long i = ulongval ();
17128 if (i != ((long) (sizeof (long long))))
17130 fprintf (f, "%lu\n", i);
17132 exit (ferror (f) || fclose (f) != 0);
17138 rm -f conftest
$ac_exeext
17139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17140 (eval $ac_link) 2>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; }; then
17149 ac_cv_sizeof_long_long
=`cat conftest.val`
17151 echo "$as_me: program exited with status $ac_status" >&5
17152 echo "$as_me: failed program was:" >&5
17153 sed 's/^/| /' conftest.
$ac_ext >&5
17155 ( exit $ac_status )
17156 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17157 See \`config.log' for more details." >&5
17158 echo "$as_me: error: cannot compute sizeof (long long), 77
17159 See \`config.log' for more details." >&2;}
17160 { (exit 1); exit 1; }; }
17162 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17167 ac_cv_sizeof_long_long
=0
17170 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17171 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17172 cat >>confdefs.h
<<_ACEOF
17173 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17179 echo "$as_me:$LINENO: checking for long long" >&5
17180 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17181 if test "${ac_cv_type_long_long+set}" = set; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 cat >conftest.
$ac_ext <<_ACEOF
17187 cat confdefs.h
>>conftest.
$ac_ext
17188 cat >>conftest.
$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17190 $ac_includes_default
17194 if ((long long *) 0)
17196 if (sizeof (long long))
17202 rm -f conftest.
$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204 (eval $ac_compile) 2>conftest.er1
17206 grep -v '^ *+' conftest.er1
>conftest.err
17208 cat conftest.err
>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17213 (eval $ac_try) 2>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); }; } &&
17217 { ac_try
='test -s conftest.$ac_objext'
17218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17219 (eval $ac_try) 2>&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); }; }; then
17223 ac_cv_type_long_long
=yes
17225 echo "$as_me: failed program was:" >&5
17226 sed 's/^/| /' conftest.
$ac_ext >&5
17228 ac_cv_type_long_long
=no
17230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17232 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17233 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17235 echo "$as_me:$LINENO: checking size of long long" >&5
17236 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17237 if test "${ac_cv_sizeof_long_long+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 if test "$ac_cv_type_long_long" = yes; then
17241 # The cast to unsigned long works around a bug in the HP C Compiler
17242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17244 # This bug is HP SR number 8606223364.
17245 if test "$cross_compiling" = yes; then
17246 # Depending upon the size, compute the lo and hi bounds.
17247 cat >conftest.
$ac_ext <<_ACEOF
17250 cat confdefs.h
>>conftest.
$ac_ext
17251 cat >>conftest.
$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253 $ac_includes_default
17257 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17264 rm -f conftest.
$ac_objext
17265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17266 (eval $ac_compile) 2>conftest.er1
17268 grep -v '^ *+' conftest.er1
>conftest.err
17270 cat conftest.err
>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); } &&
17273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17275 (eval $ac_try) 2>&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); }; } &&
17279 { ac_try
='test -s conftest.$ac_objext'
17280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17281 (eval $ac_try) 2>&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); }; }; then
17287 cat >conftest.
$ac_ext <<_ACEOF
17290 cat confdefs.h
>>conftest.
$ac_ext
17291 cat >>conftest.
$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293 $ac_includes_default
17297 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17304 rm -f conftest.
$ac_objext
17305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17306 (eval $ac_compile) 2>conftest.er1
17308 grep -v '^ *+' conftest.er1
>conftest.err
17310 cat conftest.err
>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); } &&
17313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315 (eval $ac_try) 2>&5
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; } &&
17319 { ac_try
='test -s conftest.$ac_objext'
17320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17321 (eval $ac_try) 2>&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); }; }; then
17325 ac_hi
=$ac_mid; break
17327 echo "$as_me: failed program was:" >&5
17328 sed 's/^/| /' conftest.
$ac_ext >&5
17330 ac_lo
=`expr $ac_mid + 1`
17331 if test $ac_lo -le $ac_mid; then
17335 ac_mid
=`expr 2 '*' $ac_mid + 1`
17337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.
$ac_ext >&5
17343 cat >conftest.
$ac_ext <<_ACEOF
17346 cat confdefs.h
>>conftest.
$ac_ext
17347 cat >>conftest.
$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17349 $ac_includes_default
17353 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17360 rm -f conftest.
$ac_objext
17361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 (eval $ac_compile) 2>conftest.er1
17364 grep -v '^ *+' conftest.er1
>conftest.err
17366 cat conftest.err
>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } &&
17369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17371 (eval $ac_try) 2>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; } &&
17375 { ac_try
='test -s conftest.$ac_objext'
17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17377 (eval $ac_try) 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; }; then
17383 cat >conftest.
$ac_ext <<_ACEOF
17386 cat confdefs.h
>>conftest.
$ac_ext
17387 cat >>conftest.
$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389 $ac_includes_default
17393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17400 rm -f conftest.
$ac_objext
17401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17402 (eval $ac_compile) 2>conftest.er1
17404 grep -v '^ *+' conftest.er1
>conftest.err
17406 cat conftest.err
>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } &&
17409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; } &&
17415 { ac_try
='test -s conftest.$ac_objext'
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417 (eval $ac_try) 2>&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); }; }; then
17421 ac_lo
=$ac_mid; break
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.
$ac_ext >&5
17426 ac_hi
=`expr '(' $ac_mid ')' - 1`
17427 if test $ac_mid -le $ac_hi; then
17431 ac_mid
=`expr 2 '*' $ac_mid`
17433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.
$ac_ext >&5
17441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17444 # Binary search between lo and hi bounds.
17445 while test "x$ac_lo" != "x$ac_hi"; do
17446 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17447 cat >conftest.
$ac_ext <<_ACEOF
17450 cat confdefs.h
>>conftest.
$ac_ext
17451 cat >>conftest.
$ac_ext <<_ACEOF
17452 /* end confdefs.h. */
17453 $ac_includes_default
17457 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17464 rm -f conftest.
$ac_objext
17465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17466 (eval $ac_compile) 2>conftest.er1
17468 grep -v '^ *+' conftest.er1
>conftest.err
17470 cat conftest.err
>&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; } &&
17479 { ac_try
='test -s conftest.$ac_objext'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; }; then
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.
$ac_ext >&5
17490 ac_lo
=`expr '(' $ac_mid ')' + 1`
17492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17495 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17496 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17497 See \`config.log' for more details." >&5
17498 echo "$as_me: error: cannot compute sizeof (long long), 77
17499 See \`config.log' for more details." >&2;}
17500 { (exit 1); exit 1; }; } ;;
17503 if test "$cross_compiling" = yes; then
17504 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17505 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17506 { (exit 1); exit 1; }; }
17508 cat >conftest.
$ac_ext <<_ACEOF
17511 cat confdefs.h
>>conftest.
$ac_ext
17512 cat >>conftest.
$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 $ac_includes_default
17515 long longval () { return (long) (sizeof (long long)); }
17516 unsigned long ulongval () { return (long) (sizeof (long long)); }
17518 #include <stdlib.h>
17523 FILE *f = fopen ("conftest.val", "w");
17526 if (((long) (sizeof (long long))) < 0)
17528 long i = longval ();
17529 if (i != ((long) (sizeof (long long))))
17531 fprintf (f, "%ld\n", i);
17535 unsigned long i = ulongval ();
17536 if (i != ((long) (sizeof (long long))))
17538 fprintf (f, "%lu\n", i);
17540 exit (ferror (f) || fclose (f) != 0);
17546 rm -f conftest
$ac_exeext
17547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17548 (eval $ac_link) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; }; then
17557 ac_cv_sizeof_long_long
=`cat conftest.val`
17559 echo "$as_me: program exited with status $ac_status" >&5
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 ( exit $ac_status )
17564 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17565 See \`config.log' for more details." >&5
17566 echo "$as_me: error: cannot compute sizeof (long long), 77
17567 See \`config.log' for more details." >&2;}
17568 { (exit 1); exit 1; }; }
17570 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17575 ac_cv_sizeof_long_long
=0
17578 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17579 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17580 cat >>confdefs.h
<<_ACEOF
17581 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17585 if test "$ac_cv_sizeof_long_long" != "0"; then
17586 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17590 echo "$as_me:$LINENO: checking for long long" >&5
17591 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17592 if test "${ac_cv_type_long_long+set}" = set; then
17593 echo $ECHO_N "(cached) $ECHO_C" >&6
17595 cat >conftest.
$ac_ext <<_ACEOF
17598 cat confdefs.h
>>conftest.
$ac_ext
17599 cat >>conftest.
$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17601 $ac_includes_default
17605 if ((long long *) 0)
17607 if (sizeof (long long))
17613 rm -f conftest.
$ac_objext
17614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17615 (eval $ac_compile) 2>conftest.er1
17617 grep -v '^ *+' conftest.er1
>conftest.err
17619 cat conftest.err
>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); } &&
17622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17624 (eval $ac_try) 2>&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); }; } &&
17628 { ac_try
='test -s conftest.$ac_objext'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; }; then
17634 ac_cv_type_long_long
=yes
17636 echo "$as_me: failed program was:" >&5
17637 sed 's/^/| /' conftest.
$ac_ext >&5
17639 ac_cv_type_long_long
=no
17641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17643 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17644 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17646 echo "$as_me:$LINENO: checking size of long long" >&5
17647 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17648 if test "${ac_cv_sizeof_long_long+set}" = set; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 if test "$ac_cv_type_long_long" = yes; then
17652 # The cast to unsigned long works around a bug in the HP C Compiler
17653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17655 # This bug is HP SR number 8606223364.
17656 if test "$cross_compiling" = yes; then
17657 # Depending upon the size, compute the lo and hi bounds.
17658 cat >conftest.
$ac_ext <<_ACEOF
17661 cat confdefs.h
>>conftest.
$ac_ext
17662 cat >>conftest.
$ac_ext <<_ACEOF
17663 /* end confdefs.h. */
17664 $ac_includes_default
17668 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17675 rm -f conftest.
$ac_objext
17676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17677 (eval $ac_compile) 2>conftest.er1
17679 grep -v '^ *+' conftest.er1
>conftest.err
17681 cat conftest.err
>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } &&
17684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; } &&
17690 { ac_try
='test -s conftest.$ac_objext'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17698 cat >conftest.
$ac_ext <<_ACEOF
17701 cat confdefs.h
>>conftest.
$ac_ext
17702 cat >>conftest.
$ac_ext <<_ACEOF
17703 /* end confdefs.h. */
17704 $ac_includes_default
17708 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17715 rm -f conftest.
$ac_objext
17716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17717 (eval $ac_compile) 2>conftest.er1
17719 grep -v '^ *+' conftest.er1
>conftest.err
17721 cat conftest.err
>&5
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); } &&
17724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 (eval $ac_try) 2>&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); }; } &&
17730 { ac_try
='test -s conftest.$ac_objext'
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; }; then
17736 ac_hi
=$ac_mid; break
17738 echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.
$ac_ext >&5
17741 ac_lo
=`expr $ac_mid + 1`
17742 if test $ac_lo -le $ac_mid; then
17746 ac_mid
=`expr 2 '*' $ac_mid + 1`
17748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.
$ac_ext >&5
17754 cat >conftest.
$ac_ext <<_ACEOF
17757 cat confdefs.h
>>conftest.
$ac_ext
17758 cat >>conftest.
$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17760 $ac_includes_default
17764 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17771 rm -f conftest.
$ac_objext
17772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17773 (eval $ac_compile) 2>conftest.er1
17775 grep -v '^ *+' conftest.er1
>conftest.err
17777 cat conftest.err
>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } &&
17780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; } &&
17786 { ac_try
='test -s conftest.$ac_objext'
17787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17788 (eval $ac_try) 2>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }; }; then
17794 cat >conftest.
$ac_ext <<_ACEOF
17797 cat confdefs.h
>>conftest.
$ac_ext
17798 cat >>conftest.
$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800 $ac_includes_default
17804 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17811 rm -f conftest.
$ac_objext
17812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17813 (eval $ac_compile) 2>conftest.er1
17815 grep -v '^ *+' conftest.er1
>conftest.err
17817 cat conftest.err
>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } &&
17820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; } &&
17826 { ac_try
='test -s conftest.$ac_objext'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; }; then
17832 ac_lo
=$ac_mid; break
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.
$ac_ext >&5
17837 ac_hi
=`expr '(' $ac_mid ')' - 1`
17838 if test $ac_mid -le $ac_hi; then
17842 ac_mid
=`expr 2 '*' $ac_mid`
17844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.
$ac_ext >&5
17852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17855 # Binary search between lo and hi bounds.
17856 while test "x$ac_lo" != "x$ac_hi"; do
17857 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17858 cat >conftest.
$ac_ext <<_ACEOF
17861 cat confdefs.h
>>conftest.
$ac_ext
17862 cat >>conftest.
$ac_ext <<_ACEOF
17863 /* end confdefs.h. */
17864 $ac_includes_default
17868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17875 rm -f conftest.
$ac_objext
17876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17877 (eval $ac_compile) 2>conftest.er1
17879 grep -v '^ *+' conftest.er1
>conftest.err
17881 cat conftest.err
>&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } &&
17884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try
='test -s conftest.$ac_objext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.
$ac_ext >&5
17901 ac_lo
=`expr '(' $ac_mid ')' + 1`
17903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17906 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17907 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17908 See \`config.log' for more details." >&5
17909 echo "$as_me: error: cannot compute sizeof (long long), 77
17910 See \`config.log' for more details." >&2;}
17911 { (exit 1); exit 1; }; } ;;
17914 if test "$cross_compiling" = yes; then
17915 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17916 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17917 { (exit 1); exit 1; }; }
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
17926 long longval () { return (long) (sizeof (long long)); }
17927 unsigned long ulongval () { return (long) (sizeof (long long)); }
17929 #include <stdlib.h>
17934 FILE *f = fopen ("conftest.val", "w");
17937 if (((long) (sizeof (long long))) < 0)
17939 long i = longval ();
17940 if (i != ((long) (sizeof (long long))))
17942 fprintf (f, "%ld\n", i);
17946 unsigned long i = ulongval ();
17947 if (i != ((long) (sizeof (long long))))
17949 fprintf (f, "%lu\n", i);
17951 exit (ferror (f) || fclose (f) != 0);
17957 rm -f conftest
$ac_exeext
17958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17959 (eval $ac_link) 2>&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; }; then
17968 ac_cv_sizeof_long_long
=`cat conftest.val`
17970 echo "$as_me: program exited with status $ac_status" >&5
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.
$ac_ext >&5
17974 ( exit $ac_status )
17975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17976 See \`config.log' for more details." >&5
17977 echo "$as_me: error: cannot compute sizeof (long long), 77
17978 See \`config.log' for more details." >&2;}
17979 { (exit 1); exit 1; }; }
17981 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17986 ac_cv_sizeof_long_long
=0
17989 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17990 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17991 cat >>confdefs.h
<<_ACEOF
17992 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17998 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17999 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18000 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18001 echo $ECHO_N "(cached) $ECHO_C" >&6
18004 if test "$cross_compiling" = yes; then
18008 wx_cv_sizeof_wchar_t
=0
18011 wx_cv_sizeof_wchar_t
=4
18017 cat >conftest.
$ac_ext <<_ACEOF
18020 cat confdefs.h
>>conftest.
$ac_ext
18021 cat >>conftest.
$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18024 /* DJGPP only has fake wchar_t: */
18026 # error "fake wchar_t"
18028 #ifdef HAVE_WCHAR_H
18030 # include <stddef.h>
18032 # include <wchar.h>
18034 #ifdef HAVE_STDLIB_H
18035 # include <stdlib.h>
18040 FILE *f=fopen("conftestval", "w");
18042 fprintf(f, "%i", sizeof(wchar_t));
18047 rm -f conftest
$ac_exeext
18048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18049 (eval $ac_link) 2>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; }; then
18058 wx_cv_sizeof_wchar_t
=`cat conftestval`
18060 echo "$as_me: program exited with status $ac_status" >&5
18061 echo "$as_me: failed program was:" >&5
18062 sed 's/^/| /' conftest.
$ac_ext >&5
18064 ( exit $ac_status )
18065 wx_cv_sizeof_wchar_t
=0
18067 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18071 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18072 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18074 cat >>confdefs.h
<<_ACEOF
18075 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18079 # Check whether --enable-largefile or --disable-largefile was given.
18080 if test "${enable_largefile+set}" = set; then
18081 enableval
="$enable_largefile"
18084 if test "$enable_largefile" != no
; then
18087 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18088 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18089 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 cat >conftest.
$ac_ext <<_ACEOF
18096 cat confdefs.h
>>conftest.
$ac_ext
18097 cat >>conftest.
$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 #define _FILE_OFFSET_BITS 64
18100 #include <sys/types.h>
18105 unsigned int field: sizeof(off_t) == 8;
18112 rm -f conftest.
$ac_objext
18113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18114 (eval $ac_compile) 2>conftest.er1
18116 grep -v '^ *+' conftest.er1
>conftest.err
18118 cat conftest.err
>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); } &&
18121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18123 (eval $ac_try) 2>&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); }; } &&
18127 { ac_try
='test -s conftest.$ac_objext'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; }; then
18133 ac_cv_sys_file_offset_bits
=64
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.
$ac_ext >&5
18138 ac_cv_sys_file_offset_bits
=no
18140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18144 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18145 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18147 if test "$ac_cv_sys_file_offset_bits" != no
; then
18149 cat >>confdefs.h
<<_ACEOF
18150 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18155 if test "x$wx_largefile" != "xyes"; then
18157 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18158 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18159 if test "${ac_cv_sys_large_files+set}" = set; then
18160 echo $ECHO_N "(cached) $ECHO_C" >&6
18163 cat >conftest.
$ac_ext <<_ACEOF
18166 cat confdefs.h
>>conftest.
$ac_ext
18167 cat >>conftest.
$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18169 #define _LARGE_FILES 1
18170 #include <sys/types.h>
18175 unsigned int field: sizeof(off_t) == 8;
18182 rm -f conftest.
$ac_objext
18183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18184 (eval $ac_compile) 2>conftest.er1
18186 grep -v '^ *+' conftest.er1
>conftest.err
18188 cat conftest.err
>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); } &&
18191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); }; } &&
18197 { ac_try
='test -s conftest.$ac_objext'
18198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18199 (eval $ac_try) 2>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; }; then
18203 ac_cv_sys_large_files
=1
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.
$ac_ext >&5
18208 ac_cv_sys_large_files
=no
18210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18214 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18215 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18217 if test "$ac_cv_sys_large_files" != no
; then
18219 cat >>confdefs.h
<<_ACEOF
18220 #define _LARGE_FILES $ac_cv_sys_large_files
18227 echo "$as_me:$LINENO: checking if large file support is available" >&5
18228 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18229 if test "x$wx_largefile" = "xyes"; then
18230 cat >>confdefs.h
<<\_ACEOF
18231 #define HAVE_LARGEFILE_SUPPORT 1
18235 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18236 echo "${ECHO_T}$wx_largefile" >&6
18240 if test "x$wx_largefile" = "xyes"; then
18241 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18242 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18244 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18246 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18249 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18250 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18251 if test "${ac_cv_c_bigendian+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 ac_cv_c_bigendian
=unknown
18255 # See if sys/param.h defines the BYTE_ORDER macro.
18256 cat >conftest.
$ac_ext <<_ACEOF
18259 cat confdefs.h
>>conftest.
$ac_ext
18260 cat >>conftest.
$ac_ext <<_ACEOF
18261 /* end confdefs.h. */
18262 #include <sys/types.h>
18263 #include <sys/param.h>
18268 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18269 bogus endian macros
18275 rm -f conftest.
$ac_objext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18277 (eval $ac_compile) 2>conftest.er1
18279 grep -v '^ *+' conftest.er1
>conftest.err
18281 cat conftest.err
>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286 (eval $ac_try) 2>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); }; } &&
18290 { ac_try
='test -s conftest.$ac_objext'
18291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292 (eval $ac_try) 2>&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); }; }; then
18296 # It does; now see whether it defined to BIG_ENDIAN or not.
18297 cat >conftest.
$ac_ext <<_ACEOF
18300 cat confdefs.h
>>conftest.
$ac_ext
18301 cat >>conftest.
$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18303 #include <sys/types.h>
18304 #include <sys/param.h>
18309 #if BYTE_ORDER != BIG_ENDIAN
18316 rm -f conftest.
$ac_objext
18317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18318 (eval $ac_compile) 2>conftest.er1
18320 grep -v '^ *+' conftest.er1
>conftest.err
18322 cat conftest.err
>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } &&
18325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; } &&
18331 { ac_try
='test -s conftest.$ac_objext'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18337 ac_cv_c_bigendian
=yes
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.
$ac_ext >&5
18342 ac_cv_c_bigendian
=no
18344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.
$ac_ext >&5
18350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18351 if test $ac_cv_c_bigendian = unknown
; then
18352 if test "$cross_compiling" = yes; then
18353 ac_cv_c_bigendian
=unknown
18355 cat >conftest.
$ac_ext <<_ACEOF
18358 cat confdefs.h
>>conftest.
$ac_ext
18359 cat >>conftest.
$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18362 /* Are we little or big endian? From Harbison&Steele. */
18366 char c[sizeof (long)];
18369 exit (u.c[sizeof (long) - 1] == 1);
18372 rm -f conftest
$ac_exeext
18373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18374 (eval $ac_link) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18379 (eval $ac_try) 2>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; }; then
18383 ac_cv_c_bigendian
=no
18385 echo "$as_me: program exited with status $ac_status" >&5
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.
$ac_ext >&5
18389 ( exit $ac_status )
18390 ac_cv_c_bigendian
=yes
18392 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18396 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18397 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18398 if test $ac_cv_c_bigendian = unknown
; then
18399 { 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
18400 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;}
18402 if test $ac_cv_c_bigendian = yes; then
18403 cat >>confdefs.h
<<\_ACEOF
18404 #define WORDS_BIGENDIAN 1
18411 ac_cpp
='$CXXCPP $CPPFLAGS'
18412 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18413 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18414 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18415 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18416 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18417 if test -z "$CXXCPP"; then
18418 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18419 echo $ECHO_N "(cached) $ECHO_C" >&6
18421 # Double quotes because CXXCPP needs to be expanded
18422 for CXXCPP
in "$CXX -E" "/lib/cpp"
18424 ac_preproc_ok
=false
18425 for ac_cxx_preproc_warn_flag
in '' yes
18427 # Use a header file that comes with gcc, so configuring glibc
18428 # with a fresh cross-compiler works.
18429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18430 # <limits.h> exists even on freestanding compilers.
18431 # On the NeXT, cc -E runs the code through the compiler's parser,
18432 # not just through cpp. "Syntax error" is here to catch this case.
18433 cat >conftest.
$ac_ext <<_ACEOF
18436 cat confdefs.h
>>conftest.
$ac_ext
18437 cat >>conftest.
$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18440 # include <limits.h>
18442 # include <assert.h>
18446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18447 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18449 grep -v '^ *+' conftest.er1
>conftest.err
18451 cat conftest.err
>&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } >/dev
/null
; then
18454 if test -s conftest.err
; then
18455 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18456 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18463 if test -z "$ac_cpp_err"; then
18466 echo "$as_me: failed program was:" >&5
18467 sed 's/^/| /' conftest.
$ac_ext >&5
18469 # Broken: fails on valid input.
18472 rm -f conftest.err conftest.
$ac_ext
18474 # OK, works on sane cases. Now check whether non-existent headers
18475 # can be detected and how.
18476 cat >conftest.
$ac_ext <<_ACEOF
18479 cat confdefs.h
>>conftest.
$ac_ext
18480 cat >>conftest.
$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 #include <ac_nonexistent.h>
18484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18487 grep -v '^ *+' conftest.er1
>conftest.err
18489 cat conftest.err
>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } >/dev
/null
; then
18492 if test -s conftest.err
; then
18493 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18494 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18501 if test -z "$ac_cpp_err"; then
18502 # Broken: success on invalid input.
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.
$ac_ext >&5
18508 # Passes both tests.
18512 rm -f conftest.err conftest.
$ac_ext
18515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18516 rm -f conftest.err conftest.
$ac_ext
18517 if $ac_preproc_ok; then
18522 ac_cv_prog_CXXCPP
=$CXXCPP
18525 CXXCPP
=$ac_cv_prog_CXXCPP
18527 ac_cv_prog_CXXCPP
=$CXXCPP
18529 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18530 echo "${ECHO_T}$CXXCPP" >&6
18531 ac_preproc_ok
=false
18532 for ac_cxx_preproc_warn_flag
in '' yes
18534 # Use a header file that comes with gcc, so configuring glibc
18535 # with a fresh cross-compiler works.
18536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18537 # <limits.h> exists even on freestanding compilers.
18538 # On the NeXT, cc -E runs the code through the compiler's parser,
18539 # not just through cpp. "Syntax error" is here to catch this case.
18540 cat >conftest.
$ac_ext <<_ACEOF
18543 cat confdefs.h
>>conftest.
$ac_ext
18544 cat >>conftest.
$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18547 # include <limits.h>
18549 # include <assert.h>
18553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18554 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18556 grep -v '^ *+' conftest.er1
>conftest.err
18558 cat conftest.err
>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } >/dev
/null
; then
18561 if test -s conftest.err
; then
18562 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18563 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18570 if test -z "$ac_cpp_err"; then
18573 echo "$as_me: failed program was:" >&5
18574 sed 's/^/| /' conftest.
$ac_ext >&5
18576 # Broken: fails on valid input.
18579 rm -f conftest.err conftest.
$ac_ext
18581 # OK, works on sane cases. Now check whether non-existent headers
18582 # can be detected and how.
18583 cat >conftest.
$ac_ext <<_ACEOF
18586 cat confdefs.h
>>conftest.
$ac_ext
18587 cat >>conftest.
$ac_ext <<_ACEOF
18588 /* end confdefs.h. */
18589 #include <ac_nonexistent.h>
18591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18592 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18594 grep -v '^ *+' conftest.er1
>conftest.err
18596 cat conftest.err
>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); } >/dev
/null
; then
18599 if test -s conftest.err
; then
18600 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18601 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18608 if test -z "$ac_cpp_err"; then
18609 # Broken: success on invalid input.
18612 echo "$as_me: failed program was:" >&5
18613 sed 's/^/| /' conftest.
$ac_ext >&5
18615 # Passes both tests.
18619 rm -f conftest.err conftest.
$ac_ext
18622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18623 rm -f conftest.err conftest.
$ac_ext
18624 if $ac_preproc_ok; then
18627 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18628 See \`config.log' for more details." >&5
18629 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18630 See \`config.log' for more details." >&2;}
18631 { (exit 1); exit 1; }; }
18635 ac_cpp
='$CXXCPP $CPPFLAGS'
18636 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18637 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18638 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18645 ac_cpp
='$CXXCPP $CPPFLAGS'
18646 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18647 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18648 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18652 for ac_header
in iostream
18654 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18656 echo "$as_me:$LINENO: checking for $ac_header" >&5
18657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18664 # Is the header compilable?
18665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18667 cat >conftest.
$ac_ext <<_ACEOF
18670 cat confdefs.h
>>conftest.
$ac_ext
18671 cat >>conftest.
$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18673 $ac_includes_default
18674 #include <$ac_header>
18676 rm -f conftest.
$ac_objext
18677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18678 (eval $ac_compile) 2>conftest.er1
18680 grep -v '^ *+' conftest.er1
>conftest.err
18682 cat conftest.err
>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } &&
18685 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; } &&
18691 { ac_try
='test -s conftest.$ac_objext'
18692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18693 (eval $ac_try) 2>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); }; }; then
18697 ac_header_compiler
=yes
18699 echo "$as_me: failed program was:" >&5
18700 sed 's/^/| /' conftest.
$ac_ext >&5
18702 ac_header_compiler
=no
18704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18706 echo "${ECHO_T}$ac_header_compiler" >&6
18708 # Is the header present?
18709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18711 cat >conftest.
$ac_ext <<_ACEOF
18714 cat confdefs.h
>>conftest.
$ac_ext
18715 cat >>conftest.
$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 #include <$ac_header>
18719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18722 grep -v '^ *+' conftest.er1
>conftest.err
18724 cat conftest.err
>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } >/dev
/null
; then
18727 if test -s conftest.err
; then
18728 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18729 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18736 if test -z "$ac_cpp_err"; then
18737 ac_header_preproc
=yes
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.
$ac_ext >&5
18742 ac_header_preproc
=no
18744 rm -f conftest.err conftest.
$ac_ext
18745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18746 echo "${ECHO_T}$ac_header_preproc" >&6
18748 # So? What about this header?
18749 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18754 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18755 ac_header_preproc
=yes
18758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18762 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18763 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18764 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18765 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18767 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18768 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18769 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18772 ## ----------------------------------------- ##
18773 ## Report this to wx-dev@lists.wxwidgets.org ##
18774 ## ----------------------------------------- ##
18777 sed "s/^/$as_me: WARNING: /" >&2
18780 echo "$as_me:$LINENO: checking for $ac_header" >&5
18781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18783 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 eval "$as_ac_Header=\$ac_header_preproc"
18787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18792 cat >>confdefs.h
<<_ACEOF
18793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18801 if test "$ac_cv_header_iostream" = "yes" ; then
18804 cat >>confdefs.h
<<\_ACEOF
18805 #define wxUSE_IOSTREAMH 1
18811 ac_cpp
='$CPP $CPPFLAGS'
18812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18819 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18820 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18821 if test "${wx_cv_cpp_bool+set}" = set; then
18822 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 ac_cpp
='$CXXCPP $CPPFLAGS'
18829 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18830 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18831 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18834 cat >conftest.
$ac_ext <<_ACEOF
18837 cat confdefs.h
>>conftest.
$ac_ext
18838 cat >>conftest.
$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18854 rm -f conftest.
$ac_objext
18855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18856 (eval $ac_compile) 2>conftest.er1
18858 grep -v '^ *+' conftest.er1
>conftest.err
18860 cat conftest.err
>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } &&
18863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; } &&
18869 { ac_try
='test -s conftest.$ac_objext'
18870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18871 (eval $ac_try) 2>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; }; then
18879 echo "$as_me: failed program was:" >&5
18880 sed 's/^/| /' conftest.
$ac_ext >&5
18887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18890 ac_cpp
='$CPP $CPPFLAGS'
18891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18897 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18898 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18900 if test "$wx_cv_cpp_bool" = "yes"; then
18901 cat >>confdefs.h
<<\_ACEOF
18902 #define HAVE_BOOL 1
18909 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18910 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18911 if test "${wx_cv_explicit+set}" = set; then
18912 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 ac_cpp
='$CXXCPP $CPPFLAGS'
18919 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18920 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18924 cat >conftest.
$ac_ext <<_ACEOF
18927 cat confdefs.h
>>conftest.
$ac_ext
18928 cat >>conftest.
$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18931 class Foo { public: explicit Foo(int) {} };
18943 rm -f conftest.
$ac_objext
18944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18945 (eval $ac_compile) 2>conftest.er1
18947 grep -v '^ *+' conftest.er1
>conftest.err
18949 cat conftest.err
>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } &&
18952 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try
='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18965 cat >conftest.
$ac_ext <<_ACEOF
18968 cat confdefs.h
>>conftest.
$ac_ext
18969 cat >>conftest.
$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18972 class Foo { public: explicit Foo(int) {} };
18973 static void TakeFoo(const Foo& foo) { }
18986 rm -f conftest.
$ac_objext
18987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18988 (eval $ac_compile) 2>conftest.er1
18990 grep -v '^ *+' conftest.er1
>conftest.err
18992 cat conftest.err
>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } &&
18995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18997 (eval $ac_try) 2>&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); }; } &&
19001 { ac_try
='test -s conftest.$ac_objext'
19002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003 (eval $ac_try) 2>&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; }; then
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.
$ac_ext >&5
19015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.
$ac_ext >&5
19024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19027 ac_cpp
='$CPP $CPPFLAGS'
19028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19034 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19035 echo "${ECHO_T}$wx_cv_explicit" >&6
19037 if test "$wx_cv_explicit" = "yes"; then
19038 cat >>confdefs.h
<<\_ACEOF
19039 #define HAVE_EXPLICIT 1
19045 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19046 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19047 if test "${ac_cv_cxx_const_cast+set}" = set; then
19048 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 ac_cpp
='$CXXCPP $CPPFLAGS'
19054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19058 cat >conftest.
$ac_ext <<_ACEOF
19061 cat confdefs.h
>>conftest.
$ac_ext
19062 cat >>conftest.
$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19068 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19073 rm -f conftest.
$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075 (eval $ac_compile) 2>conftest.er1
19077 grep -v '^ *+' conftest.er1
>conftest.err
19079 cat conftest.err
>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try
='test -s conftest.$ac_objext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19094 ac_cv_cxx_const_cast
=yes
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.
$ac_ext >&5
19099 ac_cv_cxx_const_cast
=no
19101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19103 ac_cpp
='$CPP $CPPFLAGS'
19104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19110 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19111 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19112 if test "$ac_cv_cxx_const_cast" = yes; then
19114 cat >>confdefs.h
<<\_ACEOF
19115 #define HAVE_CONST_CAST
19120 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19121 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19122 if test "${ac_cv_cxx_static_cast+set}" = set; then
19123 echo $ECHO_N "(cached) $ECHO_C" >&6
19128 ac_cpp
='$CXXCPP $CPPFLAGS'
19129 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19130 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19131 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19133 cat >conftest.
$ac_ext <<_ACEOF
19136 cat confdefs.h
>>conftest.
$ac_ext
19137 cat >>conftest.
$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <typeinfo>
19140 class Base { public : Base () {} virtual void f () = 0; };
19141 class Derived : public Base { public : Derived () {} virtual void f () {} };
19142 int g (Derived&) { return 0; }
19147 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19152 rm -f conftest.
$ac_objext
19153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19154 (eval $ac_compile) 2>conftest.er1
19156 grep -v '^ *+' conftest.er1
>conftest.err
19158 cat conftest.err
>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } &&
19161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19167 { ac_try
='test -s conftest.$ac_objext'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; }; then
19173 ac_cv_cxx_static_cast
=yes
19175 echo "$as_me: failed program was:" >&5
19176 sed 's/^/| /' conftest.
$ac_ext >&5
19178 ac_cv_cxx_static_cast
=no
19180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19182 ac_cpp
='$CPP $CPPFLAGS'
19183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19189 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19190 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19191 if test "$ac_cv_cxx_static_cast" = yes; then
19193 cat >>confdefs.h
<<\_ACEOF
19194 #define HAVE_STATIC_CAST
19200 if test "$wxUSE_STL" = "yes"; then
19202 ac_cpp
='$CXXCPP $CPPFLAGS'
19203 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19204 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19205 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19208 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19209 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19217 #include <functional>
19218 #include <algorithm>
19224 std::vector<int> moo;
19225 std::list<int> foo;
19226 std::vector<int>::iterator it =
19227 std::find_if(moo.begin(), moo.end(),
19228 std::bind2nd(std::less<int>(), 3));
19233 rm -f conftest.
$ac_objext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235 (eval $ac_compile) 2>conftest.er1
19237 grep -v '^ *+' conftest.er1
>conftest.err
19239 cat conftest.err
>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; } &&
19248 { ac_try
='test -s conftest.$ac_objext'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; }; then
19254 echo "$as_me:$LINENO: result: yes" >&5
19255 echo "${ECHO_T}yes" >&6
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.
$ac_ext >&5
19260 echo "$as_me:$LINENO: result: no" >&5
19261 echo "${ECHO_T}no" >&6
19262 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19263 echo "$as_me: error: Basic STL functionality missing" >&2;}
19264 { (exit 1); exit 1; }; }
19266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19268 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19269 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19270 cat >conftest.
$ac_ext <<_ACEOF
19273 cat confdefs.h
>>conftest.
$ac_ext
19274 cat >>conftest.
$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19285 rm -f conftest.
$ac_objext
19286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19287 (eval $ac_compile) 2>conftest.er1
19289 grep -v '^ *+' conftest.er1
>conftest.err
19291 cat conftest.err
>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } &&
19294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; } &&
19300 { ac_try
='test -s conftest.$ac_objext'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19306 echo "$as_me:$LINENO: result: yes" >&5
19307 echo "${ECHO_T}yes" >&6
19308 cat >>confdefs.h
<<\_ACEOF
19309 #define HAVE_STD_WSTRING 1
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.
$ac_ext >&5
19316 echo "$as_me:$LINENO: result: no" >&5
19317 echo "${ECHO_T}no" >&6
19319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19321 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19322 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19323 cat >conftest.
$ac_ext <<_ACEOF
19326 cat confdefs.h
>>conftest.
$ac_ext
19327 cat >>conftest.
$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19333 std::string foo, bar;
19335 foo.compare(1, 1, bar);
19336 foo.compare(1, 1, bar, 1, 1);
19338 foo.compare(1, 1, "");
19339 foo.compare(1, 1, "", 2);
19344 rm -f conftest.
$ac_objext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19346 (eval $ac_compile) 2>conftest.er1
19348 grep -v '^ *+' conftest.er1
>conftest.err
19350 cat conftest.err
>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; } &&
19359 { ac_try
='test -s conftest.$ac_objext'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; }; then
19365 echo "$as_me:$LINENO: result: yes" >&5
19366 echo "${ECHO_T}yes" >&6
19367 cat >>confdefs.h
<<\_ACEOF
19368 #define HAVE_STD_STRING_COMPARE 1
19372 echo "$as_me: failed program was:" >&5
19373 sed 's/^/| /' conftest.
$ac_ext >&5
19375 echo "$as_me:$LINENO: result: no" >&5
19376 echo "${ECHO_T}no" >&6
19378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19380 if test "${ac_cv_header_hash_map+set}" = set; then
19381 echo "$as_me:$LINENO: checking for hash_map" >&5
19382 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19383 if test "${ac_cv_header_hash_map+set}" = set; then
19384 echo $ECHO_N "(cached) $ECHO_C" >&6
19386 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19387 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19389 # Is the header compilable?
19390 echo "$as_me:$LINENO: checking hash_map usability" >&5
19391 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19392 cat >conftest.
$ac_ext <<_ACEOF
19395 cat confdefs.h
>>conftest.
$ac_ext
19396 cat >>conftest.
$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 $ac_includes_default
19399 #include <hash_map>
19401 rm -f conftest.
$ac_objext
19402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19403 (eval $ac_compile) 2>conftest.er1
19405 grep -v '^ *+' conftest.er1
>conftest.err
19407 cat conftest.err
>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); } &&
19410 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; } &&
19416 { ac_try
='test -s conftest.$ac_objext'
19417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19418 (eval $ac_try) 2>&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); }; }; then
19422 ac_header_compiler
=yes
19424 echo "$as_me: failed program was:" >&5
19425 sed 's/^/| /' conftest.
$ac_ext >&5
19427 ac_header_compiler
=no
19429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19431 echo "${ECHO_T}$ac_header_compiler" >&6
19433 # Is the header present?
19434 echo "$as_me:$LINENO: checking hash_map presence" >&5
19435 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19436 cat >conftest.
$ac_ext <<_ACEOF
19439 cat confdefs.h
>>conftest.
$ac_ext
19440 cat >>conftest.
$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19442 #include <hash_map>
19444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19445 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19447 grep -v '^ *+' conftest.er1
>conftest.err
19449 cat conftest.err
>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } >/dev
/null
; then
19452 if test -s conftest.err
; then
19453 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19454 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19461 if test -z "$ac_cpp_err"; then
19462 ac_header_preproc
=yes
19464 echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.
$ac_ext >&5
19467 ac_header_preproc
=no
19469 rm -f conftest.err conftest.
$ac_ext
19470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19471 echo "${ECHO_T}$ac_header_preproc" >&6
19473 # So? What about this header?
19474 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19476 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19477 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19478 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19479 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19480 ac_header_preproc
=yes
19483 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19484 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19485 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19486 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19487 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19488 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19489 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19490 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19491 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19492 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19493 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19494 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19497 ## ----------------------------------------- ##
19498 ## Report this to wx-dev@lists.wxwidgets.org ##
19499 ## ----------------------------------------- ##
19502 sed "s/^/$as_me: WARNING: /" >&2
19505 echo "$as_me:$LINENO: checking for hash_map" >&5
19506 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19507 if test "${ac_cv_header_hash_map+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 ac_cv_header_hash_map
=$ac_header_preproc
19512 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19513 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19516 if test $ac_cv_header_hash_map = yes; then
19517 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19518 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19519 cat >conftest.
$ac_ext <<_ACEOF
19522 cat confdefs.h
>>conftest.
$ac_ext
19523 cat >>conftest.
$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 #include <hash_map>
19526 #include <hash_set>
19530 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19531 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19536 rm -f conftest.
$ac_objext
19537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19538 (eval $ac_compile) 2>conftest.er1
19540 grep -v '^ *+' conftest.er1
>conftest.err
19542 cat conftest.err
>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } &&
19545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; } &&
19551 { ac_try
='test -s conftest.$ac_objext'
19552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19553 (eval $ac_try) 2>&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); }; }; then
19557 echo "$as_me:$LINENO: result: yes" >&5
19558 echo "${ECHO_T}yes" >&6
19559 cat >>confdefs.h
<<\_ACEOF
19560 #define HAVE_HASH_MAP 1
19563 cat >>confdefs.h
<<\_ACEOF
19564 #define HAVE_STD_HASH_MAP 1
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.
$ac_ext >&5
19571 echo "$as_me:$LINENO: result: no" >&5
19572 echo "${ECHO_T}no" >&6
19574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19580 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19581 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19582 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19583 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19586 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19587 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19589 # Is the header compilable?
19590 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19591 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19592 cat >conftest.
$ac_ext <<_ACEOF
19595 cat confdefs.h
>>conftest.
$ac_ext
19596 cat >>conftest.
$ac_ext <<_ACEOF
19597 /* end confdefs.h. */
19598 $ac_includes_default
19599 #include <ext/hash_map>
19601 rm -f conftest.
$ac_objext
19602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19603 (eval $ac_compile) 2>conftest.er1
19605 grep -v '^ *+' conftest.er1
>conftest.err
19607 cat conftest.err
>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); } &&
19610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; } &&
19616 { ac_try
='test -s conftest.$ac_objext'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; }; then
19622 ac_header_compiler
=yes
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.
$ac_ext >&5
19627 ac_header_compiler
=no
19629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19631 echo "${ECHO_T}$ac_header_compiler" >&6
19633 # Is the header present?
19634 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19635 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19636 cat >conftest.
$ac_ext <<_ACEOF
19639 cat confdefs.h
>>conftest.
$ac_ext
19640 cat >>conftest.
$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 #include <ext/hash_map>
19644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19645 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19647 grep -v '^ *+' conftest.er1
>conftest.err
19649 cat conftest.err
>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); } >/dev
/null
; then
19652 if test -s conftest.err
; then
19653 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19654 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19661 if test -z "$ac_cpp_err"; then
19662 ac_header_preproc
=yes
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.
$ac_ext >&5
19667 ac_header_preproc
=no
19669 rm -f conftest.err conftest.
$ac_ext
19670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19671 echo "${ECHO_T}$ac_header_preproc" >&6
19673 # So? What about this header?
19674 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19676 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19677 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19678 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19679 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19680 ac_header_preproc
=yes
19683 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19684 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19685 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19686 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19687 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19688 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19689 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19690 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19691 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19692 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19693 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19694 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19697 ## ----------------------------------------- ##
19698 ## Report this to wx-dev@lists.wxwidgets.org ##
19699 ## ----------------------------------------- ##
19702 sed "s/^/$as_me: WARNING: /" >&2
19705 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19706 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19707 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19708 echo $ECHO_N "(cached) $ECHO_C" >&6
19710 ac_cv_header_ext_hash_map
=$ac_header_preproc
19712 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19713 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19716 if test $ac_cv_header_ext_hash_map = yes; then
19717 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19718 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19719 cat >conftest.
$ac_ext <<_ACEOF
19722 cat confdefs.h
>>conftest.
$ac_ext
19723 cat >>conftest.
$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #include <ext/hash_map>
19726 #include <ext/hash_set>
19730 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19731 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19736 rm -f conftest.
$ac_objext
19737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19738 (eval $ac_compile) 2>conftest.er1
19740 grep -v '^ *+' conftest.er1
>conftest.err
19742 cat conftest.err
>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } &&
19745 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try
='test -s conftest.$ac_objext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 echo "$as_me:$LINENO: result: yes" >&5
19758 echo "${ECHO_T}yes" >&6
19759 cat >>confdefs.h
<<\_ACEOF
19760 #define HAVE_EXT_HASH_MAP 1
19763 cat >>confdefs.h
<<\_ACEOF
19764 #define HAVE_GNU_CXX_HASH_MAP 1
19768 echo "$as_me: failed program was:" >&5
19769 sed 's/^/| /' conftest.
$ac_ext >&5
19771 echo "$as_me:$LINENO: result: no" >&5
19772 echo "${ECHO_T}no" >&6
19774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19781 ac_cpp
='$CPP $CPPFLAGS'
19782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19790 /usr/local/include \
19792 /usr/Motif-2.1/include \
19793 /usr/Motif-1.2/include \
19794 /usr/include/Motif1.2 \
19795 /opt/xpm/include/X11 \
19796 /opt/GBxpm/include/ \
19797 /opt/GBxpm/X11/include/ \
19800 /usr/openwin/include \
19804 /usr/X11R6/include \
19805 /usr/X11R6.4/include \
19806 /usr/X11R5/include \
19807 /usr/X11R4/include \
19809 /usr/include/X11R6 \
19810 /usr/include/X11R5 \
19811 /usr/include/X11R4 \
19813 /usr/local/X11R6/include \
19814 /usr/local/X11R5/include \
19815 /usr/local/X11R4/include \
19817 /usr/local/include/X11R6 \
19818 /usr/local/include/X11R5 \
19819 /usr/local/include/X11R4 \
19823 /usr/local/X11/include \
19824 /usr/local/include/X11 \
19826 /usr/X386/include \
19827 /usr/x386/include \
19828 /usr/XFree86/include/X11 \
19830 X:/XFree86/include \
19831 X:/XFree86/include/X11 \
19834 /usr/local/include/gtk \
19835 /usr/include/glib \
19836 /usr/local/include/glib \
19839 /usr/local/include/qt \
19841 /usr/local/arm/3.3.2/include \
19843 /usr/include/windows \
19844 /usr/include/wine \
19845 /usr/local/include/wine \
19847 /usr/unsupported/include \
19848 /usr/athena/include \
19849 /usr/local/x11r5/include \
19850 /usr/lpp/Xamples/include \
19852 /usr/openwin/share/include"
19854 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19857 cat >confcache
<<\_ACEOF
19858 # This file is a shell script that caches the results of configure
19859 # tests run on this system so they can be shared between configure
19860 # scripts and configure runs, see configure's option --config-cache.
19861 # It is not useful on other systems. If it contains results you don't
19862 # want to keep, you may remove or edit it.
19864 # config.status only pays attention to the cache file if you give it
19865 # the --recheck option to rerun configure.
19867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19869 # following values.
19873 # The following way of writing the cache mishandles newlines in values,
19874 # but we know of no workaround that is simple, portable, and efficient.
19875 # So, don't put newlines in cache variables' values.
19876 # Ultrix sh set writes to stderr and can't be redirected directly,
19877 # and sets the high bit in the cache file unless we assign to the vars.
19880 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19882 # `set' does not quote correctly, so add quotes (double-quote
19883 # substitution turns \\\\ into \\, and sed turns \\ into \).
19886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19889 # `set' quotes correctly as required by POSIX, so do not add quotes.
19891 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19900 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19902 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19903 if test -w $cache_file; then
19904 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19905 cat confcache
>$cache_file
19907 echo "not updating unwritable cache $cache_file"
19912 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19913 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19914 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19915 if test "${wx_cv_lib_glibc21+set}" = set; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 cat >conftest.
$ac_ext <<_ACEOF
19922 cat confdefs.h
>>conftest.
$ac_ext
19923 cat >>conftest.
$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 #include <features.h>
19930 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19931 #error not glibc2.1
19938 rm -f conftest.
$ac_objext
19939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19940 (eval $ac_compile) 2>conftest.er1
19942 grep -v '^ *+' conftest.er1
>conftest.err
19944 cat conftest.err
>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } &&
19947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; } &&
19953 { ac_try
='test -s conftest.$ac_objext'
19954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955 (eval $ac_try) 2>&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; }; then
19960 wx_cv_lib_glibc21
=yes
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.
$ac_ext >&5
19967 wx_cv_lib_glibc21
=no
19971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19974 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19975 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19976 if test "$wx_cv_lib_glibc21" = "yes"; then
19977 cat >>confdefs.h
<<\_ACEOF
19978 #define wxHAVE_GLIBC2 1
19984 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19985 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19986 cat >>confdefs.h
<<\_ACEOF
19987 #define _GNU_SOURCE 1
19995 if test "$wxUSE_REGEX" != "no"; then
19996 cat >>confdefs.h
<<\_ACEOF
19997 #define wxUSE_REGEX 1
20001 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20002 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20003 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20004 wxUSE_REGEX
=builtin
20007 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20008 if test "${ac_cv_header_regex_h+set}" = set; then
20009 echo "$as_me:$LINENO: checking for regex.h" >&5
20010 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20011 if test "${ac_cv_header_regex_h+set}" = set; then
20012 echo $ECHO_N "(cached) $ECHO_C" >&6
20014 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20015 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20017 # Is the header compilable?
20018 echo "$as_me:$LINENO: checking regex.h usability" >&5
20019 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20020 cat >conftest.
$ac_ext <<_ACEOF
20023 cat confdefs.h
>>conftest.
$ac_ext
20024 cat >>conftest.
$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20026 $ac_includes_default
20029 rm -f conftest.
$ac_objext
20030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20031 (eval $ac_compile) 2>conftest.er1
20033 grep -v '^ *+' conftest.er1
>conftest.err
20035 cat conftest.err
>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } &&
20038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; } &&
20044 { ac_try
='test -s conftest.$ac_objext'
20045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046 (eval $ac_try) 2>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); }; }; then
20050 ac_header_compiler
=yes
20052 echo "$as_me: failed program was:" >&5
20053 sed 's/^/| /' conftest.
$ac_ext >&5
20055 ac_header_compiler
=no
20057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20059 echo "${ECHO_T}$ac_header_compiler" >&6
20061 # Is the header present?
20062 echo "$as_me:$LINENO: checking regex.h presence" >&5
20063 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20064 cat >conftest.
$ac_ext <<_ACEOF
20067 cat confdefs.h
>>conftest.
$ac_ext
20068 cat >>conftest.
$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20075 grep -v '^ *+' conftest.er1
>conftest.err
20077 cat conftest.err
>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } >/dev
/null
; then
20080 if test -s conftest.err
; then
20081 ac_cpp_err
=$ac_c_preproc_warn_flag
20082 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20089 if test -z "$ac_cpp_err"; then
20090 ac_header_preproc
=yes
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.
$ac_ext >&5
20095 ac_header_preproc
=no
20097 rm -f conftest.err conftest.
$ac_ext
20098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20099 echo "${ECHO_T}$ac_header_preproc" >&6
20101 # So? What about this header?
20102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20104 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20105 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20106 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20107 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20108 ac_header_preproc
=yes
20111 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20112 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20113 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20114 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20115 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20116 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20117 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20118 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20119 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20120 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20121 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20122 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20125 ## ----------------------------------------- ##
20126 ## Report this to wx-dev@lists.wxwidgets.org ##
20127 ## ----------------------------------------- ##
20130 sed "s/^/$as_me: WARNING: /" >&2
20133 echo "$as_me:$LINENO: checking for regex.h" >&5
20134 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20135 if test "${ac_cv_header_regex_h+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20138 ac_cv_header_regex_h
=$ac_header_preproc
20140 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20141 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20144 if test $ac_cv_header_regex_h = yes; then
20146 for ac_func
in regcomp
20148 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20149 echo "$as_me:$LINENO: checking for $ac_func" >&5
20150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20151 if eval "test \"\${$as_ac_var+set}\" = set"; then
20152 echo $ECHO_N "(cached) $ECHO_C" >&6
20154 cat >conftest.
$ac_ext <<_ACEOF
20157 cat confdefs.h
>>conftest.
$ac_ext
20158 cat >>conftest.
$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20162 #define $ac_func innocuous_$ac_func
20164 /* System header to define __stub macros and hopefully few prototypes,
20165 which can conflict with char $ac_func (); below.
20166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20167 <limits.h> exists even on freestanding compilers. */
20170 # include <limits.h>
20172 # include <assert.h>
20177 /* Override any gcc2 internal prototype to avoid an error. */
20182 /* We use char because int might match the return type of a gcc2
20183 builtin and then its argument prototype would still apply. */
20185 /* The GNU C library defines this for functions which it implements
20186 to always fail with ENOSYS. Some functions are actually named
20187 something starting with __ and the normal name is an alias. */
20188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20191 char (*f) () = $ac_func;
20200 return f != $ac_func;
20205 rm -f conftest.
$ac_objext conftest
$ac_exeext
20206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20207 (eval $ac_link) 2>conftest.er1
20209 grep -v '^ *+' conftest.er1
>conftest.err
20211 cat conftest.err
>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } &&
20214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20216 (eval $ac_try) 2>&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); }; } &&
20220 { ac_try
='test -s conftest$ac_exeext'
20221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222 (eval $ac_try) 2>&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); }; }; then
20226 eval "$as_ac_var=yes"
20228 echo "$as_me: failed program was:" >&5
20229 sed 's/^/| /' conftest.
$ac_ext >&5
20231 eval "$as_ac_var=no"
20233 rm -f conftest.err conftest.
$ac_objext \
20234 conftest
$ac_exeext conftest.
$ac_ext
20236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20238 if test `eval echo '${'$as_ac_var'}'` = yes; then
20239 cat >>confdefs.h
<<_ACEOF
20240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20250 if test "x$ac_cv_func_regcomp" != "xyes"; then
20251 if test "$wxUSE_REGEX" = "sys" ; then
20252 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20253 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20254 { (exit 1); exit 1; }; }
20256 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20257 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20258 wxUSE_REGEX
=builtin
20262 cat >>confdefs.h
<<\_ACEOF
20263 #define WX_NO_REGEX_ADVANCED 1
20272 if test "$wxUSE_ZLIB" != "no" ; then
20273 cat >>confdefs.h
<<\_ACEOF
20274 #define wxUSE_ZLIB 1
20278 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20279 if test "$USE_DARWIN" = 1; then
20280 system_zlib_h_ok
="yes"
20282 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20283 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20284 if test "${ac_cv_header_zlib_h+set}" = set; then
20285 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 if test "$cross_compiling" = yes; then
20288 unset ac_cv_header_zlib_h
20291 cat >conftest.
$ac_ext <<_ACEOF
20294 cat confdefs.h
>>conftest.
$ac_ext
20295 cat >>conftest.
$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20303 FILE *f=fopen("conftestval", "w");
20306 ZLIB_VERSION[0] == '1' &&
20307 (ZLIB_VERSION[2] > '1' ||
20308 (ZLIB_VERSION[2] == '1' &&
20309 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20314 rm -f conftest
$ac_exeext
20315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20316 (eval $ac_link) 2>&5
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; }; then
20325 ac_cv_header_zlib_h
=`cat conftestval`
20327 echo "$as_me: program exited with status $ac_status" >&5
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.
$ac_ext >&5
20331 ( exit $ac_status )
20332 ac_cv_header_zlib_h
=no
20334 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20338 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20339 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20340 if test "${ac_cv_header_zlib_h+set}" = set; then
20341 echo "$as_me:$LINENO: checking for zlib.h" >&5
20342 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20343 if test "${ac_cv_header_zlib_h+set}" = set; then
20344 echo $ECHO_N "(cached) $ECHO_C" >&6
20346 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20347 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20349 # Is the header compilable?
20350 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20351 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20352 cat >conftest.
$ac_ext <<_ACEOF
20355 cat confdefs.h
>>conftest.
$ac_ext
20356 cat >>conftest.
$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358 $ac_includes_default
20361 rm -f conftest.
$ac_objext
20362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20363 (eval $ac_compile) 2>conftest.er1
20365 grep -v '^ *+' conftest.er1
>conftest.err
20367 cat conftest.err
>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); } &&
20370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; } &&
20376 { ac_try
='test -s conftest.$ac_objext'
20377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378 (eval $ac_try) 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; }; then
20382 ac_header_compiler
=yes
20384 echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.
$ac_ext >&5
20387 ac_header_compiler
=no
20389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20391 echo "${ECHO_T}$ac_header_compiler" >&6
20393 # Is the header present?
20394 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20395 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20396 cat >conftest.
$ac_ext <<_ACEOF
20399 cat confdefs.h
>>conftest.
$ac_ext
20400 cat >>conftest.
$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20407 grep -v '^ *+' conftest.er1
>conftest.err
20409 cat conftest.err
>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } >/dev
/null
; then
20412 if test -s conftest.err
; then
20413 ac_cpp_err
=$ac_c_preproc_warn_flag
20414 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20421 if test -z "$ac_cpp_err"; then
20422 ac_header_preproc
=yes
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.
$ac_ext >&5
20427 ac_header_preproc
=no
20429 rm -f conftest.err conftest.
$ac_ext
20430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20431 echo "${ECHO_T}$ac_header_preproc" >&6
20433 # So? What about this header?
20434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20436 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20437 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20438 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20439 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20440 ac_header_preproc
=yes
20443 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20444 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20445 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20446 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20447 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20448 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20449 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20450 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20451 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20452 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20453 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20454 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20457 ## ----------------------------------------- ##
20458 ## Report this to wx-dev@lists.wxwidgets.org ##
20459 ## ----------------------------------------- ##
20462 sed "s/^/$as_me: WARNING: /" >&2
20465 echo "$as_me:$LINENO: checking for zlib.h" >&5
20466 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20467 if test "${ac_cv_header_zlib_h+set}" = set; then
20468 echo $ECHO_N "(cached) $ECHO_C" >&6
20470 ac_cv_header_zlib_h
=$ac_header_preproc
20472 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20473 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20479 system_zlib_h_ok
=$ac_cv_header_zlib_h
20482 if test "$system_zlib_h_ok" = "yes"; then
20483 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20484 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20485 if test "${ac_cv_lib_z_deflate+set}" = set; then
20486 echo $ECHO_N "(cached) $ECHO_C" >&6
20488 ac_check_lib_save_LIBS
=$LIBS
20490 cat >conftest.
$ac_ext <<_ACEOF
20493 cat confdefs.h
>>conftest.
$ac_ext
20494 cat >>conftest.
$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20497 /* Override any gcc2 internal prototype to avoid an error. */
20501 /* We use char because int might match the return type of a gcc2
20502 builtin and then its argument prototype would still apply. */
20512 rm -f conftest.
$ac_objext conftest
$ac_exeext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20514 (eval $ac_link) 2>conftest.er1
20516 grep -v '^ *+' conftest.er1
>conftest.err
20518 cat conftest.err
>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } &&
20521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20523 (eval $ac_try) 2>&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; } &&
20527 { ac_try
='test -s conftest$ac_exeext'
20528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20529 (eval $ac_try) 2>&5
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 ac_cv_lib_z_deflate
=yes
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.
$ac_ext >&5
20538 ac_cv_lib_z_deflate
=no
20540 rm -f conftest.err conftest.
$ac_objext \
20541 conftest
$ac_exeext conftest.
$ac_ext
20542 LIBS
=$ac_check_lib_save_LIBS
20544 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20545 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20546 if test $ac_cv_lib_z_deflate = yes; then
20552 if test "x$ZLIB_LINK" = "x" ; then
20553 if test "$wxUSE_ZLIB" = "sys" ; then
20554 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20555 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20556 { (exit 1); exit 1; }; }
20558 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20559 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20570 if test "$wxUSE_LIBPNG" != "no" ; then
20571 cat >>confdefs.h
<<\_ACEOF
20572 #define wxUSE_LIBPNG 1
20576 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20577 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20578 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20582 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20583 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20584 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20585 wxUSE_LIBPNG
=builtin
20588 if test "$wxUSE_MGL" != 1 ; then
20589 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20590 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20591 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20592 if test "${ac_cv_header_png_h+set}" = set; then
20593 echo $ECHO_N "(cached) $ECHO_C" >&6
20595 if test "$cross_compiling" = yes; then
20596 unset ac_cv_header_png_h
20599 cat >conftest.
$ac_ext <<_ACEOF
20602 cat confdefs.h
>>conftest.
$ac_ext
20603 cat >>conftest.
$ac_ext <<_ACEOF
20604 /* end confdefs.h. */
20611 FILE *f=fopen("conftestval", "w");
20614 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20619 rm -f conftest
$ac_exeext
20620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20621 (eval $ac_link) 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; }; then
20630 ac_cv_header_png_h
=`cat conftestval`
20632 echo "$as_me: program exited with status $ac_status" >&5
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.
$ac_ext >&5
20636 ( exit $ac_status )
20637 ac_cv_header_png_h
=no
20639 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20643 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20644 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20645 if test "${ac_cv_header_png_h+set}" = set; then
20646 echo "$as_me:$LINENO: checking for png.h" >&5
20647 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20648 if test "${ac_cv_header_png_h+set}" = set; then
20649 echo $ECHO_N "(cached) $ECHO_C" >&6
20651 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20652 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20654 # Is the header compilable?
20655 echo "$as_me:$LINENO: checking png.h usability" >&5
20656 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20657 cat >conftest.
$ac_ext <<_ACEOF
20660 cat confdefs.h
>>conftest.
$ac_ext
20661 cat >>conftest.
$ac_ext <<_ACEOF
20662 /* end confdefs.h. */
20663 $ac_includes_default
20666 rm -f conftest.
$ac_objext
20667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20668 (eval $ac_compile) 2>conftest.er1
20670 grep -v '^ *+' conftest.er1
>conftest.err
20672 cat conftest.err
>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); } &&
20675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677 (eval $ac_try) 2>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); }; } &&
20681 { ac_try
='test -s conftest.$ac_objext'
20682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20683 (eval $ac_try) 2>&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); }; }; then
20687 ac_header_compiler
=yes
20689 echo "$as_me: failed program was:" >&5
20690 sed 's/^/| /' conftest.
$ac_ext >&5
20692 ac_header_compiler
=no
20694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20696 echo "${ECHO_T}$ac_header_compiler" >&6
20698 # Is the header present?
20699 echo "$as_me:$LINENO: checking png.h presence" >&5
20700 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20701 cat >conftest.
$ac_ext <<_ACEOF
20704 cat confdefs.h
>>conftest.
$ac_ext
20705 cat >>conftest.
$ac_ext <<_ACEOF
20706 /* end confdefs.h. */
20709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20712 grep -v '^ *+' conftest.er1
>conftest.err
20714 cat conftest.err
>&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } >/dev
/null
; then
20717 if test -s conftest.err
; then
20718 ac_cpp_err
=$ac_c_preproc_warn_flag
20719 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20726 if test -z "$ac_cpp_err"; then
20727 ac_header_preproc
=yes
20729 echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.
$ac_ext >&5
20732 ac_header_preproc
=no
20734 rm -f conftest.err conftest.
$ac_ext
20735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20736 echo "${ECHO_T}$ac_header_preproc" >&6
20738 # So? What about this header?
20739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20741 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20742 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20743 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20744 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20745 ac_header_preproc
=yes
20748 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20749 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20750 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20751 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20752 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20753 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20754 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20755 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20756 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20757 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20758 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20759 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20762 ## ----------------------------------------- ##
20763 ## Report this to wx-dev@lists.wxwidgets.org ##
20764 ## ----------------------------------------- ##
20767 sed "s/^/$as_me: WARNING: /" >&2
20770 echo "$as_me:$LINENO: checking for png.h" >&5
20771 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20772 if test "${ac_cv_header_png_h+set}" = set; then
20773 echo $ECHO_N "(cached) $ECHO_C" >&6
20775 ac_cv_header_png_h
=$ac_header_preproc
20777 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20778 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20784 if test "$ac_cv_header_png_h" = "yes"; then
20785 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20786 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20787 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20790 ac_check_lib_save_LIBS
=$LIBS
20791 LIBS
="-lpng -lz -lm $LIBS"
20792 cat >conftest.
$ac_ext <<_ACEOF
20795 cat confdefs.h
>>conftest.
$ac_ext
20796 cat >>conftest.
$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20799 /* Override any gcc2 internal prototype to avoid an error. */
20803 /* We use char because int might match the return type of a gcc2
20804 builtin and then its argument prototype would still apply. */
20805 char png_check_sig ();
20814 rm -f conftest.
$ac_objext conftest
$ac_exeext
20815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20816 (eval $ac_link) 2>conftest.er1
20818 grep -v '^ *+' conftest.er1
>conftest.err
20820 cat conftest.err
>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } &&
20823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try
='test -s conftest$ac_exeext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20835 ac_cv_lib_png_png_check_sig
=yes
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.
$ac_ext >&5
20840 ac_cv_lib_png_png_check_sig
=no
20842 rm -f conftest.err conftest.
$ac_objext \
20843 conftest
$ac_exeext conftest.
$ac_ext
20844 LIBS
=$ac_check_lib_save_LIBS
20846 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20847 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20848 if test $ac_cv_lib_png_png_check_sig = yes; then
20849 PNG_LINK
=" -lpng -lz"
20854 if test "x$PNG_LINK" = "x" ; then
20855 if test "$wxUSE_LIBPNG" = "sys" ; then
20856 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20857 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20858 { (exit 1); exit 1; }; }
20860 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20861 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20862 wxUSE_LIBPNG
=builtin
20870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20875 if test "$wxUSE_LIBJPEG" != "no" ; then
20876 cat >>confdefs.h
<<\_ACEOF
20877 #define wxUSE_LIBJPEG 1
20881 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20882 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20883 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20887 if test "$wxUSE_MGL" != 1 ; then
20888 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20889 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20890 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20891 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20894 cat >conftest.
$ac_ext <<_ACEOF
20897 cat confdefs.h
>>conftest.
$ac_ext
20898 cat >>conftest.
$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20901 #undef HAVE_STDLIB_H
20903 #include <jpeglib.h>
20914 rm -f conftest.
$ac_objext
20915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20916 (eval $ac_compile) 2>conftest.er1
20918 grep -v '^ *+' conftest.er1
>conftest.err
20920 cat conftest.err
>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } &&
20923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; } &&
20929 { ac_try
='test -s conftest.$ac_objext'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; }; then
20935 ac_cv_header_jpeglib_h
=yes
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.
$ac_ext >&5
20940 ac_cv_header_jpeglib_h
=no
20943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20947 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20948 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20950 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20951 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20952 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20953 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20954 echo $ECHO_N "(cached) $ECHO_C" >&6
20956 ac_check_lib_save_LIBS
=$LIBS
20957 LIBS
="-ljpeg $LIBS"
20958 cat >conftest.
$ac_ext <<_ACEOF
20961 cat confdefs.h
>>conftest.
$ac_ext
20962 cat >>conftest.
$ac_ext <<_ACEOF
20963 /* end confdefs.h. */
20965 /* Override any gcc2 internal prototype to avoid an error. */
20969 /* We use char because int might match the return type of a gcc2
20970 builtin and then its argument prototype would still apply. */
20971 char jpeg_read_header ();
20975 jpeg_read_header ();
20980 rm -f conftest.
$ac_objext conftest
$ac_exeext
20981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20982 (eval $ac_link) 2>conftest.er1
20984 grep -v '^ *+' conftest.er1
>conftest.err
20986 cat conftest.err
>&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } &&
20989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991 (eval $ac_try) 2>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; } &&
20995 { ac_try
='test -s conftest$ac_exeext'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; }; then
21001 ac_cv_lib_jpeg_jpeg_read_header
=yes
21003 echo "$as_me: failed program was:" >&5
21004 sed 's/^/| /' conftest.
$ac_ext >&5
21006 ac_cv_lib_jpeg_jpeg_read_header
=no
21008 rm -f conftest.err conftest.
$ac_objext \
21009 conftest
$ac_exeext conftest.
$ac_ext
21010 LIBS
=$ac_check_lib_save_LIBS
21012 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21013 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21014 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21015 JPEG_LINK
=" -ljpeg"
21020 if test "x$JPEG_LINK" = "x" ; then
21021 if test "$wxUSE_LIBJPEG" = "sys" ; then
21022 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21023 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21024 { (exit 1); exit 1; }; }
21026 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21027 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21028 wxUSE_LIBJPEG
=builtin
21039 TIFF_PREREQ_LINKS
=-lm
21040 if test "$wxUSE_LIBTIFF" != "no" ; then
21041 cat >>confdefs.h
<<\_ACEOF
21042 #define wxUSE_LIBTIFF 1
21046 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21047 if test "$wxUSE_LIBJPEG" = "sys"; then
21048 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21050 if test "$wxUSE_ZLIB" = "sys"; then
21051 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21053 if test "${ac_cv_header_tiffio_h+set}" = set; then
21054 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21055 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21056 if test "${ac_cv_header_tiffio_h+set}" = set; then
21057 echo $ECHO_N "(cached) $ECHO_C" >&6
21059 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21060 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21062 # Is the header compilable?
21063 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21064 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21065 cat >conftest.
$ac_ext <<_ACEOF
21068 cat confdefs.h
>>conftest.
$ac_ext
21069 cat >>conftest.
$ac_ext <<_ACEOF
21070 /* end confdefs.h. */
21071 $ac_includes_default
21072 #include <tiffio.h>
21074 rm -f conftest.
$ac_objext
21075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21076 (eval $ac_compile) 2>conftest.er1
21078 grep -v '^ *+' conftest.er1
>conftest.err
21080 cat conftest.err
>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } &&
21083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; } &&
21089 { ac_try
='test -s conftest.$ac_objext'
21090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21091 (eval $ac_try) 2>&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); }; }; then
21095 ac_header_compiler
=yes
21097 echo "$as_me: failed program was:" >&5
21098 sed 's/^/| /' conftest.
$ac_ext >&5
21100 ac_header_compiler
=no
21102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21104 echo "${ECHO_T}$ac_header_compiler" >&6
21106 # Is the header present?
21107 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21108 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21109 cat >conftest.
$ac_ext <<_ACEOF
21112 cat confdefs.h
>>conftest.
$ac_ext
21113 cat >>conftest.
$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 #include <tiffio.h>
21117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21118 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21120 grep -v '^ *+' conftest.er1
>conftest.err
21122 cat conftest.err
>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); } >/dev
/null
; then
21125 if test -s conftest.err
; then
21126 ac_cpp_err
=$ac_c_preproc_warn_flag
21127 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21134 if test -z "$ac_cpp_err"; then
21135 ac_header_preproc
=yes
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.
$ac_ext >&5
21140 ac_header_preproc
=no
21142 rm -f conftest.err conftest.
$ac_ext
21143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21144 echo "${ECHO_T}$ac_header_preproc" >&6
21146 # So? What about this header?
21147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21149 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21150 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21151 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21152 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21153 ac_header_preproc
=yes
21156 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21157 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21158 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21159 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21160 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21161 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21162 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21163 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21164 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21165 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21166 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21167 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21170 ## ----------------------------------------- ##
21171 ## Report this to wx-dev@lists.wxwidgets.org ##
21172 ## ----------------------------------------- ##
21175 sed "s/^/$as_me: WARNING: /" >&2
21178 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21179 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21180 if test "${ac_cv_header_tiffio_h+set}" = set; then
21181 echo $ECHO_N "(cached) $ECHO_C" >&6
21183 ac_cv_header_tiffio_h
=$ac_header_preproc
21185 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21186 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21189 if test $ac_cv_header_tiffio_h = yes; then
21191 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21192 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21193 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21194 echo $ECHO_N "(cached) $ECHO_C" >&6
21196 ac_check_lib_save_LIBS
=$LIBS
21197 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21198 cat >conftest.
$ac_ext <<_ACEOF
21201 cat confdefs.h
>>conftest.
$ac_ext
21202 cat >>conftest.
$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21205 /* Override any gcc2 internal prototype to avoid an error. */
21209 /* We use char because int might match the return type of a gcc2
21210 builtin and then its argument prototype would still apply. */
21220 rm -f conftest.
$ac_objext conftest
$ac_exeext
21221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21222 (eval $ac_link) 2>conftest.er1
21224 grep -v '^ *+' conftest.er1
>conftest.err
21226 cat conftest.err
>&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } &&
21229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231 (eval $ac_try) 2>&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); }; } &&
21235 { ac_try
='test -s conftest$ac_exeext'
21236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21237 (eval $ac_try) 2>&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); }; }; then
21241 ac_cv_lib_tiff_TIFFError
=yes
21243 echo "$as_me: failed program was:" >&5
21244 sed 's/^/| /' conftest.
$ac_ext >&5
21246 ac_cv_lib_tiff_TIFFError
=no
21248 rm -f conftest.err conftest.
$ac_objext \
21249 conftest
$ac_exeext conftest.
$ac_ext
21250 LIBS
=$ac_check_lib_save_LIBS
21252 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21253 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21254 if test $ac_cv_lib_tiff_TIFFError = yes; then
21255 TIFF_LINK
=" -ltiff"
21264 if test "x$TIFF_LINK" = "x" ; then
21265 if test "$wxUSE_LIBTIFF" = "sys" ; then
21266 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21267 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21268 { (exit 1); exit 1; }; }
21270 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21271 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21272 wxUSE_LIBTIFF
=builtin
21281 if test "$wxUSE_EXPAT" != "no"; then
21283 cat >>confdefs.h
<<\_ACEOF
21284 #define wxUSE_EXPAT 1
21287 cat >>confdefs.h
<<\_ACEOF
21288 #define wxUSE_XML 1
21292 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21293 if test "${ac_cv_header_expat_h+set}" = set; then
21294 echo "$as_me:$LINENO: checking for expat.h" >&5
21295 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21296 if test "${ac_cv_header_expat_h+set}" = set; then
21297 echo $ECHO_N "(cached) $ECHO_C" >&6
21299 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21300 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21302 # Is the header compilable?
21303 echo "$as_me:$LINENO: checking expat.h usability" >&5
21304 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21305 cat >conftest.
$ac_ext <<_ACEOF
21308 cat confdefs.h
>>conftest.
$ac_ext
21309 cat >>conftest.
$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 $ac_includes_default
21314 rm -f conftest.
$ac_objext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21316 (eval $ac_compile) 2>conftest.er1
21318 grep -v '^ *+' conftest.er1
>conftest.err
21320 cat conftest.err
>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } &&
21323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21325 (eval $ac_try) 2>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); }; } &&
21329 { ac_try
='test -s conftest.$ac_objext'
21330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21331 (eval $ac_try) 2>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); }; }; then
21335 ac_header_compiler
=yes
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.
$ac_ext >&5
21340 ac_header_compiler
=no
21342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21344 echo "${ECHO_T}$ac_header_compiler" >&6
21346 # Is the header present?
21347 echo "$as_me:$LINENO: checking expat.h presence" >&5
21348 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21349 cat >conftest.
$ac_ext <<_ACEOF
21352 cat confdefs.h
>>conftest.
$ac_ext
21353 cat >>conftest.
$ac_ext <<_ACEOF
21354 /* end confdefs.h. */
21357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21360 grep -v '^ *+' conftest.er1
>conftest.err
21362 cat conftest.err
>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } >/dev
/null
; then
21365 if test -s conftest.err
; then
21366 ac_cpp_err
=$ac_c_preproc_warn_flag
21367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21374 if test -z "$ac_cpp_err"; then
21375 ac_header_preproc
=yes
21377 echo "$as_me: failed program was:" >&5
21378 sed 's/^/| /' conftest.
$ac_ext >&5
21380 ac_header_preproc
=no
21382 rm -f conftest.err conftest.
$ac_ext
21383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21384 echo "${ECHO_T}$ac_header_preproc" >&6
21386 # So? What about this header?
21387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21389 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21390 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21391 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21392 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21393 ac_header_preproc
=yes
21396 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21397 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21398 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21399 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21400 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21401 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21402 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21403 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21404 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21405 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21406 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21407 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21410 ## ----------------------------------------- ##
21411 ## Report this to wx-dev@lists.wxwidgets.org ##
21412 ## ----------------------------------------- ##
21415 sed "s/^/$as_me: WARNING: /" >&2
21418 echo "$as_me:$LINENO: checking for expat.h" >&5
21419 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21420 if test "${ac_cv_header_expat_h+set}" = set; then
21421 echo $ECHO_N "(cached) $ECHO_C" >&6
21423 ac_cv_header_expat_h
=$ac_header_preproc
21425 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21426 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21429 if test $ac_cv_header_expat_h = yes; then
21434 if test "x$found_expat_h" = "x1"; then
21435 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21436 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21437 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21444 ac_cpp
='$CXXCPP $CPPFLAGS'
21445 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21449 cat >conftest.
$ac_ext <<_ACEOF
21452 cat confdefs.h
>>conftest.
$ac_ext
21453 cat >>conftest.
$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21464 rm -f conftest.
$ac_objext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21466 (eval $ac_compile) 2>conftest.er1
21468 grep -v '^ *+' conftest.er1
>conftest.err
21470 cat conftest.err
>&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } &&
21473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; } &&
21479 { ac_try
='test -s conftest.$ac_objext'
21480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21481 (eval $ac_try) 2>&5
21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484 (exit $ac_status); }; }; then
21485 wx_cv_expat_is_not_broken
=yes
21487 echo "$as_me: failed program was:" >&5
21488 sed 's/^/| /' conftest.
$ac_ext >&5
21490 wx_cv_expat_is_not_broken
=no
21493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21495 ac_cpp
='$CPP $CPPFLAGS'
21496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21503 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21504 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21505 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21506 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21507 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21508 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21509 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 ac_check_lib_save_LIBS
=$LIBS
21512 LIBS
="-lexpat $LIBS"
21513 cat >conftest.
$ac_ext <<_ACEOF
21516 cat confdefs.h
>>conftest.
$ac_ext
21517 cat >>conftest.
$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21520 /* Override any gcc2 internal prototype to avoid an error. */
21524 /* We use char because int might match the return type of a gcc2
21525 builtin and then its argument prototype would still apply. */
21526 char XML_ParserCreate ();
21530 XML_ParserCreate ();
21535 rm -f conftest.
$ac_objext conftest
$ac_exeext
21536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21537 (eval $ac_link) 2>conftest.er1
21539 grep -v '^ *+' conftest.er1
>conftest.err
21541 cat conftest.err
>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); } &&
21544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21546 (eval $ac_try) 2>&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); }; } &&
21550 { ac_try
='test -s conftest$ac_exeext'
21551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21552 (eval $ac_try) 2>&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); }; }; then
21556 ac_cv_lib_expat_XML_ParserCreate
=yes
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.
$ac_ext >&5
21561 ac_cv_lib_expat_XML_ParserCreate
=no
21563 rm -f conftest.err conftest.
$ac_objext \
21564 conftest
$ac_exeext conftest.
$ac_ext
21565 LIBS
=$ac_check_lib_save_LIBS
21567 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21568 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21569 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21570 EXPAT_LINK
=" -lexpat"
21575 if test "x$EXPAT_LINK" = "x" ; then
21576 if test "$wxUSE_EXPAT" = "sys" ; then
21577 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21578 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21579 { (exit 1); exit 1; }; }
21581 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21582 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21583 wxUSE_EXPAT
=builtin
21589 if test "$wxUSE_EXPAT" = "builtin" ; then
21592 subdirs
="$subdirs src/expat"
21599 if test "$wxUSE_LIBMSPACK" != "no"; then
21601 if test "${ac_cv_header_mspack_h+set}" = set; then
21602 echo "$as_me:$LINENO: checking for mspack.h" >&5
21603 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21604 if test "${ac_cv_header_mspack_h+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21607 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21608 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21610 # Is the header compilable?
21611 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21612 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21613 cat >conftest.
$ac_ext <<_ACEOF
21616 cat confdefs.h
>>conftest.
$ac_ext
21617 cat >>conftest.
$ac_ext <<_ACEOF
21618 /* end confdefs.h. */
21619 $ac_includes_default
21620 #include <mspack.h>
21622 rm -f conftest.
$ac_objext
21623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21624 (eval $ac_compile) 2>conftest.er1
21626 grep -v '^ *+' conftest.er1
>conftest.err
21628 cat conftest.err
>&5
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); } &&
21631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21633 (eval $ac_try) 2>&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); }; } &&
21637 { ac_try
='test -s conftest.$ac_objext'
21638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21639 (eval $ac_try) 2>&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); }; }; then
21643 ac_header_compiler
=yes
21645 echo "$as_me: failed program was:" >&5
21646 sed 's/^/| /' conftest.
$ac_ext >&5
21648 ac_header_compiler
=no
21650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21652 echo "${ECHO_T}$ac_header_compiler" >&6
21654 # Is the header present?
21655 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21656 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21657 cat >conftest.
$ac_ext <<_ACEOF
21660 cat confdefs.h
>>conftest.
$ac_ext
21661 cat >>conftest.
$ac_ext <<_ACEOF
21662 /* end confdefs.h. */
21663 #include <mspack.h>
21665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21668 grep -v '^ *+' conftest.er1
>conftest.err
21670 cat conftest.err
>&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } >/dev
/null
; then
21673 if test -s conftest.err
; then
21674 ac_cpp_err
=$ac_c_preproc_warn_flag
21675 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21682 if test -z "$ac_cpp_err"; then
21683 ac_header_preproc
=yes
21685 echo "$as_me: failed program was:" >&5
21686 sed 's/^/| /' conftest.
$ac_ext >&5
21688 ac_header_preproc
=no
21690 rm -f conftest.err conftest.
$ac_ext
21691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21692 echo "${ECHO_T}$ac_header_preproc" >&6
21694 # So? What about this header?
21695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21697 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21698 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21699 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21700 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21701 ac_header_preproc
=yes
21704 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21705 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21706 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21707 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21708 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21709 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21710 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21711 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21712 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21713 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21714 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21715 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21718 ## ----------------------------------------- ##
21719 ## Report this to wx-dev@lists.wxwidgets.org ##
21720 ## ----------------------------------------- ##
21723 sed "s/^/$as_me: WARNING: /" >&2
21726 echo "$as_me:$LINENO: checking for mspack.h" >&5
21727 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21728 if test "${ac_cv_header_mspack_h+set}" = set; then
21729 echo $ECHO_N "(cached) $ECHO_C" >&6
21731 ac_cv_header_mspack_h
=$ac_header_preproc
21733 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21734 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21737 if test $ac_cv_header_mspack_h = yes; then
21742 if test "x$found_mspack_h" = "x1"; then
21743 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21744 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21745 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21746 echo $ECHO_N "(cached) $ECHO_C" >&6
21748 ac_check_lib_save_LIBS
=$LIBS
21749 LIBS
="-lmspack $LIBS"
21750 cat >conftest.
$ac_ext <<_ACEOF
21753 cat confdefs.h
>>conftest.
$ac_ext
21754 cat >>conftest.
$ac_ext <<_ACEOF
21755 /* end confdefs.h. */
21757 /* Override any gcc2 internal prototype to avoid an error. */
21761 /* We use char because int might match the return type of a gcc2
21762 builtin and then its argument prototype would still apply. */
21763 char mspack_create_chm_decompressor ();
21767 mspack_create_chm_decompressor ();
21772 rm -f conftest.
$ac_objext conftest
$ac_exeext
21773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21774 (eval $ac_link) 2>conftest.er1
21776 grep -v '^ *+' conftest.er1
>conftest.err
21778 cat conftest.err
>&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } &&
21781 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21783 (eval $ac_try) 2>&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); }; } &&
21787 { ac_try
='test -s conftest$ac_exeext'
21788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21789 (eval $ac_try) 2>&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; }; then
21793 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21795 echo "$as_me: failed program was:" >&5
21796 sed 's/^/| /' conftest.
$ac_ext >&5
21798 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21800 rm -f conftest.err conftest.
$ac_objext \
21801 conftest
$ac_exeext conftest.
$ac_ext
21802 LIBS
=$ac_check_lib_save_LIBS
21804 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21805 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21806 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21807 MSPACK_LINK
=" -lmspack"
21811 if test "x$MSPACK_LINK" = "x" ; then
21814 cat >>confdefs.h
<<\_ACEOF
21815 #define wxUSE_LIBMSPACK 1
21830 if test "$USE_WIN32" = 1 ; then
21832 for ac_header
in w32api.h
21834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21836 echo "$as_me:$LINENO: checking for $ac_header" >&5
21837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21839 echo $ECHO_N "(cached) $ECHO_C" >&6
21841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21844 # Is the header compilable?
21845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21847 cat >conftest.
$ac_ext <<_ACEOF
21850 cat confdefs.h
>>conftest.
$ac_ext
21851 cat >>conftest.
$ac_ext <<_ACEOF
21852 /* end confdefs.h. */
21853 $ac_includes_default
21854 #include <$ac_header>
21856 rm -f conftest.
$ac_objext
21857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21858 (eval $ac_compile) 2>conftest.er1
21860 grep -v '^ *+' conftest.er1
>conftest.err
21862 cat conftest.err
>&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); } &&
21865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867 (eval $ac_try) 2>&5
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); }; } &&
21871 { ac_try
='test -s conftest.$ac_objext'
21872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873 (eval $ac_try) 2>&5
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); }; }; then
21877 ac_header_compiler
=yes
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.
$ac_ext >&5
21882 ac_header_compiler
=no
21884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21886 echo "${ECHO_T}$ac_header_compiler" >&6
21888 # Is the header present?
21889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21890 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21891 cat >conftest.
$ac_ext <<_ACEOF
21894 cat confdefs.h
>>conftest.
$ac_ext
21895 cat >>conftest.
$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21897 #include <$ac_header>
21899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21902 grep -v '^ *+' conftest.er1
>conftest.err
21904 cat conftest.err
>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); } >/dev
/null
; then
21907 if test -s conftest.err
; then
21908 ac_cpp_err
=$ac_c_preproc_warn_flag
21909 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21916 if test -z "$ac_cpp_err"; then
21917 ac_header_preproc
=yes
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.
$ac_ext >&5
21922 ac_header_preproc
=no
21924 rm -f conftest.err conftest.
$ac_ext
21925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21926 echo "${ECHO_T}$ac_header_preproc" >&6
21928 # So? What about this header?
21929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21931 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21932 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21934 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21935 ac_header_preproc
=yes
21938 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21939 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21940 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21941 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21942 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21943 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21944 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21945 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21948 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21949 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21952 ## ----------------------------------------- ##
21953 ## Report this to wx-dev@lists.wxwidgets.org ##
21954 ## ----------------------------------------- ##
21957 sed "s/^/$as_me: WARNING: /" >&2
21960 echo "$as_me:$LINENO: checking for $ac_header" >&5
21961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21963 echo $ECHO_N "(cached) $ECHO_C" >&6
21965 eval "$as_ac_Header=\$ac_header_preproc"
21967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21972 cat >>confdefs.h
<<_ACEOF
21973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21980 if test "${ac_cv_header_windows_h+set}" = set; then
21981 echo "$as_me:$LINENO: checking for windows.h" >&5
21982 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21983 if test "${ac_cv_header_windows_h+set}" = set; then
21984 echo $ECHO_N "(cached) $ECHO_C" >&6
21986 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21987 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21989 # Is the header compilable?
21990 echo "$as_me:$LINENO: checking windows.h usability" >&5
21991 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21992 cat >conftest.
$ac_ext <<_ACEOF
21995 cat confdefs.h
>>conftest.
$ac_ext
21996 cat >>conftest.
$ac_ext <<_ACEOF
21997 /* end confdefs.h. */
21998 $ac_includes_default
21999 #include <windows.h>
22001 rm -f conftest.
$ac_objext
22002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22003 (eval $ac_compile) 2>conftest.er1
22005 grep -v '^ *+' conftest.er1
>conftest.err
22007 cat conftest.err
>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } &&
22010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; } &&
22016 { ac_try
='test -s conftest.$ac_objext'
22017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22018 (eval $ac_try) 2>&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); }; }; then
22022 ac_header_compiler
=yes
22024 echo "$as_me: failed program was:" >&5
22025 sed 's/^/| /' conftest.
$ac_ext >&5
22027 ac_header_compiler
=no
22029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22031 echo "${ECHO_T}$ac_header_compiler" >&6
22033 # Is the header present?
22034 echo "$as_me:$LINENO: checking windows.h presence" >&5
22035 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22036 cat >conftest.
$ac_ext <<_ACEOF
22039 cat confdefs.h
>>conftest.
$ac_ext
22040 cat >>conftest.
$ac_ext <<_ACEOF
22041 /* end confdefs.h. */
22042 #include <windows.h>
22044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22047 grep -v '^ *+' conftest.er1
>conftest.err
22049 cat conftest.err
>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); } >/dev
/null
; then
22052 if test -s conftest.err
; then
22053 ac_cpp_err
=$ac_c_preproc_warn_flag
22054 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22061 if test -z "$ac_cpp_err"; then
22062 ac_header_preproc
=yes
22064 echo "$as_me: failed program was:" >&5
22065 sed 's/^/| /' conftest.
$ac_ext >&5
22067 ac_header_preproc
=no
22069 rm -f conftest.err conftest.
$ac_ext
22070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22071 echo "${ECHO_T}$ac_header_preproc" >&6
22073 # So? What about this header?
22074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22076 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22077 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22078 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22079 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22080 ac_header_preproc
=yes
22083 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22084 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22085 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22086 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22087 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22088 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22089 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22090 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22091 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22092 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22093 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22094 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22097 ## ----------------------------------------- ##
22098 ## Report this to wx-dev@lists.wxwidgets.org ##
22099 ## ----------------------------------------- ##
22102 sed "s/^/$as_me: WARNING: /" >&2
22105 echo "$as_me:$LINENO: checking for windows.h" >&5
22106 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22107 if test "${ac_cv_header_windows_h+set}" = set; then
22108 echo $ECHO_N "(cached) $ECHO_C" >&6
22110 ac_cv_header_windows_h
=$ac_header_preproc
22112 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22113 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22116 if test $ac_cv_header_windows_h = yes; then
22120 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22121 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22122 { (exit 1); exit 1; }; }
22128 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22130 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22131 LIBS
="$LIBS -loleacc"
22136 LIBS
="$LIBS -lkernel32 -luser32"
22137 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22140 if test "$wxUSE_ODBC" = "sys" ; then
22143 if test "$wxUSE_ODBC" = "yes" ; then
22144 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22145 cat >>confdefs.h
<<\_ACEOF
22146 #define wxUSE_ODBC 1
22151 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22152 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22154 WIN32INSTALL
=win32install
22157 if test "$wxUSE_GUI" = "yes"; then
22167 if test "$wxUSE_MSW" = 1 ; then
22173 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22177 if test "$wxUSE_GTK" = 1; then
22178 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22179 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22181 gtk_version_cached
=1
22182 if test "${wx_cv_lib_gtk+set}" = set; then
22183 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 gtk_version_cached
=0
22187 echo "$as_me:$LINENO: result: " >&5
22188 echo "${ECHO_T}" >&6
22191 if test "$wxUSE_THREADS" = "yes"; then
22192 GTK_MODULES
=gthread
22196 if test "x$wxUSE_GTK2" = "xyes"; then
22197 # Check whether --enable-gtktest or --disable-gtktest was given.
22198 if test "${enable_gtktest+set}" = set; then
22199 enableval
="$enable_gtktest"
22205 pkg_config_args
=gtk
+-2.0
22206 for module
in .
$GTK_MODULES
22210 pkg_config_args
="$pkg_config_args gthread-2.0"
22217 # Extract the first word of "pkg-config", so it can be a program name with args.
22218 set dummy pkg
-config; ac_word
=$2
22219 echo "$as_me:$LINENO: checking for $ac_word" >&5
22220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22221 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22222 echo $ECHO_N "(cached) $ECHO_C" >&6
22224 case $PKG_CONFIG in
22226 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22230 for as_dir
in $PATH
22233 test -z "$as_dir" && as_dir
=.
22234 for ac_exec_ext
in '' $ac_executable_extensions; do
22235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22236 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22243 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22247 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22249 if test -n "$PKG_CONFIG"; then
22250 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22251 echo "${ECHO_T}$PKG_CONFIG" >&6
22253 echo "$as_me:$LINENO: result: no" >&5
22254 echo "${ECHO_T}no" >&6
22258 if test x
$PKG_CONFIG != xno
; then
22259 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22262 echo "*** pkg-config too old; version 0.7 or better required."
22270 min_gtk_version
=2.0.0
22271 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22272 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22274 if test x
$PKG_CONFIG != xno
; then
22275 ## don't try to run the test against uninstalled libtool libs
22276 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22277 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22281 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22288 if test x
"$no_gtk" = x
; then
22289 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22290 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22291 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22292 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22293 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22294 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22295 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22297 if test "x$enable_gtktest" = "xyes" ; then
22298 ac_save_CFLAGS
="$CFLAGS"
22299 ac_save_LIBS
="$LIBS"
22300 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22301 LIBS
="$GTK_LIBS $LIBS"
22303 if test "$cross_compiling" = yes; then
22304 echo $ac_n "cross compiling; assumed OK... $ac_c"
22306 cat >conftest.
$ac_ext <<_ACEOF
22309 cat confdefs.h
>>conftest.
$ac_ext
22310 cat >>conftest.
$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22313 #include <gtk/gtk.h>
22315 #include <stdlib.h>
22320 int major, minor, micro;
22323 system ("touch conf.gtktest");
22325 /* HP/UX 9 (%@#!) writes to sscanf strings */
22326 tmp_version = g_strdup("$min_gtk_version");
22327 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22328 printf("%s, bad version string\n", "$min_gtk_version");
22332 if ((gtk_major_version != $gtk_config_major_version) ||
22333 (gtk_minor_version != $gtk_config_minor_version) ||
22334 (gtk_micro_version != $gtk_config_micro_version))
22336 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22337 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22338 gtk_major_version, gtk_minor_version, gtk_micro_version);
22339 printf ("*** was found! If pkg-config was correct, then it is best\n");
22340 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22341 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22342 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22343 printf("*** required on your system.\n");
22344 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22345 printf("*** to point to the correct configuration files\n");
22347 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22348 (gtk_minor_version != GTK_MINOR_VERSION) ||
22349 (gtk_micro_version != GTK_MICRO_VERSION))
22351 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22352 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22353 printf("*** library (version %d.%d.%d)\n",
22354 gtk_major_version, gtk_minor_version, gtk_micro_version);
22358 if ((gtk_major_version > major) ||
22359 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22360 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22366 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22367 gtk_major_version, gtk_minor_version, gtk_micro_version);
22368 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22369 major, minor, micro);
22370 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22372 printf("*** If you have already installed a sufficiently new version, this error\n");
22373 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22374 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22375 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22376 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22377 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22378 printf("*** so that the correct libraries are found at run-time))\n");
22385 rm -f conftest
$ac_exeext
22386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22387 (eval $ac_link) 2>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22392 (eval $ac_try) 2>&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); }; }; then
22398 echo "$as_me: program exited with status $ac_status" >&5
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.
$ac_ext >&5
22402 ( exit $ac_status )
22405 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22407 CFLAGS
="$ac_save_CFLAGS"
22408 LIBS
="$ac_save_LIBS"
22411 if test "x$no_gtk" = x
; then
22412 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22413 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22416 echo "$as_me:$LINENO: result: no" >&5
22417 echo "${ECHO_T}no" >&6
22418 if test "$PKG_CONFIG" = "no" ; then
22419 echo "*** A new enough version of pkg-config was not found."
22420 echo "*** See http://pkgconfig.sourceforge.net"
22422 if test -f conf.gtktest
; then
22425 echo "*** Could not run GTK+ test program, checking why..."
22426 ac_save_CFLAGS
="$CFLAGS"
22427 ac_save_LIBS
="$LIBS"
22428 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22429 LIBS
="$LIBS $GTK_LIBS"
22430 cat >conftest.
$ac_ext <<_ACEOF
22433 cat confdefs.h
>>conftest.
$ac_ext
22434 cat >>conftest.
$ac_ext <<_ACEOF
22435 /* end confdefs.h. */
22437 #include <gtk/gtk.h>
22443 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22448 rm -f conftest.
$ac_objext conftest
$ac_exeext
22449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22450 (eval $ac_link) 2>conftest.er1
22452 grep -v '^ *+' conftest.er1
>conftest.err
22454 cat conftest.err
>&5
22455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456 (exit $ac_status); } &&
22457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459 (eval $ac_try) 2>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; } &&
22463 { ac_try
='test -s conftest$ac_exeext'
22464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465 (eval $ac_try) 2>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; }; then
22469 echo "*** The test program compiled, but did not run. This usually means"
22470 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22471 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22472 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22473 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22474 echo "*** is required on your system"
22476 echo "*** If you have an old version installed, it is best to remove it, although"
22477 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22479 echo "$as_me: failed program was:" >&5
22480 sed 's/^/| /' conftest.
$ac_ext >&5
22482 echo "*** The test program failed to compile or link. See the file config.log for the"
22483 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22485 rm -f conftest.err conftest.
$ac_objext \
22486 conftest
$ac_exeext conftest.
$ac_ext
22487 CFLAGS
="$ac_save_CFLAGS"
22488 LIBS
="$ac_save_LIBS"
22501 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22502 if test "${with_gtk_prefix+set}" = set; then
22503 withval
="$with_gtk_prefix"
22504 gtk_config_prefix
="$withval"
22506 gtk_config_prefix
=""
22509 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22510 if test "${with_gtk_exec_prefix+set}" = set; then
22511 withval
="$with_gtk_exec_prefix"
22512 gtk_config_exec_prefix
="$withval"
22514 gtk_config_exec_prefix
=""
22516 # Check whether --enable-gtktest or --disable-gtktest was given.
22517 if test "${enable_gtktest+set}" = set; then
22518 enableval
="$enable_gtktest"
22524 for module
in .
$GTK_MODULES
22528 gtk_config_args
="$gtk_config_args gthread"
22533 if test x
$gtk_config_exec_prefix != x
; then
22534 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22535 if test x
${GTK_CONFIG+set} != xset
; then
22536 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22539 if test x
$gtk_config_prefix != x
; then
22540 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22541 if test x
${GTK_CONFIG+set} != xset
; then
22542 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22546 # Extract the first word of "gtk-config", so it can be a program name with args.
22547 set dummy gtk
-config; ac_word
=$2
22548 echo "$as_me:$LINENO: checking for $ac_word" >&5
22549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22550 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22551 echo $ECHO_N "(cached) $ECHO_C" >&6
22553 case $GTK_CONFIG in
22555 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22559 for as_dir
in $PATH
22562 test -z "$as_dir" && as_dir
=.
22563 for ac_exec_ext
in '' $ac_executable_extensions; do
22564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22565 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22572 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22576 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22578 if test -n "$GTK_CONFIG"; then
22579 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22580 echo "${ECHO_T}$GTK_CONFIG" >&6
22582 echo "$as_me:$LINENO: result: no" >&5
22583 echo "${ECHO_T}no" >&6
22586 min_gtk_version
=1.2.7
22587 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22588 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22590 if test "$GTK_CONFIG" = "no" ; then
22593 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22594 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22595 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22597 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22599 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22601 if test "x$enable_gtktest" = "xyes" ; then
22602 ac_save_CFLAGS
="$CFLAGS"
22603 ac_save_LIBS
="$LIBS"
22604 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22605 LIBS
="$GTK_LIBS $LIBS"
22607 if test "$cross_compiling" = yes; then
22608 echo $ac_n "cross compiling; assumed OK... $ac_c"
22610 cat >conftest.
$ac_ext <<_ACEOF
22613 cat confdefs.h
>>conftest.
$ac_ext
22614 cat >>conftest.
$ac_ext <<_ACEOF
22615 /* end confdefs.h. */
22617 #include <gtk/gtk.h>
22619 #include <stdlib.h>
22624 int major, minor, micro;
22627 system ("touch conf.gtktest");
22629 /* HP/UX 9 (%@#!) writes to sscanf strings */
22630 tmp_version = g_strdup("$min_gtk_version");
22631 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22632 printf("%s, bad version string\n", "$min_gtk_version");
22636 if ((gtk_major_version != $gtk_config_major_version) ||
22637 (gtk_minor_version != $gtk_config_minor_version) ||
22638 (gtk_micro_version != $gtk_config_micro_version))
22640 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22641 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22642 gtk_major_version, gtk_minor_version, gtk_micro_version);
22643 printf ("*** was found! If gtk-config was correct, then it is best\n");
22644 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22645 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22646 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22647 printf("*** required on your system.\n");
22648 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22649 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22650 printf("*** before re-running configure\n");
22652 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22653 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22654 (gtk_minor_version != GTK_MINOR_VERSION) ||
22655 (gtk_micro_version != GTK_MICRO_VERSION))
22657 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22658 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22659 printf("*** library (version %d.%d.%d)\n",
22660 gtk_major_version, gtk_minor_version, gtk_micro_version);
22662 #endif /* defined (GTK_MAJOR_VERSION) ... */
22665 if ((gtk_major_version > major) ||
22666 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22667 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22673 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22674 gtk_major_version, gtk_minor_version, gtk_micro_version);
22675 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22676 major, minor, micro);
22677 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22679 printf("*** If you have already installed a sufficiently new version, this error\n");
22680 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22681 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22682 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22683 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22684 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22685 printf("*** so that the correct libraries are found at run-time))\n");
22692 rm -f conftest
$ac_exeext
22693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22694 (eval $ac_link) 2>&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22699 (eval $ac_try) 2>&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); }; }; then
22705 echo "$as_me: program exited with status $ac_status" >&5
22706 echo "$as_me: failed program was:" >&5
22707 sed 's/^/| /' conftest.
$ac_ext >&5
22709 ( exit $ac_status )
22712 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22714 CFLAGS
="$ac_save_CFLAGS"
22715 LIBS
="$ac_save_LIBS"
22718 if test "x$no_gtk" = x
; then
22719 echo "$as_me:$LINENO: result: yes" >&5
22720 echo "${ECHO_T}yes" >&6
22721 wx_cv_lib_gtk
=1.2.7
22723 echo "$as_me:$LINENO: result: no" >&5
22724 echo "${ECHO_T}no" >&6
22725 if test "$GTK_CONFIG" = "no" ; then
22726 echo "*** The gtk-config script installed by GTK could not be found"
22727 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22728 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22729 echo "*** full path to gtk-config."
22731 if test -f conf.gtktest
; then
22734 echo "*** Could not run GTK test program, checking why..."
22735 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22736 LIBS
="$LIBS $GTK_LIBS"
22737 cat >conftest.
$ac_ext <<_ACEOF
22740 cat confdefs.h
>>conftest.
$ac_ext
22741 cat >>conftest.
$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22744 #include <gtk/gtk.h>
22750 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22755 rm -f conftest.
$ac_objext conftest
$ac_exeext
22756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22757 (eval $ac_link) 2>conftest.er1
22759 grep -v '^ *+' conftest.er1
>conftest.err
22761 cat conftest.err
>&5
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); } &&
22764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22766 (eval $ac_try) 2>&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); }; } &&
22770 { ac_try
='test -s conftest$ac_exeext'
22771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22772 (eval $ac_try) 2>&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); }; }; then
22776 echo "*** The test program compiled, but did not run. This usually means"
22777 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22778 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22779 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22780 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22781 echo "*** is required on your system"
22783 echo "*** If you have an old version installed, it is best to remove it, although"
22784 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22786 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22787 echo "*** came with the system with the command"
22789 echo "*** rpm --erase --nodeps gtk gtk-devel"
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.
$ac_ext >&5
22794 echo "*** The test program failed to compile or link. See the file config.log for the"
22795 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22796 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22797 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22799 rm -f conftest.err conftest.
$ac_objext \
22800 conftest
$ac_exeext conftest.
$ac_ext
22801 CFLAGS
="$ac_save_CFLAGS"
22802 LIBS
="$ac_save_LIBS"
22814 if test -z "$wx_cv_lib_gtk"; then
22816 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22817 if test "${with_gtk_prefix+set}" = set; then
22818 withval
="$with_gtk_prefix"
22819 gtk_config_prefix
="$withval"
22821 gtk_config_prefix
=""
22824 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22825 if test "${with_gtk_exec_prefix+set}" = set; then
22826 withval
="$with_gtk_exec_prefix"
22827 gtk_config_exec_prefix
="$withval"
22829 gtk_config_exec_prefix
=""
22831 # Check whether --enable-gtktest or --disable-gtktest was given.
22832 if test "${enable_gtktest+set}" = set; then
22833 enableval
="$enable_gtktest"
22839 for module
in .
$GTK_MODULES
22843 gtk_config_args
="$gtk_config_args gthread"
22848 if test x
$gtk_config_exec_prefix != x
; then
22849 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22850 if test x
${GTK_CONFIG+set} != xset
; then
22851 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22854 if test x
$gtk_config_prefix != x
; then
22855 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22856 if test x
${GTK_CONFIG+set} != xset
; then
22857 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22861 # Extract the first word of "gtk-config", so it can be a program name with args.
22862 set dummy gtk
-config; ac_word
=$2
22863 echo "$as_me:$LINENO: checking for $ac_word" >&5
22864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22865 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22866 echo $ECHO_N "(cached) $ECHO_C" >&6
22868 case $GTK_CONFIG in
22870 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22874 for as_dir
in $PATH
22877 test -z "$as_dir" && as_dir
=.
22878 for ac_exec_ext
in '' $ac_executable_extensions; do
22879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22880 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22887 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22891 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22893 if test -n "$GTK_CONFIG"; then
22894 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22895 echo "${ECHO_T}$GTK_CONFIG" >&6
22897 echo "$as_me:$LINENO: result: no" >&5
22898 echo "${ECHO_T}no" >&6
22901 min_gtk_version
=1.2.3
22902 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22903 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22905 if test "$GTK_CONFIG" = "no" ; then
22908 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22909 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22910 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22911 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22912 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22914 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22916 if test "x$enable_gtktest" = "xyes" ; then
22917 ac_save_CFLAGS
="$CFLAGS"
22918 ac_save_LIBS
="$LIBS"
22919 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22920 LIBS
="$GTK_LIBS $LIBS"
22922 if test "$cross_compiling" = yes; then
22923 echo $ac_n "cross compiling; assumed OK... $ac_c"
22925 cat >conftest.
$ac_ext <<_ACEOF
22928 cat confdefs.h
>>conftest.
$ac_ext
22929 cat >>conftest.
$ac_ext <<_ACEOF
22930 /* end confdefs.h. */
22932 #include <gtk/gtk.h>
22934 #include <stdlib.h>
22939 int major, minor, micro;
22942 system ("touch conf.gtktest");
22944 /* HP/UX 9 (%@#!) writes to sscanf strings */
22945 tmp_version = g_strdup("$min_gtk_version");
22946 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22947 printf("%s, bad version string\n", "$min_gtk_version");
22951 if ((gtk_major_version != $gtk_config_major_version) ||
22952 (gtk_minor_version != $gtk_config_minor_version) ||
22953 (gtk_micro_version != $gtk_config_micro_version))
22955 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22956 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22957 gtk_major_version, gtk_minor_version, gtk_micro_version);
22958 printf ("*** was found! If gtk-config was correct, then it is best\n");
22959 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22960 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22961 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22962 printf("*** required on your system.\n");
22963 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22964 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22965 printf("*** before re-running configure\n");
22967 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22968 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22969 (gtk_minor_version != GTK_MINOR_VERSION) ||
22970 (gtk_micro_version != GTK_MICRO_VERSION))
22972 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22973 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22974 printf("*** library (version %d.%d.%d)\n",
22975 gtk_major_version, gtk_minor_version, gtk_micro_version);
22977 #endif /* defined (GTK_MAJOR_VERSION) ... */
22980 if ((gtk_major_version > major) ||
22981 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22982 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22988 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22989 gtk_major_version, gtk_minor_version, gtk_micro_version);
22990 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22991 major, minor, micro);
22992 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22994 printf("*** If you have already installed a sufficiently new version, this error\n");
22995 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22996 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22997 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22998 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22999 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23000 printf("*** so that the correct libraries are found at run-time))\n");
23007 rm -f conftest
$ac_exeext
23008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23009 (eval $ac_link) 2>&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23014 (eval $ac_try) 2>&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); }; }; then
23020 echo "$as_me: program exited with status $ac_status" >&5
23021 echo "$as_me: failed program was:" >&5
23022 sed 's/^/| /' conftest.
$ac_ext >&5
23024 ( exit $ac_status )
23027 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23029 CFLAGS
="$ac_save_CFLAGS"
23030 LIBS
="$ac_save_LIBS"
23033 if test "x$no_gtk" = x
; then
23034 echo "$as_me:$LINENO: result: yes" >&5
23035 echo "${ECHO_T}yes" >&6
23036 wx_cv_lib_gtk
=1.2.3
23038 echo "$as_me:$LINENO: result: no" >&5
23039 echo "${ECHO_T}no" >&6
23040 if test "$GTK_CONFIG" = "no" ; then
23041 echo "*** The gtk-config script installed by GTK could not be found"
23042 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23043 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23044 echo "*** full path to gtk-config."
23046 if test -f conf.gtktest
; then
23049 echo "*** Could not run GTK test program, checking why..."
23050 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23051 LIBS
="$LIBS $GTK_LIBS"
23052 cat >conftest.
$ac_ext <<_ACEOF
23055 cat confdefs.h
>>conftest.
$ac_ext
23056 cat >>conftest.
$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23059 #include <gtk/gtk.h>
23065 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23070 rm -f conftest.
$ac_objext conftest
$ac_exeext
23071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23072 (eval $ac_link) 2>conftest.er1
23074 grep -v '^ *+' conftest.er1
>conftest.err
23076 cat conftest.err
>&5
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); } &&
23079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; } &&
23085 { ac_try
='test -s conftest$ac_exeext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 echo "*** The test program compiled, but did not run. This usually means"
23092 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23093 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23094 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23095 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23096 echo "*** is required on your system"
23098 echo "*** If you have an old version installed, it is best to remove it, although"
23099 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23101 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23102 echo "*** came with the system with the command"
23104 echo "*** rpm --erase --nodeps gtk gtk-devel"
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.
$ac_ext >&5
23109 echo "*** The test program failed to compile or link. See the file config.log for the"
23110 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23111 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23112 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23114 rm -f conftest.err conftest.
$ac_objext \
23115 conftest
$ac_exeext conftest.
$ac_ext
23116 CFLAGS
="$ac_save_CFLAGS"
23117 LIBS
="$ac_save_LIBS"
23131 if test -z "$wx_cv_lib_gtk"; then
23134 wx_cv_cflags_gtk
=$GTK_CFLAGS
23135 wx_cv_libs_gtk
=$GTK_LIBS
23142 if test "$gtk_version_cached" = 1; then
23143 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23144 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23147 case "$wx_cv_lib_gtk" in
23156 *) { { echo "$as_me:$LINENO: error:
23157 Please check that gtk-config is in path, the directory
23158 where GTK+ libraries are installed (returned by
23159 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23160 equivalent variable and GTK+ is version 1.2.3 or above.
23162 echo "$as_me: error:
23163 Please check that gtk-config is in path, the directory
23164 where GTK+ libraries are installed (returned by
23165 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23166 equivalent variable and GTK+ is version 1.2.3 or above.
23168 { (exit 1); exit 1; }; }
23172 if test "$WXGTK20" = 1; then
23173 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23177 if test -z "$PKG_CONFIG"; then
23178 # Extract the first word of "pkg-config", so it can be a program name with args.
23179 set dummy pkg
-config; ac_word
=$2
23180 echo "$as_me:$LINENO: checking for $ac_word" >&5
23181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23182 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23183 echo $ECHO_N "(cached) $ECHO_C" >&6
23185 case $PKG_CONFIG in
23187 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23191 for as_dir
in $PATH
23194 test -z "$as_dir" && as_dir
=.
23195 for ac_exec_ext
in '' $ac_executable_extensions; do
23196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23197 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23204 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23208 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23210 if test -n "$PKG_CONFIG"; then
23211 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23212 echo "${ECHO_T}$PKG_CONFIG" >&6
23214 echo "$as_me:$LINENO: result: no" >&5
23215 echo "${ECHO_T}no" >&6
23220 if test "$PKG_CONFIG" = "no" ; then
23221 echo "*** The pkg-config script could not be found. Make sure it is"
23222 echo "*** in your path, or set the PKG_CONFIG environment variable"
23223 echo "*** to the full path to pkg-config."
23224 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23226 PKG_CONFIG_MIN_VERSION
=0.9.0
23227 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23228 echo "$as_me:$LINENO: checking for pangoft2" >&5
23229 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23231 if $PKG_CONFIG --exists "pangoft2" ; then
23232 echo "$as_me:$LINENO: result: yes" >&5
23233 echo "${ECHO_T}yes" >&6
23236 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23237 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23238 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23239 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23240 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23242 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23243 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23244 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23245 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23246 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23250 ## If we have a custom action on failure, don't print errors, but
23251 ## do set a variable so people can do so.
23252 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23259 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23260 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23264 if test $succeeded = yes; then
23266 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23267 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23271 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23272 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23273 wxUSE_PRINTING_ARCHITECTURE
="no"
23280 save_CFLAGS
="$CFLAGS"
23282 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23283 LIBS
="$LIBS $GTK_LIBS"
23285 for ac_func
in pango_font_family_is_monospace
23287 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23288 echo "$as_me:$LINENO: checking for $ac_func" >&5
23289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23290 if eval "test \"\${$as_ac_var+set}\" = set"; then
23291 echo $ECHO_N "(cached) $ECHO_C" >&6
23293 cat >conftest.
$ac_ext <<_ACEOF
23296 cat confdefs.h
>>conftest.
$ac_ext
23297 cat >>conftest.
$ac_ext <<_ACEOF
23298 /* end confdefs.h. */
23299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23301 #define $ac_func innocuous_$ac_func
23303 /* System header to define __stub macros and hopefully few prototypes,
23304 which can conflict with char $ac_func (); below.
23305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23306 <limits.h> exists even on freestanding compilers. */
23309 # include <limits.h>
23311 # include <assert.h>
23316 /* Override any gcc2 internal prototype to avoid an error. */
23321 /* We use char because int might match the return type of a gcc2
23322 builtin and then its argument prototype would still apply. */
23324 /* The GNU C library defines this for functions which it implements
23325 to always fail with ENOSYS. Some functions are actually named
23326 something starting with __ and the normal name is an alias. */
23327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23330 char (*f) () = $ac_func;
23339 return f != $ac_func;
23344 rm -f conftest.
$ac_objext conftest
$ac_exeext
23345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23346 (eval $ac_link) 2>conftest.er1
23348 grep -v '^ *+' conftest.er1
>conftest.err
23350 cat conftest.err
>&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); } &&
23353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23355 (eval $ac_try) 2>&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); }; } &&
23359 { ac_try
='test -s conftest$ac_exeext'
23360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23361 (eval $ac_try) 2>&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); }; }; then
23365 eval "$as_ac_var=yes"
23367 echo "$as_me: failed program was:" >&5
23368 sed 's/^/| /' conftest.
$ac_ext >&5
23370 eval "$as_ac_var=no"
23372 rm -f conftest.err conftest.
$ac_objext \
23373 conftest
$ac_exeext conftest.
$ac_ext
23375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23377 if test `eval echo '${'$as_ac_var'}'` = yes; then
23378 cat >>confdefs.h
<<_ACEOF
23379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23385 CFLAGS
="$save_CFLAGS"
23388 if test "$wxUSE_UNICODE" = "yes"; then
23389 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23390 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23395 if test "$USE_DARWIN" != 1; then
23397 for ac_func
in poll
23399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23400 echo "$as_me:$LINENO: checking for $ac_func" >&5
23401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23402 if eval "test \"\${$as_ac_var+set}\" = set"; then
23403 echo $ECHO_N "(cached) $ECHO_C" >&6
23405 cat >conftest.
$ac_ext <<_ACEOF
23408 cat confdefs.h
>>conftest.
$ac_ext
23409 cat >>conftest.
$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23413 #define $ac_func innocuous_$ac_func
23415 /* System header to define __stub macros and hopefully few prototypes,
23416 which can conflict with char $ac_func (); below.
23417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23418 <limits.h> exists even on freestanding compilers. */
23421 # include <limits.h>
23423 # include <assert.h>
23428 /* Override any gcc2 internal prototype to avoid an error. */
23433 /* We use char because int might match the return type of a gcc2
23434 builtin and then its argument prototype would still apply. */
23436 /* The GNU C library defines this for functions which it implements
23437 to always fail with ENOSYS. Some functions are actually named
23438 something starting with __ and the normal name is an alias. */
23439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23442 char (*f) () = $ac_func;
23451 return f != $ac_func;
23456 rm -f conftest.
$ac_objext conftest
$ac_exeext
23457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23458 (eval $ac_link) 2>conftest.er1
23460 grep -v '^ *+' conftest.er1
>conftest.err
23462 cat conftest.err
>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } &&
23465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; } &&
23471 { ac_try
='test -s conftest$ac_exeext'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; }; then
23477 eval "$as_ac_var=yes"
23479 echo "$as_me: failed program was:" >&5
23480 sed 's/^/| /' conftest.
$ac_ext >&5
23482 eval "$as_ac_var=no"
23484 rm -f conftest.err conftest.
$ac_objext \
23485 conftest
$ac_exeext conftest.
$ac_ext
23487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23489 if test `eval echo '${'$as_ac_var'}'` = yes; then
23490 cat >>confdefs.h
<<_ACEOF
23491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23499 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23500 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23502 AFMINSTALL
=afminstall
23506 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23507 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23508 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23509 echo $ECHO_N "(cached) $ECHO_C" >&6
23511 ac_check_lib_save_LIBS
=$LIBS
23513 cat >conftest.
$ac_ext <<_ACEOF
23516 cat confdefs.h
>>conftest.
$ac_ext
23517 cat >>conftest.
$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23520 /* Override any gcc2 internal prototype to avoid an error. */
23524 /* We use char because int might match the return type of a gcc2
23525 builtin and then its argument prototype would still apply. */
23526 char gdk_im_open ();
23535 rm -f conftest.
$ac_objext conftest
$ac_exeext
23536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23537 (eval $ac_link) 2>conftest.er1
23539 grep -v '^ *+' conftest.er1
>conftest.err
23541 cat conftest.err
>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; } &&
23550 { ac_try
='test -s conftest$ac_exeext'
23551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23552 (eval $ac_try) 2>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); }; }; then
23556 ac_cv_lib_gdk_gdk_im_open
=yes
23558 echo "$as_me: failed program was:" >&5
23559 sed 's/^/| /' conftest.
$ac_ext >&5
23561 ac_cv_lib_gdk_gdk_im_open
=no
23563 rm -f conftest.err conftest.
$ac_objext \
23564 conftest
$ac_exeext conftest.
$ac_ext
23565 LIBS
=$ac_check_lib_save_LIBS
23567 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23568 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23569 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23570 cat >>confdefs.h
<<\_ACEOF
23578 if test "$wxUSE_GPE" = "yes"; then
23579 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23580 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23583 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23585 for ac_extension
in a so sl dylib
; do
23586 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23587 ac_find_libraries
=$ac_dir
23593 if test "$ac_find_libraries" != "" ; then
23595 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23597 if test $result = 0; then
23600 ac_path_to_link
=" -L$ac_find_libraries"
23603 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23605 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23606 echo "${ECHO_T}found at $ac_find_libraries" >&6
23608 echo "$as_me:$LINENO: result: not found" >&5
23609 echo "${ECHO_T}not found" >&6
23615 if test "$wxUSE_MGL" = 1; then
23616 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23617 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23618 if test "x$MGL_ROOT" = x
; then
23619 echo "$as_me:$LINENO: result: not found" >&5
23620 echo "${ECHO_T}not found" >&6
23621 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23622 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23623 { (exit 1); exit 1; }; }
23625 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23626 echo "${ECHO_T}$MGL_ROOT" >&6
23629 echo "$as_me:$LINENO: checking for libmgl location" >&5
23630 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23633 if test "x$wxUSE_SHARED" = xyes
; then
23634 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23636 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23640 mgl_os_candidates
="dos32/dj2"
23643 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23644 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23645 { (exit 1); exit 1; }; }
23651 for mgl_os_i
in $mgl_os_candidates ; do
23652 if test "x$mgl_os" = x
; then
23653 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23654 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23655 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23660 if test "x$mgl_lib_type" = x
; then
23661 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23662 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23663 mgl_lib_type
=release
23670 if test "x$mgl_os" = x
; then
23671 echo "$as_me:$LINENO: result: not found" >&5
23672 echo "${ECHO_T}not found" >&6
23673 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23674 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23675 { (exit 1); exit 1; }; }
23677 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23678 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23680 wxUSE_UNIVERSAL
="yes"
23682 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23683 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23685 AFMINSTALL
=afminstall
23690 if test "$wxUSE_MICROWIN" = 1; then
23691 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23692 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23693 if test "x$MICROWINDOWS" = x
; then
23694 echo "$as_me:$LINENO: result: not found" >&5
23695 echo "${ECHO_T}not found" >&6
23696 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23697 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23698 { (exit 1); exit 1; }; }
23700 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23701 echo "${ECHO_T}$MICROWINDOWS" >&6
23704 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23705 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23706 echo "${ECHO_T}MicroWindows' libraries found." >&6
23708 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23709 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23710 { (exit 1); exit 1; }; }
23713 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23714 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23716 wxUSE_UNIVERSAL
="yes"
23718 AFMINSTALL
=afminstall
23720 GUIDIST
=MICROWIN_DIST
23722 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23725 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23727 if test "x$ac_path_x_has_been_run" != xyes
; then
23728 echo "$as_me:$LINENO: checking for X" >&5
23729 echo $ECHO_N "checking for X... $ECHO_C" >&6
23731 ac_path_x_has_been_run
=yes
23733 # Check whether --with-x or --without-x was given.
23734 if test "${with_x+set}" = set; then
23738 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23739 if test "x$with_x" = xno
; then
23740 # The user explicitly disabled X.
23743 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23744 # Both variables are already set.
23747 if test "${ac_cv_have_x+set}" = set; then
23748 echo $ECHO_N "(cached) $ECHO_C" >&6
23750 # One or both of the vars are not set, and there is no cached value.
23751 ac_x_includes
=no ac_x_libraries
=no
23752 rm -fr conftest.dir
23753 if mkdir conftest.dir
; then
23755 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23756 cat >Imakefile
<<'_ACEOF'
23758 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23760 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23761 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23762 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23763 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23764 for ac_extension
in a so sl
; do
23765 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23766 test -f $ac_im_libdir/libX11.
$ac_extension; then
23767 ac_im_usrlibdir
=$ac_im_libdir; break
23770 # Screen out bogus values from the imake configuration. They are
23771 # bogus both because they are the default anyway, and because
23772 # using them would break gcc on systems where it needs fixed includes.
23773 case $ac_im_incroot in
23775 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23777 case $ac_im_usrlibdir in
23778 /usr
/lib
| /lib
) ;;
23779 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23783 rm -fr conftest.dir
23786 # Standard set of common directories for X headers.
23787 # Check X11 before X11Rn because it is often a symlink to the current release.
23799 /usr/local/X11/include
23800 /usr/local/X11R6/include
23801 /usr/local/X11R5/include
23802 /usr/local/X11R4/include
23804 /usr/local/include/X11
23805 /usr/local/include/X11R6
23806 /usr/local/include/X11R5
23807 /usr/local/include/X11R4
23811 /usr/XFree86/include/X11
23815 /usr/unsupported/include
23816 /usr/athena/include
23817 /usr/local/x11r5/include
23818 /usr/lpp/Xamples/include
23820 /usr/openwin/include
23821 /usr/openwin/share/include'
23823 if test "$ac_x_includes" = no
; then
23824 # Guess where to find include files, by looking for a specified header file.
23825 # First, try using that file with no special directory specified.
23826 cat >conftest.
$ac_ext <<_ACEOF
23829 cat confdefs.h
>>conftest.
$ac_ext
23830 cat >>conftest.
$ac_ext <<_ACEOF
23831 /* end confdefs.h. */
23832 #include <X11/Intrinsic.h>
23834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23835 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23837 grep -v '^ *+' conftest.er1
>conftest.err
23839 cat conftest.err
>&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } >/dev
/null
; then
23842 if test -s conftest.err
; then
23843 ac_cpp_err
=$ac_c_preproc_warn_flag
23844 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23851 if test -z "$ac_cpp_err"; then
23852 # We can compile using X headers with no special include directory.
23855 echo "$as_me: failed program was:" >&5
23856 sed 's/^/| /' conftest.
$ac_ext >&5
23858 for ac_dir
in $ac_x_header_dirs; do
23859 if test -r "$ac_dir/X11/Intrinsic.h"; then
23860 ac_x_includes
=$ac_dir
23865 rm -f conftest.err conftest.
$ac_ext
23866 fi # $ac_x_includes = no
23868 if test "$ac_x_libraries" = no
; then
23869 # Check for the libraries.
23870 # See if we find them without any special options.
23871 # Don't add to $LIBS permanently.
23874 cat >conftest.
$ac_ext <<_ACEOF
23877 cat confdefs.h
>>conftest.
$ac_ext
23878 cat >>conftest.
$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23880 #include <X11/Intrinsic.h>
23889 rm -f conftest.
$ac_objext conftest
$ac_exeext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23891 (eval $ac_link) 2>conftest.er1
23893 grep -v '^ *+' conftest.er1
>conftest.err
23895 cat conftest.err
>&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } &&
23898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23900 (eval $ac_try) 2>&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); }; } &&
23904 { ac_try
='test -s conftest$ac_exeext'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; }; then
23911 # We can link X programs with no special library path.
23914 echo "$as_me: failed program was:" >&5
23915 sed 's/^/| /' conftest.
$ac_ext >&5
23918 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23920 # Don't even attempt the hair of trying to link an X program!
23921 for ac_extension
in a so sl
; do
23922 if test -r $ac_dir/libXt.
$ac_extension; then
23923 ac_x_libraries
=$ac_dir
23929 rm -f conftest.err conftest.
$ac_objext \
23930 conftest
$ac_exeext conftest.
$ac_ext
23931 fi # $ac_x_libraries = no
23933 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23934 # Didn't find X anywhere. Cache the known absence of X.
23935 ac_cv_have_x
="have_x=no"
23937 # Record where we found X for the cache.
23938 ac_cv_have_x
="have_x=yes \
23939 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23944 eval "$ac_cv_have_x"
23947 if test "$have_x" != yes; then
23948 echo "$as_me:$LINENO: result: $have_x" >&5
23949 echo "${ECHO_T}$have_x" >&6
23952 # If each of the values was on the command line, it overrides each guess.
23953 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23954 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23955 # Update the cache value to reflect the command line values.
23956 ac_cv_have_x
="have_x=yes \
23957 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23958 # It might be that x_includes is empty (headers are found in the
23959 # standard search path. Then output the corresponding message
23960 ac_out_x_includes
=$x_includes
23961 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
23962 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
23963 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
23967 if test "$no_x" = yes; then
23968 # Not all programs may use this symbol, but it does not hurt to define it.
23970 cat >>confdefs.h
<<\_ACEOF
23971 #define X_DISPLAY_MISSING 1
23974 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23976 if test -n "$x_includes"; then
23977 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23980 # It would also be nice to do this for all -L options, not just this one.
23981 if test -n "$x_libraries"; then
23982 X_LIBS
="$X_LIBS -L$x_libraries"
23983 # For Solaris; some versions of Sun CC require a space after -R and
23984 # others require no space. Words are not sufficient . . . .
23985 case `(uname -sr) 2>/dev/null` in
23987 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23988 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23989 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23990 cat >conftest.
$ac_ext <<_ACEOF
23993 cat confdefs.h
>>conftest.
$ac_ext
23994 cat >>conftest.
$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
24005 rm -f conftest.
$ac_objext conftest
$ac_exeext
24006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24007 (eval $ac_link) 2>conftest.er1
24009 grep -v '^ *+' conftest.er1
>conftest.err
24011 cat conftest.err
>&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } &&
24014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016 (eval $ac_try) 2>&5
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); }; } &&
24020 { ac_try
='test -s conftest$ac_exeext'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; }; then
24028 echo "$as_me: failed program was:" >&5
24029 sed 's/^/| /' conftest.
$ac_ext >&5
24033 rm -f conftest.err conftest.
$ac_objext \
24034 conftest
$ac_exeext conftest.
$ac_ext
24035 if test $ac_R_nospace = yes; then
24036 echo "$as_me:$LINENO: result: no" >&5
24037 echo "${ECHO_T}no" >&6
24038 X_LIBS
="$X_LIBS -R$x_libraries"
24040 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24041 cat >conftest.
$ac_ext <<_ACEOF
24044 cat confdefs.h
>>conftest.
$ac_ext
24045 cat >>conftest.
$ac_ext <<_ACEOF
24046 /* end confdefs.h. */
24056 rm -f conftest.
$ac_objext conftest
$ac_exeext
24057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24058 (eval $ac_link) 2>conftest.er1
24060 grep -v '^ *+' conftest.er1
>conftest.err
24062 cat conftest.err
>&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); } &&
24065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24067 (eval $ac_try) 2>&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); }; } &&
24071 { ac_try
='test -s conftest$ac_exeext'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; }; then
24079 echo "$as_me: failed program was:" >&5
24080 sed 's/^/| /' conftest.
$ac_ext >&5
24084 rm -f conftest.err conftest.
$ac_objext \
24085 conftest
$ac_exeext conftest.
$ac_ext
24086 if test $ac_R_space = yes; then
24087 echo "$as_me:$LINENO: result: yes" >&5
24088 echo "${ECHO_T}yes" >&6
24089 X_LIBS
="$X_LIBS -R $x_libraries"
24091 echo "$as_me:$LINENO: result: neither works" >&5
24092 echo "${ECHO_T}neither works" >&6
24095 LIBS
=$ac_xsave_LIBS
24099 # Check for system-dependent libraries X programs must link with.
24100 # Do this before checking for the system-independent R6 libraries
24101 # (-lICE), since we may need -lsocket or whatever for X linking.
24103 if test "$ISC" = yes; then
24104 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24106 # Martyn Johnson says this is needed for Ultrix, if the X
24107 # libraries were built with DECnet support. And Karl Berry says
24108 # the Alpha needs dnet_stub (dnet does not exist).
24109 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24110 cat >conftest.
$ac_ext <<_ACEOF
24113 cat confdefs.h
>>conftest.
$ac_ext
24114 cat >>conftest.
$ac_ext <<_ACEOF
24115 /* end confdefs.h. */
24117 /* Override any gcc2 internal prototype to avoid an error. */
24121 /* We use char because int might match the return type of a gcc2
24122 builtin and then its argument prototype would still apply. */
24123 char XOpenDisplay ();
24132 rm -f conftest.
$ac_objext conftest
$ac_exeext
24133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24134 (eval $ac_link) 2>conftest.er1
24136 grep -v '^ *+' conftest.er1
>conftest.err
24138 cat conftest.err
>&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } &&
24141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24143 (eval $ac_try) 2>&5
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); }; } &&
24147 { ac_try
='test -s conftest$ac_exeext'
24148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24149 (eval $ac_try) 2>&5
24151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152 (exit $ac_status); }; }; then
24155 echo "$as_me: failed program was:" >&5
24156 sed 's/^/| /' conftest.
$ac_ext >&5
24158 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24159 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24160 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24161 echo $ECHO_N "(cached) $ECHO_C" >&6
24163 ac_check_lib_save_LIBS
=$LIBS
24164 LIBS
="-ldnet $LIBS"
24165 cat >conftest.
$ac_ext <<_ACEOF
24168 cat confdefs.h
>>conftest.
$ac_ext
24169 cat >>conftest.
$ac_ext <<_ACEOF
24170 /* end confdefs.h. */
24172 /* Override any gcc2 internal prototype to avoid an error. */
24176 /* We use char because int might match the return type of a gcc2
24177 builtin and then its argument prototype would still apply. */
24187 rm -f conftest.
$ac_objext conftest
$ac_exeext
24188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24189 (eval $ac_link) 2>conftest.er1
24191 grep -v '^ *+' conftest.er1
>conftest.err
24193 cat conftest.err
>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } &&
24196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24198 (eval $ac_try) 2>&5
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); }; } &&
24202 { ac_try
='test -s conftest$ac_exeext'
24203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24204 (eval $ac_try) 2>&5
24206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207 (exit $ac_status); }; }; then
24208 ac_cv_lib_dnet_dnet_ntoa
=yes
24210 echo "$as_me: failed program was:" >&5
24211 sed 's/^/| /' conftest.
$ac_ext >&5
24213 ac_cv_lib_dnet_dnet_ntoa
=no
24215 rm -f conftest.err conftest.
$ac_objext \
24216 conftest
$ac_exeext conftest.
$ac_ext
24217 LIBS
=$ac_check_lib_save_LIBS
24219 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24220 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24221 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24222 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24225 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24226 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24227 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24228 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24229 echo $ECHO_N "(cached) $ECHO_C" >&6
24231 ac_check_lib_save_LIBS
=$LIBS
24232 LIBS
="-ldnet_stub $LIBS"
24233 cat >conftest.
$ac_ext <<_ACEOF
24236 cat confdefs.h
>>conftest.
$ac_ext
24237 cat >>conftest.
$ac_ext <<_ACEOF
24238 /* end confdefs.h. */
24240 /* Override any gcc2 internal prototype to avoid an error. */
24244 /* We use char because int might match the return type of a gcc2
24245 builtin and then its argument prototype would still apply. */
24255 rm -f conftest.
$ac_objext conftest
$ac_exeext
24256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24257 (eval $ac_link) 2>conftest.er1
24259 grep -v '^ *+' conftest.er1
>conftest.err
24261 cat conftest.err
>&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } &&
24264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24266 (eval $ac_try) 2>&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); }; } &&
24270 { ac_try
='test -s conftest$ac_exeext'
24271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24272 (eval $ac_try) 2>&5
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); }; }; then
24276 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.
$ac_ext >&5
24281 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24283 rm -f conftest.err conftest.
$ac_objext \
24284 conftest
$ac_exeext conftest.
$ac_ext
24285 LIBS
=$ac_check_lib_save_LIBS
24287 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24288 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24289 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24290 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24295 rm -f conftest.err conftest.
$ac_objext \
24296 conftest
$ac_exeext conftest.
$ac_ext
24297 LIBS
="$ac_xsave_LIBS"
24299 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24300 # to get the SysV transport functions.
24301 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24303 # The nsl library prevents programs from opening the X display
24304 # on Irix 5.2, according to T.E. Dickey.
24305 # The functions gethostbyname, getservbyname, and inet_addr are
24306 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24307 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24308 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24309 if test "${ac_cv_func_gethostbyname+set}" = set; then
24310 echo $ECHO_N "(cached) $ECHO_C" >&6
24312 cat >conftest.
$ac_ext <<_ACEOF
24315 cat confdefs.h
>>conftest.
$ac_ext
24316 cat >>conftest.
$ac_ext <<_ACEOF
24317 /* end confdefs.h. */
24318 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24320 #define gethostbyname innocuous_gethostbyname
24322 /* System header to define __stub macros and hopefully few prototypes,
24323 which can conflict with char gethostbyname (); below.
24324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24325 <limits.h> exists even on freestanding compilers. */
24328 # include <limits.h>
24330 # include <assert.h>
24333 #undef gethostbyname
24335 /* Override any gcc2 internal prototype to avoid an error. */
24340 /* We use char because int might match the return type of a gcc2
24341 builtin and then its argument prototype would still apply. */
24342 char gethostbyname ();
24343 /* The GNU C library defines this for functions which it implements
24344 to always fail with ENOSYS. Some functions are actually named
24345 something starting with __ and the normal name is an alias. */
24346 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24349 char (*f) () = gethostbyname;
24358 return f != gethostbyname;
24363 rm -f conftest.
$ac_objext conftest
$ac_exeext
24364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24365 (eval $ac_link) 2>conftest.er1
24367 grep -v '^ *+' conftest.er1
>conftest.err
24369 cat conftest.err
>&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } &&
24372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374 (eval $ac_try) 2>&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); }; } &&
24378 { ac_try
='test -s conftest$ac_exeext'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; }; then
24384 ac_cv_func_gethostbyname
=yes
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.
$ac_ext >&5
24389 ac_cv_func_gethostbyname
=no
24391 rm -f conftest.err conftest.
$ac_objext \
24392 conftest
$ac_exeext conftest.
$ac_ext
24394 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24395 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24397 if test $ac_cv_func_gethostbyname = no
; then
24398 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24399 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24400 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24401 echo $ECHO_N "(cached) $ECHO_C" >&6
24403 ac_check_lib_save_LIBS
=$LIBS
24405 cat >conftest.
$ac_ext <<_ACEOF
24408 cat confdefs.h
>>conftest.
$ac_ext
24409 cat >>conftest.
$ac_ext <<_ACEOF
24410 /* end confdefs.h. */
24412 /* Override any gcc2 internal prototype to avoid an error. */
24416 /* We use char because int might match the return type of a gcc2
24417 builtin and then its argument prototype would still apply. */
24418 char gethostbyname ();
24427 rm -f conftest.
$ac_objext conftest
$ac_exeext
24428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24429 (eval $ac_link) 2>conftest.er1
24431 grep -v '^ *+' conftest.er1
>conftest.err
24433 cat conftest.err
>&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } &&
24436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; } &&
24442 { ac_try
='test -s conftest$ac_exeext'
24443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444 (eval $ac_try) 2>&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); }; }; then
24448 ac_cv_lib_nsl_gethostbyname
=yes
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.
$ac_ext >&5
24453 ac_cv_lib_nsl_gethostbyname
=no
24455 rm -f conftest.err conftest.
$ac_objext \
24456 conftest
$ac_exeext conftest.
$ac_ext
24457 LIBS
=$ac_check_lib_save_LIBS
24459 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24460 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24461 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24462 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24465 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24466 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24467 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24468 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24469 echo $ECHO_N "(cached) $ECHO_C" >&6
24471 ac_check_lib_save_LIBS
=$LIBS
24473 cat >conftest.
$ac_ext <<_ACEOF
24476 cat confdefs.h
>>conftest.
$ac_ext
24477 cat >>conftest.
$ac_ext <<_ACEOF
24478 /* end confdefs.h. */
24480 /* Override any gcc2 internal prototype to avoid an error. */
24484 /* We use char because int might match the return type of a gcc2
24485 builtin and then its argument prototype would still apply. */
24486 char gethostbyname ();
24495 rm -f conftest.
$ac_objext conftest
$ac_exeext
24496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24497 (eval $ac_link) 2>conftest.er1
24499 grep -v '^ *+' conftest.er1
>conftest.err
24501 cat conftest.err
>&5
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); } &&
24504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24506 (eval $ac_try) 2>&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); }; } &&
24510 { ac_try
='test -s conftest$ac_exeext'
24511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24512 (eval $ac_try) 2>&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); }; }; then
24516 ac_cv_lib_bsd_gethostbyname
=yes
24518 echo "$as_me: failed program was:" >&5
24519 sed 's/^/| /' conftest.
$ac_ext >&5
24521 ac_cv_lib_bsd_gethostbyname
=no
24523 rm -f conftest.err conftest.
$ac_objext \
24524 conftest
$ac_exeext conftest.
$ac_ext
24525 LIBS
=$ac_check_lib_save_LIBS
24527 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24528 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24529 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24530 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24536 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24537 # socket/setsockopt and other routines are undefined under SCO ODT
24538 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24539 # on later versions), says Simon Leinen: it contains gethostby*
24540 # variants that don't use the name server (or something). -lsocket
24541 # must be given before -lnsl if both are needed. We assume that
24542 # if connect needs -lnsl, so does gethostbyname.
24543 echo "$as_me:$LINENO: checking for connect" >&5
24544 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24545 if test "${ac_cv_func_connect+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24548 cat >conftest.
$ac_ext <<_ACEOF
24551 cat confdefs.h
>>conftest.
$ac_ext
24552 cat >>conftest.
$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24554 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24556 #define connect innocuous_connect
24558 /* System header to define __stub macros and hopefully few prototypes,
24559 which can conflict with char connect (); below.
24560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24561 <limits.h> exists even on freestanding compilers. */
24564 # include <limits.h>
24566 # include <assert.h>
24571 /* Override any gcc2 internal prototype to avoid an error. */
24576 /* We use char because int might match the return type of a gcc2
24577 builtin and then its argument prototype would still apply. */
24579 /* The GNU C library defines this for functions which it implements
24580 to always fail with ENOSYS. Some functions are actually named
24581 something starting with __ and the normal name is an alias. */
24582 #if defined (__stub_connect) || defined (__stub___connect)
24585 char (*f) () = connect;
24594 return f != connect;
24599 rm -f conftest.
$ac_objext conftest
$ac_exeext
24600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24601 (eval $ac_link) 2>conftest.er1
24603 grep -v '^ *+' conftest.er1
>conftest.err
24605 cat conftest.err
>&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } &&
24608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24610 (eval $ac_try) 2>&5
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); }; } &&
24614 { ac_try
='test -s conftest$ac_exeext'
24615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24616 (eval $ac_try) 2>&5
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); }; }; then
24620 ac_cv_func_connect
=yes
24622 echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.
$ac_ext >&5
24625 ac_cv_func_connect
=no
24627 rm -f conftest.err conftest.
$ac_objext \
24628 conftest
$ac_exeext conftest.
$ac_ext
24630 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24631 echo "${ECHO_T}$ac_cv_func_connect" >&6
24633 if test $ac_cv_func_connect = no
; then
24634 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24635 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24636 if test "${ac_cv_lib_socket_connect+set}" = set; then
24637 echo $ECHO_N "(cached) $ECHO_C" >&6
24639 ac_check_lib_save_LIBS
=$LIBS
24640 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24641 cat >conftest.
$ac_ext <<_ACEOF
24644 cat confdefs.h
>>conftest.
$ac_ext
24645 cat >>conftest.
$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24648 /* Override any gcc2 internal prototype to avoid an error. */
24652 /* We use char because int might match the return type of a gcc2
24653 builtin and then its argument prototype would still apply. */
24663 rm -f conftest.
$ac_objext conftest
$ac_exeext
24664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24665 (eval $ac_link) 2>conftest.er1
24667 grep -v '^ *+' conftest.er1
>conftest.err
24669 cat conftest.err
>&5
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); } &&
24672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24674 (eval $ac_try) 2>&5
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); }; } &&
24678 { ac_try
='test -s conftest$ac_exeext'
24679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24680 (eval $ac_try) 2>&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); }; }; then
24684 ac_cv_lib_socket_connect
=yes
24686 echo "$as_me: failed program was:" >&5
24687 sed 's/^/| /' conftest.
$ac_ext >&5
24689 ac_cv_lib_socket_connect
=no
24691 rm -f conftest.err conftest.
$ac_objext \
24692 conftest
$ac_exeext conftest.
$ac_ext
24693 LIBS
=$ac_check_lib_save_LIBS
24695 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24696 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24697 if test $ac_cv_lib_socket_connect = yes; then
24698 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24703 # Guillermo Gomez says -lposix is necessary on A/UX.
24704 echo "$as_me:$LINENO: checking for remove" >&5
24705 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24706 if test "${ac_cv_func_remove+set}" = set; then
24707 echo $ECHO_N "(cached) $ECHO_C" >&6
24709 cat >conftest.
$ac_ext <<_ACEOF
24712 cat confdefs.h
>>conftest.
$ac_ext
24713 cat >>conftest.
$ac_ext <<_ACEOF
24714 /* end confdefs.h. */
24715 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24717 #define remove innocuous_remove
24719 /* System header to define __stub macros and hopefully few prototypes,
24720 which can conflict with char remove (); below.
24721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24722 <limits.h> exists even on freestanding compilers. */
24725 # include <limits.h>
24727 # include <assert.h>
24732 /* Override any gcc2 internal prototype to avoid an error. */
24737 /* We use char because int might match the return type of a gcc2
24738 builtin and then its argument prototype would still apply. */
24740 /* The GNU C library defines this for functions which it implements
24741 to always fail with ENOSYS. Some functions are actually named
24742 something starting with __ and the normal name is an alias. */
24743 #if defined (__stub_remove) || defined (__stub___remove)
24746 char (*f) () = remove;
24755 return f != remove;
24760 rm -f conftest.
$ac_objext conftest
$ac_exeext
24761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24762 (eval $ac_link) 2>conftest.er1
24764 grep -v '^ *+' conftest.er1
>conftest.err
24766 cat conftest.err
>&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); } &&
24769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24771 (eval $ac_try) 2>&5
24773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24774 (exit $ac_status); }; } &&
24775 { ac_try
='test -s conftest$ac_exeext'
24776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24777 (eval $ac_try) 2>&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); }; }; then
24781 ac_cv_func_remove
=yes
24783 echo "$as_me: failed program was:" >&5
24784 sed 's/^/| /' conftest.
$ac_ext >&5
24786 ac_cv_func_remove
=no
24788 rm -f conftest.err conftest.
$ac_objext \
24789 conftest
$ac_exeext conftest.
$ac_ext
24791 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24792 echo "${ECHO_T}$ac_cv_func_remove" >&6
24794 if test $ac_cv_func_remove = no
; then
24795 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24796 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24797 if test "${ac_cv_lib_posix_remove+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24800 ac_check_lib_save_LIBS
=$LIBS
24801 LIBS
="-lposix $LIBS"
24802 cat >conftest.
$ac_ext <<_ACEOF
24805 cat confdefs.h
>>conftest.
$ac_ext
24806 cat >>conftest.
$ac_ext <<_ACEOF
24807 /* end confdefs.h. */
24809 /* Override any gcc2 internal prototype to avoid an error. */
24813 /* We use char because int might match the return type of a gcc2
24814 builtin and then its argument prototype would still apply. */
24824 rm -f conftest.
$ac_objext conftest
$ac_exeext
24825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24826 (eval $ac_link) 2>conftest.er1
24828 grep -v '^ *+' conftest.er1
>conftest.err
24830 cat conftest.err
>&5
24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832 (exit $ac_status); } &&
24833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24835 (eval $ac_try) 2>&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); }; } &&
24839 { ac_try
='test -s conftest$ac_exeext'
24840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24841 (eval $ac_try) 2>&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); }; }; then
24845 ac_cv_lib_posix_remove
=yes
24847 echo "$as_me: failed program was:" >&5
24848 sed 's/^/| /' conftest.
$ac_ext >&5
24850 ac_cv_lib_posix_remove
=no
24852 rm -f conftest.err conftest.
$ac_objext \
24853 conftest
$ac_exeext conftest.
$ac_ext
24854 LIBS
=$ac_check_lib_save_LIBS
24856 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24857 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24858 if test $ac_cv_lib_posix_remove = yes; then
24859 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24864 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24865 echo "$as_me:$LINENO: checking for shmat" >&5
24866 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24867 if test "${ac_cv_func_shmat+set}" = set; then
24868 echo $ECHO_N "(cached) $ECHO_C" >&6
24870 cat >conftest.
$ac_ext <<_ACEOF
24873 cat confdefs.h
>>conftest.
$ac_ext
24874 cat >>conftest.
$ac_ext <<_ACEOF
24875 /* end confdefs.h. */
24876 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24878 #define shmat innocuous_shmat
24880 /* System header to define __stub macros and hopefully few prototypes,
24881 which can conflict with char shmat (); below.
24882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24883 <limits.h> exists even on freestanding compilers. */
24886 # include <limits.h>
24888 # include <assert.h>
24893 /* Override any gcc2 internal prototype to avoid an error. */
24898 /* We use char because int might match the return type of a gcc2
24899 builtin and then its argument prototype would still apply. */
24901 /* The GNU C library defines this for functions which it implements
24902 to always fail with ENOSYS. Some functions are actually named
24903 something starting with __ and the normal name is an alias. */
24904 #if defined (__stub_shmat) || defined (__stub___shmat)
24907 char (*f) () = shmat;
24921 rm -f conftest.
$ac_objext conftest
$ac_exeext
24922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24923 (eval $ac_link) 2>conftest.er1
24925 grep -v '^ *+' conftest.er1
>conftest.err
24927 cat conftest.err
>&5
24928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929 (exit $ac_status); } &&
24930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932 (eval $ac_try) 2>&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); }; } &&
24936 { ac_try
='test -s conftest$ac_exeext'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; }; then
24942 ac_cv_func_shmat
=yes
24944 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.
$ac_ext >&5
24947 ac_cv_func_shmat
=no
24949 rm -f conftest.err conftest.
$ac_objext \
24950 conftest
$ac_exeext conftest.
$ac_ext
24952 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24953 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24955 if test $ac_cv_func_shmat = no
; then
24956 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24957 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24958 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24959 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 ac_check_lib_save_LIBS
=$LIBS
24963 cat >conftest.
$ac_ext <<_ACEOF
24966 cat confdefs.h
>>conftest.
$ac_ext
24967 cat >>conftest.
$ac_ext <<_ACEOF
24968 /* end confdefs.h. */
24970 /* Override any gcc2 internal prototype to avoid an error. */
24974 /* We use char because int might match the return type of a gcc2
24975 builtin and then its argument prototype would still apply. */
24985 rm -f conftest.
$ac_objext conftest
$ac_exeext
24986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24987 (eval $ac_link) 2>conftest.er1
24989 grep -v '^ *+' conftest.er1
>conftest.err
24991 cat conftest.err
>&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } &&
24994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24996 (eval $ac_try) 2>&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); }; } &&
25000 { ac_try
='test -s conftest$ac_exeext'
25001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25002 (eval $ac_try) 2>&5
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); }; }; then
25006 ac_cv_lib_ipc_shmat
=yes
25008 echo "$as_me: failed program was:" >&5
25009 sed 's/^/| /' conftest.
$ac_ext >&5
25011 ac_cv_lib_ipc_shmat
=no
25013 rm -f conftest.err conftest.
$ac_objext \
25014 conftest
$ac_exeext conftest.
$ac_ext
25015 LIBS
=$ac_check_lib_save_LIBS
25017 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25018 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25019 if test $ac_cv_lib_ipc_shmat = yes; then
25020 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25026 # Check for libraries that X11R6 Xt/Xaw programs need.
25027 ac_save_LDFLAGS
=$LDFLAGS
25028 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25029 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25030 # check for ICE first), but we must link in the order -lSM -lICE or
25031 # we get undefined symbols. So assume we have SM if we have ICE.
25032 # These have to be linked with before -lX11, unlike the other
25033 # libraries we check for below, so use a different variable.
25034 # John Interrante, Karl Berry
25035 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25036 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25037 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25038 echo $ECHO_N "(cached) $ECHO_C" >&6
25040 ac_check_lib_save_LIBS
=$LIBS
25041 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25042 cat >conftest.
$ac_ext <<_ACEOF
25045 cat confdefs.h
>>conftest.
$ac_ext
25046 cat >>conftest.
$ac_ext <<_ACEOF
25047 /* end confdefs.h. */
25049 /* Override any gcc2 internal prototype to avoid an error. */
25053 /* We use char because int might match the return type of a gcc2
25054 builtin and then its argument prototype would still apply. */
25055 char IceConnectionNumber ();
25059 IceConnectionNumber ();
25064 rm -f conftest.
$ac_objext conftest
$ac_exeext
25065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25066 (eval $ac_link) 2>conftest.er1
25068 grep -v '^ *+' conftest.er1
>conftest.err
25070 cat conftest.err
>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); } &&
25073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; } &&
25079 { ac_try
='test -s conftest$ac_exeext'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 ac_cv_lib_ICE_IceConnectionNumber
=yes
25087 echo "$as_me: failed program was:" >&5
25088 sed 's/^/| /' conftest.
$ac_ext >&5
25090 ac_cv_lib_ICE_IceConnectionNumber
=no
25092 rm -f conftest.err conftest.
$ac_objext \
25093 conftest
$ac_exeext conftest.
$ac_ext
25094 LIBS
=$ac_check_lib_save_LIBS
25096 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25097 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25098 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25099 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25102 LDFLAGS
=$ac_save_LDFLAGS
25107 if test "$no_x" = "yes"; then
25108 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25109 echo "$as_me: error: X11 not found" >&2;}
25110 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25113 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25114 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25115 AFMINSTALL
=afminstall
25116 COMPILED_X_PROGRAM
=0
25120 if test "$wxUSE_X11" = 1; then
25121 if test "$wxUSE_NANOX" = "yes"; then
25122 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25123 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25124 if test "x$MICROWIN" = x
; then
25125 echo "$as_me:$LINENO: result: not found" >&5
25126 echo "${ECHO_T}not found" >&6
25127 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25128 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25129 { (exit 1); exit 1; }; }
25131 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25132 echo "${ECHO_T}$MICROWIN" >&6
25133 cat >>confdefs.h
<<\_ACEOF
25134 #define wxUSE_NANOX 1
25140 if test "$wxUSE_UNICODE" = "yes"; then
25144 if test -z "$PKG_CONFIG"; then
25145 # Extract the first word of "pkg-config", so it can be a program name with args.
25146 set dummy pkg
-config; ac_word
=$2
25147 echo "$as_me:$LINENO: checking for $ac_word" >&5
25148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25149 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25150 echo $ECHO_N "(cached) $ECHO_C" >&6
25152 case $PKG_CONFIG in
25154 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25158 for as_dir
in $PATH
25161 test -z "$as_dir" && as_dir
=.
25162 for ac_exec_ext
in '' $ac_executable_extensions; do
25163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25164 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25171 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25175 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25177 if test -n "$PKG_CONFIG"; then
25178 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25179 echo "${ECHO_T}$PKG_CONFIG" >&6
25181 echo "$as_me:$LINENO: result: no" >&5
25182 echo "${ECHO_T}no" >&6
25187 if test "$PKG_CONFIG" = "no" ; then
25188 echo "*** The pkg-config script could not be found. Make sure it is"
25189 echo "*** in your path, or set the PKG_CONFIG environment variable"
25190 echo "*** to the full path to pkg-config."
25191 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25193 PKG_CONFIG_MIN_VERSION
=0.9.0
25194 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25195 echo "$as_me:$LINENO: checking for pangox" >&5
25196 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25198 if $PKG_CONFIG --exists "pangox" ; then
25199 echo "$as_me:$LINENO: result: yes" >&5
25200 echo "${ECHO_T}yes" >&6
25203 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25204 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25205 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25206 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25207 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25209 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25210 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25211 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25212 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25213 echo "${ECHO_T}$PANGOX_LIBS" >&6
25217 ## If we have a custom action on failure, don't print errors, but
25218 ## do set a variable so people can do so.
25219 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25226 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25227 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25231 if test $succeeded = yes; then
25233 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25234 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25238 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25239 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25240 { (exit 1); exit 1; }; }
25248 if test -z "$PKG_CONFIG"; then
25249 # Extract the first word of "pkg-config", so it can be a program name with args.
25250 set dummy pkg
-config; ac_word
=$2
25251 echo "$as_me:$LINENO: checking for $ac_word" >&5
25252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25253 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25254 echo $ECHO_N "(cached) $ECHO_C" >&6
25256 case $PKG_CONFIG in
25258 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25262 for as_dir
in $PATH
25265 test -z "$as_dir" && as_dir
=.
25266 for ac_exec_ext
in '' $ac_executable_extensions; do
25267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25268 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25275 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25279 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25281 if test -n "$PKG_CONFIG"; then
25282 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25283 echo "${ECHO_T}$PKG_CONFIG" >&6
25285 echo "$as_me:$LINENO: result: no" >&5
25286 echo "${ECHO_T}no" >&6
25291 if test "$PKG_CONFIG" = "no" ; then
25292 echo "*** The pkg-config script could not be found. Make sure it is"
25293 echo "*** in your path, or set the PKG_CONFIG environment variable"
25294 echo "*** to the full path to pkg-config."
25295 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25297 PKG_CONFIG_MIN_VERSION
=0.9.0
25298 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25299 echo "$as_me:$LINENO: checking for pangoft2" >&5
25300 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25302 if $PKG_CONFIG --exists "pangoft2" ; then
25303 echo "$as_me:$LINENO: result: yes" >&5
25304 echo "${ECHO_T}yes" >&6
25307 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25308 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25309 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25310 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25311 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25313 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25314 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25315 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25316 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25317 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25321 ## If we have a custom action on failure, don't print errors, but
25322 ## do set a variable so people can do so.
25323 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25330 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25331 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25335 if test $succeeded = yes; then
25337 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25338 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25342 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25343 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25344 wxUSE_PRINTING_ARCHITECTURE
="no"
25352 if test -z "$PKG_CONFIG"; then
25353 # Extract the first word of "pkg-config", so it can be a program name with args.
25354 set dummy pkg
-config; ac_word
=$2
25355 echo "$as_me:$LINENO: checking for $ac_word" >&5
25356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25357 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25358 echo $ECHO_N "(cached) $ECHO_C" >&6
25360 case $PKG_CONFIG in
25362 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25366 for as_dir
in $PATH
25369 test -z "$as_dir" && as_dir
=.
25370 for ac_exec_ext
in '' $ac_executable_extensions; do
25371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25372 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25379 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25383 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25385 if test -n "$PKG_CONFIG"; then
25386 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25387 echo "${ECHO_T}$PKG_CONFIG" >&6
25389 echo "$as_me:$LINENO: result: no" >&5
25390 echo "${ECHO_T}no" >&6
25395 if test "$PKG_CONFIG" = "no" ; then
25396 echo "*** The pkg-config script could not be found. Make sure it is"
25397 echo "*** in your path, or set the PKG_CONFIG environment variable"
25398 echo "*** to the full path to pkg-config."
25399 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25401 PKG_CONFIG_MIN_VERSION
=0.9.0
25402 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25403 echo "$as_me:$LINENO: checking for pangoxft" >&5
25404 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25406 if $PKG_CONFIG --exists "pangoxft" ; then
25407 echo "$as_me:$LINENO: result: yes" >&5
25408 echo "${ECHO_T}yes" >&6
25411 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25412 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25413 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25414 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25415 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25417 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25418 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25419 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25420 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25421 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25425 ## If we have a custom action on failure, don't print errors, but
25426 ## do set a variable so people can do so.
25427 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25434 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25435 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25439 if test $succeeded = yes; then
25441 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25442 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25446 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25447 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25452 save_CFLAGS
="$CFLAGS"
25454 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25455 LIBS
="$LIBS $PANGOX_LIBS"
25457 for ac_func
in pango_font_family_is_monospace
25459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25460 echo "$as_me:$LINENO: checking for $ac_func" >&5
25461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25462 if eval "test \"\${$as_ac_var+set}\" = set"; then
25463 echo $ECHO_N "(cached) $ECHO_C" >&6
25465 cat >conftest.
$ac_ext <<_ACEOF
25468 cat confdefs.h
>>conftest.
$ac_ext
25469 cat >>conftest.
$ac_ext <<_ACEOF
25470 /* end confdefs.h. */
25471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25473 #define $ac_func innocuous_$ac_func
25475 /* System header to define __stub macros and hopefully few prototypes,
25476 which can conflict with char $ac_func (); below.
25477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25478 <limits.h> exists even on freestanding compilers. */
25481 # include <limits.h>
25483 # include <assert.h>
25488 /* Override any gcc2 internal prototype to avoid an error. */
25493 /* We use char because int might match the return type of a gcc2
25494 builtin and then its argument prototype would still apply. */
25496 /* The GNU C library defines this for functions which it implements
25497 to always fail with ENOSYS. Some functions are actually named
25498 something starting with __ and the normal name is an alias. */
25499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25502 char (*f) () = $ac_func;
25511 return f != $ac_func;
25516 rm -f conftest.
$ac_objext conftest
$ac_exeext
25517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25518 (eval $ac_link) 2>conftest.er1
25520 grep -v '^ *+' conftest.er1
>conftest.err
25522 cat conftest.err
>&5
25523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25524 (exit $ac_status); } &&
25525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25527 (eval $ac_try) 2>&5
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); }; } &&
25531 { ac_try
='test -s conftest$ac_exeext'
25532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25533 (eval $ac_try) 2>&5
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); }; }; then
25537 eval "$as_ac_var=yes"
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.
$ac_ext >&5
25542 eval "$as_ac_var=no"
25544 rm -f conftest.err conftest.
$ac_objext \
25545 conftest
$ac_exeext conftest.
$ac_ext
25547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25549 if test `eval echo '${'$as_ac_var'}'` = yes; then
25550 cat >>confdefs.h
<<_ACEOF
25551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25557 CFLAGS
="$save_CFLAGS"
25561 wxUSE_UNIVERSAL
="yes"
25563 if test "$wxUSE_NANOX" = "yes"; then
25564 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25565 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"
25566 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25568 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25571 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25576 if test "$wxUSE_MOTIF" = 1; then
25577 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25578 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25581 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25583 if test -f "$ac_dir/Xm/Xm.h"; then
25584 ac_find_includes
=$ac_dir
25589 if test "$ac_find_includes" != "" ; then
25590 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25591 echo "${ECHO_T}found in $ac_find_includes" >&6
25593 if test "x$ac_find_includes" = "x/usr/include"; then
25594 ac_path_to_include
=""
25596 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25598 if test $result = 0; then
25599 ac_path_to_include
=""
25601 ac_path_to_include
=" -I$ac_find_includes"
25605 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25607 cat >conftest.
$ac_ext <<_ACEOF
25610 cat confdefs.h
>>conftest.
$ac_ext
25611 cat >>conftest.
$ac_ext <<_ACEOF
25612 /* end confdefs.h. */
25621 version = xmUseVersion;
25627 rm -f conftest.
$ac_objext
25628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25629 (eval $ac_compile) 2>conftest.er1
25631 grep -v '^ *+' conftest.er1
>conftest.err
25633 cat conftest.err
>&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } &&
25636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25638 (eval $ac_try) 2>&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); }; } &&
25642 { ac_try
='test -s conftest.$ac_objext'
25643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25644 (eval $ac_try) 2>&5
25646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647 (exit $ac_status); }; }; then
25649 echo "$as_me:$LINENO: result: found in default search path" >&5
25650 echo "${ECHO_T}found in default search path" >&6
25651 COMPILED_X_PROGRAM
=1
25654 echo "$as_me: failed program was:" >&5
25655 sed 's/^/| /' conftest.
$ac_ext >&5
25658 echo "$as_me:$LINENO: result: no" >&5
25659 echo "${ECHO_T}no" >&6
25660 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25661 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25662 { (exit 1); exit 1; }; }
25666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25669 if test "$COMPILED_X_PROGRAM" = 0; then
25670 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25671 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25674 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25676 for ac_extension
in a so sl dylib
; do
25677 if test -f "$ac_dir/libXm.$ac_extension"; then
25678 ac_find_libraries
=$ac_dir
25684 if test "$ac_find_libraries" != "" ; then
25685 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25686 echo "${ECHO_T}found at $ac_find_libraries" >&6
25689 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25691 if test $result = 0; then
25694 ac_path_to_link
=" -L$ac_find_libraries"
25697 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25699 save_CFLAGS
=$CFLAGS
25700 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25702 cat >conftest.
$ac_ext <<_ACEOF
25705 cat confdefs.h
>>conftest.
$ac_ext
25706 cat >>conftest.
$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25716 version = xmUseVersion;
25722 rm -f conftest.
$ac_objext
25723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25724 (eval $ac_compile) 2>conftest.er1
25726 grep -v '^ *+' conftest.er1
>conftest.err
25728 cat conftest.err
>&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } &&
25731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25733 (eval $ac_try) 2>&5
25735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25736 (exit $ac_status); }; } &&
25737 { ac_try
='test -s conftest.$ac_objext'
25738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25739 (eval $ac_try) 2>&5
25741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25742 (exit $ac_status); }; }; then
25744 echo "$as_me:$LINENO: result: found in default search path" >&5
25745 echo "${ECHO_T}found in default search path" >&6
25746 COMPILED_X_PROGRAM
=1
25749 echo "$as_me: failed program was:" >&5
25750 sed 's/^/| /' conftest.
$ac_ext >&5
25753 echo "$as_me:$LINENO: result: no" >&5
25754 echo "${ECHO_T}no" >&6
25755 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25756 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25757 { (exit 1); exit 1; }; }
25761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25763 CFLAGS
=$save_CFLAGS
25767 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25768 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25772 for libp
in "" " -lXp"; do
25773 if test "$libs_found" = "0"; then
25774 for libsm_ice
in "" " -lSM -lICE"; do
25775 if test "$libs_found" = "0"; then
25777 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25778 save_CFLAGS
=$CFLAGS
25779 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25781 cat >conftest.
$ac_ext <<_ACEOF
25784 cat confdefs.h
>>conftest.
$ac_ext
25785 cat >>conftest.
$ac_ext <<_ACEOF
25786 /* end confdefs.h. */
25789 #include <Xm/List.h>
25795 XmString string = NULL;
25798 XmListAddItem(w, string, position);
25804 rm -f conftest.
$ac_objext conftest
$ac_exeext
25805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25806 (eval $ac_link) 2>conftest.er1
25808 grep -v '^ *+' conftest.er1
>conftest.err
25810 cat conftest.err
>&5
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); } &&
25813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25815 (eval $ac_try) 2>&5
25817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25818 (exit $ac_status); }; } &&
25819 { ac_try
='test -s conftest$ac_exeext'
25820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25821 (eval $ac_try) 2>&5
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); }; }; then
25827 libsm_ice_link
="$libsm_ice"
25828 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25829 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25833 echo "$as_me: failed program was:" >&5
25834 sed 's/^/| /' conftest.
$ac_ext >&5
25839 rm -f conftest.err conftest.
$ac_objext \
25840 conftest
$ac_exeext conftest.
$ac_ext
25843 CFLAGS
=$save_CFLAGS
25849 if test "$libs_found" = "0"; then
25850 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25851 echo "${ECHO_T}can't find the right libraries" >&6
25852 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25853 echo "$as_me: error: can't link a simple motif program" >&2;}
25854 { (exit 1); exit 1; }; }
25857 save_CFLAGS
=$CFLAGS
25858 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25859 echo "$as_me:$LINENO: checking for Motif 2" >&5
25860 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25861 cat >conftest.
$ac_ext <<_ACEOF
25864 cat confdefs.h
>>conftest.
$ac_ext
25865 cat >>conftest.
$ac_ext <<_ACEOF
25866 /* end confdefs.h. */
25874 #if XmVersion < 2000
25875 #error "Not Motif 2"
25882 rm -f conftest.
$ac_objext
25883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25884 (eval $ac_compile) 2>conftest.er1
25886 grep -v '^ *+' conftest.er1
>conftest.err
25888 cat conftest.err
>&5
25889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25890 (exit $ac_status); } &&
25891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25893 (eval $ac_try) 2>&5
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); }; } &&
25897 { ac_try
='test -s conftest.$ac_objext'
25898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25899 (eval $ac_try) 2>&5
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; }; then
25904 cat >>confdefs.h
<<\_ACEOF
25905 #define __WXMOTIF20__ 1
25908 echo "$as_me:$LINENO: result: found" >&5
25909 echo "${ECHO_T}found" >&6
25912 echo "$as_me: failed program was:" >&5
25913 sed 's/^/| /' conftest.
$ac_ext >&5
25916 cat >>confdefs.h
<<\_ACEOF
25917 #define __WXMOTIF20__ 0
25920 echo "$as_me:$LINENO: result: not found" >&5
25921 echo "${ECHO_T}not found" >&6
25924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25925 CFLAGS
=$save_CFLAGS
25927 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25928 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25933 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25934 if test "$wxUSE_LIBXPM" = "sys"; then
25935 echo "$as_me:$LINENO: checking for Xpm library" >&5
25936 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25939 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25941 for ac_extension
in a so sl dylib
; do
25942 if test -f "$ac_dir/libXpm.$ac_extension"; then
25943 ac_find_libraries
=$ac_dir
25949 if test "$ac_find_libraries" != "" ; then
25951 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25953 if test $result = 0; then
25956 ac_path_to_link
=" -L$ac_find_libraries"
25959 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25960 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25961 echo "${ECHO_T}found at $ac_find_libraries" >&6
25963 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25964 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25965 if test "${wx_cv_x11_xpm_h+set}" = set; then
25966 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 save_CFLAGS
=$CFLAGS
25970 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25972 cat >conftest.
$ac_ext <<_ACEOF
25975 cat confdefs.h
>>conftest.
$ac_ext
25976 cat >>conftest.
$ac_ext <<_ACEOF
25977 /* end confdefs.h. */
25979 #include <X11/xpm.h>
25986 version = XpmLibraryVersion();
25992 rm -f conftest.
$ac_objext
25993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25994 (eval $ac_compile) 2>conftest.er1
25996 grep -v '^ *+' conftest.er1
>conftest.err
25998 cat conftest.err
>&5
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); } &&
26001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; } &&
26007 { ac_try
='test -s conftest.$ac_objext'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; }; then
26013 wx_cv_x11_xpm_h
=yes
26015 echo "$as_me: failed program was:" >&5
26016 sed 's/^/| /' conftest.
$ac_ext >&5
26021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26023 CFLAGS
=$save_CFLAGS
26027 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26028 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26030 if test $wx_cv_x11_xpm_h = "yes"; then
26031 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26032 cat >>confdefs.h
<<\_ACEOF
26033 #define wxHAVE_LIB_XPM 1
26037 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26038 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26044 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26045 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26046 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26047 echo $ECHO_N "(cached) $ECHO_C" >&6
26049 ac_check_lib_save_LIBS
=$LIBS
26050 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26051 cat >conftest.
$ac_ext <<_ACEOF
26054 cat confdefs.h
>>conftest.
$ac_ext
26055 cat >>conftest.
$ac_ext <<_ACEOF
26056 /* end confdefs.h. */
26058 /* Override any gcc2 internal prototype to avoid an error. */
26062 /* We use char because int might match the return type of a gcc2
26063 builtin and then its argument prototype would still apply. */
26064 char XShapeQueryExtension ();
26068 XShapeQueryExtension ();
26073 rm -f conftest.
$ac_objext conftest
$ac_exeext
26074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26075 (eval $ac_link) 2>conftest.er1
26077 grep -v '^ *+' conftest.er1
>conftest.err
26079 cat conftest.err
>&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); } &&
26082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; } &&
26088 { ac_try
='test -s conftest$ac_exeext'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; }; then
26094 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.
$ac_ext >&5
26099 ac_cv_lib_Xext_XShapeQueryExtension
=no
26101 rm -f conftest.err conftest.
$ac_objext \
26102 conftest
$ac_exeext conftest.
$ac_ext
26103 LIBS
=$ac_check_lib_save_LIBS
26105 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26106 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26107 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26109 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26115 if test "$wxHAVE_XEXT_LIB" = 1; then
26116 save_CFLAGS
="$CFLAGS"
26117 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26119 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26120 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26121 cat >conftest.
$ac_ext <<_ACEOF
26124 cat confdefs.h
>>conftest.
$ac_ext
26125 cat >>conftest.
$ac_ext <<_ACEOF
26126 /* end confdefs.h. */
26128 #include <X11/Xlib.h>
26129 #include <X11/extensions/shape.h>
26135 int dummy1, dummy2;
26136 XShapeQueryExtension((Display*)NULL,
26137 (int*)NULL, (int*)NULL);
26143 rm -f conftest.
$ac_objext
26144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26145 (eval $ac_compile) 2>conftest.er1
26147 grep -v '^ *+' conftest.er1
>conftest.err
26149 cat conftest.err
>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); } &&
26152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try
='test -s conftest.$ac_objext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26165 cat >>confdefs.h
<<\_ACEOF
26166 #define HAVE_XSHAPE 1
26169 echo "$as_me:$LINENO: result: found" >&5
26170 echo "${ECHO_T}found" >&6
26173 echo "$as_me: failed program was:" >&5
26174 sed 's/^/| /' conftest.
$ac_ext >&5
26177 echo "$as_me:$LINENO: result: not found" >&5
26178 echo "${ECHO_T}not found" >&6
26181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26182 CFLAGS
="$save_CFLAGS"
26187 if test "$wxUSE_MAC" = 1; then
26188 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26189 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26190 if test "$GCC" = yes; then
26191 echo "$as_me:$LINENO: result: gcc" >&5
26192 echo "${ECHO_T}gcc" >&6
26193 CPPFLAGS_PASCAL
="-fpascal-strings"
26194 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26195 echo "$as_me:$LINENO: result: xlc" >&5
26196 echo "${ECHO_T}xlc" >&6
26197 CPPFLAGS_PASCAL
="-qmacpstr"
26199 echo "$as_me:$LINENO: result: none" >&5
26200 echo "${ECHO_T}none" >&6
26203 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26205 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26208 WXBASEPORT
="_carbon"
26211 if test "$wxUSE_COCOA" = 1; then
26212 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26217 if test "$wxUSE_PM" = 1; then
26220 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26221 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26222 if test "${wx_cv_spbcdata+set}" = set; then
26223 echo $ECHO_N "(cached) $ECHO_C" >&6
26226 cat >conftest.
$ac_ext <<_ACEOF
26229 cat confdefs.h
>>conftest.
$ac_ext
26230 cat >>conftest.
$ac_ext <<_ACEOF
26231 /* end confdefs.h. */
26246 rm -f conftest.
$ac_objext
26247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26248 (eval $ac_compile) 2>conftest.er1
26250 grep -v '^ *+' conftest.er1
>conftest.err
26252 cat conftest.err
>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } &&
26255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257 (eval $ac_try) 2>&5
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); }; } &&
26261 { ac_try
='test -s conftest.$ac_objext'
26262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26263 (eval $ac_try) 2>&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); }; }; then
26269 echo "$as_me: failed program was:" >&5
26270 sed 's/^/| /' conftest.
$ac_ext >&5
26275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26279 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26280 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26282 if test $wx_cv_spbcdata = "yes"; then
26283 cat >>confdefs.h
<<\_ACEOF
26284 #define HAVE_SPBCDATA 1
26290 if test "$TOOLKIT" = "PM" ; then
26293 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26296 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26298 if test "$wxUSE_UNIVERSAL" = "yes"; then
26299 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26301 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26302 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26304 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26305 if test "$wxUSE_X11" = 1; then
26306 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26308 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26310 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26313 ALL_OBJECTS
="\$(GUIOBJS)"
26314 ALL_SOURCES
="\$(ALL_SOURCES)"
26315 ALL_HEADERS
="\$(ALL_HEADERS)"
26318 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26320 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26321 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26324 if test "$wxUSE_HTML" = "yes"; then
26325 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26328 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26329 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26331 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26332 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26334 if test "$wxUSE_LIBPNG" = "builtin" ; then
26335 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26338 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26339 DISTDIR
="wx\$(TOOLKIT)"
26345 if test "$USE_WIN32" = 1 ; then
26346 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26347 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26351 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26352 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26355 ALL_SOURCES
="\$(ALL_SOURCES)"
26356 ALL_HEADERS
="\$(ALL_HEADERS)"
26358 PORT_FILES
="\${top_srcdir}/src/files.lst"
26360 GUIDIST
="BASE_DIST"
26370 if test "$TOOLKIT" != "MSW" ; then
26372 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26374 if test "${ac_cv_header_sql_h+set}" = set; then
26375 echo "$as_me:$LINENO: checking for sql.h" >&5
26376 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26377 if test "${ac_cv_header_sql_h+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26380 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26381 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26383 # Is the header compilable?
26384 echo "$as_me:$LINENO: checking sql.h usability" >&5
26385 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26386 cat >conftest.
$ac_ext <<_ACEOF
26389 cat confdefs.h
>>conftest.
$ac_ext
26390 cat >>conftest.
$ac_ext <<_ACEOF
26391 /* end confdefs.h. */
26392 $ac_includes_default
26395 rm -f conftest.
$ac_objext
26396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26397 (eval $ac_compile) 2>conftest.er1
26399 grep -v '^ *+' conftest.er1
>conftest.err
26401 cat conftest.err
>&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; } &&
26410 { ac_try
='test -s conftest.$ac_objext'
26411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26412 (eval $ac_try) 2>&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); }; }; then
26416 ac_header_compiler
=yes
26418 echo "$as_me: failed program was:" >&5
26419 sed 's/^/| /' conftest.
$ac_ext >&5
26421 ac_header_compiler
=no
26423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26425 echo "${ECHO_T}$ac_header_compiler" >&6
26427 # Is the header present?
26428 echo "$as_me:$LINENO: checking sql.h presence" >&5
26429 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26430 cat >conftest.
$ac_ext <<_ACEOF
26433 cat confdefs.h
>>conftest.
$ac_ext
26434 cat >>conftest.
$ac_ext <<_ACEOF
26435 /* end confdefs.h. */
26438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26441 grep -v '^ *+' conftest.er1
>conftest.err
26443 cat conftest.err
>&5
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); } >/dev
/null
; then
26446 if test -s conftest.err
; then
26447 ac_cpp_err
=$ac_c_preproc_warn_flag
26448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26455 if test -z "$ac_cpp_err"; then
26456 ac_header_preproc
=yes
26458 echo "$as_me: failed program was:" >&5
26459 sed 's/^/| /' conftest.
$ac_ext >&5
26461 ac_header_preproc
=no
26463 rm -f conftest.err conftest.
$ac_ext
26464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26465 echo "${ECHO_T}$ac_header_preproc" >&6
26467 # So? What about this header?
26468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26470 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26471 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26472 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26473 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26474 ac_header_preproc
=yes
26477 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26478 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26479 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26480 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26481 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26482 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26483 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26484 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26485 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26486 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26487 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26488 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26491 ## ----------------------------------------- ##
26492 ## Report this to wx-dev@lists.wxwidgets.org ##
26493 ## ----------------------------------------- ##
26496 sed "s/^/$as_me: WARNING: /" >&2
26499 echo "$as_me:$LINENO: checking for sql.h" >&5
26500 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26501 if test "${ac_cv_header_sql_h+set}" = set; then
26502 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 ac_cv_header_sql_h
=$ac_header_preproc
26506 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26507 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26510 if test $ac_cv_header_sql_h = yes; then
26515 if test "x$found_sql_h" = "x1" ; then
26516 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26517 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26518 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26519 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 ac_check_lib_save_LIBS
=$LIBS
26522 LIBS
="-liodbc $LIBS"
26523 cat >conftest.
$ac_ext <<_ACEOF
26526 cat confdefs.h
>>conftest.
$ac_ext
26527 cat >>conftest.
$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26530 /* Override any gcc2 internal prototype to avoid an error. */
26534 /* We use char because int might match the return type of a gcc2
26535 builtin and then its argument prototype would still apply. */
26536 char SQLAllocEnv ();
26545 rm -f conftest.
$ac_objext conftest
$ac_exeext
26546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26547 (eval $ac_link) 2>conftest.er1
26549 grep -v '^ *+' conftest.er1
>conftest.err
26551 cat conftest.err
>&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } &&
26554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26556 (eval $ac_try) 2>&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); }; } &&
26560 { ac_try
='test -s conftest$ac_exeext'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; }; then
26566 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.
$ac_ext >&5
26571 ac_cv_lib_iodbc_SQLAllocEnv
=no
26573 rm -f conftest.err conftest.
$ac_objext \
26574 conftest
$ac_exeext conftest.
$ac_ext
26575 LIBS
=$ac_check_lib_save_LIBS
26577 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26578 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26579 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26580 ODBC_LINK
=" -liodbc"
26583 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26584 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26585 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26586 echo $ECHO_N "(cached) $ECHO_C" >&6
26588 ac_check_lib_save_LIBS
=$LIBS
26589 LIBS
="-lunixodbc $LIBS"
26590 cat >conftest.
$ac_ext <<_ACEOF
26593 cat confdefs.h
>>conftest.
$ac_ext
26594 cat >>conftest.
$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26597 /* Override any gcc2 internal prototype to avoid an error. */
26601 /* We use char because int might match the return type of a gcc2
26602 builtin and then its argument prototype would still apply. */
26603 char SQLAllocEnv ();
26612 rm -f conftest.
$ac_objext conftest
$ac_exeext
26613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26614 (eval $ac_link) 2>conftest.er1
26616 grep -v '^ *+' conftest.er1
>conftest.err
26618 cat conftest.err
>&5
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); } &&
26621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26623 (eval $ac_try) 2>&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); }; } &&
26627 { ac_try
='test -s conftest$ac_exeext'
26628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26629 (eval $ac_try) 2>&5
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); }; }; then
26633 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.
$ac_ext >&5
26638 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26640 rm -f conftest.err conftest.
$ac_objext \
26641 conftest
$ac_exeext conftest.
$ac_ext
26642 LIBS
=$ac_check_lib_save_LIBS
26644 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26645 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26646 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26647 ODBC_LINK
=" -lunixodbc"
26650 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26651 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26652 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 ac_check_lib_save_LIBS
=$LIBS
26656 LIBS
="-lodbc $LIBS"
26657 cat >conftest.
$ac_ext <<_ACEOF
26660 cat confdefs.h
>>conftest.
$ac_ext
26661 cat >>conftest.
$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26664 /* Override any gcc2 internal prototype to avoid an error. */
26668 /* We use char because int might match the return type of a gcc2
26669 builtin and then its argument prototype would still apply. */
26670 char SQLAllocEnv ();
26679 rm -f conftest.
$ac_objext conftest
$ac_exeext
26680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26681 (eval $ac_link) 2>conftest.er1
26683 grep -v '^ *+' conftest.er1
>conftest.err
26685 cat conftest.err
>&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } &&
26688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690 (eval $ac_try) 2>&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); }; } &&
26694 { ac_try
='test -s conftest$ac_exeext'
26695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26696 (eval $ac_try) 2>&5
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); }; }; then
26700 ac_cv_lib_odbc_SQLAllocEnv
=yes
26702 echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.
$ac_ext >&5
26705 ac_cv_lib_odbc_SQLAllocEnv
=no
26707 rm -f conftest.err conftest.
$ac_objext \
26708 conftest
$ac_exeext conftest.
$ac_ext
26709 LIBS
=$ac_check_lib_save_LIBS
26711 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26712 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26713 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26714 ODBC_LINK
=" -lodbc"
26724 if test "x$ODBC_LINK" = "x" ; then
26725 if test "$wxUSE_ODBC" = "sys" ; then
26726 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26727 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26728 { (exit 1); exit 1; }; }
26730 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26731 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26738 if test "$wxUSE_ODBC" != "no" ; then
26739 cat >>confdefs.h
<<\_ACEOF
26740 #define wxUSE_ODBC 1
26743 if test "$wxUSE_ODBC" = "builtin" ; then
26744 cat >>confdefs.h
<<\_ACEOF
26745 #define wxUSE_BUILTIN_IODBC 1
26749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26751 WXODBCFLAG
="-D_IODBC_"
26755 if test "$wxUSE_REGEX" = "builtin" ; then
26756 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
26758 if test "$wxUSE_ZLIB" = "builtin" ; then
26759 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
26763 if test "$wxUSE_DISPLAY" = "yes"; then
26764 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26765 echo "$as_me:$LINENO: checking for Xinerama" >&5
26766 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26769 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26771 for ac_extension
in a so sl dylib
; do
26772 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26773 ac_find_libraries
=$ac_dir
26779 if test "$ac_find_libraries" != "" ; then
26781 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26783 if test $result = 0; then
26786 ac_path_to_link
=" -L$ac_find_libraries"
26789 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26790 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26792 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26793 echo "$as_me:$LINENO: result: yes" >&5
26794 echo "${ECHO_T}yes" >&6
26796 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26797 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26800 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26802 for ac_extension
in a so sl dylib
; do
26803 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26804 ac_find_libraries
=$ac_dir
26810 if test "$ac_find_libraries" != "" ; then
26811 echo "$as_me:$LINENO: result: yes" >&5
26812 echo "${ECHO_T}yes" >&6
26814 for ac_header
in X
11/extensions
/xf86vmode.h
26816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26817 echo "$as_me:$LINENO: checking for $ac_header" >&5
26818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26820 echo $ECHO_N "(cached) $ECHO_C" >&6
26822 cat >conftest.
$ac_ext <<_ACEOF
26825 cat confdefs.h
>>conftest.
$ac_ext
26826 cat >>conftest.
$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26829 #if HAVE_X11_XLIB_H
26830 #include <X11/Xlib.h>
26834 #include <$ac_header>
26836 rm -f conftest.
$ac_objext
26837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26838 (eval $ac_compile) 2>conftest.er1
26840 grep -v '^ *+' conftest.er1
>conftest.err
26842 cat conftest.err
>&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } &&
26845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26847 (eval $ac_try) 2>&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); }; } &&
26851 { ac_try
='test -s conftest.$ac_objext'
26852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26853 (eval $ac_try) 2>&5
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); }; }; then
26857 eval "$as_ac_Header=yes"
26859 echo "$as_me: failed program was:" >&5
26860 sed 's/^/| /' conftest.
$ac_ext >&5
26862 eval "$as_ac_Header=no"
26864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26869 cat >>confdefs.h
<<_ACEOF
26870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26873 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
26880 echo "$as_me:$LINENO: result: no" >&5
26881 echo "${ECHO_T}no" >&6
26885 echo "$as_me:$LINENO: result: no" >&5
26886 echo "${ECHO_T}no" >&6
26887 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
26888 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26891 elif test "$wxUSE_MSW" = 1; then
26894 for ac_header
in multimon.h ddraw.h
26896 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26898 echo "$as_me:$LINENO: checking for $ac_header" >&5
26899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26901 echo $ECHO_N "(cached) $ECHO_C" >&6
26903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26906 # Is the header compilable?
26907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26909 cat >conftest.
$ac_ext <<_ACEOF
26912 cat confdefs.h
>>conftest.
$ac_ext
26913 cat >>conftest.
$ac_ext <<_ACEOF
26914 /* end confdefs.h. */
26915 $ac_includes_default
26916 #include <$ac_header>
26918 rm -f conftest.
$ac_objext
26919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26920 (eval $ac_compile) 2>conftest.er1
26922 grep -v '^ *+' conftest.er1
>conftest.err
26924 cat conftest.err
>&5
26925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26926 (exit $ac_status); } &&
26927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26929 (eval $ac_try) 2>&5
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); }; } &&
26933 { ac_try
='test -s conftest.$ac_objext'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; }; then
26939 ac_header_compiler
=yes
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.
$ac_ext >&5
26944 ac_header_compiler
=no
26946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26948 echo "${ECHO_T}$ac_header_compiler" >&6
26950 # Is the header present?
26951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26953 cat >conftest.
$ac_ext <<_ACEOF
26956 cat confdefs.h
>>conftest.
$ac_ext
26957 cat >>conftest.
$ac_ext <<_ACEOF
26958 /* end confdefs.h. */
26959 #include <$ac_header>
26961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26964 grep -v '^ *+' conftest.er1
>conftest.err
26966 cat conftest.err
>&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); } >/dev
/null
; then
26969 if test -s conftest.err
; then
26970 ac_cpp_err
=$ac_c_preproc_warn_flag
26971 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26978 if test -z "$ac_cpp_err"; then
26979 ac_header_preproc
=yes
26981 echo "$as_me: failed program was:" >&5
26982 sed 's/^/| /' conftest.
$ac_ext >&5
26984 ac_header_preproc
=no
26986 rm -f conftest.err conftest.
$ac_ext
26987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26988 echo "${ECHO_T}$ac_header_preproc" >&6
26990 # So? What about this header?
26991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26997 ac_header_preproc
=yes
27000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27014 ## ----------------------------------------- ##
27015 ## Report this to wx-dev@lists.wxwidgets.org ##
27016 ## ----------------------------------------- ##
27019 sed "s/^/$as_me: WARNING: /" >&2
27022 echo "$as_me:$LINENO: checking for $ac_header" >&5
27023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27025 echo $ECHO_N "(cached) $ECHO_C" >&6
27027 eval "$as_ac_Header=\$ac_header_preproc"
27029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27034 cat >>confdefs.h
<<_ACEOF
27035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27041 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27042 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27053 if test "$wxUSE_OPENGL" = "yes"; then
27054 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27055 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27056 elif test "$wxUSE_MSW" = 1; then
27057 OPENGL_LIBS
="-lopengl32 -lglu32"
27062 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27064 if test -f "$ac_dir/GL/gl.h"; then
27065 ac_find_includes
=$ac_dir
27070 if test "$ac_find_includes" != "" ; then
27071 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27072 echo "${ECHO_T}found in $ac_find_includes" >&6
27074 if test "x$ac_find_includes" = "x/usr/include"; then
27075 ac_path_to_include
=""
27077 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27079 if test $result = 0; then
27080 ac_path_to_include
=""
27082 ac_path_to_include
=" -I$ac_find_includes"
27086 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27089 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27090 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27091 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27092 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27095 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27096 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27098 # Is the header compilable?
27099 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27100 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27101 cat >conftest.
$ac_ext <<_ACEOF
27104 cat confdefs.h
>>conftest.
$ac_ext
27105 cat >>conftest.
$ac_ext <<_ACEOF
27106 /* end confdefs.h. */
27107 $ac_includes_default
27110 rm -f conftest.
$ac_objext
27111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27112 (eval $ac_compile) 2>conftest.er1
27114 grep -v '^ *+' conftest.er1
>conftest.err
27116 cat conftest.err
>&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } &&
27119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27121 (eval $ac_try) 2>&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); }; } &&
27125 { ac_try
='test -s conftest.$ac_objext'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; }; then
27131 ac_header_compiler
=yes
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.
$ac_ext >&5
27136 ac_header_compiler
=no
27138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27140 echo "${ECHO_T}$ac_header_compiler" >&6
27142 # Is the header present?
27143 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27144 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27145 cat >conftest.
$ac_ext <<_ACEOF
27148 cat confdefs.h
>>conftest.
$ac_ext
27149 cat >>conftest.
$ac_ext <<_ACEOF
27150 /* end confdefs.h. */
27153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27154 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27156 grep -v '^ *+' conftest.er1
>conftest.err
27158 cat conftest.err
>&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); } >/dev
/null
; then
27161 if test -s conftest.err
; then
27162 ac_cpp_err
=$ac_c_preproc_warn_flag
27163 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27170 if test -z "$ac_cpp_err"; then
27171 ac_header_preproc
=yes
27173 echo "$as_me: failed program was:" >&5
27174 sed 's/^/| /' conftest.
$ac_ext >&5
27176 ac_header_preproc
=no
27178 rm -f conftest.err conftest.
$ac_ext
27179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27180 echo "${ECHO_T}$ac_header_preproc" >&6
27182 # So? What about this header?
27183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27185 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27186 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27187 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27188 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27189 ac_header_preproc
=yes
27192 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27193 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27194 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27195 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27196 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27197 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27198 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27199 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27200 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27201 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27202 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27203 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27206 ## ----------------------------------------- ##
27207 ## Report this to wx-dev@lists.wxwidgets.org ##
27208 ## ----------------------------------------- ##
27211 sed "s/^/$as_me: WARNING: /" >&2
27214 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27215 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27216 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27217 echo $ECHO_N "(cached) $ECHO_C" >&6
27219 ac_cv_header_GL_gl_h
=$ac_header_preproc
27221 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27222 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27225 if test $ac_cv_header_GL_gl_h = yes; then
27229 echo "$as_me:$LINENO: checking for -lGL" >&5
27230 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27233 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27235 for ac_extension
in a so sl dylib
; do
27236 if test -f "$ac_dir/libGL.$ac_extension"; then
27237 ac_find_libraries
=$ac_dir
27243 if test "$ac_find_libraries" != "" ; then
27245 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27247 if test $result = 0; then
27250 ac_path_to_link
=" -L$ac_find_libraries"
27253 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27254 LDFLAGS_GL
="$ac_path_to_link"
27259 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27261 for ac_extension
in a so sl dylib
; do
27262 if test -f "$ac_dir/libGLU.$ac_extension"; then
27263 ac_find_libraries
=$ac_dir
27269 if test "$ac_find_libraries" != "" ; then
27271 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27273 if test $result = 0; then
27276 ac_path_to_link
=" -L$ac_find_libraries"
27279 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27280 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27281 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27285 OPENGL_LIBS
="-lGL -lGLU"
27286 echo "$as_me:$LINENO: result: yes" >&5
27287 echo "${ECHO_T}yes" >&6
27291 if test "$found_gl" != 1; then
27292 echo "$as_me:$LINENO: result: no" >&5
27293 echo "${ECHO_T}no" >&6
27294 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27295 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27298 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27300 for ac_extension
in a so sl dylib
; do
27301 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27302 ac_find_libraries
=$ac_dir
27308 if test "$ac_find_libraries" != "" ; then
27310 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27312 if test $result = 0; then
27315 ac_path_to_link
=" -L$ac_find_libraries"
27318 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27319 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27320 echo "$as_me:$LINENO: result: yes" >&5
27321 echo "${ECHO_T}yes" >&6
27323 echo "$as_me:$LINENO: result: no" >&5
27324 echo "${ECHO_T}no" >&6
27332 if test "x$OPENGL_LIBS" = "x"; then
27333 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27334 echo "$as_me: error: OpenGL libraries not available" >&2;}
27335 { (exit 1); exit 1; }; }
27339 if test "$wxUSE_OPENGL" = "yes"; then
27341 cat >>confdefs.h
<<\_ACEOF
27342 #define wxUSE_OPENGL 1
27345 cat >>confdefs.h
<<\_ACEOF
27346 #define wxUSE_GLCANVAS 1
27349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27353 if test -z "$TOOLKIT_VPATH" ; then
27354 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27357 if test -n "$TOOLKIT" ; then
27358 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27362 lib_unicode_suffix
=
27363 wxconfig_filename_unicode
="ansi"
27364 if test "$wxUSE_UNICODE" = "yes"; then
27365 lib_unicode_suffix
=u
27366 wxconfig_filename_unicode
="unicode"
27371 wxconfig_filename_debug
="release"
27373 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27375 wxconfig_filename_debug
="debug"
27380 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27384 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27386 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27387 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27389 WXCONFIG_DATA_FILE
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${wxconfig_filename_unicode}-${wxconfig_filename_debug}-${WX_RELEASE}"
27391 if test "$cross_compiling" = "yes"; then
27392 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27393 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27394 WXCONFIG_DATA_FILE
="${WXCONFIG_DATA_FILE}-${host_alias}"
27395 HOST_SUFFIX
="-${host_alias}"
27398 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27399 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27400 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27401 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27403 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27404 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27406 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27407 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27408 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27409 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27412 *-*-cygwin* | *-*-mingw32* )
27413 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27414 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27419 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27420 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27422 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27423 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27424 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27425 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27427 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27428 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27429 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27434 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27435 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27437 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27438 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27440 if test "$wxUSE_OPENGL" = "yes"; then
27441 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27442 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27447 if test "$wxUSE_SHARED" = "yes"; then
27451 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27452 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27458 if test "$wxUSE_SHARED" = "yes"; then
27462 found_versioning
=no
27465 if test $found_versioning = no
; then
27466 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27467 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27468 if test "${wx_cv_version_script+set}" = set; then
27469 echo $ECHO_N "(cached) $ECHO_C" >&6
27472 echo "VER_1 { *; };" >conftest.sym
27473 echo "int main() { return 0; }" >conftest.cpp
27476 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27477 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27479 (eval $ac_try) 2>&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); }; } ; then
27483 if test -s conftest.stderr
; then
27484 wx_cv_version_script
=no
27486 wx_cv_version_script
=yes
27489 wx_cv_version_script
=no
27491 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27494 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27495 echo "${ECHO_T}$wx_cv_version_script" >&6
27496 if test $wx_cv_version_script = yes ; then
27497 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27503 *-*-linux* | *-*-gnu* )
27504 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27508 if test "$GCC" = yes ; then
27509 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27511 saveLdflags
="$LDFLAGS"
27512 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27513 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27514 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27515 cat >conftest.
$ac_ext <<_ACEOF
27518 cat confdefs.h
>>conftest.
$ac_ext
27519 cat >>conftest.
$ac_ext <<_ACEOF
27520 /* end confdefs.h. */
27530 rm -f conftest.
$ac_objext conftest
$ac_exeext
27531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27532 (eval $ac_link) 2>conftest.er1
27534 grep -v '^ *+' conftest.er1
>conftest.err
27536 cat conftest.err
>&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } &&
27539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27541 (eval $ac_try) 2>&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); }; } &&
27545 { ac_try
='test -s conftest$ac_exeext'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; }; then
27552 echo "$as_me:$LINENO: result: yes" >&5
27553 echo "${ECHO_T}yes" >&6
27554 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27557 echo "$as_me: failed program was:" >&5
27558 sed 's/^/| /' conftest.
$ac_ext >&5
27561 echo "$as_me:$LINENO: result: no" >&5
27562 echo "${ECHO_T}no" >&6
27563 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27564 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27565 LDFLAGS
="$saveLdflags -Wl,-R,/"
27566 cat >conftest.
$ac_ext <<_ACEOF
27569 cat confdefs.h
>>conftest.
$ac_ext
27570 cat >>conftest.
$ac_ext <<_ACEOF
27571 /* end confdefs.h. */
27581 rm -f conftest.
$ac_objext conftest
$ac_exeext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27583 (eval $ac_link) 2>conftest.er1
27585 grep -v '^ *+' conftest.er1
>conftest.err
27587 cat conftest.err
>&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27592 (eval $ac_try) 2>&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; } &&
27596 { ac_try
='test -s conftest$ac_exeext'
27597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27598 (eval $ac_try) 2>&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); }; }; then
27603 echo "$as_me:$LINENO: result: yes" >&5
27604 echo "${ECHO_T}yes" >&6
27605 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.
$ac_ext >&5
27611 echo "$as_me:$LINENO: result: no" >&5
27612 echo "${ECHO_T}no" >&6
27615 rm -f conftest.err conftest.
$ac_objext \
27616 conftest
$ac_exeext conftest.
$ac_ext
27619 rm -f conftest.err conftest.
$ac_objext \
27620 conftest
$ac_exeext conftest.
$ac_ext
27621 LDFLAGS
="$saveLdflags"
27623 SHARED_LD
="${CXX} -G -o"
27625 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27629 powerpc
-*-darwin* )
27630 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27631 cat <<EOF >change-install-names
27633 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27634 inst_cmd="install_name_tool "
27635 for i in \${libnames} ; do
27636 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27640 chmod +x change
-install-names
27643 *-*-cygwin* | *-*-mingw32* )
27644 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27649 if test "x$WX_TARGET_LIBRARY" = "x"; then
27650 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27651 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27654 WX_TARGET_LIBRARY_TYPE
="so"
27655 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27658 if test "$wxUSE_SHARED" = "no"; then
27660 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27661 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27664 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27665 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27668 if test "$wxUSE_OPENGL" = "yes"; then
27669 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27670 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27672 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27675 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27676 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27678 WX_TARGET_LIBRARY_TYPE
="a"
27679 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27686 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27687 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27688 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27689 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27691 # Extract the first word of "Rez", so it can be a program name with args.
27692 set dummy Rez
; ac_word
=$2
27693 echo "$as_me:$LINENO: checking for $ac_word" >&5
27694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27695 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27696 echo $ECHO_N "(cached) $ECHO_C" >&6
27698 if test -n "$RESCOMP"; then
27699 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27702 for as_dir
in $PATH
27705 test -z "$as_dir" && as_dir
=.
27706 for ac_exec_ext
in '' $ac_executable_extensions; do
27707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27708 ac_cv_prog_RESCOMP
="Rez"
27709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27715 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27718 RESCOMP
=$ac_cv_prog_RESCOMP
27719 if test -n "$RESCOMP"; then
27720 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27721 echo "${ECHO_T}$RESCOMP" >&6
27723 echo "$as_me:$LINENO: result: no" >&5
27724 echo "${ECHO_T}no" >&6
27727 # Extract the first word of "DeRez", so it can be a program name with args.
27728 set dummy DeRez
; ac_word
=$2
27729 echo "$as_me:$LINENO: checking for $ac_word" >&5
27730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27731 if test "${ac_cv_prog_DEREZ+set}" = set; then
27732 echo $ECHO_N "(cached) $ECHO_C" >&6
27734 if test -n "$DEREZ"; then
27735 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27738 for as_dir
in $PATH
27741 test -z "$as_dir" && as_dir
=.
27742 for ac_exec_ext
in '' $ac_executable_extensions; do
27743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27744 ac_cv_prog_DEREZ
="DeRez"
27745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27751 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27754 DEREZ
=$ac_cv_prog_DEREZ
27755 if test -n "$DEREZ"; then
27756 echo "$as_me:$LINENO: result: $DEREZ" >&5
27757 echo "${ECHO_T}$DEREZ" >&6
27759 echo "$as_me:$LINENO: result: no" >&5
27760 echo "${ECHO_T}no" >&6
27763 # Extract the first word of "SetFile", so it can be a program name with args.
27764 set dummy SetFile
; ac_word
=$2
27765 echo "$as_me:$LINENO: checking for $ac_word" >&5
27766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27767 if test "${ac_cv_prog_SETFILE+set}" = set; then
27768 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 if test -n "$SETFILE"; then
27771 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27774 for as_dir
in $PATH
27777 test -z "$as_dir" && as_dir
=.
27778 for ac_exec_ext
in '' $ac_executable_extensions; do
27779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27780 ac_cv_prog_SETFILE
="SetFile"
27781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27787 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27790 SETFILE
=$ac_cv_prog_SETFILE
27791 if test -n "$SETFILE"; then
27792 echo "$as_me:$LINENO: result: $SETFILE" >&5
27793 echo "${ECHO_T}$SETFILE" >&6
27795 echo "$as_me:$LINENO: result: no" >&5
27796 echo "${ECHO_T}no" >&6
27800 MACSETFILE
="\$(SETFILE)"
27802 if test "$wxUSE_MAC" = 1; then
27803 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27805 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27807 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27808 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27814 if test "$wxUSE_PM" = 1; then
27815 MACRESCOMP
="emxbind -ep"
27823 echo "$as_me:$LINENO: checking for mode_t" >&5
27824 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27825 if test "${ac_cv_type_mode_t+set}" = set; then
27826 echo $ECHO_N "(cached) $ECHO_C" >&6
27828 cat >conftest.
$ac_ext <<_ACEOF
27831 cat confdefs.h
>>conftest.
$ac_ext
27832 cat >>conftest.
$ac_ext <<_ACEOF
27833 /* end confdefs.h. */
27834 $ac_includes_default
27840 if (sizeof (mode_t))
27846 rm -f conftest.
$ac_objext
27847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27848 (eval $ac_compile) 2>conftest.er1
27850 grep -v '^ *+' conftest.er1
>conftest.err
27852 cat conftest.err
>&5
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); } &&
27855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; } &&
27861 { ac_try
='test -s conftest.$ac_objext'
27862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27863 (eval $ac_try) 2>&5
27865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27866 (exit $ac_status); }; }; then
27867 ac_cv_type_mode_t
=yes
27869 echo "$as_me: failed program was:" >&5
27870 sed 's/^/| /' conftest.
$ac_ext >&5
27872 ac_cv_type_mode_t
=no
27874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27876 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27877 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27878 if test $ac_cv_type_mode_t = yes; then
27882 cat >>confdefs.h
<<_ACEOF
27888 echo "$as_me:$LINENO: checking for off_t" >&5
27889 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27890 if test "${ac_cv_type_off_t+set}" = set; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27893 cat >conftest.
$ac_ext <<_ACEOF
27896 cat confdefs.h
>>conftest.
$ac_ext
27897 cat >>conftest.
$ac_ext <<_ACEOF
27898 /* end confdefs.h. */
27899 $ac_includes_default
27905 if (sizeof (off_t))
27911 rm -f conftest.
$ac_objext
27912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27913 (eval $ac_compile) 2>conftest.er1
27915 grep -v '^ *+' conftest.er1
>conftest.err
27917 cat conftest.err
>&5
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 (exit $ac_status); } &&
27920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27922 (eval $ac_try) 2>&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); }; } &&
27926 { ac_try
='test -s conftest.$ac_objext'
27927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27928 (eval $ac_try) 2>&5
27930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931 (exit $ac_status); }; }; then
27932 ac_cv_type_off_t
=yes
27934 echo "$as_me: failed program was:" >&5
27935 sed 's/^/| /' conftest.
$ac_ext >&5
27937 ac_cv_type_off_t
=no
27939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27941 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27942 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27943 if test $ac_cv_type_off_t = yes; then
27947 cat >>confdefs.h
<<_ACEOF
27953 echo "$as_me:$LINENO: checking for pid_t" >&5
27954 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27955 if test "${ac_cv_type_pid_t+set}" = set; then
27956 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 cat >conftest.
$ac_ext <<_ACEOF
27961 cat confdefs.h
>>conftest.
$ac_ext
27962 cat >>conftest.
$ac_ext <<_ACEOF
27963 /* end confdefs.h. */
27964 $ac_includes_default
27970 if (sizeof (pid_t))
27976 rm -f conftest.
$ac_objext
27977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27978 (eval $ac_compile) 2>conftest.er1
27980 grep -v '^ *+' conftest.er1
>conftest.err
27982 cat conftest.err
>&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } &&
27985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27987 (eval $ac_try) 2>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); }; } &&
27991 { ac_try
='test -s conftest.$ac_objext'
27992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27993 (eval $ac_try) 2>&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); }; }; then
27997 ac_cv_type_pid_t
=yes
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.
$ac_ext >&5
28002 ac_cv_type_pid_t
=no
28004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28006 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28007 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28008 if test $ac_cv_type_pid_t = yes; then
28012 cat >>confdefs.h
<<_ACEOF
28018 echo "$as_me:$LINENO: checking for size_t" >&5
28019 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28020 if test "${ac_cv_type_size_t+set}" = set; then
28021 echo $ECHO_N "(cached) $ECHO_C" >&6
28023 cat >conftest.
$ac_ext <<_ACEOF
28026 cat confdefs.h
>>conftest.
$ac_ext
28027 cat >>conftest.
$ac_ext <<_ACEOF
28028 /* end confdefs.h. */
28029 $ac_includes_default
28035 if (sizeof (size_t))
28041 rm -f conftest.
$ac_objext
28042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28043 (eval $ac_compile) 2>conftest.er1
28045 grep -v '^ *+' conftest.er1
>conftest.err
28047 cat conftest.err
>&5
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); } &&
28050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28052 (eval $ac_try) 2>&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); }; } &&
28056 { ac_try
='test -s conftest.$ac_objext'
28057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28058 (eval $ac_try) 2>&5
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); }; }; then
28062 ac_cv_type_size_t
=yes
28064 echo "$as_me: failed program was:" >&5
28065 sed 's/^/| /' conftest.
$ac_ext >&5
28067 ac_cv_type_size_t
=no
28069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28071 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28072 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28073 if test $ac_cv_type_size_t = yes; then
28077 cat >>confdefs.h
<<_ACEOF
28078 #define size_t unsigned
28083 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28084 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28085 if test "${ac_cv_type_uid_t+set}" = set; then
28086 echo $ECHO_N "(cached) $ECHO_C" >&6
28088 cat >conftest.
$ac_ext <<_ACEOF
28091 cat confdefs.h
>>conftest.
$ac_ext
28092 cat >>conftest.
$ac_ext <<_ACEOF
28093 /* end confdefs.h. */
28094 #include <sys/types.h>
28097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28098 $EGREP "uid_t" >/dev
/null
2>&1; then
28099 ac_cv_type_uid_t
=yes
28101 ac_cv_type_uid_t
=no
28106 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28107 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28108 if test $ac_cv_type_uid_t = no
; then
28110 cat >>confdefs.h
<<\_ACEOF
28115 cat >>confdefs.h
<<\_ACEOF
28125 ac_cpp
='$CXXCPP $CPPFLAGS'
28126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28130 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28131 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28132 if test "${wx_cv_size_t_is_uint+set}" = set; then
28133 echo $ECHO_N "(cached) $ECHO_C" >&6
28136 cat >conftest.
$ac_ext <<_ACEOF
28139 cat confdefs.h
>>conftest.
$ac_ext
28140 cat >>conftest.
$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28142 #include <stddef.h>
28149 struct Foo { void foo(size_t); void foo(unsigned int); };
28157 rm -f conftest.
$ac_objext
28158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28159 (eval $ac_compile) 2>conftest.er1
28161 grep -v '^ *+' conftest.er1
>conftest.err
28163 cat conftest.err
>&5
28164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28165 (exit $ac_status); } &&
28166 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28168 (eval $ac_try) 2>&5
28170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171 (exit $ac_status); }; } &&
28172 { ac_try
='test -s conftest.$ac_objext'
28173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28174 (eval $ac_try) 2>&5
28176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177 (exit $ac_status); }; }; then
28178 wx_cv_size_t_is_uint
=no
28180 echo "$as_me: failed program was:" >&5
28181 sed 's/^/| /' conftest.
$ac_ext >&5
28183 wx_cv_size_t_is_uint
=yes
28186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28190 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28191 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28193 if test "$wx_cv_size_t_is_uint" = "yes"; then
28194 cat >>confdefs.h
<<\_ACEOF
28195 #define wxSIZE_T_IS_UINT 1
28199 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28200 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28201 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 cat >conftest.
$ac_ext <<_ACEOF
28207 cat confdefs.h
>>conftest.
$ac_ext
28208 cat >>conftest.
$ac_ext <<_ACEOF
28209 /* end confdefs.h. */
28210 #include <stddef.h>
28217 struct Foo { void foo(size_t); void foo(unsigned long); };
28225 rm -f conftest.
$ac_objext
28226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28227 (eval $ac_compile) 2>conftest.er1
28229 grep -v '^ *+' conftest.er1
>conftest.err
28231 cat conftest.err
>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; } &&
28240 { ac_try
='test -s conftest.$ac_objext'
28241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242 (eval $ac_try) 2>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); }; }; then
28246 wx_cv_size_t_is_ulong
=no
28248 echo "$as_me: failed program was:" >&5
28249 sed 's/^/| /' conftest.
$ac_ext >&5
28251 wx_cv_size_t_is_ulong
=yes
28254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28257 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28258 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28260 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28261 cat >>confdefs.h
<<\_ACEOF
28262 #define wxSIZE_T_IS_ULONG 1
28269 ac_cpp
='$CPP $CPPFLAGS'
28270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28276 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28277 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28278 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28279 echo $ECHO_N "(cached) $ECHO_C" >&6
28282 cat >conftest.
$ac_ext <<_ACEOF
28285 cat confdefs.h
>>conftest.
$ac_ext
28286 cat >>conftest.
$ac_ext <<_ACEOF
28287 /* end confdefs.h. */
28301 rm -f conftest.
$ac_objext
28302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28303 (eval $ac_compile) 2>conftest.er1
28305 grep -v '^ *+' conftest.er1
>conftest.err
28307 cat conftest.err
>&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); } &&
28310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; } &&
28316 { ac_try
='test -s conftest.$ac_objext'
28317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28318 (eval $ac_try) 2>&5
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); }; }; then
28323 wx_cv_struct_pw_gecos
=yes
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.
$ac_ext >&5
28330 wx_cv_struct_pw_gecos
=no
28334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28338 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28339 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28341 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28342 cat >>confdefs.h
<<\_ACEOF
28343 #define HAVE_PW_GECOS 1
28349 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28350 cat >>confdefs.h
<<\_ACEOF
28351 #define wxUSE_WCHAR_T 1
28358 for ac_func
in wcslen
28360 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28361 echo "$as_me:$LINENO: checking for $ac_func" >&5
28362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28363 if eval "test \"\${$as_ac_var+set}\" = set"; then
28364 echo $ECHO_N "(cached) $ECHO_C" >&6
28366 cat >conftest.
$ac_ext <<_ACEOF
28369 cat confdefs.h
>>conftest.
$ac_ext
28370 cat >>conftest.
$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28374 #define $ac_func innocuous_$ac_func
28376 /* System header to define __stub macros and hopefully few prototypes,
28377 which can conflict with char $ac_func (); below.
28378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28379 <limits.h> exists even on freestanding compilers. */
28382 # include <limits.h>
28384 # include <assert.h>
28389 /* Override any gcc2 internal prototype to avoid an error. */
28394 /* We use char because int might match the return type of a gcc2
28395 builtin and then its argument prototype would still apply. */
28397 /* The GNU C library defines this for functions which it implements
28398 to always fail with ENOSYS. Some functions are actually named
28399 something starting with __ and the normal name is an alias. */
28400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28403 char (*f) () = $ac_func;
28412 return f != $ac_func;
28417 rm -f conftest.
$ac_objext conftest
$ac_exeext
28418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28419 (eval $ac_link) 2>conftest.er1
28421 grep -v '^ *+' conftest.er1
>conftest.err
28423 cat conftest.err
>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); } &&
28426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; } &&
28432 { ac_try
='test -s conftest$ac_exeext'
28433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28434 (eval $ac_try) 2>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); }; }; then
28438 eval "$as_ac_var=yes"
28440 echo "$as_me: failed program was:" >&5
28441 sed 's/^/| /' conftest.
$ac_ext >&5
28443 eval "$as_ac_var=no"
28445 rm -f conftest.err conftest.
$ac_objext \
28446 conftest
$ac_exeext conftest.
$ac_ext
28448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28450 if test `eval echo '${'$as_ac_var'}'` = yes; then
28451 cat >>confdefs.h
<<_ACEOF
28452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28459 if test "$WCSLEN_FOUND" = 0; then
28460 if test "$TOOLKIT" = "MSW"; then
28461 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28462 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28463 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28464 echo $ECHO_N "(cached) $ECHO_C" >&6
28466 ac_check_lib_save_LIBS
=$LIBS
28467 LIBS
="-lmsvcrt $LIBS"
28468 cat >conftest.
$ac_ext <<_ACEOF
28471 cat confdefs.h
>>conftest.
$ac_ext
28472 cat >>conftest.
$ac_ext <<_ACEOF
28473 /* end confdefs.h. */
28475 /* Override any gcc2 internal prototype to avoid an error. */
28479 /* We use char because int might match the return type of a gcc2
28480 builtin and then its argument prototype would still apply. */
28490 rm -f conftest.
$ac_objext conftest
$ac_exeext
28491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28492 (eval $ac_link) 2>conftest.er1
28494 grep -v '^ *+' conftest.er1
>conftest.err
28496 cat conftest.err
>&5
28497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28498 (exit $ac_status); } &&
28499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501 (eval $ac_try) 2>&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; } &&
28505 { ac_try
='test -s conftest$ac_exeext'
28506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28507 (eval $ac_try) 2>&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); }; }; then
28511 ac_cv_lib_msvcrt_wcslen
=yes
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.
$ac_ext >&5
28516 ac_cv_lib_msvcrt_wcslen
=no
28518 rm -f conftest.err conftest.
$ac_objext \
28519 conftest
$ac_exeext conftest.
$ac_ext
28520 LIBS
=$ac_check_lib_save_LIBS
28522 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28523 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28524 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28529 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28530 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28531 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28532 echo $ECHO_N "(cached) $ECHO_C" >&6
28534 ac_check_lib_save_LIBS
=$LIBS
28536 cat >conftest.
$ac_ext <<_ACEOF
28539 cat confdefs.h
>>conftest.
$ac_ext
28540 cat >>conftest.
$ac_ext <<_ACEOF
28541 /* end confdefs.h. */
28543 /* Override any gcc2 internal prototype to avoid an error. */
28547 /* We use char because int might match the return type of a gcc2
28548 builtin and then its argument prototype would still apply. */
28558 rm -f conftest.
$ac_objext conftest
$ac_exeext
28559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28560 (eval $ac_link) 2>conftest.er1
28562 grep -v '^ *+' conftest.er1
>conftest.err
28564 cat conftest.err
>&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); } &&
28567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28569 (eval $ac_try) 2>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); }; } &&
28573 { ac_try
='test -s conftest$ac_exeext'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; }; then
28579 ac_cv_lib_w_wcslen
=yes
28581 echo "$as_me: failed program was:" >&5
28582 sed 's/^/| /' conftest.
$ac_ext >&5
28584 ac_cv_lib_w_wcslen
=no
28586 rm -f conftest.err conftest.
$ac_objext \
28587 conftest
$ac_exeext conftest.
$ac_ext
28588 LIBS
=$ac_check_lib_save_LIBS
28590 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28591 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28592 if test $ac_cv_lib_w_wcslen = yes; then
28602 if test "$WCSLEN_FOUND" = 1; then
28603 cat >>confdefs.h
<<\_ACEOF
28604 #define HAVE_WCSLEN 1
28609 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28610 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28614 for ac_func
in wcsrtombs
28616 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28617 echo "$as_me:$LINENO: checking for $ac_func" >&5
28618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28619 if eval "test \"\${$as_ac_var+set}\" = set"; then
28620 echo $ECHO_N "(cached) $ECHO_C" >&6
28622 cat >conftest.
$ac_ext <<_ACEOF
28625 cat confdefs.h
>>conftest.
$ac_ext
28626 cat >>conftest.
$ac_ext <<_ACEOF
28627 /* end confdefs.h. */
28628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28630 #define $ac_func innocuous_$ac_func
28632 /* System header to define __stub macros and hopefully few prototypes,
28633 which can conflict with char $ac_func (); below.
28634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28635 <limits.h> exists even on freestanding compilers. */
28638 # include <limits.h>
28640 # include <assert.h>
28645 /* Override any gcc2 internal prototype to avoid an error. */
28650 /* We use char because int might match the return type of a gcc2
28651 builtin and then its argument prototype would still apply. */
28653 /* The GNU C library defines this for functions which it implements
28654 to always fail with ENOSYS. Some functions are actually named
28655 something starting with __ and the normal name is an alias. */
28656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28659 char (*f) () = $ac_func;
28668 return f != $ac_func;
28673 rm -f conftest.
$ac_objext conftest
$ac_exeext
28674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28675 (eval $ac_link) 2>conftest.er1
28677 grep -v '^ *+' conftest.er1
>conftest.err
28679 cat conftest.err
>&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } &&
28682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 (eval $ac_try) 2>&5
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); }; } &&
28688 { ac_try
='test -s conftest$ac_exeext'
28689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28690 (eval $ac_try) 2>&5
28692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 (exit $ac_status); }; }; then
28694 eval "$as_ac_var=yes"
28696 echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.
$ac_ext >&5
28699 eval "$as_ac_var=no"
28701 rm -f conftest.err conftest.
$ac_objext \
28702 conftest
$ac_exeext conftest.
$ac_ext
28704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28706 if test `eval echo '${'$as_ac_var'}'` = yes; then
28707 cat >>confdefs.h
<<_ACEOF
28708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28715 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28716 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28722 ac_cpp
='$CXXCPP $CPPFLAGS'
28723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28729 for ac_func
in vsnprintf
28731 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28732 echo "$as_me:$LINENO: checking for $ac_func" >&5
28733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28734 if eval "test \"\${$as_ac_var+set}\" = set"; then
28735 echo $ECHO_N "(cached) $ECHO_C" >&6
28737 cat >conftest.
$ac_ext <<_ACEOF
28740 cat confdefs.h
>>conftest.
$ac_ext
28741 cat >>conftest.
$ac_ext <<_ACEOF
28742 /* end confdefs.h. */
28743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28745 #define $ac_func innocuous_$ac_func
28747 /* System header to define __stub macros and hopefully few prototypes,
28748 which can conflict with char $ac_func (); below.
28749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28750 <limits.h> exists even on freestanding compilers. */
28753 # include <limits.h>
28755 # include <assert.h>
28760 /* Override any gcc2 internal prototype to avoid an error. */
28765 /* We use char because int might match the return type of a gcc2
28766 builtin and then its argument prototype would still apply. */
28768 /* The GNU C library defines this for functions which it implements
28769 to always fail with ENOSYS. Some functions are actually named
28770 something starting with __ and the normal name is an alias. */
28771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28774 char (*f) () = $ac_func;
28783 return f != $ac_func;
28788 rm -f conftest.
$ac_objext conftest
$ac_exeext
28789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28790 (eval $ac_link) 2>conftest.er1
28792 grep -v '^ *+' conftest.er1
>conftest.err
28794 cat conftest.err
>&5
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); } &&
28797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28799 (eval $ac_try) 2>&5
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); }; } &&
28803 { ac_try
='test -s conftest$ac_exeext'
28804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28805 (eval $ac_try) 2>&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; }; then
28809 eval "$as_ac_var=yes"
28811 echo "$as_me: failed program was:" >&5
28812 sed 's/^/| /' conftest.
$ac_ext >&5
28814 eval "$as_ac_var=no"
28816 rm -f conftest.err conftest.
$ac_objext \
28817 conftest
$ac_exeext conftest.
$ac_ext
28819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28821 if test `eval echo '${'$as_ac_var'}'` = yes; then
28822 cat >>confdefs.h
<<_ACEOF
28823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28830 if test "$ac_cv_func_vsnprintf" = "yes"; then
28831 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28832 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28833 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28834 echo $ECHO_N "(cached) $ECHO_C" >&6
28837 cat >conftest.
$ac_ext <<_ACEOF
28840 cat confdefs.h
>>conftest.
$ac_ext
28841 cat >>conftest.
$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28845 #include <stdarg.h>
28853 vsnprintf(buf, 10u, "%s", ap);
28859 rm -f conftest.
$ac_objext
28860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28861 (eval $ac_compile) 2>conftest.er1
28863 grep -v '^ *+' conftest.er1
>conftest.err
28865 cat conftest.err
>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); } &&
28868 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28870 (eval $ac_try) 2>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; } &&
28874 { ac_try
='test -s conftest.$ac_objext'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; }; then
28880 wx_cv_func_vsnprintf_decl
=yes
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.
$ac_ext >&5
28885 wx_cv_func_vsnprintf_decl
=no
28888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28892 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28893 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28895 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28896 cat >>confdefs.h
<<\_ACEOF
28897 #define HAVE_VSNPRINTF_DECL 1
28903 if test "$wxUSE_UNICODE" = yes; then
28910 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
28912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28913 echo "$as_me:$LINENO: checking for $ac_func" >&5
28914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28915 if eval "test \"\${$as_ac_var+set}\" = set"; then
28916 echo $ECHO_N "(cached) $ECHO_C" >&6
28918 cat >conftest.
$ac_ext <<_ACEOF
28921 cat confdefs.h
>>conftest.
$ac_ext
28922 cat >>conftest.
$ac_ext <<_ACEOF
28923 /* end confdefs.h. */
28924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28926 #define $ac_func innocuous_$ac_func
28928 /* System header to define __stub macros and hopefully few prototypes,
28929 which can conflict with char $ac_func (); below.
28930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28931 <limits.h> exists even on freestanding compilers. */
28934 # include <limits.h>
28936 # include <assert.h>
28941 /* Override any gcc2 internal prototype to avoid an error. */
28946 /* We use char because int might match the return type of a gcc2
28947 builtin and then its argument prototype would still apply. */
28949 /* The GNU C library defines this for functions which it implements
28950 to always fail with ENOSYS. Some functions are actually named
28951 something starting with __ and the normal name is an alias. */
28952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28955 char (*f) () = $ac_func;
28964 return f != $ac_func;
28969 rm -f conftest.
$ac_objext conftest
$ac_exeext
28970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28971 (eval $ac_link) 2>conftest.er1
28973 grep -v '^ *+' conftest.er1
>conftest.err
28975 cat conftest.err
>&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } &&
28978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28980 (eval $ac_try) 2>&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); }; } &&
28984 { ac_try
='test -s conftest$ac_exeext'
28985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28986 (eval $ac_try) 2>&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; }; then
28990 eval "$as_ac_var=yes"
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.
$ac_ext >&5
28995 eval "$as_ac_var=no"
28997 rm -f conftest.err conftest.
$ac_objext \
28998 conftest
$ac_exeext conftest.
$ac_ext
29000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29002 if test `eval echo '${'$as_ac_var'}'` = yes; then
29003 cat >>confdefs.h
<<_ACEOF
29004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29011 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29012 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29013 cat >conftest.
$ac_ext <<_ACEOF
29016 cat confdefs.h
>>conftest.
$ac_ext
29017 cat >>conftest.
$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29028 rm -f conftest.
$ac_objext
29029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29030 (eval $ac_compile) 2>conftest.er1
29032 grep -v '^ *+' conftest.er1
>conftest.err
29034 cat conftest.err
>&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); } &&
29037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29039 (eval $ac_try) 2>&5
29041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29042 (exit $ac_status); }; } &&
29043 { ac_try
='test -s conftest.$ac_objext'
29044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29045 (eval $ac_try) 2>&5
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); }; }; then
29049 echo "$as_me:$LINENO: result: yes" >&5
29050 echo "${ECHO_T}yes" >&6
29051 cat >>confdefs.h
<<\_ACEOF
29052 #define HAVE__VSNWPRINTF 1
29056 echo "$as_me: failed program was:" >&5
29057 sed 's/^/| /' conftest.
$ac_ext >&5
29059 echo "$as_me:$LINENO: result: no" >&5
29060 echo "${ECHO_T}no" >&6
29062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29066 ac_cpp
='$CPP $CPPFLAGS'
29067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29074 if test "$TOOLKIT" != "MSW"; then
29080 ac_cpp
='$CXXCPP $CPPFLAGS'
29081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29088 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29089 if test "${with_libiconv_prefix+set}" = set; then
29090 withval
="$with_libiconv_prefix"
29092 for dir
in `echo "$withval" | tr : ' '`; do
29093 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29094 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29099 echo "$as_me:$LINENO: checking for iconv" >&5
29100 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29101 if test "${am_cv_func_iconv+set}" = set; then
29102 echo $ECHO_N "(cached) $ECHO_C" >&6
29105 am_cv_func_iconv
="no, consider installing GNU libiconv"
29107 cat >conftest.
$ac_ext <<_ACEOF
29110 cat confdefs.h
>>conftest.
$ac_ext
29111 cat >>conftest.
$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29113 #include <stdlib.h>
29118 iconv_t cd = iconv_open("","");
29119 iconv(cd,NULL,NULL,NULL,NULL);
29125 rm -f conftest.
$ac_objext conftest
$ac_exeext
29126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29127 (eval $ac_link) 2>conftest.er1
29129 grep -v '^ *+' conftest.er1
>conftest.err
29131 cat conftest.err
>&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); } &&
29134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29136 (eval $ac_try) 2>&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); }; } &&
29140 { ac_try
='test -s conftest$ac_exeext'
29141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29142 (eval $ac_try) 2>&5
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); }; }; then
29146 am_cv_func_iconv
=yes
29148 echo "$as_me: failed program was:" >&5
29149 sed 's/^/| /' conftest.
$ac_ext >&5
29152 rm -f conftest.err conftest.
$ac_objext \
29153 conftest
$ac_exeext conftest.
$ac_ext
29154 if test "$am_cv_func_iconv" != yes; then
29155 am_save_LIBS
="$LIBS"
29156 LIBS
="$LIBS -liconv"
29157 cat >conftest.
$ac_ext <<_ACEOF
29160 cat confdefs.h
>>conftest.
$ac_ext
29161 cat >>conftest.
$ac_ext <<_ACEOF
29162 /* end confdefs.h. */
29163 #include <stdlib.h>
29168 iconv_t cd = iconv_open("","");
29169 iconv(cd,NULL,NULL,NULL,NULL);
29175 rm -f conftest.
$ac_objext conftest
$ac_exeext
29176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29177 (eval $ac_link) 2>conftest.er1
29179 grep -v '^ *+' conftest.er1
>conftest.err
29181 cat conftest.err
>&5
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); } &&
29184 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186 (eval $ac_try) 2>&5
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); }; } &&
29190 { ac_try
='test -s conftest$ac_exeext'
29191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29192 (eval $ac_try) 2>&5
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); }; }; then
29196 am_cv_lib_iconv
=yes
29197 am_cv_func_iconv
=yes
29199 echo "$as_me: failed program was:" >&5
29200 sed 's/^/| /' conftest.
$ac_ext >&5
29203 rm -f conftest.err conftest.
$ac_objext \
29204 conftest
$ac_exeext conftest.
$ac_ext
29205 LIBS
="$am_save_LIBS"
29209 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29210 echo "${ECHO_T}$am_cv_func_iconv" >&6
29211 if test "$am_cv_func_iconv" = yes; then
29213 cat >>confdefs.h
<<\_ACEOF
29214 #define HAVE_ICONV 1
29217 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29218 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29219 if test "${wx_cv_func_iconv_const+set}" = set; then
29220 echo $ECHO_N "(cached) $ECHO_C" >&6
29222 cat >conftest.
$ac_ext <<_ACEOF
29225 cat confdefs.h
>>conftest.
$ac_ext
29226 cat >>conftest.
$ac_ext <<_ACEOF
29227 /* end confdefs.h. */
29229 #include <stdlib.h>
29235 #if defined(__STDC__) || defined(__cplusplus)
29236 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29249 rm -f conftest.
$ac_objext
29250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29251 (eval $ac_compile) 2>conftest.er1
29253 grep -v '^ *+' conftest.er1
>conftest.err
29255 cat conftest.err
>&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); } &&
29258 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29260 (eval $ac_try) 2>&5
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); }; } &&
29264 { ac_try
='test -s conftest.$ac_objext'
29265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29266 (eval $ac_try) 2>&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); }; }; then
29270 wx_cv_func_iconv_const
="no"
29272 echo "$as_me: failed program was:" >&5
29273 sed 's/^/| /' conftest.
$ac_ext >&5
29275 wx_cv_func_iconv_const
="yes"
29278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29281 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29282 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29285 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29286 iconv_const
="const"
29290 cat >>confdefs.h
<<_ACEOF
29291 #define ICONV_CONST $iconv_const
29296 if test "$am_cv_lib_iconv" = yes; then
29301 LIBS
="$LIBICONV $LIBS"
29303 ac_cpp
='$CPP $CPPFLAGS'
29304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29309 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29311 for ac_func
in sigaction
29313 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29314 echo "$as_me:$LINENO: checking for $ac_func" >&5
29315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29316 if eval "test \"\${$as_ac_var+set}\" = set"; then
29317 echo $ECHO_N "(cached) $ECHO_C" >&6
29319 cat >conftest.
$ac_ext <<_ACEOF
29322 cat confdefs.h
>>conftest.
$ac_ext
29323 cat >>conftest.
$ac_ext <<_ACEOF
29324 /* end confdefs.h. */
29325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29327 #define $ac_func innocuous_$ac_func
29329 /* System header to define __stub macros and hopefully few prototypes,
29330 which can conflict with char $ac_func (); below.
29331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29332 <limits.h> exists even on freestanding compilers. */
29335 # include <limits.h>
29337 # include <assert.h>
29342 /* Override any gcc2 internal prototype to avoid an error. */
29347 /* We use char because int might match the return type of a gcc2
29348 builtin and then its argument prototype would still apply. */
29350 /* The GNU C library defines this for functions which it implements
29351 to always fail with ENOSYS. Some functions are actually named
29352 something starting with __ and the normal name is an alias. */
29353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29356 char (*f) () = $ac_func;
29365 return f != $ac_func;
29370 rm -f conftest.
$ac_objext conftest
$ac_exeext
29371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29372 (eval $ac_link) 2>conftest.er1
29374 grep -v '^ *+' conftest.er1
>conftest.err
29376 cat conftest.err
>&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); } &&
29379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29381 (eval $ac_try) 2>&5
29383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29384 (exit $ac_status); }; } &&
29385 { ac_try
='test -s conftest$ac_exeext'
29386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29387 (eval $ac_try) 2>&5
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); }; }; then
29391 eval "$as_ac_var=yes"
29393 echo "$as_me: failed program was:" >&5
29394 sed 's/^/| /' conftest.
$ac_ext >&5
29396 eval "$as_ac_var=no"
29398 rm -f conftest.err conftest.
$ac_objext \
29399 conftest
$ac_exeext conftest.
$ac_ext
29401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29403 if test `eval echo '${'$as_ac_var'}'` = yes; then
29404 cat >>confdefs.h
<<_ACEOF
29405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29412 if test "$ac_cv_func_sigaction" = "no"; then
29413 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29414 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29415 wxUSE_ON_FATAL_EXCEPTION
=no
29418 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29422 ac_cpp
='$CXXCPP $CPPFLAGS'
29423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29428 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29429 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29430 if test "${wx_cv_type_sa_handler+set}" = set; then
29431 echo $ECHO_N "(cached) $ECHO_C" >&6
29434 cat >conftest.
$ac_ext <<_ACEOF
29437 cat confdefs.h
>>conftest.
$ac_ext
29438 cat >>conftest.
$ac_ext <<_ACEOF
29439 /* end confdefs.h. */
29440 #include <signal.h>
29445 extern void testSigHandler(int);
29447 struct sigaction sa;
29448 sa.sa_handler = testSigHandler;
29454 rm -f conftest.
$ac_objext
29455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29456 (eval $ac_compile) 2>conftest.er1
29458 grep -v '^ *+' conftest.er1
>conftest.err
29460 cat conftest.err
>&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); } &&
29463 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29465 (eval $ac_try) 2>&5
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); }; } &&
29469 { ac_try
='test -s conftest.$ac_objext'
29470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29471 (eval $ac_try) 2>&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); }; }; then
29476 wx_cv_type_sa_handler
=int
29479 echo "$as_me: failed program was:" >&5
29480 sed 's/^/| /' conftest.
$ac_ext >&5
29483 wx_cv_type_sa_handler
=void
29486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29489 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29490 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29493 ac_cpp
='$CPP $CPPFLAGS'
29494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29499 cat >>confdefs.h
<<_ACEOF
29500 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29508 for ac_func
in mkstemp mktemp
29510 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29511 echo "$as_me:$LINENO: checking for $ac_func" >&5
29512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29513 if eval "test \"\${$as_ac_var+set}\" = set"; then
29514 echo $ECHO_N "(cached) $ECHO_C" >&6
29516 cat >conftest.
$ac_ext <<_ACEOF
29519 cat confdefs.h
>>conftest.
$ac_ext
29520 cat >>conftest.
$ac_ext <<_ACEOF
29521 /* end confdefs.h. */
29522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29524 #define $ac_func innocuous_$ac_func
29526 /* System header to define __stub macros and hopefully few prototypes,
29527 which can conflict with char $ac_func (); below.
29528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29529 <limits.h> exists even on freestanding compilers. */
29532 # include <limits.h>
29534 # include <assert.h>
29539 /* Override any gcc2 internal prototype to avoid an error. */
29544 /* We use char because int might match the return type of a gcc2
29545 builtin and then its argument prototype would still apply. */
29547 /* The GNU C library defines this for functions which it implements
29548 to always fail with ENOSYS. Some functions are actually named
29549 something starting with __ and the normal name is an alias. */
29550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29553 char (*f) () = $ac_func;
29562 return f != $ac_func;
29567 rm -f conftest.
$ac_objext conftest
$ac_exeext
29568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29569 (eval $ac_link) 2>conftest.er1
29571 grep -v '^ *+' conftest.er1
>conftest.err
29573 cat conftest.err
>&5
29574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29575 (exit $ac_status); } &&
29576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29578 (eval $ac_try) 2>&5
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); }; } &&
29582 { ac_try
='test -s conftest$ac_exeext'
29583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29584 (eval $ac_try) 2>&5
29586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587 (exit $ac_status); }; }; then
29588 eval "$as_ac_var=yes"
29590 echo "$as_me: failed program was:" >&5
29591 sed 's/^/| /' conftest.
$ac_ext >&5
29593 eval "$as_ac_var=no"
29595 rm -f conftest.err conftest.
$ac_objext \
29596 conftest
$ac_exeext conftest.
$ac_ext
29598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29600 if test `eval echo '${'$as_ac_var'}'` = yes; then
29601 cat >>confdefs.h
<<_ACEOF
29602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29609 echo "$as_me:$LINENO: checking for statfs" >&5
29610 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29611 if test "${wx_cv_func_statfs+set}" = set; then
29612 echo $ECHO_N "(cached) $ECHO_C" >&6
29614 cat >conftest.
$ac_ext <<_ACEOF
29617 cat confdefs.h
>>conftest.
$ac_ext
29618 cat >>conftest.
$ac_ext <<_ACEOF
29619 /* end confdefs.h. */
29621 #if defined(__BSD__)
29622 #include <sys/param.h>
29623 #include <sys/mount.h>
29625 #include <sys/vfs.h>
29643 rm -f conftest.
$ac_objext
29644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29645 (eval $ac_compile) 2>conftest.er1
29647 grep -v '^ *+' conftest.er1
>conftest.err
29649 cat conftest.err
>&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; } &&
29658 { ac_try
='test -s conftest.$ac_objext'
29659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29660 (eval $ac_try) 2>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); }; }; then
29665 wx_cv_func_statfs
=yes
29668 echo "$as_me: failed program was:" >&5
29669 sed 's/^/| /' conftest.
$ac_ext >&5
29672 wx_cv_func_statfs
=no
29676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29679 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29680 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29682 if test "$wx_cv_func_statfs" = "yes"; then
29683 wx_cv_type_statvfs_t
="struct statfs"
29684 cat >>confdefs.h
<<\_ACEOF
29685 #define HAVE_STATFS 1
29689 echo "$as_me:$LINENO: checking for statvfs" >&5
29690 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29691 if test "${wx_cv_func_statvfs+set}" = set; then
29692 echo $ECHO_N "(cached) $ECHO_C" >&6
29694 cat >conftest.
$ac_ext <<_ACEOF
29697 cat confdefs.h
>>conftest.
$ac_ext
29698 cat >>conftest.
$ac_ext <<_ACEOF
29699 /* end confdefs.h. */
29701 #include <stddef.h>
29702 #include <sys/statvfs.h>
29708 statvfs("/", NULL);
29714 rm -f conftest.
$ac_objext
29715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29716 (eval $ac_compile) 2>conftest.er1
29718 grep -v '^ *+' conftest.er1
>conftest.err
29720 cat conftest.err
>&5
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); } &&
29723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29725 (eval $ac_try) 2>&5
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); }; } &&
29729 { ac_try
='test -s conftest.$ac_objext'
29730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29731 (eval $ac_try) 2>&5
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); }; }; then
29735 wx_cv_func_statvfs
=yes
29737 echo "$as_me: failed program was:" >&5
29738 sed 's/^/| /' conftest.
$ac_ext >&5
29740 wx_cv_func_statvfs
=no
29743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29746 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29747 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29749 if test "$wx_cv_func_statvfs" = "yes"; then
29753 ac_cpp
='$CXXCPP $CPPFLAGS'
29754 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29755 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29756 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29759 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29760 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29761 if test "${wx_cv_type_statvfs_t+set}" = set; then
29762 echo $ECHO_N "(cached) $ECHO_C" >&6
29764 cat >conftest.
$ac_ext <<_ACEOF
29767 cat confdefs.h
>>conftest.
$ac_ext
29768 cat >>conftest.
$ac_ext <<_ACEOF
29769 /* end confdefs.h. */
29771 #include <sys/statvfs.h>
29788 rm -f conftest.
$ac_objext
29789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29790 (eval $ac_compile) 2>conftest.er1
29792 grep -v '^ *+' conftest.er1
>conftest.err
29794 cat conftest.err
>&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); } &&
29797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29799 (eval $ac_try) 2>&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); }; } &&
29803 { ac_try
='test -s conftest.$ac_objext'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; }; then
29809 wx_cv_type_statvfs_t
=statvfs_t
29811 echo "$as_me: failed program was:" >&5
29812 sed 's/^/| /' conftest.
$ac_ext >&5
29815 cat >conftest.
$ac_ext <<_ACEOF
29818 cat confdefs.h
>>conftest.
$ac_ext
29819 cat >>conftest.
$ac_ext <<_ACEOF
29820 /* end confdefs.h. */
29822 #include <sys/statvfs.h>
29839 rm -f conftest.
$ac_objext
29840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29841 (eval $ac_compile) 2>conftest.er1
29843 grep -v '^ *+' conftest.er1
>conftest.err
29845 cat conftest.err
>&5
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); } &&
29848 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29850 (eval $ac_try) 2>&5
29852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853 (exit $ac_status); }; } &&
29854 { ac_try
='test -s conftest.$ac_objext'
29855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29856 (eval $ac_try) 2>&5
29858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29859 (exit $ac_status); }; }; then
29860 wx_cv_type_statvfs_t
="struct statvfs"
29862 echo "$as_me: failed program was:" >&5
29863 sed 's/^/| /' conftest.
$ac_ext >&5
29865 wx_cv_type_statvfs_t
="unknown"
29868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29875 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29876 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29879 ac_cpp
='$CPP $CPPFLAGS'
29880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29885 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29886 cat >>confdefs.h
<<\_ACEOF
29887 #define HAVE_STATVFS 1
29892 wx_cv_type_statvfs_t
="unknown"
29896 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29897 cat >>confdefs.h
<<_ACEOF
29898 #define WX_STATFS_T $wx_cv_type_statvfs_t
29902 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
29903 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
29906 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29909 for ac_func
in fcntl flock
29911 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29912 echo "$as_me:$LINENO: checking for $ac_func" >&5
29913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29914 if eval "test \"\${$as_ac_var+set}\" = set"; then
29915 echo $ECHO_N "(cached) $ECHO_C" >&6
29917 cat >conftest.
$ac_ext <<_ACEOF
29920 cat confdefs.h
>>conftest.
$ac_ext
29921 cat >>conftest.
$ac_ext <<_ACEOF
29922 /* end confdefs.h. */
29923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29925 #define $ac_func innocuous_$ac_func
29927 /* System header to define __stub macros and hopefully few prototypes,
29928 which can conflict with char $ac_func (); below.
29929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29930 <limits.h> exists even on freestanding compilers. */
29933 # include <limits.h>
29935 # include <assert.h>
29940 /* Override any gcc2 internal prototype to avoid an error. */
29945 /* We use char because int might match the return type of a gcc2
29946 builtin and then its argument prototype would still apply. */
29948 /* The GNU C library defines this for functions which it implements
29949 to always fail with ENOSYS. Some functions are actually named
29950 something starting with __ and the normal name is an alias. */
29951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29954 char (*f) () = $ac_func;
29963 return f != $ac_func;
29968 rm -f conftest.
$ac_objext conftest
$ac_exeext
29969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29970 (eval $ac_link) 2>conftest.er1
29972 grep -v '^ *+' conftest.er1
>conftest.err
29974 cat conftest.err
>&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } &&
29977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; } &&
29983 { ac_try
='test -s conftest$ac_exeext'
29984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29985 (eval $ac_try) 2>&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); }; }; then
29989 eval "$as_ac_var=yes"
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.
$ac_ext >&5
29994 eval "$as_ac_var=no"
29996 rm -f conftest.err conftest.
$ac_objext \
29997 conftest
$ac_exeext conftest.
$ac_ext
29999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30001 if test `eval echo '${'$as_ac_var'}'` = yes; then
30002 cat >>confdefs.h
<<_ACEOF
30003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30010 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30011 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30012 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30013 wxUSE_SNGLINST_CHECKER
=no
30018 for ac_func
in timegm
30020 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30021 echo "$as_me:$LINENO: checking for $ac_func" >&5
30022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30023 if eval "test \"\${$as_ac_var+set}\" = set"; then
30024 echo $ECHO_N "(cached) $ECHO_C" >&6
30026 cat >conftest.
$ac_ext <<_ACEOF
30029 cat confdefs.h
>>conftest.
$ac_ext
30030 cat >>conftest.
$ac_ext <<_ACEOF
30031 /* end confdefs.h. */
30032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30034 #define $ac_func innocuous_$ac_func
30036 /* System header to define __stub macros and hopefully few prototypes,
30037 which can conflict with char $ac_func (); below.
30038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30039 <limits.h> exists even on freestanding compilers. */
30042 # include <limits.h>
30044 # include <assert.h>
30049 /* Override any gcc2 internal prototype to avoid an error. */
30054 /* We use char because int might match the return type of a gcc2
30055 builtin and then its argument prototype would still apply. */
30057 /* The GNU C library defines this for functions which it implements
30058 to always fail with ENOSYS. Some functions are actually named
30059 something starting with __ and the normal name is an alias. */
30060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30063 char (*f) () = $ac_func;
30072 return f != $ac_func;
30077 rm -f conftest.
$ac_objext conftest
$ac_exeext
30078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30079 (eval $ac_link) 2>conftest.er1
30081 grep -v '^ *+' conftest.er1
>conftest.err
30083 cat conftest.err
>&5
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); } &&
30086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088 (eval $ac_try) 2>&5
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); }; } &&
30092 { ac_try
='test -s conftest$ac_exeext'
30093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094 (eval $ac_try) 2>&5
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); }; }; then
30098 eval "$as_ac_var=yes"
30100 echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.
$ac_ext >&5
30103 eval "$as_ac_var=no"
30105 rm -f conftest.err conftest.
$ac_objext \
30106 conftest
$ac_exeext conftest.
$ac_ext
30108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30110 if test `eval echo '${'$as_ac_var'}'` = yes; then
30111 cat >>confdefs.h
<<_ACEOF
30112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30121 for ac_func
in putenv setenv
30123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30124 echo "$as_me:$LINENO: checking for $ac_func" >&5
30125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30126 if eval "test \"\${$as_ac_var+set}\" = set"; then
30127 echo $ECHO_N "(cached) $ECHO_C" >&6
30129 cat >conftest.
$ac_ext <<_ACEOF
30132 cat confdefs.h
>>conftest.
$ac_ext
30133 cat >>conftest.
$ac_ext <<_ACEOF
30134 /* end confdefs.h. */
30135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30137 #define $ac_func innocuous_$ac_func
30139 /* System header to define __stub macros and hopefully few prototypes,
30140 which can conflict with char $ac_func (); below.
30141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30142 <limits.h> exists even on freestanding compilers. */
30145 # include <limits.h>
30147 # include <assert.h>
30152 /* Override any gcc2 internal prototype to avoid an error. */
30157 /* We use char because int might match the return type of a gcc2
30158 builtin and then its argument prototype would still apply. */
30160 /* The GNU C library defines this for functions which it implements
30161 to always fail with ENOSYS. Some functions are actually named
30162 something starting with __ and the normal name is an alias. */
30163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30166 char (*f) () = $ac_func;
30175 return f != $ac_func;
30180 rm -f conftest.
$ac_objext conftest
$ac_exeext
30181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30182 (eval $ac_link) 2>conftest.er1
30184 grep -v '^ *+' conftest.er1
>conftest.err
30186 cat conftest.err
>&5
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); } &&
30189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30191 (eval $ac_try) 2>&5
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); }; } &&
30195 { ac_try
='test -s conftest$ac_exeext'
30196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30197 (eval $ac_try) 2>&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); }; }; then
30201 eval "$as_ac_var=yes"
30203 echo "$as_me: failed program was:" >&5
30204 sed 's/^/| /' conftest.
$ac_ext >&5
30206 eval "$as_ac_var=no"
30208 rm -f conftest.err conftest.
$ac_objext \
30209 conftest
$ac_exeext conftest.
$ac_ext
30211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30213 if test `eval echo '${'$as_ac_var'}'` = yes; then
30214 cat >>confdefs.h
<<_ACEOF
30215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30222 HAVE_SOME_SLEEP_FUNC
=0
30223 if test "$USE_BEOS" = 1; then
30224 cat >>confdefs.h
<<\_ACEOF
30225 #define HAVE_SLEEP 1
30228 HAVE_SOME_SLEEP_FUNC
=1
30231 if test "$USE_DARWIN" = 1; then
30232 cat >>confdefs.h
<<\_ACEOF
30233 #define HAVE_USLEEP 1
30236 HAVE_SOME_SLEEP_FUNC
=1
30239 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30242 for ac_func
in nanosleep
30244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30245 echo "$as_me:$LINENO: checking for $ac_func" >&5
30246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30247 if eval "test \"\${$as_ac_var+set}\" = set"; then
30248 echo $ECHO_N "(cached) $ECHO_C" >&6
30250 cat >conftest.
$ac_ext <<_ACEOF
30253 cat confdefs.h
>>conftest.
$ac_ext
30254 cat >>conftest.
$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30258 #define $ac_func innocuous_$ac_func
30260 /* System header to define __stub macros and hopefully few prototypes,
30261 which can conflict with char $ac_func (); below.
30262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30263 <limits.h> exists even on freestanding compilers. */
30266 # include <limits.h>
30268 # include <assert.h>
30273 /* Override any gcc2 internal prototype to avoid an error. */
30278 /* We use char because int might match the return type of a gcc2
30279 builtin and then its argument prototype would still apply. */
30281 /* The GNU C library defines this for functions which it implements
30282 to always fail with ENOSYS. Some functions are actually named
30283 something starting with __ and the normal name is an alias. */
30284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30287 char (*f) () = $ac_func;
30296 return f != $ac_func;
30301 rm -f conftest.
$ac_objext conftest
$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30305 grep -v '^ *+' conftest.er1
>conftest.err
30307 cat conftest.err
>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try
='test -s conftest$ac_exeext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 eval "$as_ac_var=yes"
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.
$ac_ext >&5
30327 eval "$as_ac_var=no"
30329 rm -f conftest.err conftest.
$ac_objext \
30330 conftest
$ac_exeext conftest.
$ac_ext
30332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30334 if test `eval echo '${'$as_ac_var'}'` = yes; then
30335 cat >>confdefs.h
<<_ACEOF
30336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30338 cat >>confdefs.h
<<\_ACEOF
30339 #define HAVE_NANOSLEEP 1
30344 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30345 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30346 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30347 echo $ECHO_N "(cached) $ECHO_C" >&6
30349 ac_check_lib_save_LIBS
=$LIBS
30350 LIBS
="-lposix4 $LIBS"
30351 cat >conftest.
$ac_ext <<_ACEOF
30354 cat confdefs.h
>>conftest.
$ac_ext
30355 cat >>conftest.
$ac_ext <<_ACEOF
30356 /* end confdefs.h. */
30358 /* Override any gcc2 internal prototype to avoid an error. */
30362 /* We use char because int might match the return type of a gcc2
30363 builtin and then its argument prototype would still apply. */
30373 rm -f conftest.
$ac_objext conftest
$ac_exeext
30374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30375 (eval $ac_link) 2>conftest.er1
30377 grep -v '^ *+' conftest.er1
>conftest.err
30379 cat conftest.err
>&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } &&
30382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; } &&
30388 { ac_try
='test -s conftest$ac_exeext'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; }; then
30394 ac_cv_lib_posix4_nanosleep
=yes
30396 echo "$as_me: failed program was:" >&5
30397 sed 's/^/| /' conftest.
$ac_ext >&5
30399 ac_cv_lib_posix4_nanosleep
=no
30401 rm -f conftest.err conftest.
$ac_objext \
30402 conftest
$ac_exeext conftest.
$ac_ext
30403 LIBS
=$ac_check_lib_save_LIBS
30405 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30406 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30407 if test $ac_cv_lib_posix4_nanosleep = yes; then
30409 cat >>confdefs.h
<<\_ACEOF
30410 #define HAVE_NANOSLEEP 1
30413 POSIX4_LINK
=" -lposix4"
30418 for ac_func
in usleep
30420 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30421 echo "$as_me:$LINENO: checking for $ac_func" >&5
30422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30423 if eval "test \"\${$as_ac_var+set}\" = set"; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 cat >conftest.
$ac_ext <<_ACEOF
30429 cat confdefs.h
>>conftest.
$ac_ext
30430 cat >>conftest.
$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30434 #define $ac_func innocuous_$ac_func
30436 /* System header to define __stub macros and hopefully few prototypes,
30437 which can conflict with char $ac_func (); below.
30438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30439 <limits.h> exists even on freestanding compilers. */
30442 # include <limits.h>
30444 # include <assert.h>
30449 /* Override any gcc2 internal prototype to avoid an error. */
30454 /* We use char because int might match the return type of a gcc2
30455 builtin and then its argument prototype would still apply. */
30457 /* The GNU C library defines this for functions which it implements
30458 to always fail with ENOSYS. Some functions are actually named
30459 something starting with __ and the normal name is an alias. */
30460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30463 char (*f) () = $ac_func;
30472 return f != $ac_func;
30477 rm -f conftest.
$ac_objext conftest
$ac_exeext
30478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30479 (eval $ac_link) 2>conftest.er1
30481 grep -v '^ *+' conftest.er1
>conftest.err
30483 cat conftest.err
>&5
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); } &&
30486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30488 (eval $ac_try) 2>&5
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); }; } &&
30492 { ac_try
='test -s conftest$ac_exeext'
30493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30494 (eval $ac_try) 2>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); }; }; then
30498 eval "$as_ac_var=yes"
30500 echo "$as_me: failed program was:" >&5
30501 sed 's/^/| /' conftest.
$ac_ext >&5
30503 eval "$as_ac_var=no"
30505 rm -f conftest.err conftest.
$ac_objext \
30506 conftest
$ac_exeext conftest.
$ac_ext
30508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30510 if test `eval echo '${'$as_ac_var'}'` = yes; then
30511 cat >>confdefs.h
<<_ACEOF
30512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30514 cat >>confdefs.h
<<\_ACEOF
30515 #define HAVE_USLEEP 1
30519 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30520 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30538 for ac_func
in uname gethostname
30540 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30541 echo "$as_me:$LINENO: checking for $ac_func" >&5
30542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30543 if eval "test \"\${$as_ac_var+set}\" = set"; then
30544 echo $ECHO_N "(cached) $ECHO_C" >&6
30546 cat >conftest.
$ac_ext <<_ACEOF
30549 cat confdefs.h
>>conftest.
$ac_ext
30550 cat >>conftest.
$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30554 #define $ac_func innocuous_$ac_func
30556 /* System header to define __stub macros and hopefully few prototypes,
30557 which can conflict with char $ac_func (); below.
30558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30559 <limits.h> exists even on freestanding compilers. */
30562 # include <limits.h>
30564 # include <assert.h>
30569 /* Override any gcc2 internal prototype to avoid an error. */
30574 /* We use char because int might match the return type of a gcc2
30575 builtin and then its argument prototype would still apply. */
30577 /* The GNU C library defines this for functions which it implements
30578 to always fail with ENOSYS. Some functions are actually named
30579 something starting with __ and the normal name is an alias. */
30580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30583 char (*f) () = $ac_func;
30592 return f != $ac_func;
30597 rm -f conftest.
$ac_objext conftest
$ac_exeext
30598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30599 (eval $ac_link) 2>conftest.er1
30601 grep -v '^ *+' conftest.er1
>conftest.err
30603 cat conftest.err
>&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); } &&
30606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; } &&
30612 { ac_try
='test -s conftest$ac_exeext'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; }; then
30618 eval "$as_ac_var=yes"
30620 echo "$as_me: failed program was:" >&5
30621 sed 's/^/| /' conftest.
$ac_ext >&5
30623 eval "$as_ac_var=no"
30625 rm -f conftest.err conftest.
$ac_objext \
30626 conftest
$ac_exeext conftest.
$ac_ext
30628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30630 if test `eval echo '${'$as_ac_var'}'` = yes; then
30631 cat >>confdefs.h
<<_ACEOF
30632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30642 ac_cpp
='$CXXCPP $CPPFLAGS'
30643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30649 for ac_func
in strtok_r
30651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30652 echo "$as_me:$LINENO: checking for $ac_func" >&5
30653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30654 if eval "test \"\${$as_ac_var+set}\" = set"; then
30655 echo $ECHO_N "(cached) $ECHO_C" >&6
30657 cat >conftest.
$ac_ext <<_ACEOF
30660 cat confdefs.h
>>conftest.
$ac_ext
30661 cat >>conftest.
$ac_ext <<_ACEOF
30662 /* end confdefs.h. */
30663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30665 #define $ac_func innocuous_$ac_func
30667 /* System header to define __stub macros and hopefully few prototypes,
30668 which can conflict with char $ac_func (); below.
30669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30670 <limits.h> exists even on freestanding compilers. */
30673 # include <limits.h>
30675 # include <assert.h>
30680 /* Override any gcc2 internal prototype to avoid an error. */
30685 /* We use char because int might match the return type of a gcc2
30686 builtin and then its argument prototype would still apply. */
30688 /* The GNU C library defines this for functions which it implements
30689 to always fail with ENOSYS. Some functions are actually named
30690 something starting with __ and the normal name is an alias. */
30691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30694 char (*f) () = $ac_func;
30703 return f != $ac_func;
30708 rm -f conftest.
$ac_objext conftest
$ac_exeext
30709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30710 (eval $ac_link) 2>conftest.er1
30712 grep -v '^ *+' conftest.er1
>conftest.err
30714 cat conftest.err
>&5
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); } &&
30717 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30719 (eval $ac_try) 2>&5
30721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30722 (exit $ac_status); }; } &&
30723 { ac_try
='test -s conftest$ac_exeext'
30724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30725 (eval $ac_try) 2>&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); }; }; then
30729 eval "$as_ac_var=yes"
30731 echo "$as_me: failed program was:" >&5
30732 sed 's/^/| /' conftest.
$ac_ext >&5
30734 eval "$as_ac_var=no"
30736 rm -f conftest.err conftest.
$ac_objext \
30737 conftest
$ac_exeext conftest.
$ac_ext
30739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30741 if test `eval echo '${'$as_ac_var'}'` = yes; then
30742 cat >>confdefs.h
<<_ACEOF
30743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30751 ac_cpp
='$CPP $CPPFLAGS'
30752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30759 for ac_func
in inet_addr
30761 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30762 echo "$as_me:$LINENO: checking for $ac_func" >&5
30763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30764 if eval "test \"\${$as_ac_var+set}\" = set"; then
30765 echo $ECHO_N "(cached) $ECHO_C" >&6
30767 cat >conftest.
$ac_ext <<_ACEOF
30770 cat confdefs.h
>>conftest.
$ac_ext
30771 cat >>conftest.
$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30775 #define $ac_func innocuous_$ac_func
30777 /* System header to define __stub macros and hopefully few prototypes,
30778 which can conflict with char $ac_func (); below.
30779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30780 <limits.h> exists even on freestanding compilers. */
30783 # include <limits.h>
30785 # include <assert.h>
30790 /* Override any gcc2 internal prototype to avoid an error. */
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30798 /* The GNU C library defines this for functions which it implements
30799 to always fail with ENOSYS. Some functions are actually named
30800 something starting with __ and the normal name is an alias. */
30801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30804 char (*f) () = $ac_func;
30813 return f != $ac_func;
30818 rm -f conftest.
$ac_objext conftest
$ac_exeext
30819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30820 (eval $ac_link) 2>conftest.er1
30822 grep -v '^ *+' conftest.er1
>conftest.err
30824 cat conftest.err
>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); } &&
30827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; } &&
30833 { ac_try
='test -s conftest$ac_exeext'
30834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30835 (eval $ac_try) 2>&5
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); }; }; then
30839 eval "$as_ac_var=yes"
30841 echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.
$ac_ext >&5
30844 eval "$as_ac_var=no"
30846 rm -f conftest.err conftest.
$ac_objext \
30847 conftest
$ac_exeext conftest.
$ac_ext
30849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30851 if test `eval echo '${'$as_ac_var'}'` = yes; then
30852 cat >>confdefs.h
<<_ACEOF
30853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30855 cat >>confdefs.h
<<\_ACEOF
30856 #define HAVE_INET_ADDR 1
30861 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30862 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30863 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30864 echo $ECHO_N "(cached) $ECHO_C" >&6
30866 ac_check_lib_save_LIBS
=$LIBS
30868 cat >conftest.
$ac_ext <<_ACEOF
30871 cat confdefs.h
>>conftest.
$ac_ext
30872 cat >>conftest.
$ac_ext <<_ACEOF
30873 /* end confdefs.h. */
30875 /* Override any gcc2 internal prototype to avoid an error. */
30879 /* We use char because int might match the return type of a gcc2
30880 builtin and then its argument prototype would still apply. */
30890 rm -f conftest.
$ac_objext conftest
$ac_exeext
30891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30892 (eval $ac_link) 2>conftest.er1
30894 grep -v '^ *+' conftest.er1
>conftest.err
30896 cat conftest.err
>&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); } &&
30899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; } &&
30905 { ac_try
='test -s conftest$ac_exeext'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; }; then
30911 ac_cv_lib_nsl_inet_addr
=yes
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.
$ac_ext >&5
30916 ac_cv_lib_nsl_inet_addr
=no
30918 rm -f conftest.err conftest.
$ac_objext \
30919 conftest
$ac_exeext conftest.
$ac_ext
30920 LIBS
=$ac_check_lib_save_LIBS
30922 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
30923 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
30924 if test $ac_cv_lib_nsl_inet_addr = yes; then
30928 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
30929 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
30930 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30933 ac_check_lib_save_LIBS
=$LIBS
30934 LIBS
="-lresolv $LIBS"
30935 cat >conftest.
$ac_ext <<_ACEOF
30938 cat confdefs.h
>>conftest.
$ac_ext
30939 cat >>conftest.
$ac_ext <<_ACEOF
30940 /* end confdefs.h. */
30942 /* Override any gcc2 internal prototype to avoid an error. */
30946 /* We use char because int might match the return type of a gcc2
30947 builtin and then its argument prototype would still apply. */
30957 rm -f conftest.
$ac_objext conftest
$ac_exeext
30958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30959 (eval $ac_link) 2>conftest.er1
30961 grep -v '^ *+' conftest.er1
>conftest.err
30963 cat conftest.err
>&5
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); } &&
30966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30968 (eval $ac_try) 2>&5
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); }; } &&
30972 { ac_try
='test -s conftest$ac_exeext'
30973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30974 (eval $ac_try) 2>&5
30976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30977 (exit $ac_status); }; }; then
30978 ac_cv_lib_resolv_inet_addr
=yes
30980 echo "$as_me: failed program was:" >&5
30981 sed 's/^/| /' conftest.
$ac_ext >&5
30983 ac_cv_lib_resolv_inet_addr
=no
30985 rm -f conftest.err conftest.
$ac_objext \
30986 conftest
$ac_exeext conftest.
$ac_ext
30987 LIBS
=$ac_check_lib_save_LIBS
30989 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
30990 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
30991 if test $ac_cv_lib_resolv_inet_addr = yes; then
30995 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
30996 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
30997 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
30998 echo $ECHO_N "(cached) $ECHO_C" >&6
31000 ac_check_lib_save_LIBS
=$LIBS
31001 LIBS
="-lsocket $LIBS"
31002 cat >conftest.
$ac_ext <<_ACEOF
31005 cat confdefs.h
>>conftest.
$ac_ext
31006 cat >>conftest.
$ac_ext <<_ACEOF
31007 /* end confdefs.h. */
31009 /* Override any gcc2 internal prototype to avoid an error. */
31013 /* We use char because int might match the return type of a gcc2
31014 builtin and then its argument prototype would still apply. */
31024 rm -f conftest.
$ac_objext conftest
$ac_exeext
31025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31026 (eval $ac_link) 2>conftest.er1
31028 grep -v '^ *+' conftest.er1
>conftest.err
31030 cat conftest.err
>&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); } &&
31033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31035 (eval $ac_try) 2>&5
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; } &&
31039 { ac_try
='test -s conftest$ac_exeext'
31040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31041 (eval $ac_try) 2>&5
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; }; then
31045 ac_cv_lib_socket_inet_addr
=yes
31047 echo "$as_me: failed program was:" >&5
31048 sed 's/^/| /' conftest.
$ac_ext >&5
31050 ac_cv_lib_socket_inet_addr
=no
31052 rm -f conftest.err conftest.
$ac_objext \
31053 conftest
$ac_exeext conftest.
$ac_ext
31054 LIBS
=$ac_check_lib_save_LIBS
31056 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31057 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31058 if test $ac_cv_lib_socket_inet_addr = yes; then
31078 for ac_func
in inet_aton
31080 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31081 echo "$as_me:$LINENO: checking for $ac_func" >&5
31082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31083 if eval "test \"\${$as_ac_var+set}\" = set"; then
31084 echo $ECHO_N "(cached) $ECHO_C" >&6
31086 cat >conftest.
$ac_ext <<_ACEOF
31089 cat confdefs.h
>>conftest.
$ac_ext
31090 cat >>conftest.
$ac_ext <<_ACEOF
31091 /* end confdefs.h. */
31092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31094 #define $ac_func innocuous_$ac_func
31096 /* System header to define __stub macros and hopefully few prototypes,
31097 which can conflict with char $ac_func (); below.
31098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31099 <limits.h> exists even on freestanding compilers. */
31102 # include <limits.h>
31104 # include <assert.h>
31109 /* Override any gcc2 internal prototype to avoid an error. */
31114 /* We use char because int might match the return type of a gcc2
31115 builtin and then its argument prototype would still apply. */
31117 /* The GNU C library defines this for functions which it implements
31118 to always fail with ENOSYS. Some functions are actually named
31119 something starting with __ and the normal name is an alias. */
31120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31123 char (*f) () = $ac_func;
31132 return f != $ac_func;
31137 rm -f conftest.
$ac_objext conftest
$ac_exeext
31138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31139 (eval $ac_link) 2>conftest.er1
31141 grep -v '^ *+' conftest.er1
>conftest.err
31143 cat conftest.err
>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } &&
31146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31148 (eval $ac_try) 2>&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); }; } &&
31152 { ac_try
='test -s conftest$ac_exeext'
31153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31154 (eval $ac_try) 2>&5
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); }; }; then
31158 eval "$as_ac_var=yes"
31160 echo "$as_me: failed program was:" >&5
31161 sed 's/^/| /' conftest.
$ac_ext >&5
31163 eval "$as_ac_var=no"
31165 rm -f conftest.err conftest.
$ac_objext \
31166 conftest
$ac_exeext conftest.
$ac_ext
31168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31170 if test `eval echo '${'$as_ac_var'}'` = yes; then
31171 cat >>confdefs.h
<<_ACEOF
31172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31174 cat >>confdefs.h
<<\_ACEOF
31175 #define HAVE_INET_ATON 1
31180 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31181 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31182 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31183 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31184 echo $ECHO_N "(cached) $ECHO_C" >&6
31186 ac_check_lib_save_LIBS
=$LIBS
31187 LIBS
="-l$INET_LINK $LIBS"
31188 cat >conftest.
$ac_ext <<_ACEOF
31191 cat confdefs.h
>>conftest.
$ac_ext
31192 cat >>conftest.
$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31195 /* Override any gcc2 internal prototype to avoid an error. */
31199 /* We use char because int might match the return type of a gcc2
31200 builtin and then its argument prototype would still apply. */
31210 rm -f conftest.
$ac_objext conftest
$ac_exeext
31211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31212 (eval $ac_link) 2>conftest.er1
31214 grep -v '^ *+' conftest.er1
>conftest.err
31216 cat conftest.err
>&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); } &&
31219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221 (eval $ac_try) 2>&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); }; } &&
31225 { ac_try
='test -s conftest$ac_exeext'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; }; then
31231 eval "$as_ac_Lib=yes"
31233 echo "$as_me: failed program was:" >&5
31234 sed 's/^/| /' conftest.
$ac_ext >&5
31236 eval "$as_ac_Lib=no"
31238 rm -f conftest.err conftest.
$ac_objext \
31239 conftest
$ac_exeext conftest.
$ac_ext
31240 LIBS
=$ac_check_lib_save_LIBS
31242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31243 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31244 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31245 cat >>confdefs.h
<<\_ACEOF
31246 #define HAVE_INET_ATON 1
31256 if test "x$INET_LINK" != "x"; then
31257 cat >>confdefs.h
<<\_ACEOF
31258 #define HAVE_INET_ADDR 1
31261 INET_LINK
=" -l$INET_LINK"
31269 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31270 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31271 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31272 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 ac_check_lib_save_LIBS
=$LIBS
31276 cat >conftest.
$ac_ext <<_ACEOF
31279 cat confdefs.h
>>conftest.
$ac_ext
31280 cat >>conftest.
$ac_ext <<_ACEOF
31281 /* end confdefs.h. */
31283 /* Override any gcc2 internal prototype to avoid an error. */
31287 /* We use char because int might match the return type of a gcc2
31288 builtin and then its argument prototype would still apply. */
31298 rm -f conftest.
$ac_objext conftest
$ac_exeext
31299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31300 (eval $ac_link) 2>conftest.er1
31302 grep -v '^ *+' conftest.er1
>conftest.err
31304 cat conftest.err
>&5
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); } &&
31307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31309 (eval $ac_try) 2>&5
31311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312 (exit $ac_status); }; } &&
31313 { ac_try
='test -s conftest$ac_exeext'
31314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31315 (eval $ac_try) 2>&5
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); }; }; then
31319 ac_cv_lib_esd_esd_close
=yes
31321 echo "$as_me: failed program was:" >&5
31322 sed 's/^/| /' conftest.
$ac_ext >&5
31324 ac_cv_lib_esd_esd_close
=no
31326 rm -f conftest.err conftest.
$ac_objext \
31327 conftest
$ac_exeext conftest.
$ac_ext
31328 LIBS
=$ac_check_lib_save_LIBS
31330 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31331 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31332 if test $ac_cv_lib_esd_esd_close = yes; then
31335 for ac_header
in esd.h
31337 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31339 echo "$as_me:$LINENO: checking for $ac_header" >&5
31340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31342 echo $ECHO_N "(cached) $ECHO_C" >&6
31344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31347 # Is the header compilable?
31348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31350 cat >conftest.
$ac_ext <<_ACEOF
31353 cat confdefs.h
>>conftest.
$ac_ext
31354 cat >>conftest.
$ac_ext <<_ACEOF
31355 /* end confdefs.h. */
31356 $ac_includes_default
31357 #include <$ac_header>
31359 rm -f conftest.
$ac_objext
31360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31361 (eval $ac_compile) 2>conftest.er1
31363 grep -v '^ *+' conftest.er1
>conftest.err
31365 cat conftest.err
>&5
31366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31367 (exit $ac_status); } &&
31368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31370 (eval $ac_try) 2>&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); }; } &&
31374 { ac_try
='test -s conftest.$ac_objext'
31375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31376 (eval $ac_try) 2>&5
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); }; }; then
31380 ac_header_compiler
=yes
31382 echo "$as_me: failed program was:" >&5
31383 sed 's/^/| /' conftest.
$ac_ext >&5
31385 ac_header_compiler
=no
31387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31389 echo "${ECHO_T}$ac_header_compiler" >&6
31391 # Is the header present?
31392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31394 cat >conftest.
$ac_ext <<_ACEOF
31397 cat confdefs.h
>>conftest.
$ac_ext
31398 cat >>conftest.
$ac_ext <<_ACEOF
31399 /* end confdefs.h. */
31400 #include <$ac_header>
31402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31403 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31405 grep -v '^ *+' conftest.er1
>conftest.err
31407 cat conftest.err
>&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); } >/dev
/null
; then
31410 if test -s conftest.err
; then
31411 ac_cpp_err
=$ac_c_preproc_warn_flag
31412 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31419 if test -z "$ac_cpp_err"; then
31420 ac_header_preproc
=yes
31422 echo "$as_me: failed program was:" >&5
31423 sed 's/^/| /' conftest.
$ac_ext >&5
31425 ac_header_preproc
=no
31427 rm -f conftest.err conftest.
$ac_ext
31428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31429 echo "${ECHO_T}$ac_header_preproc" >&6
31431 # So? What about this header?
31432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31438 ac_header_preproc
=yes
31441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31455 ## ----------------------------------------- ##
31456 ## Report this to wx-dev@lists.wxwidgets.org ##
31457 ## ----------------------------------------- ##
31460 sed "s/^/$as_me: WARNING: /" >&2
31463 echo "$as_me:$LINENO: checking for $ac_header" >&5
31464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31468 eval "$as_ac_Header=\$ac_header_preproc"
31470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31475 cat >>confdefs.h
<<_ACEOF
31476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31479 EXTRALIBS_ESD
="-lesd"
31490 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31491 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31492 cat >conftest.
$ac_ext <<_ACEOF
31495 cat confdefs.h
>>conftest.
$ac_ext
31496 cat >>conftest.
$ac_ext <<_ACEOF
31497 /* end confdefs.h. */
31499 #include <linux/cdrom.h>
31502 #include <sys/cdio.h>
31508 struct cdrom_tocentry entry, old_entry;
31513 rm -f conftest.
$ac_objext
31514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31515 (eval $ac_compile) 2>conftest.er1
31517 grep -v '^ *+' conftest.er1
>conftest.err
31519 cat conftest.err
>&5
31520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31521 (exit $ac_status); } &&
31522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31524 (eval $ac_try) 2>&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); }; } &&
31528 { ac_try
='test -s conftest.$ac_objext'
31529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31530 (eval $ac_try) 2>&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); }; }; then
31534 echo "$as_me:$LINENO: result: yes" >&5
31535 echo "${ECHO_T}yes" >&6
31536 cat >>confdefs.h
<<\_ACEOF
31537 #define HAVE_KNOWN_CDROM_INTERFACE 1
31541 echo "$as_me: failed program was:" >&5
31542 sed 's/^/| /' conftest.
$ac_ext >&5
31544 echo "$as_me:$LINENO: result: no" >&5
31545 echo "${ECHO_T}no" >&6
31547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31550 cat >confcache
<<\_ACEOF
31551 # This file is a shell script that caches the results of configure
31552 # tests run on this system so they can be shared between configure
31553 # scripts and configure runs, see configure's option --config-cache.
31554 # It is not useful on other systems. If it contains results you don't
31555 # want to keep, you may remove or edit it.
31557 # config.status only pays attention to the cache file if you give it
31558 # the --recheck option to rerun configure.
31560 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31561 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31562 # following values.
31566 # The following way of writing the cache mishandles newlines in values,
31567 # but we know of no workaround that is simple, portable, and efficient.
31568 # So, don't put newlines in cache variables' values.
31569 # Ultrix sh set writes to stderr and can't be redirected directly,
31570 # and sets the high bit in the cache file unless we assign to the vars.
31573 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31575 # `set' does not quote correctly, so add quotes (double-quote
31576 # substitution turns \\\\ into \\, and sed turns \\ into \).
31579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31582 # `set' quotes correctly as required by POSIX, so do not add quotes.
31584 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31591 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31593 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31595 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31596 if test -w $cache_file; then
31597 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31598 cat confcache
>$cache_file
31600 echo "not updating unwritable cache $cache_file"
31607 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31613 if test "$wxUSE_THREADS" = "yes" ; then
31614 if test "$USE_BEOS" = 1; then
31615 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31616 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31621 if test "$wxUSE_THREADS" = "yes" ; then
31624 THREAD_OPTS
="-pthread"
31626 *-*-solaris2* | *-*-sunos4* )
31627 if test "x$GCC" = "xyes"; then
31628 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31630 THREAD_OPTS
="-mt $THREAD_OPTS"
31634 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31636 *-*-darwin* | *-*-cygwin* )
31640 THREAD_OPTS
="pthreads"
31643 if test "x$GCC" != "xyes"; then
31649 if test "x$GCC" = "xyes"; then
31655 if test "x$GCC" != "xyes"; then
31656 THREAD_OPTS
="-Ethread"
31661 THREAD_OPTS
="$THREAD_OPTS pthread none"
31664 for flag
in $THREAD_OPTS; do
31667 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31668 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31672 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31673 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31674 THREADS_CFLAGS
="$flag"
31678 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31679 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31680 THREADS_LINK
="-l$flag"
31685 save_CFLAGS
="$CFLAGS"
31686 LIBS
="$THREADS_LINK $LIBS"
31687 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31689 cat >conftest.
$ac_ext <<_ACEOF
31692 cat confdefs.h
>>conftest.
$ac_ext
31693 cat >>conftest.
$ac_ext <<_ACEOF
31694 /* end confdefs.h. */
31695 #include <pthread.h>
31699 pthread_create(0,0,0,0);
31704 rm -f conftest.
$ac_objext conftest
$ac_exeext
31705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31706 (eval $ac_link) 2>conftest.er1
31708 grep -v '^ *+' conftest.er1
>conftest.err
31710 cat conftest.err
>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); } &&
31713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31715 (eval $ac_try) 2>&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); }; } &&
31719 { ac_try
='test -s conftest$ac_exeext'
31720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31721 (eval $ac_try) 2>&5
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); }; }; then
31727 echo "$as_me: failed program was:" >&5
31728 sed 's/^/| /' conftest.
$ac_ext >&5
31731 rm -f conftest.err conftest.
$ac_objext \
31732 conftest
$ac_exeext conftest.
$ac_ext
31735 CFLAGS
="$save_CFLAGS"
31737 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31738 echo "${ECHO_T}$THREADS_OK" >&6
31739 if test "x$THREADS_OK" = "xyes"; then
31747 if test "x$THREADS_OK" != "xyes"; then
31749 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31750 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31752 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31753 LIBS
="$THREADS_LINK $LIBS"
31755 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31756 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31760 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31761 flag
="-D_THREAD_SAFE"
31764 flag
="-D_THREAD_SAFE"
31767 flag
="-D_REENTRANT"
31768 if test "x$GCC" != "xyes"; then
31769 flag
="$flag -D_RWSTD_MULTI_THREAD"
31774 *solaris
* | alpha
*-osf*)
31775 flag
="-D_REENTRANT"
31778 echo "$as_me:$LINENO: result: ${flag}" >&5
31779 echo "${ECHO_T}${flag}" >&6
31780 if test "x$flag" != xno
; then
31781 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31784 if test "x$THREADS_CFLAGS" != "x"; then
31785 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31786 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31791 if test "$wxUSE_THREADS" = "yes" ; then
31793 for ac_func
in thr_setconcurrency
31795 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31796 echo "$as_me:$LINENO: checking for $ac_func" >&5
31797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31798 if eval "test \"\${$as_ac_var+set}\" = set"; then
31799 echo $ECHO_N "(cached) $ECHO_C" >&6
31801 cat >conftest.
$ac_ext <<_ACEOF
31804 cat confdefs.h
>>conftest.
$ac_ext
31805 cat >>conftest.
$ac_ext <<_ACEOF
31806 /* end confdefs.h. */
31807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31809 #define $ac_func innocuous_$ac_func
31811 /* System header to define __stub macros and hopefully few prototypes,
31812 which can conflict with char $ac_func (); below.
31813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31814 <limits.h> exists even on freestanding compilers. */
31817 # include <limits.h>
31819 # include <assert.h>
31824 /* Override any gcc2 internal prototype to avoid an error. */
31829 /* We use char because int might match the return type of a gcc2
31830 builtin and then its argument prototype would still apply. */
31832 /* The GNU C library defines this for functions which it implements
31833 to always fail with ENOSYS. Some functions are actually named
31834 something starting with __ and the normal name is an alias. */
31835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31838 char (*f) () = $ac_func;
31847 return f != $ac_func;
31852 rm -f conftest.
$ac_objext conftest
$ac_exeext
31853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31854 (eval $ac_link) 2>conftest.er1
31856 grep -v '^ *+' conftest.er1
>conftest.err
31858 cat conftest.err
>&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); } &&
31861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; } &&
31867 { ac_try
='test -s conftest$ac_exeext'
31868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31869 (eval $ac_try) 2>&5
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); }; }; then
31873 eval "$as_ac_var=yes"
31875 echo "$as_me: failed program was:" >&5
31876 sed 's/^/| /' conftest.
$ac_ext >&5
31878 eval "$as_ac_var=no"
31880 rm -f conftest.err conftest.
$ac_objext \
31881 conftest
$ac_exeext conftest.
$ac_ext
31883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31885 if test `eval echo '${'$as_ac_var'}'` = yes; then
31886 cat >>confdefs.h
<<_ACEOF
31887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31895 for ac_header
in sched.h
31897 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31899 echo "$as_me:$LINENO: checking for $ac_header" >&5
31900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31902 echo $ECHO_N "(cached) $ECHO_C" >&6
31904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31907 # Is the header compilable?
31908 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31910 cat >conftest.
$ac_ext <<_ACEOF
31913 cat confdefs.h
>>conftest.
$ac_ext
31914 cat >>conftest.
$ac_ext <<_ACEOF
31915 /* end confdefs.h. */
31916 $ac_includes_default
31917 #include <$ac_header>
31919 rm -f conftest.
$ac_objext
31920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31921 (eval $ac_compile) 2>conftest.er1
31923 grep -v '^ *+' conftest.er1
>conftest.err
31925 cat conftest.err
>&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } &&
31928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31930 (eval $ac_try) 2>&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); }; } &&
31934 { ac_try
='test -s conftest.$ac_objext'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; }; then
31940 ac_header_compiler
=yes
31942 echo "$as_me: failed program was:" >&5
31943 sed 's/^/| /' conftest.
$ac_ext >&5
31945 ac_header_compiler
=no
31947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31949 echo "${ECHO_T}$ac_header_compiler" >&6
31951 # Is the header present?
31952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31954 cat >conftest.
$ac_ext <<_ACEOF
31957 cat confdefs.h
>>conftest.
$ac_ext
31958 cat >>conftest.
$ac_ext <<_ACEOF
31959 /* end confdefs.h. */
31960 #include <$ac_header>
31962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31965 grep -v '^ *+' conftest.er1
>conftest.err
31967 cat conftest.err
>&5
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); } >/dev
/null
; then
31970 if test -s conftest.err
; then
31971 ac_cpp_err
=$ac_c_preproc_warn_flag
31972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31979 if test -z "$ac_cpp_err"; then
31980 ac_header_preproc
=yes
31982 echo "$as_me: failed program was:" >&5
31983 sed 's/^/| /' conftest.
$ac_ext >&5
31985 ac_header_preproc
=no
31987 rm -f conftest.err conftest.
$ac_ext
31988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31989 echo "${ECHO_T}$ac_header_preproc" >&6
31991 # So? What about this header?
31992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31994 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31998 ac_header_preproc
=yes
32001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32005 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32007 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32008 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32011 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32015 ## ----------------------------------------- ##
32016 ## Report this to wx-dev@lists.wxwidgets.org ##
32017 ## ----------------------------------------- ##
32020 sed "s/^/$as_me: WARNING: /" >&2
32023 echo "$as_me:$LINENO: checking for $ac_header" >&5
32024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32026 echo $ECHO_N "(cached) $ECHO_C" >&6
32028 eval "$as_ac_Header=\$ac_header_preproc"
32030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32035 cat >>confdefs.h
<<_ACEOF
32036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32043 if test "$ac_cv_header_sched_h" = "yes"; then
32044 echo "$as_me:$LINENO: checking for sched_yield" >&5
32045 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32046 if test "${ac_cv_func_sched_yield+set}" = set; then
32047 echo $ECHO_N "(cached) $ECHO_C" >&6
32049 cat >conftest.
$ac_ext <<_ACEOF
32052 cat confdefs.h
>>conftest.
$ac_ext
32053 cat >>conftest.
$ac_ext <<_ACEOF
32054 /* end confdefs.h. */
32055 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32057 #define sched_yield innocuous_sched_yield
32059 /* System header to define __stub macros and hopefully few prototypes,
32060 which can conflict with char sched_yield (); below.
32061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32062 <limits.h> exists even on freestanding compilers. */
32065 # include <limits.h>
32067 # include <assert.h>
32072 /* Override any gcc2 internal prototype to avoid an error. */
32077 /* We use char because int might match the return type of a gcc2
32078 builtin and then its argument prototype would still apply. */
32079 char sched_yield ();
32080 /* The GNU C library defines this for functions which it implements
32081 to always fail with ENOSYS. Some functions are actually named
32082 something starting with __ and the normal name is an alias. */
32083 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32086 char (*f) () = sched_yield;
32095 return f != sched_yield;
32100 rm -f conftest.
$ac_objext conftest
$ac_exeext
32101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32102 (eval $ac_link) 2>conftest.er1
32104 grep -v '^ *+' conftest.er1
>conftest.err
32106 cat conftest.err
>&5
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); } &&
32109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32111 (eval $ac_try) 2>&5
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); }; } &&
32115 { ac_try
='test -s conftest$ac_exeext'
32116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117 (eval $ac_try) 2>&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); }; }; then
32121 ac_cv_func_sched_yield
=yes
32123 echo "$as_me: failed program was:" >&5
32124 sed 's/^/| /' conftest.
$ac_ext >&5
32126 ac_cv_func_sched_yield
=no
32128 rm -f conftest.err conftest.
$ac_objext \
32129 conftest
$ac_exeext conftest.
$ac_ext
32131 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32132 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32133 if test $ac_cv_func_sched_yield = yes; then
32134 cat >>confdefs.h
<<\_ACEOF
32135 #define HAVE_SCHED_YIELD 1
32140 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32141 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32142 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32143 echo $ECHO_N "(cached) $ECHO_C" >&6
32145 ac_check_lib_save_LIBS
=$LIBS
32146 LIBS
="-lposix4 $LIBS"
32147 cat >conftest.
$ac_ext <<_ACEOF
32150 cat confdefs.h
>>conftest.
$ac_ext
32151 cat >>conftest.
$ac_ext <<_ACEOF
32152 /* end confdefs.h. */
32154 /* Override any gcc2 internal prototype to avoid an error. */
32158 /* We use char because int might match the return type of a gcc2
32159 builtin and then its argument prototype would still apply. */
32160 char sched_yield ();
32169 rm -f conftest.
$ac_objext conftest
$ac_exeext
32170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32171 (eval $ac_link) 2>conftest.er1
32173 grep -v '^ *+' conftest.er1
>conftest.err
32175 cat conftest.err
>&5
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); } &&
32178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32180 (eval $ac_try) 2>&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); }; } &&
32184 { ac_try
='test -s conftest$ac_exeext'
32185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32186 (eval $ac_try) 2>&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); }; }; then
32190 ac_cv_lib_posix4_sched_yield
=yes
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.
$ac_ext >&5
32195 ac_cv_lib_posix4_sched_yield
=no
32197 rm -f conftest.err conftest.
$ac_objext \
32198 conftest
$ac_exeext conftest.
$ac_ext
32199 LIBS
=$ac_check_lib_save_LIBS
32201 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32202 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32203 if test $ac_cv_lib_posix4_sched_yield = yes; then
32204 cat >>confdefs.h
<<\_ACEOF
32205 #define HAVE_SCHED_YIELD 1
32207 POSIX4_LINK
=" -lposix4"
32209 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32210 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32221 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32222 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32223 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32224 echo $ECHO_N "(cached) $ECHO_C" >&6
32226 cat >conftest.
$ac_ext <<_ACEOF
32229 cat confdefs.h
>>conftest.
$ac_ext
32230 cat >>conftest.
$ac_ext <<_ACEOF
32231 /* end confdefs.h. */
32232 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32234 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32236 /* System header to define __stub macros and hopefully few prototypes,
32237 which can conflict with char pthread_attr_getschedpolicy (); below.
32238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32239 <limits.h> exists even on freestanding compilers. */
32242 # include <limits.h>
32244 # include <assert.h>
32247 #undef pthread_attr_getschedpolicy
32249 /* Override any gcc2 internal prototype to avoid an error. */
32254 /* We use char because int might match the return type of a gcc2
32255 builtin and then its argument prototype would still apply. */
32256 char pthread_attr_getschedpolicy ();
32257 /* The GNU C library defines this for functions which it implements
32258 to always fail with ENOSYS. Some functions are actually named
32259 something starting with __ and the normal name is an alias. */
32260 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32263 char (*f) () = pthread_attr_getschedpolicy;
32272 return f != pthread_attr_getschedpolicy;
32277 rm -f conftest.
$ac_objext conftest
$ac_exeext
32278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32279 (eval $ac_link) 2>conftest.er1
32281 grep -v '^ *+' conftest.er1
>conftest.err
32283 cat conftest.err
>&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } &&
32286 { ac_try
='test -z "$ac_c_werror_flag" || 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_pthread_attr_getschedpolicy
=yes
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.
$ac_ext >&5
32303 ac_cv_func_pthread_attr_getschedpolicy
=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_pthread_attr_getschedpolicy" >&5
32309 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32310 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32311 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32312 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32313 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32314 echo $ECHO_N "(cached) $ECHO_C" >&6
32316 cat >conftest.
$ac_ext <<_ACEOF
32319 cat confdefs.h
>>conftest.
$ac_ext
32320 cat >>conftest.
$ac_ext <<_ACEOF
32321 /* end confdefs.h. */
32322 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32324 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32326 /* System header to define __stub macros and hopefully few prototypes,
32327 which can conflict with char pthread_attr_setschedparam (); below.
32328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32329 <limits.h> exists even on freestanding compilers. */
32332 # include <limits.h>
32334 # include <assert.h>
32337 #undef pthread_attr_setschedparam
32339 /* Override any gcc2 internal prototype to avoid an error. */
32344 /* We use char because int might match the return type of a gcc2
32345 builtin and then its argument prototype would still apply. */
32346 char pthread_attr_setschedparam ();
32347 /* The GNU C library defines this for functions which it implements
32348 to always fail with ENOSYS. Some functions are actually named
32349 something starting with __ and the normal name is an alias. */
32350 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32353 char (*f) () = pthread_attr_setschedparam;
32362 return f != pthread_attr_setschedparam;
32367 rm -f conftest.
$ac_objext conftest
$ac_exeext
32368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32369 (eval $ac_link) 2>conftest.er1
32371 grep -v '^ *+' conftest.er1
>conftest.err
32373 cat conftest.err
>&5
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } &&
32376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32378 (eval $ac_try) 2>&5
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); }; } &&
32382 { ac_try
='test -s conftest$ac_exeext'
32383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32384 (eval $ac_try) 2>&5
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); }; }; then
32388 ac_cv_func_pthread_attr_setschedparam
=yes
32390 echo "$as_me: failed program was:" >&5
32391 sed 's/^/| /' conftest.
$ac_ext >&5
32393 ac_cv_func_pthread_attr_setschedparam
=no
32395 rm -f conftest.err conftest.
$ac_objext \
32396 conftest
$ac_exeext conftest.
$ac_ext
32398 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32399 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32400 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32401 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32402 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32403 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32404 echo $ECHO_N "(cached) $ECHO_C" >&6
32406 cat >conftest.
$ac_ext <<_ACEOF
32409 cat confdefs.h
>>conftest.
$ac_ext
32410 cat >>conftest.
$ac_ext <<_ACEOF
32411 /* end confdefs.h. */
32412 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32414 #define sched_get_priority_max innocuous_sched_get_priority_max
32416 /* System header to define __stub macros and hopefully few prototypes,
32417 which can conflict with char sched_get_priority_max (); below.
32418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32419 <limits.h> exists even on freestanding compilers. */
32422 # include <limits.h>
32424 # include <assert.h>
32427 #undef sched_get_priority_max
32429 /* Override any gcc2 internal prototype to avoid an error. */
32434 /* We use char because int might match the return type of a gcc2
32435 builtin and then its argument prototype would still apply. */
32436 char sched_get_priority_max ();
32437 /* The GNU C library defines this for functions which it implements
32438 to always fail with ENOSYS. Some functions are actually named
32439 something starting with __ and the normal name is an alias. */
32440 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32443 char (*f) () = sched_get_priority_max;
32452 return f != sched_get_priority_max;
32457 rm -f conftest.
$ac_objext conftest
$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>conftest.er1
32461 grep -v '^ *+' conftest.er1
>conftest.err
32463 cat conftest.err
>&5
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); } &&
32466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32468 (eval $ac_try) 2>&5
32470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32471 (exit $ac_status); }; } &&
32472 { ac_try
='test -s conftest$ac_exeext'
32473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32474 (eval $ac_try) 2>&5
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); }; }; then
32478 ac_cv_func_sched_get_priority_max
=yes
32480 echo "$as_me: failed program was:" >&5
32481 sed 's/^/| /' conftest.
$ac_ext >&5
32483 ac_cv_func_sched_get_priority_max
=no
32485 rm -f conftest.err conftest.
$ac_objext \
32486 conftest
$ac_exeext conftest.
$ac_ext
32488 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32489 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32490 if test $ac_cv_func_sched_get_priority_max = yes; then
32493 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32494 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32495 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 ac_check_lib_save_LIBS
=$LIBS
32499 LIBS
="-lposix4 $LIBS"
32500 cat >conftest.
$ac_ext <<_ACEOF
32503 cat confdefs.h
>>conftest.
$ac_ext
32504 cat >>conftest.
$ac_ext <<_ACEOF
32505 /* end confdefs.h. */
32507 /* Override any gcc2 internal prototype to avoid an error. */
32511 /* We use char because int might match the return type of a gcc2
32512 builtin and then its argument prototype would still apply. */
32513 char sched_get_priority_max ();
32517 sched_get_priority_max ();
32522 rm -f conftest.
$ac_objext conftest
$ac_exeext
32523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32524 (eval $ac_link) 2>conftest.er1
32526 grep -v '^ *+' conftest.er1
>conftest.err
32528 cat conftest.err
>&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } &&
32531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32533 (eval $ac_try) 2>&5
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); }; } &&
32537 { ac_try
='test -s conftest$ac_exeext'
32538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32539 (eval $ac_try) 2>&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); }; }; then
32543 ac_cv_lib_posix4_sched_get_priority_max
=yes
32545 echo "$as_me: failed program was:" >&5
32546 sed 's/^/| /' conftest.
$ac_ext >&5
32548 ac_cv_lib_posix4_sched_get_priority_max
=no
32550 rm -f conftest.err conftest.
$ac_objext \
32551 conftest
$ac_exeext conftest.
$ac_ext
32552 LIBS
=$ac_check_lib_save_LIBS
32554 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32555 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32556 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32559 POSIX4_LINK
=" -lposix4"
32573 if test "$HAVE_PRIOR_FUNCS" = 1; then
32574 cat >>confdefs.h
<<\_ACEOF
32575 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32579 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32580 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32583 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32584 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32585 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32586 echo $ECHO_N "(cached) $ECHO_C" >&6
32588 cat >conftest.
$ac_ext <<_ACEOF
32591 cat confdefs.h
>>conftest.
$ac_ext
32592 cat >>conftest.
$ac_ext <<_ACEOF
32593 /* end confdefs.h. */
32594 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32596 #define pthread_cancel innocuous_pthread_cancel
32598 /* System header to define __stub macros and hopefully few prototypes,
32599 which can conflict with char pthread_cancel (); below.
32600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32601 <limits.h> exists even on freestanding compilers. */
32604 # include <limits.h>
32606 # include <assert.h>
32609 #undef pthread_cancel
32611 /* Override any gcc2 internal prototype to avoid an error. */
32616 /* We use char because int might match the return type of a gcc2
32617 builtin and then its argument prototype would still apply. */
32618 char pthread_cancel ();
32619 /* The GNU C library defines this for functions which it implements
32620 to always fail with ENOSYS. Some functions are actually named
32621 something starting with __ and the normal name is an alias. */
32622 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32625 char (*f) () = pthread_cancel;
32634 return f != pthread_cancel;
32639 rm -f conftest.
$ac_objext conftest
$ac_exeext
32640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32641 (eval $ac_link) 2>conftest.er1
32643 grep -v '^ *+' conftest.er1
>conftest.err
32645 cat conftest.err
>&5
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); } &&
32648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32650 (eval $ac_try) 2>&5
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); }; } &&
32654 { ac_try
='test -s conftest$ac_exeext'
32655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32656 (eval $ac_try) 2>&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); }; }; then
32660 ac_cv_func_pthread_cancel
=yes
32662 echo "$as_me: failed program was:" >&5
32663 sed 's/^/| /' conftest.
$ac_ext >&5
32665 ac_cv_func_pthread_cancel
=no
32667 rm -f conftest.err conftest.
$ac_objext \
32668 conftest
$ac_exeext conftest.
$ac_ext
32670 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32671 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32672 if test $ac_cv_func_pthread_cancel = yes; then
32673 cat >>confdefs.h
<<\_ACEOF
32674 #define HAVE_PTHREAD_CANCEL 1
32678 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32679 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32685 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32686 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32687 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32688 echo $ECHO_N "(cached) $ECHO_C" >&6
32691 cat >conftest.
$ac_ext <<_ACEOF
32694 cat confdefs.h
>>conftest.
$ac_ext
32695 cat >>conftest.
$ac_ext <<_ACEOF
32696 /* end confdefs.h. */
32697 #include <pthread.h>
32702 pthread_mutexattr_t attr;
32703 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32709 rm -f conftest.
$ac_objext
32710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32711 (eval $ac_compile) 2>conftest.er1
32713 grep -v '^ *+' conftest.er1
>conftest.err
32715 cat conftest.err
>&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } &&
32718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 (eval $ac_try) 2>&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; } &&
32724 { ac_try
='test -s conftest.$ac_objext'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; }; then
32731 wx_cv_type_pthread_mutexattr_t
=yes
32734 echo "$as_me: failed program was:" >&5
32735 sed 's/^/| /' conftest.
$ac_ext >&5
32738 wx_cv_type_pthread_mutexattr_t
=no
32742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32745 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32746 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32748 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32749 cat >>confdefs.h
<<\_ACEOF
32750 #define HAVE_PTHREAD_MUTEXATTR_T 1
32754 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32755 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32756 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32757 echo $ECHO_N "(cached) $ECHO_C" >&6
32760 cat >conftest.
$ac_ext <<_ACEOF
32763 cat confdefs.h
>>conftest.
$ac_ext
32764 cat >>conftest.
$ac_ext <<_ACEOF
32765 /* end confdefs.h. */
32766 #include <pthread.h>
32771 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32777 rm -f conftest.
$ac_objext
32778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32779 (eval $ac_compile) 2>conftest.er1
32781 grep -v '^ *+' conftest.er1
>conftest.err
32783 cat conftest.err
>&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } &&
32786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32788 (eval $ac_try) 2>&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); }; } &&
32792 { ac_try
='test -s conftest.$ac_objext'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; }; then
32799 wx_cv_type_pthread_rec_mutex_init
=yes
32802 echo "$as_me: failed program was:" >&5
32803 sed 's/^/| /' conftest.
$ac_ext >&5
32806 wx_cv_type_pthread_rec_mutex_init
=no
32810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32813 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32814 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32815 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32816 cat >>confdefs.h
<<\_ACEOF
32817 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32821 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32822 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32828 if test "$wxUSE_THREADS" = "yes" ; then
32831 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32832 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32833 if test "${wx_cv_cflags_mthread+set}" = set; then
32834 echo $ECHO_N "(cached) $ECHO_C" >&6
32837 CFLAGS_OLD
="$CFLAGS"
32838 CFLAGS
="$CFLAGS -mthreads"
32839 cat >conftest.
$ac_ext <<_ACEOF
32842 cat confdefs.h
>>conftest.
$ac_ext
32843 cat >>conftest.
$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32854 rm -f conftest.
$ac_objext
32855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32856 (eval $ac_compile) 2>conftest.er1
32858 grep -v '^ *+' conftest.er1
>conftest.err
32860 cat conftest.err
>&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); } &&
32863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32865 (eval $ac_try) 2>&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; } &&
32869 { ac_try
='test -s conftest.$ac_objext'
32870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871 (eval $ac_try) 2>&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); }; }; then
32875 wx_cv_cflags_mthread
=yes
32877 echo "$as_me: failed program was:" >&5
32878 sed 's/^/| /' conftest.
$ac_ext >&5
32880 wx_cv_cflags_mthread
=no
32883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32887 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32888 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32890 if test "$wx_cv_cflags_mthread" = "yes"; then
32891 CXXFLAGS
="$CXXFLAGS -mthreads"
32892 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
32893 LDFLAGS
="$LDFLAGS -mthreads"
32895 CFLAGS
="$CFLAGS_OLD"
32899 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
32900 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
32901 LDFLAGS
="$LDFLAGS -Zmt"
32907 if test "$wxUSE_THREADS" = "yes"; then
32908 cat >>confdefs.h
<<\_ACEOF
32909 #define wxUSE_THREADS 1
32913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32915 if test "$ac_cv_func_strtok_r" = "yes"; then
32916 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
32917 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
32918 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32919 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
32920 echo "$as_me:$LINENO: result: yes" >&5
32921 echo "${ECHO_T}yes" >&6
32923 echo "$as_me:$LINENO: result: no" >&5
32924 echo "${ECHO_T}no" >&6
32929 if test "$WXGTK20" = 1 ; then
32930 cat >>confdefs.h
<<_ACEOF
32931 #define __WXGTK20__ $WXGTK20
32937 if test "$WXGTK12" = 1 ; then
32938 cat >>confdefs.h
<<_ACEOF
32939 #define __WXGTK12__ $WXGTK12
32944 if test "$WXGTK127" = 1 ; then
32945 cat >>confdefs.h
<<_ACEOF
32946 #define __WXGTK127__ $WXGTK127
32951 if test "$WXGPE" = 1 ; then
32952 cat >>confdefs.h
<<_ACEOF
32953 #define __WXGPE__ $WXGPE
32960 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
32965 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32966 wxUSE_DEBUG_INFO
=yes
32970 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
32971 cat >>confdefs.h
<<\_ACEOF
32975 WXDEBUG_DEFINE
="-D__WXDEBUG__"
32977 if test "$wxUSE_GTK" = 1 ; then
32978 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
32982 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32983 cat >>confdefs.h
<<\_ACEOF
32984 #define wxUSE_MEMORY_TRACING 1
32987 cat >>confdefs.h
<<\_ACEOF
32988 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
32991 cat >>confdefs.h
<<\_ACEOF
32992 #define wxUSE_DEBUG_NEW_ALWAYS 1
32995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32998 if test "$wxUSE_DMALLOC" = "yes" ; then
32999 DMALLOC_LIBS
="-ldmalloc"
33003 if test "$wxUSE_PROFILE" = "yes" ; then
33008 CODE_GEN_FLAGS_CXX
=
33009 if test "$GCC" = "yes" ; then
33010 if test "$wxUSE_NO_RTTI" = "yes" ; then
33011 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33013 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33014 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33016 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33017 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33022 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33025 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33031 if test "$wxUSE_OPTIMISE" = "no" ; then
33032 if test "$GCC" = yes ; then
33036 if test "$GCC" = yes ; then
33040 i586
-*-*|i686
-*-* )
33041 OPTIMISE
="${OPTIMISE} "
33050 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33051 cat >>confdefs.h
<<\_ACEOF
33052 #define WXWIN_COMPATIBILITY_2_2 1
33056 WXWIN_COMPATIBILITY_2_4
="yes"
33059 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33060 cat >>confdefs.h
<<\_ACEOF
33061 #define WXWIN_COMPATIBILITY_2_4 1
33067 if test "$wxUSE_GUI" = "yes"; then
33068 cat >>confdefs.h
<<\_ACEOF
33069 #define wxUSE_GUI 1
33074 cat >>confdefs.h
<<\_ACEOF
33075 #define wxUSE_NOGUI 1
33081 if test "$wxUSE_UNIX" = "yes"; then
33082 cat >>confdefs.h
<<\_ACEOF
33083 #define wxUSE_UNIX 1
33089 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33093 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33094 if test "$USE_DARWIN" = 1; then
33098 for ac_func
in dlopen
33100 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33101 echo "$as_me:$LINENO: checking for $ac_func" >&5
33102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33103 if eval "test \"\${$as_ac_var+set}\" = set"; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33114 #define $ac_func innocuous_$ac_func
33116 /* System header to define __stub macros and hopefully few prototypes,
33117 which can conflict with char $ac_func (); below.
33118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33119 <limits.h> exists even on freestanding compilers. */
33122 # include <limits.h>
33124 # include <assert.h>
33129 /* Override any gcc2 internal prototype to avoid an error. */
33134 /* We use char because int might match the return type of a gcc2
33135 builtin and then its argument prototype would still apply. */
33137 /* The GNU C library defines this for functions which it implements
33138 to always fail with ENOSYS. Some functions are actually named
33139 something starting with __ and the normal name is an alias. */
33140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33143 char (*f) () = $ac_func;
33152 return f != $ac_func;
33157 rm -f conftest.
$ac_objext conftest
$ac_exeext
33158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33159 (eval $ac_link) 2>conftest.er1
33161 grep -v '^ *+' conftest.er1
>conftest.err
33163 cat conftest.err
>&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); } &&
33166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; } &&
33172 { ac_try
='test -s conftest$ac_exeext'
33173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33174 (eval $ac_try) 2>&5
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); }; }; then
33178 eval "$as_ac_var=yes"
33180 echo "$as_me: failed program was:" >&5
33181 sed 's/^/| /' conftest.
$ac_ext >&5
33183 eval "$as_ac_var=no"
33185 rm -f conftest.err conftest.
$ac_objext \
33186 conftest
$ac_exeext conftest.
$ac_ext
33188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33190 if test `eval echo '${'$as_ac_var'}'` = yes; then
33191 cat >>confdefs.h
<<_ACEOF
33192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33195 cat >>confdefs.h
<<\_ACEOF
33196 #define HAVE_DLOPEN 1
33203 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33204 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33205 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33206 echo $ECHO_N "(cached) $ECHO_C" >&6
33208 ac_check_lib_save_LIBS
=$LIBS
33210 cat >conftest.
$ac_ext <<_ACEOF
33213 cat confdefs.h
>>conftest.
$ac_ext
33214 cat >>conftest.
$ac_ext <<_ACEOF
33215 /* end confdefs.h. */
33217 /* Override any gcc2 internal prototype to avoid an error. */
33221 /* We use char because int might match the return type of a gcc2
33222 builtin and then its argument prototype would still apply. */
33232 rm -f conftest.
$ac_objext conftest
$ac_exeext
33233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33234 (eval $ac_link) 2>conftest.er1
33236 grep -v '^ *+' conftest.er1
>conftest.err
33238 cat conftest.err
>&5
33239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33240 (exit $ac_status); } &&
33241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33243 (eval $ac_try) 2>&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); }; } &&
33247 { ac_try
='test -s conftest$ac_exeext'
33248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33249 (eval $ac_try) 2>&5
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); }; }; then
33253 ac_cv_lib_dl_dlopen
=yes
33255 echo "$as_me: failed program was:" >&5
33256 sed 's/^/| /' conftest.
$ac_ext >&5
33258 ac_cv_lib_dl_dlopen
=no
33260 rm -f conftest.err conftest.
$ac_objext \
33261 conftest
$ac_exeext conftest.
$ac_ext
33262 LIBS
=$ac_check_lib_save_LIBS
33264 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33265 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33266 if test $ac_cv_lib_dl_dlopen = yes; then
33268 cat >>confdefs.h
<<\_ACEOF
33269 #define HAVE_DLOPEN 1
33273 DL_LINK
=" -ldl$DL_LINK"
33278 for ac_func
in shl_load
33280 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33281 echo "$as_me:$LINENO: checking for $ac_func" >&5
33282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33283 if eval "test \"\${$as_ac_var+set}\" = set"; then
33284 echo $ECHO_N "(cached) $ECHO_C" >&6
33286 cat >conftest.
$ac_ext <<_ACEOF
33289 cat confdefs.h
>>conftest.
$ac_ext
33290 cat >>conftest.
$ac_ext <<_ACEOF
33291 /* end confdefs.h. */
33292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33294 #define $ac_func innocuous_$ac_func
33296 /* System header to define __stub macros and hopefully few prototypes,
33297 which can conflict with char $ac_func (); below.
33298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33299 <limits.h> exists even on freestanding compilers. */
33302 # include <limits.h>
33304 # include <assert.h>
33309 /* Override any gcc2 internal prototype to avoid an error. */
33314 /* We use char because int might match the return type of a gcc2
33315 builtin and then its argument prototype would still apply. */
33317 /* The GNU C library defines this for functions which it implements
33318 to always fail with ENOSYS. Some functions are actually named
33319 something starting with __ and the normal name is an alias. */
33320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33323 char (*f) () = $ac_func;
33332 return f != $ac_func;
33337 rm -f conftest.
$ac_objext conftest
$ac_exeext
33338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33339 (eval $ac_link) 2>conftest.er1
33341 grep -v '^ *+' conftest.er1
>conftest.err
33343 cat conftest.err
>&5
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); } &&
33346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33348 (eval $ac_try) 2>&5
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); }; } &&
33352 { ac_try
='test -s conftest$ac_exeext'
33353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33354 (eval $ac_try) 2>&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); }; }; then
33358 eval "$as_ac_var=yes"
33360 echo "$as_me: failed program was:" >&5
33361 sed 's/^/| /' conftest.
$ac_ext >&5
33363 eval "$as_ac_var=no"
33365 rm -f conftest.err conftest.
$ac_objext \
33366 conftest
$ac_exeext conftest.
$ac_ext
33368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33370 if test `eval echo '${'$as_ac_var'}'` = yes; then
33371 cat >>confdefs.h
<<_ACEOF
33372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33375 cat >>confdefs.h
<<\_ACEOF
33376 #define HAVE_SHL_LOAD 1
33383 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33384 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33385 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33386 echo $ECHO_N "(cached) $ECHO_C" >&6
33388 ac_check_lib_save_LIBS
=$LIBS
33389 LIBS
="-lshl_load $LIBS"
33390 cat >conftest.
$ac_ext <<_ACEOF
33393 cat confdefs.h
>>conftest.
$ac_ext
33394 cat >>conftest.
$ac_ext <<_ACEOF
33395 /* end confdefs.h. */
33397 /* Override any gcc2 internal prototype to avoid an error. */
33401 /* We use char because int might match the return type of a gcc2
33402 builtin and then its argument prototype would still apply. */
33412 rm -f conftest.
$ac_objext conftest
$ac_exeext
33413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33414 (eval $ac_link) 2>conftest.er1
33416 grep -v '^ *+' conftest.er1
>conftest.err
33418 cat conftest.err
>&5
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); } &&
33421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33423 (eval $ac_try) 2>&5
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); }; } &&
33427 { ac_try
='test -s conftest$ac_exeext'
33428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33429 (eval $ac_try) 2>&5
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); }; }; then
33433 ac_cv_lib_shl_load_dld
=yes
33435 echo "$as_me: failed program was:" >&5
33436 sed 's/^/| /' conftest.
$ac_ext >&5
33438 ac_cv_lib_shl_load_dld
=no
33440 rm -f conftest.err conftest.
$ac_objext \
33441 conftest
$ac_exeext conftest.
$ac_ext
33442 LIBS
=$ac_check_lib_save_LIBS
33444 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33445 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33446 if test $ac_cv_lib_shl_load_dld = yes; then
33449 DL_LINK
=" -ldld$DL_LINK"
33465 if test "$HAVE_DL_FUNCS" = 1; then
33467 for ac_func
in dlerror
33469 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33470 echo "$as_me:$LINENO: checking for $ac_func" >&5
33471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33472 if eval "test \"\${$as_ac_var+set}\" = set"; then
33473 echo $ECHO_N "(cached) $ECHO_C" >&6
33475 cat >conftest.
$ac_ext <<_ACEOF
33478 cat confdefs.h
>>conftest.
$ac_ext
33479 cat >>conftest.
$ac_ext <<_ACEOF
33480 /* end confdefs.h. */
33481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33483 #define $ac_func innocuous_$ac_func
33485 /* System header to define __stub macros and hopefully few prototypes,
33486 which can conflict with char $ac_func (); below.
33487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33488 <limits.h> exists even on freestanding compilers. */
33491 # include <limits.h>
33493 # include <assert.h>
33498 /* Override any gcc2 internal prototype to avoid an error. */
33503 /* We use char because int might match the return type of a gcc2
33504 builtin and then its argument prototype would still apply. */
33506 /* The GNU C library defines this for functions which it implements
33507 to always fail with ENOSYS. Some functions are actually named
33508 something starting with __ and the normal name is an alias. */
33509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33512 char (*f) () = $ac_func;
33521 return f != $ac_func;
33526 rm -f conftest.
$ac_objext conftest
$ac_exeext
33527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33528 (eval $ac_link) 2>conftest.er1
33530 grep -v '^ *+' conftest.er1
>conftest.err
33532 cat conftest.err
>&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); } &&
33535 { ac_try
='test -z "$ac_c_werror_flag" || 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
33563 cat >>confdefs.h
<<\_ACEOF
33564 #define HAVE_DLERROR 1
33569 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33570 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33571 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33574 ac_check_lib_save_LIBS
=$LIBS
33576 cat >conftest.
$ac_ext <<_ACEOF
33579 cat confdefs.h
>>conftest.
$ac_ext
33580 cat >>conftest.
$ac_ext <<_ACEOF
33581 /* end confdefs.h. */
33583 /* Override any gcc2 internal prototype to avoid an error. */
33587 /* We use char because int might match the return type of a gcc2
33588 builtin and then its argument prototype would still apply. */
33598 rm -f conftest.
$ac_objext conftest
$ac_exeext
33599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33600 (eval $ac_link) 2>conftest.er1
33602 grep -v '^ *+' conftest.er1
>conftest.err
33604 cat conftest.err
>&5
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); } &&
33607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33609 (eval $ac_try) 2>&5
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); }; } &&
33613 { ac_try
='test -s conftest$ac_exeext'
33614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33615 (eval $ac_try) 2>&5
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); }; }; then
33619 ac_cv_lib_dl_dlerror
=yes
33621 echo "$as_me: failed program was:" >&5
33622 sed 's/^/| /' conftest.
$ac_ext >&5
33624 ac_cv_lib_dl_dlerror
=no
33626 rm -f conftest.err conftest.
$ac_objext \
33627 conftest
$ac_exeext conftest.
$ac_ext
33628 LIBS
=$ac_check_lib_save_LIBS
33630 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33631 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33632 if test $ac_cv_lib_dl_dlerror = yes; then
33633 cat >>confdefs.h
<<\_ACEOF
33634 #define HAVE_DLERROR 1
33647 if test "$HAVE_DL_FUNCS" = 0; then
33648 if test "$HAVE_SHL_FUNCS" = 0; then
33649 if test "$USE_UNIX" = 1; then
33650 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33651 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33652 wxUSE_DYNAMIC_LOADER
=no
33653 wxUSE_DYNLIB_CLASS
=no
33655 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33656 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33663 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33664 cat >>confdefs.h
<<\_ACEOF
33665 #define wxUSE_DYNAMIC_LOADER 1
33669 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33670 cat >>confdefs.h
<<\_ACEOF
33671 #define wxUSE_DYNLIB_CLASS 1
33678 if test "$wxUSE_PLUGINS" = "yes" ; then
33679 if test "$wxUSE_SHARED" = "no" ; then
33680 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33681 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33684 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33685 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33686 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33689 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33690 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33691 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33694 if test "$wxUSE_PLUGINS" = "yes" ; then
33695 cat >>confdefs.h
<<\_ACEOF
33696 #define wxUSE_PLUGINS 1
33703 if test "$wxUSE_STL" = "yes"; then
33704 cat >>confdefs.h
<<\_ACEOF
33705 #define wxUSE_STL 1
33710 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33711 cat >>confdefs.h
<<\_ACEOF
33712 #define wxUSE_APPLE_IEEE 1
33717 if test "$wxUSE_TIMER" = "yes"; then
33718 cat >>confdefs.h
<<\_ACEOF
33719 #define wxUSE_TIMER 1
33725 if test "$wxUSE_SOUND" = "yes"; then
33726 if test "$USE_UNIX" = "1" ; then
33728 for ac_header
in sys
/soundcard.h
33730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33732 echo "$as_me:$LINENO: checking for $ac_header" >&5
33733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33735 echo $ECHO_N "(cached) $ECHO_C" >&6
33737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33740 # Is the header compilable?
33741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33743 cat >conftest.
$ac_ext <<_ACEOF
33746 cat confdefs.h
>>conftest.
$ac_ext
33747 cat >>conftest.
$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 $ac_includes_default
33750 #include <$ac_header>
33752 rm -f conftest.
$ac_objext
33753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33754 (eval $ac_compile) 2>conftest.er1
33756 grep -v '^ *+' conftest.er1
>conftest.err
33758 cat conftest.err
>&5
33759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33760 (exit $ac_status); } &&
33761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33763 (eval $ac_try) 2>&5
33765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33766 (exit $ac_status); }; } &&
33767 { ac_try
='test -s conftest.$ac_objext'
33768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33769 (eval $ac_try) 2>&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; }; then
33773 ac_header_compiler
=yes
33775 echo "$as_me: failed program was:" >&5
33776 sed 's/^/| /' conftest.
$ac_ext >&5
33778 ac_header_compiler
=no
33780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33782 echo "${ECHO_T}$ac_header_compiler" >&6
33784 # Is the header present?
33785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33787 cat >conftest.
$ac_ext <<_ACEOF
33790 cat confdefs.h
>>conftest.
$ac_ext
33791 cat >>conftest.
$ac_ext <<_ACEOF
33792 /* end confdefs.h. */
33793 #include <$ac_header>
33795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33798 grep -v '^ *+' conftest.er1
>conftest.err
33800 cat conftest.err
>&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); } >/dev
/null
; then
33803 if test -s conftest.err
; then
33804 ac_cpp_err
=$ac_c_preproc_warn_flag
33805 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33812 if test -z "$ac_cpp_err"; then
33813 ac_header_preproc
=yes
33815 echo "$as_me: failed program was:" >&5
33816 sed 's/^/| /' conftest.
$ac_ext >&5
33818 ac_header_preproc
=no
33820 rm -f conftest.err conftest.
$ac_ext
33821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33822 echo "${ECHO_T}$ac_header_preproc" >&6
33824 # So? What about this header?
33825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33831 ac_header_preproc
=yes
33834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33848 ## ----------------------------------------- ##
33849 ## Report this to wx-dev@lists.wxwidgets.org ##
33850 ## ----------------------------------------- ##
33853 sed "s/^/$as_me: WARNING: /" >&2
33856 echo "$as_me:$LINENO: checking for $ac_header" >&5
33857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33859 echo $ECHO_N "(cached) $ECHO_C" >&6
33861 eval "$as_ac_Header=\$ac_header_preproc"
33863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33868 cat >>confdefs.h
<<_ACEOF
33869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33877 if test "$wxUSE_LIBSDL" != "no"; then
33879 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
33880 if test "${with_sdl_prefix+set}" = set; then
33881 withval
="$with_sdl_prefix"
33882 sdl_prefix
="$withval"
33887 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
33888 if test "${with_sdl_exec_prefix+set}" = set; then
33889 withval
="$with_sdl_exec_prefix"
33890 sdl_exec_prefix
="$withval"
33894 # Check whether --enable-sdltest or --disable-sdltest was given.
33895 if test "${enable_sdltest+set}" = set; then
33896 enableval
="$enable_sdltest"
33902 if test x
$sdl_exec_prefix != x
; then
33903 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33904 if test x
${SDL_CONFIG+set} != xset
; then
33905 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33908 if test x
$sdl_prefix != x
; then
33909 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33910 if test x
${SDL_CONFIG+set} != xset
; then
33911 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33916 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33917 # Extract the first word of "sdl-config", so it can be a program name with args.
33918 set dummy sdl
-config; ac_word
=$2
33919 echo "$as_me:$LINENO: checking for $ac_word" >&5
33920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33921 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
33922 echo $ECHO_N "(cached) $ECHO_C" >&6
33924 case $SDL_CONFIG in
33926 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33930 for as_dir
in $PATH
33933 test -z "$as_dir" && as_dir
=.
33934 for ac_exec_ext
in '' $ac_executable_extensions; do
33935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33936 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33943 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33947 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33949 if test -n "$SDL_CONFIG"; then
33950 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
33951 echo "${ECHO_T}$SDL_CONFIG" >&6
33953 echo "$as_me:$LINENO: result: no" >&5
33954 echo "${ECHO_T}no" >&6
33957 min_sdl_version
=1.2.0
33958 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
33959 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
33961 if test "$SDL_CONFIG" = "no" ; then
33964 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33965 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33967 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33969 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33971 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33973 if test "x$enable_sdltest" = "xyes" ; then
33974 ac_save_CFLAGS
="$CFLAGS"
33975 ac_save_LIBS
="$LIBS"
33976 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33977 LIBS
="$LIBS $SDL_LIBS"
33979 if test "$cross_compiling" = yes; then
33980 echo $ac_n "cross compiling; assumed OK... $ac_c"
33982 cat >conftest.
$ac_ext <<_ACEOF
33985 cat confdefs.h
>>conftest.
$ac_ext
33986 cat >>conftest.
$ac_ext <<_ACEOF
33987 /* end confdefs.h. */
33990 #include <stdlib.h>
33991 #include <string.h>
33995 my_strdup (char *str)
34001 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34002 strcpy (new_str, str);
34010 int main (int argc, char *argv[])
34012 int major, minor, micro;
34015 /* This hangs on some systems (?)
34016 system ("touch conf.sdltest");
34018 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34020 /* HP/UX 9 (%@#!) writes to sscanf strings */
34021 tmp_version = my_strdup("$min_sdl_version");
34022 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34023 printf("%s, bad version string\n", "$min_sdl_version");
34027 if (($sdl_major_version > major) ||
34028 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34029 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34035 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34036 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34037 printf("*** best to upgrade to the required version.\n");
34038 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34039 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34040 printf("*** config.cache before re-running configure\n");
34047 rm -f conftest
$ac_exeext
34048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34049 (eval $ac_link) 2>&5
34051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054 (eval $ac_try) 2>&5
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; }; then
34060 echo "$as_me: program exited with status $ac_status" >&5
34061 echo "$as_me: failed program was:" >&5
34062 sed 's/^/| /' conftest.
$ac_ext >&5
34064 ( exit $ac_status )
34067 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34069 CFLAGS
="$ac_save_CFLAGS"
34070 LIBS
="$ac_save_LIBS"
34073 if test "x$no_sdl" = x
; then
34074 echo "$as_me:$LINENO: result: yes" >&5
34075 echo "${ECHO_T}yes" >&6
34077 EXTRALIBS_SDL
="$SDL_LIBS"
34078 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34079 cat >>confdefs.h
<<\_ACEOF
34080 #define wxUSE_LIBSDL 1
34085 echo "$as_me:$LINENO: result: no" >&5
34086 echo "${ECHO_T}no" >&6
34087 if test "$SDL_CONFIG" = "no" ; then
34088 echo "*** The sdl-config script installed by SDL could not be found"
34089 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34090 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34091 echo "*** full path to sdl-config."
34093 if test -f conf.sdltest
; then
34096 echo "*** Could not run SDL test program, checking why..."
34097 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34098 LIBS
="$LIBS $SDL_LIBS"
34099 cat >conftest.
$ac_ext <<_ACEOF
34102 cat confdefs.h
>>conftest.
$ac_ext
34103 cat >>conftest.
$ac_ext <<_ACEOF
34104 /* end confdefs.h. */
34109 int main(int argc, char *argv[])
34112 #define main K_and_R_C_main
34122 rm -f conftest.
$ac_objext conftest
$ac_exeext
34123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34124 (eval $ac_link) 2>conftest.er1
34126 grep -v '^ *+' conftest.er1
>conftest.err
34128 cat conftest.err
>&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); } &&
34131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; } &&
34137 { ac_try
='test -s conftest$ac_exeext'
34138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34139 (eval $ac_try) 2>&5
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); }; }; then
34143 echo "*** The test program compiled, but did not run. This usually means"
34144 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34145 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34146 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34147 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34148 echo "*** is required on your system"
34150 echo "*** If you have an old version installed, it is best to remove it, although"
34151 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.
$ac_ext >&5
34156 echo "*** The test program failed to compile or link. See the file config.log for the"
34157 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34158 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34159 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34161 rm -f conftest.err conftest.
$ac_objext \
34162 conftest
$ac_exeext conftest.
$ac_ext
34163 CFLAGS
="$ac_save_CFLAGS"
34164 LIBS
="$ac_save_LIBS"
34175 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34181 cat >>confdefs.h
<<\_ACEOF
34182 #define wxUSE_SOUND 1
34185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34188 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34189 cat >>confdefs.h
<<\_ACEOF
34190 #define wxUSE_CMDLINE_PARSER 1
34195 if test "$wxUSE_STOPWATCH" = "yes"; then
34196 cat >>confdefs.h
<<\_ACEOF
34197 #define wxUSE_STOPWATCH 1
34202 if test "$wxUSE_DATETIME" = "yes"; then
34203 cat >>confdefs.h
<<\_ACEOF
34204 #define wxUSE_DATETIME 1
34209 if test "$wxUSE_FILE" = "yes"; then
34210 cat >>confdefs.h
<<\_ACEOF
34211 #define wxUSE_FILE 1
34216 if test "$wxUSE_FFILE" = "yes"; then
34217 cat >>confdefs.h
<<\_ACEOF
34218 #define wxUSE_FFILE 1
34223 if test "$wxUSE_FILESYSTEM" = "yes"; then
34224 cat >>confdefs.h
<<\_ACEOF
34225 #define wxUSE_FILESYSTEM 1
34230 if test "$wxUSE_FS_ZIP" = "yes"; then
34231 cat >>confdefs.h
<<\_ACEOF
34232 #define wxUSE_FS_ZIP 1
34237 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34238 cat >>confdefs.h
<<\_ACEOF
34239 #define wxUSE_ZIPSTREAM 1
34244 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34245 cat >>confdefs.h
<<\_ACEOF
34246 #define wxUSE_ON_FATAL_EXCEPTION 1
34251 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34252 cat >>confdefs.h
<<\_ACEOF
34253 #define wxUSE_SNGLINST_CHECKER 1
34258 if test "$wxUSE_BUSYINFO" = "yes"; then
34259 cat >>confdefs.h
<<\_ACEOF
34260 #define wxUSE_BUSYINFO 1
34265 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34266 cat >>confdefs.h
<<\_ACEOF
34267 #define wxUSE_STD_IOSTREAM 1
34272 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34273 cat >>confdefs.h
<<\_ACEOF
34274 #define wxUSE_TEXTBUFFER 1
34279 if test "$wxUSE_TEXTFILE" = "yes"; then
34280 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34281 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34282 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34284 cat >>confdefs.h
<<\_ACEOF
34285 #define wxUSE_TEXTFILE 1
34291 if test "$wxUSE_CONFIG" = "yes" ; then
34292 if test "$wxUSE_TEXTFILE" != "yes"; then
34293 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34294 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34296 cat >>confdefs.h
<<\_ACEOF
34297 #define wxUSE_CONFIG 1
34300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34304 if test "$wxUSE_INTL" = "yes" ; then
34305 if test "$wxUSE_FILE" != "yes"; then
34306 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34307 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34309 cat >>confdefs.h
<<\_ACEOF
34310 #define wxUSE_INTL 1
34313 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34314 GUIDIST
="$GUIDIST INTL_DIST"
34318 if test "$wxUSE_LOG" = "yes"; then
34319 cat >>confdefs.h
<<\_ACEOF
34320 #define wxUSE_LOG 1
34324 if test "$wxUSE_LOGGUI" = "yes"; then
34325 cat >>confdefs.h
<<\_ACEOF
34326 #define wxUSE_LOGGUI 1
34331 if test "$wxUSE_LOGWINDOW" = "yes"; then
34332 cat >>confdefs.h
<<\_ACEOF
34333 #define wxUSE_LOGWINDOW 1
34338 if test "$wxUSE_LOGDIALOG" = "yes"; then
34339 cat >>confdefs.h
<<\_ACEOF
34340 #define wxUSE_LOG_DIALOG 1
34346 if test "$wxUSE_LONGLONG" = "yes"; then
34347 cat >>confdefs.h
<<\_ACEOF
34348 #define wxUSE_LONGLONG 1
34353 if test "$wxUSE_GEOMETRY" = "yes"; then
34354 cat >>confdefs.h
<<\_ACEOF
34355 #define wxUSE_GEOMETRY 1
34360 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34361 cat >>confdefs.h
<<\_ACEOF
34362 #define wxUSE_DIALUP_MANAGER 1
34365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34368 if test "$wxUSE_STREAMS" = "yes" ; then
34369 cat >>confdefs.h
<<\_ACEOF
34370 #define wxUSE_STREAMS 1
34376 if test "$wxUSE_DATETIME" = "yes"; then
34378 for ac_func
in strptime
34380 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34381 echo "$as_me:$LINENO: checking for $ac_func" >&5
34382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34383 if eval "test \"\${$as_ac_var+set}\" = set"; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34386 cat >conftest.
$ac_ext <<_ACEOF
34389 cat confdefs.h
>>conftest.
$ac_ext
34390 cat >>conftest.
$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34394 #define $ac_func innocuous_$ac_func
34396 /* System header to define __stub macros and hopefully few prototypes,
34397 which can conflict with char $ac_func (); below.
34398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34399 <limits.h> exists even on freestanding compilers. */
34402 # include <limits.h>
34404 # include <assert.h>
34409 /* Override any gcc2 internal prototype to avoid an error. */
34414 /* We use char because int might match the return type of a gcc2
34415 builtin and then its argument prototype would still apply. */
34417 /* The GNU C library defines this for functions which it implements
34418 to always fail with ENOSYS. Some functions are actually named
34419 something starting with __ and the normal name is an alias. */
34420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34423 char (*f) () = $ac_func;
34432 return f != $ac_func;
34437 rm -f conftest.
$ac_objext conftest
$ac_exeext
34438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34439 (eval $ac_link) 2>conftest.er1
34441 grep -v '^ *+' conftest.er1
>conftest.err
34443 cat conftest.err
>&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } &&
34446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34448 (eval $ac_try) 2>&5
34450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34451 (exit $ac_status); }; } &&
34452 { ac_try
='test -s conftest$ac_exeext'
34453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34454 (eval $ac_try) 2>&5
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); }; }; then
34458 eval "$as_ac_var=yes"
34460 echo "$as_me: failed program was:" >&5
34461 sed 's/^/| /' conftest.
$ac_ext >&5
34463 eval "$as_ac_var=no"
34465 rm -f conftest.err conftest.
$ac_objext \
34466 conftest
$ac_exeext conftest.
$ac_ext
34468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34470 if test `eval echo '${'$as_ac_var'}'` = yes; then
34471 cat >>confdefs.h
<<_ACEOF
34472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34479 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34480 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34481 if test "${wx_cv_var_timezone+set}" = set; then
34482 echo $ECHO_N "(cached) $ECHO_C" >&6
34485 cat >conftest.
$ac_ext <<_ACEOF
34488 cat confdefs.h
>>conftest.
$ac_ext
34489 cat >>conftest.
$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34505 rm -f conftest.
$ac_objext
34506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34507 (eval $ac_compile) 2>conftest.er1
34509 grep -v '^ *+' conftest.er1
>conftest.err
34511 cat conftest.err
>&5
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); } &&
34514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34516 (eval $ac_try) 2>&5
34518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34519 (exit $ac_status); }; } &&
34520 { ac_try
='test -s conftest.$ac_objext'
34521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34522 (eval $ac_try) 2>&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); }; }; then
34527 wx_cv_var_timezone
=timezone
34530 echo "$as_me: failed program was:" >&5
34531 sed 's/^/| /' conftest.
$ac_ext >&5
34534 cat >conftest.
$ac_ext <<_ACEOF
34537 cat confdefs.h
>>conftest.
$ac_ext
34538 cat >>conftest.
$ac_ext <<_ACEOF
34539 /* end confdefs.h. */
34554 rm -f conftest.
$ac_objext
34555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34556 (eval $ac_compile) 2>conftest.er1
34558 grep -v '^ *+' conftest.er1
>conftest.err
34560 cat conftest.err
>&5
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); } &&
34563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34565 (eval $ac_try) 2>&5
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); }; } &&
34569 { ac_try
='test -s conftest.$ac_objext'
34570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34571 (eval $ac_try) 2>&5
34573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34574 (exit $ac_status); }; }; then
34576 wx_cv_var_timezone
=_timezone
34579 echo "$as_me: failed program was:" >&5
34580 sed 's/^/| /' conftest.
$ac_ext >&5
34583 cat >conftest.
$ac_ext <<_ACEOF
34586 cat confdefs.h
>>conftest.
$ac_ext
34587 cat >>conftest.
$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34603 rm -f conftest.
$ac_objext
34604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34605 (eval $ac_compile) 2>conftest.er1
34607 grep -v '^ *+' conftest.er1
>conftest.err
34609 cat conftest.err
>&5
34610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34611 (exit $ac_status); } &&
34612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34614 (eval $ac_try) 2>&5
34616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34617 (exit $ac_status); }; } &&
34618 { ac_try
='test -s conftest.$ac_objext'
34619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34620 (eval $ac_try) 2>&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); }; }; then
34625 wx_cv_var_timezone
=__timezone
34628 echo "$as_me: failed program was:" >&5
34629 sed 's/^/| /' conftest.
$ac_ext >&5
34632 if test "$USE_DOS" = 0 ; then
34633 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34634 echo "$as_me: WARNING: no timezone variable" >&2;}
34639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34651 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34652 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34654 if test "x$wx_cv_var_timezone" != x
; then
34655 cat >>confdefs.h
<<_ACEOF
34656 #define WX_TIMEZONE $wx_cv_var_timezone
34662 for ac_func
in localtime
34664 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34665 echo "$as_me:$LINENO: checking for $ac_func" >&5
34666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34667 if eval "test \"\${$as_ac_var+set}\" = set"; then
34668 echo $ECHO_N "(cached) $ECHO_C" >&6
34670 cat >conftest.
$ac_ext <<_ACEOF
34673 cat confdefs.h
>>conftest.
$ac_ext
34674 cat >>conftest.
$ac_ext <<_ACEOF
34675 /* end confdefs.h. */
34676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34678 #define $ac_func innocuous_$ac_func
34680 /* System header to define __stub macros and hopefully few prototypes,
34681 which can conflict with char $ac_func (); below.
34682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34683 <limits.h> exists even on freestanding compilers. */
34686 # include <limits.h>
34688 # include <assert.h>
34693 /* Override any gcc2 internal prototype to avoid an error. */
34698 /* We use char because int might match the return type of a gcc2
34699 builtin and then its argument prototype would still apply. */
34701 /* The GNU C library defines this for functions which it implements
34702 to always fail with ENOSYS. Some functions are actually named
34703 something starting with __ and the normal name is an alias. */
34704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34707 char (*f) () = $ac_func;
34716 return f != $ac_func;
34721 rm -f conftest.
$ac_objext conftest
$ac_exeext
34722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34723 (eval $ac_link) 2>conftest.er1
34725 grep -v '^ *+' conftest.er1
>conftest.err
34727 cat conftest.err
>&5
34728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 (exit $ac_status); } &&
34730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34732 (eval $ac_try) 2>&5
34734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34735 (exit $ac_status); }; } &&
34736 { ac_try
='test -s conftest$ac_exeext'
34737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34738 (eval $ac_try) 2>&5
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); }; }; then
34742 eval "$as_ac_var=yes"
34744 echo "$as_me: failed program was:" >&5
34745 sed 's/^/| /' conftest.
$ac_ext >&5
34747 eval "$as_ac_var=no"
34749 rm -f conftest.err conftest.
$ac_objext \
34750 conftest
$ac_exeext conftest.
$ac_ext
34752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34754 if test `eval echo '${'$as_ac_var'}'` = yes; then
34755 cat >>confdefs.h
<<_ACEOF
34756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34763 if test "$ac_cv_func_localtime" = "yes"; then
34764 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34765 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34766 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34767 echo $ECHO_N "(cached) $ECHO_C" >&6
34770 cat >conftest.
$ac_ext <<_ACEOF
34773 cat confdefs.h
>>conftest.
$ac_ext
34774 cat >>conftest.
$ac_ext <<_ACEOF
34775 /* end confdefs.h. */
34790 rm -f conftest.
$ac_objext
34791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34792 (eval $ac_compile) 2>conftest.er1
34794 grep -v '^ *+' conftest.er1
>conftest.err
34796 cat conftest.err
>&5
34797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34798 (exit $ac_status); } &&
34799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; } &&
34805 { ac_try
='test -s conftest.$ac_objext'
34806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34807 (eval $ac_try) 2>&5
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); }; }; then
34812 wx_cv_struct_tm_has_gmtoff
=yes
34815 echo "$as_me: failed program was:" >&5
34816 sed 's/^/| /' conftest.
$ac_ext >&5
34818 wx_cv_struct_tm_has_gmtoff
=no
34821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34824 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
34825 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
34828 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34829 cat >>confdefs.h
<<\_ACEOF
34830 #define WX_GMTOFF_IN_TM 1
34837 for ac_func
in gettimeofday ftime
34839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34840 echo "$as_me:$LINENO: checking for $ac_func" >&5
34841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34842 if eval "test \"\${$as_ac_var+set}\" = set"; then
34843 echo $ECHO_N "(cached) $ECHO_C" >&6
34845 cat >conftest.
$ac_ext <<_ACEOF
34848 cat confdefs.h
>>conftest.
$ac_ext
34849 cat >>conftest.
$ac_ext <<_ACEOF
34850 /* end confdefs.h. */
34851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34853 #define $ac_func innocuous_$ac_func
34855 /* System header to define __stub macros and hopefully few prototypes,
34856 which can conflict with char $ac_func (); below.
34857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34858 <limits.h> exists even on freestanding compilers. */
34861 # include <limits.h>
34863 # include <assert.h>
34868 /* Override any gcc2 internal prototype to avoid an error. */
34873 /* We use char because int might match the return type of a gcc2
34874 builtin and then its argument prototype would still apply. */
34876 /* The GNU C library defines this for functions which it implements
34877 to always fail with ENOSYS. Some functions are actually named
34878 something starting with __ and the normal name is an alias. */
34879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34882 char (*f) () = $ac_func;
34891 return f != $ac_func;
34896 rm -f conftest.
$ac_objext conftest
$ac_exeext
34897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34898 (eval $ac_link) 2>conftest.er1
34900 grep -v '^ *+' conftest.er1
>conftest.err
34902 cat conftest.err
>&5
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); } &&
34905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; } &&
34911 { ac_try
='test -s conftest$ac_exeext'
34912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34913 (eval $ac_try) 2>&5
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); }; }; then
34917 eval "$as_ac_var=yes"
34919 echo "$as_me: failed program was:" >&5
34920 sed 's/^/| /' conftest.
$ac_ext >&5
34922 eval "$as_ac_var=no"
34924 rm -f conftest.err conftest.
$ac_objext \
34925 conftest
$ac_exeext conftest.
$ac_ext
34927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34929 if test `eval echo '${'$as_ac_var'}'` = yes; then
34930 cat >>confdefs.h
<<_ACEOF
34931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34938 if test "$ac_cv_func_gettimeofday" = "yes"; then
34939 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
34940 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
34941 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
34942 echo $ECHO_N "(cached) $ECHO_C" >&6
34948 ac_cpp
='$CXXCPP $CPPFLAGS'
34949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34954 cat >conftest.
$ac_ext <<_ACEOF
34957 cat confdefs.h
>>conftest.
$ac_ext
34958 cat >>conftest.
$ac_ext <<_ACEOF
34959 /* end confdefs.h. */
34961 #include <sys/time.h>
34962 #include <unistd.h>
34969 gettimeofday(&tv, NULL);
34975 rm -f conftest.
$ac_objext
34976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34977 (eval $ac_compile) 2>conftest.er1
34979 grep -v '^ *+' conftest.er1
>conftest.err
34981 cat conftest.err
>&5
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); } &&
34984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34986 (eval $ac_try) 2>&5
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); }; } &&
34990 { ac_try
='test -s conftest.$ac_objext'
34991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34992 (eval $ac_try) 2>&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); }; }; then
34996 wx_cv_func_gettimeofday_has_2_args
=yes
34998 echo "$as_me: failed program was:" >&5
34999 sed 's/^/| /' conftest.
$ac_ext >&5
35001 cat >conftest.
$ac_ext <<_ACEOF
35004 cat confdefs.h
>>conftest.
$ac_ext
35005 cat >>conftest.
$ac_ext <<_ACEOF
35006 /* end confdefs.h. */
35008 #include <sys/time.h>
35009 #include <unistd.h>
35022 rm -f conftest.
$ac_objext
35023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35024 (eval $ac_compile) 2>conftest.er1
35026 grep -v '^ *+' conftest.er1
>conftest.err
35028 cat conftest.err
>&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } &&
35031 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35033 (eval $ac_try) 2>&5
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); }; } &&
35037 { ac_try
='test -s conftest.$ac_objext'
35038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35039 (eval $ac_try) 2>&5
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); }; }; then
35043 wx_cv_func_gettimeofday_has_2_args
=no
35045 echo "$as_me: failed program was:" >&5
35046 sed 's/^/| /' conftest.
$ac_ext >&5
35049 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35050 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35051 wx_cv_func_gettimeofday_has_2_args
=unknown
35055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35060 ac_cpp
='$CPP $CPPFLAGS'
35061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35067 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35068 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35070 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35071 cat >>confdefs.h
<<\_ACEOF
35072 #define WX_GETTIMEOFDAY_NO_TZ 1
35078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35082 if test "$wxUSE_SOCKETS" = "yes"; then
35083 if test "$wxUSE_MGL" = "1"; then
35084 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35085 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35090 if test "$wxUSE_SOCKETS" = "yes"; then
35091 if test "$TOOLKIT" != "MSW"; then
35092 echo "$as_me:$LINENO: checking for socket" >&5
35093 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35094 if test "${ac_cv_func_socket+set}" = set; then
35095 echo $ECHO_N "(cached) $ECHO_C" >&6
35097 cat >conftest.
$ac_ext <<_ACEOF
35100 cat confdefs.h
>>conftest.
$ac_ext
35101 cat >>conftest.
$ac_ext <<_ACEOF
35102 /* end confdefs.h. */
35103 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35105 #define socket innocuous_socket
35107 /* System header to define __stub macros and hopefully few prototypes,
35108 which can conflict with char socket (); below.
35109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35110 <limits.h> exists even on freestanding compilers. */
35113 # include <limits.h>
35115 # include <assert.h>
35120 /* Override any gcc2 internal prototype to avoid an error. */
35125 /* We use char because int might match the return type of a gcc2
35126 builtin and then its argument prototype would still apply. */
35128 /* The GNU C library defines this for functions which it implements
35129 to always fail with ENOSYS. Some functions are actually named
35130 something starting with __ and the normal name is an alias. */
35131 #if defined (__stub_socket) || defined (__stub___socket)
35134 char (*f) () = socket;
35143 return f != socket;
35148 rm -f conftest.
$ac_objext conftest
$ac_exeext
35149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35150 (eval $ac_link) 2>conftest.er1
35152 grep -v '^ *+' conftest.er1
>conftest.err
35154 cat conftest.err
>&5
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); } &&
35157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35159 (eval $ac_try) 2>&5
35161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162 (exit $ac_status); }; } &&
35163 { ac_try
='test -s conftest$ac_exeext'
35164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35165 (eval $ac_try) 2>&5
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); }; }; then
35169 ac_cv_func_socket
=yes
35171 echo "$as_me: failed program was:" >&5
35172 sed 's/^/| /' conftest.
$ac_ext >&5
35174 ac_cv_func_socket
=no
35176 rm -f conftest.err conftest.
$ac_objext \
35177 conftest
$ac_exeext conftest.
$ac_ext
35179 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35180 echo "${ECHO_T}$ac_cv_func_socket" >&6
35181 if test $ac_cv_func_socket = yes; then
35185 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35186 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35187 if test "${ac_cv_lib_socket_socket+set}" = set; then
35188 echo $ECHO_N "(cached) $ECHO_C" >&6
35190 ac_check_lib_save_LIBS
=$LIBS
35191 LIBS
="-lsocket $LIBS"
35192 cat >conftest.
$ac_ext <<_ACEOF
35195 cat confdefs.h
>>conftest.
$ac_ext
35196 cat >>conftest.
$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35199 /* Override any gcc2 internal prototype to avoid an error. */
35203 /* We use char because int might match the return type of a gcc2
35204 builtin and then its argument prototype would still apply. */
35214 rm -f conftest.
$ac_objext conftest
$ac_exeext
35215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35216 (eval $ac_link) 2>conftest.er1
35218 grep -v '^ *+' conftest.er1
>conftest.err
35220 cat conftest.err
>&5
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); } &&
35223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35225 (eval $ac_try) 2>&5
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); }; } &&
35229 { ac_try
='test -s conftest$ac_exeext'
35230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35231 (eval $ac_try) 2>&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); }; }; then
35235 ac_cv_lib_socket_socket
=yes
35237 echo "$as_me: failed program was:" >&5
35238 sed 's/^/| /' conftest.
$ac_ext >&5
35240 ac_cv_lib_socket_socket
=no
35242 rm -f conftest.err conftest.
$ac_objext \
35243 conftest
$ac_exeext conftest.
$ac_ext
35244 LIBS
=$ac_check_lib_save_LIBS
35246 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35247 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35248 if test $ac_cv_lib_socket_socket = yes; then
35249 if test "$INET_LINK" != " -lsocket"; then
35250 INET_LINK
="$INET_LINK -lsocket"
35254 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35255 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35268 if test "$wxUSE_SOCKETS" = "yes" ; then
35269 if test "$TOOLKIT" != "MSW"; then
35271 ac_cpp
='$CXXCPP $CPPFLAGS'
35272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35276 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35277 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35278 if test "${wx_cv_type_getsockname3+set}" = set; then
35279 echo $ECHO_N "(cached) $ECHO_C" >&6
35282 cat >conftest.
$ac_ext <<_ACEOF
35285 cat confdefs.h
>>conftest.
$ac_ext
35286 cat >>conftest.
$ac_ext <<_ACEOF
35287 /* end confdefs.h. */
35289 #include <sys/types.h>
35290 #include <sys/socket.h>
35297 getsockname(0, 0, &len);
35303 rm -f conftest.
$ac_objext
35304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35305 (eval $ac_compile) 2>conftest.er1
35307 grep -v '^ *+' conftest.er1
>conftest.err
35309 cat conftest.err
>&5
35310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35311 (exit $ac_status); } &&
35312 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35314 (eval $ac_try) 2>&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); }; } &&
35318 { ac_try
='test -s conftest.$ac_objext'
35319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35320 (eval $ac_try) 2>&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); }; }; then
35324 wx_cv_type_getsockname3
=socklen_t
35326 echo "$as_me: failed program was:" >&5
35327 sed 's/^/| /' conftest.
$ac_ext >&5
35330 CFLAGS_OLD
="$CFLAGS"
35331 if test "$GCC" = yes ; then
35332 CFLAGS
="$CFLAGS -Werror"
35335 cat >conftest.
$ac_ext <<_ACEOF
35338 cat confdefs.h
>>conftest.
$ac_ext
35339 cat >>conftest.
$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35342 #include <sys/types.h>
35343 #include <sys/socket.h>
35350 getsockname(0, 0, &len);
35356 rm -f conftest.
$ac_objext
35357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35358 (eval $ac_compile) 2>conftest.er1
35360 grep -v '^ *+' conftest.er1
>conftest.err
35362 cat conftest.err
>&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); } &&
35365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35367 (eval $ac_try) 2>&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); }; } &&
35371 { ac_try
='test -s conftest.$ac_objext'
35372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35373 (eval $ac_try) 2>&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); }; }; then
35377 wx_cv_type_getsockname3
=size_t
35379 echo "$as_me: failed program was:" >&5
35380 sed 's/^/| /' conftest.
$ac_ext >&5
35382 cat >conftest.
$ac_ext <<_ACEOF
35385 cat confdefs.h
>>conftest.
$ac_ext
35386 cat >>conftest.
$ac_ext <<_ACEOF
35387 /* end confdefs.h. */
35389 #include <sys/types.h>
35390 #include <sys/socket.h>
35397 getsockname(0, 0, &len);
35403 rm -f conftest.
$ac_objext
35404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35405 (eval $ac_compile) 2>conftest.er1
35407 grep -v '^ *+' conftest.er1
>conftest.err
35409 cat conftest.err
>&5
35410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411 (exit $ac_status); } &&
35412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35414 (eval $ac_try) 2>&5
35416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35417 (exit $ac_status); }; } &&
35418 { ac_try
='test -s conftest.$ac_objext'
35419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35420 (eval $ac_try) 2>&5
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); }; }; then
35424 wx_cv_type_getsockname3
=int
35426 echo "$as_me: failed program was:" >&5
35427 sed 's/^/| /' conftest.
$ac_ext >&5
35429 wx_cv_type_getsockname3
=unknown
35432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35437 CFLAGS
="$CFLAGS_OLD"
35441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35444 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35445 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35447 if test "$wx_cv_type_getsockname3" = "unknown"; then
35449 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35450 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35452 cat >>confdefs.h
<<_ACEOF
35453 #define SOCKLEN_T $wx_cv_type_getsockname3
35458 ac_cpp
='$CPP $CPPFLAGS'
35459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35466 if test "$wxUSE_SOCKETS" = "yes" ; then
35467 cat >>confdefs.h
<<\_ACEOF
35468 #define wxUSE_SOCKETS 1
35471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35474 if test "$wxUSE_PROTOCOL" = "yes"; then
35475 if test "$wxUSE_SOCKETS" != "yes"; then
35476 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35477 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35482 if test "$wxUSE_PROTOCOL" = "yes"; then
35483 cat >>confdefs.h
<<\_ACEOF
35484 #define wxUSE_PROTOCOL 1
35488 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35489 cat >>confdefs.h
<<\_ACEOF
35490 #define wxUSE_PROTOCOL_HTTP 1
35494 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35495 cat >>confdefs.h
<<\_ACEOF
35496 #define wxUSE_PROTOCOL_FTP 1
35500 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35501 cat >>confdefs.h
<<\_ACEOF
35502 #define wxUSE_PROTOCOL_FILE 1
35507 if test "$wxUSE_FS_INET" = "yes"; then
35508 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35509 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35514 if test "$wxUSE_URL" = "yes"; then
35515 if test "$wxUSE_PROTOCOL" != "yes"; then
35516 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35517 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35520 if test "$wxUSE_URL" = "yes"; then
35521 cat >>confdefs.h
<<\_ACEOF
35522 #define wxUSE_URL 1
35528 if test "$wxUSE_FS_INET" = "yes"; then
35529 cat >>confdefs.h
<<\_ACEOF
35530 #define wxUSE_FS_INET 1
35536 if test "$wxUSE_GUI" = "yes"; then
35538 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35539 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35540 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35544 if test "$TOOLKIT" != "MSW"; then
35545 if test "$wxUSE_JOYSTICK" = "yes"; then
35547 for ac_header
in linux
/joystick.h
35549 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35551 echo "$as_me:$LINENO: checking for $ac_header" >&5
35552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35554 echo $ECHO_N "(cached) $ECHO_C" >&6
35556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35559 # Is the header compilable?
35560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35562 cat >conftest.
$ac_ext <<_ACEOF
35565 cat confdefs.h
>>conftest.
$ac_ext
35566 cat >>conftest.
$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35568 $ac_includes_default
35569 #include <$ac_header>
35571 rm -f conftest.
$ac_objext
35572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35573 (eval $ac_compile) 2>conftest.er1
35575 grep -v '^ *+' conftest.er1
>conftest.err
35577 cat conftest.err
>&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } &&
35580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35582 (eval $ac_try) 2>&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); }; } &&
35586 { ac_try
='test -s conftest.$ac_objext'
35587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35588 (eval $ac_try) 2>&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); }; }; then
35592 ac_header_compiler
=yes
35594 echo "$as_me: failed program was:" >&5
35595 sed 's/^/| /' conftest.
$ac_ext >&5
35597 ac_header_compiler
=no
35599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35601 echo "${ECHO_T}$ac_header_compiler" >&6
35603 # Is the header present?
35604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35606 cat >conftest.
$ac_ext <<_ACEOF
35609 cat confdefs.h
>>conftest.
$ac_ext
35610 cat >>conftest.
$ac_ext <<_ACEOF
35611 /* end confdefs.h. */
35612 #include <$ac_header>
35614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35615 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35617 grep -v '^ *+' conftest.er1
>conftest.err
35619 cat conftest.err
>&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } >/dev
/null
; then
35622 if test -s conftest.err
; then
35623 ac_cpp_err
=$ac_c_preproc_warn_flag
35624 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35631 if test -z "$ac_cpp_err"; then
35632 ac_header_preproc
=yes
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.
$ac_ext >&5
35637 ac_header_preproc
=no
35639 rm -f conftest.err conftest.
$ac_ext
35640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35641 echo "${ECHO_T}$ac_header_preproc" >&6
35643 # So? What about this header?
35644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35646 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35650 ac_header_preproc
=yes
35653 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35655 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35656 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35657 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35659 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35660 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35663 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35667 ## ----------------------------------------- ##
35668 ## Report this to wx-dev@lists.wxwidgets.org ##
35669 ## ----------------------------------------- ##
35672 sed "s/^/$as_me: WARNING: /" >&2
35675 echo "$as_me:$LINENO: checking for $ac_header" >&5
35676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35678 echo $ECHO_N "(cached) $ECHO_C" >&6
35680 eval "$as_ac_Header=\$ac_header_preproc"
35682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35687 cat >>confdefs.h
<<_ACEOF
35688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35695 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35697 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35698 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35703 if test "$wxUSE_JOYSTICK" = "yes"; then
35704 cat >>confdefs.h
<<\_ACEOF
35705 #define wxUSE_JOYSTICK 1
35708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35714 if test "$wxUSE_FONTMAP" = "yes" ; then
35715 cat >>confdefs.h
<<\_ACEOF
35716 #define wxUSE_FONTMAP 1
35721 if test "$wxUSE_UNICODE" = "yes" ; then
35722 cat >>confdefs.h
<<\_ACEOF
35723 #define wxUSE_UNICODE 1
35727 if test "$USE_WIN32" != 1; then
35728 wxUSE_UNICODE_MSLU
=no
35731 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35732 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35733 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35734 if test "${ac_cv_lib_unicows_main+set}" = set; then
35735 echo $ECHO_N "(cached) $ECHO_C" >&6
35737 ac_check_lib_save_LIBS
=$LIBS
35738 LIBS
="-lunicows $LIBS"
35739 cat >conftest.
$ac_ext <<_ACEOF
35742 cat confdefs.h
>>conftest.
$ac_ext
35743 cat >>conftest.
$ac_ext <<_ACEOF
35744 /* end confdefs.h. */
35755 rm -f conftest.
$ac_objext conftest
$ac_exeext
35756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35757 (eval $ac_link) 2>conftest.er1
35759 grep -v '^ *+' conftest.er1
>conftest.err
35761 cat conftest.err
>&5
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); } &&
35764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35766 (eval $ac_try) 2>&5
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); }; } &&
35770 { ac_try
='test -s conftest$ac_exeext'
35771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35772 (eval $ac_try) 2>&5
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); }; }; then
35776 ac_cv_lib_unicows_main
=yes
35778 echo "$as_me: failed program was:" >&5
35779 sed 's/^/| /' conftest.
$ac_ext >&5
35781 ac_cv_lib_unicows_main
=no
35783 rm -f conftest.err conftest.
$ac_objext \
35784 conftest
$ac_exeext conftest.
$ac_ext
35785 LIBS
=$ac_check_lib_save_LIBS
35787 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35788 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35789 if test $ac_cv_lib_unicows_main = yes; then
35791 cat >>confdefs.h
<<\_ACEOF
35792 #define wxUSE_UNICODE_MSLU 1
35798 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35799 Applications will only run on Windows NT/2000/XP!" >&5
35800 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35801 Applications will only run on Windows NT/2000/XP!" >&2;}
35802 wxUSE_UNICODE_MSLU
=no
35809 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35810 cat >>confdefs.h
<<\_ACEOF
35811 #define wxUSE_EXPERIMENTAL_PRINTF 1
35817 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35818 cat >>confdefs.h
<<\_ACEOF
35819 #define wxUSE_POSTSCRIPT 1
35824 cat >>confdefs.h
<<\_ACEOF
35825 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35829 cat >>confdefs.h
<<\_ACEOF
35830 #define wxUSE_NORMALIZED_PS_FONTS 1
35835 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35836 cat >>confdefs.h
<<\_ACEOF
35837 #define wxUSE_CONSTRAINTS 1
35840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35843 if test "$wxUSE_MDI" = "yes"; then
35844 cat >>confdefs.h
<<\_ACEOF
35845 #define wxUSE_MDI 1
35849 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35850 cat >>confdefs.h
<<\_ACEOF
35851 #define wxUSE_MDI_ARCHITECTURE 1
35854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35858 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35859 cat >>confdefs.h
<<\_ACEOF
35860 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35864 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
35869 if test "$wxUSE_HELP" = "yes"; then
35870 cat >>confdefs.h
<<\_ACEOF
35871 #define wxUSE_HELP 1
35874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35876 if test "$wxUSE_MSW" = 1; then
35877 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35878 cat >>confdefs.h
<<\_ACEOF
35879 #define wxUSE_MS_HTML_HELP 1
35885 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35886 if test "$wxUSE_HTML" = "yes"; then
35887 cat >>confdefs.h
<<\_ACEOF
35888 #define wxUSE_WXHTML_HELP 1
35892 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35893 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35894 wxUSE_WXHTML_HELP
=no
35899 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35900 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35901 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
35902 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
35904 cat >>confdefs.h
<<\_ACEOF
35905 #define wxUSE_PRINTING_ARCHITECTURE 1
35909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35912 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
35913 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
35914 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
35915 { (exit 1); exit 1; }; }
35919 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35920 -o "$wxUSE_CLIPBOARD" = "yes" \
35921 -o "$wxUSE_OLE" = "yes" \
35922 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35924 for ac_header
in ole2.h
35926 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35928 echo "$as_me:$LINENO: checking for $ac_header" >&5
35929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35931 echo $ECHO_N "(cached) $ECHO_C" >&6
35933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35936 # Is the header compilable?
35937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35939 cat >conftest.
$ac_ext <<_ACEOF
35942 cat confdefs.h
>>conftest.
$ac_ext
35943 cat >>conftest.
$ac_ext <<_ACEOF
35944 /* end confdefs.h. */
35945 $ac_includes_default
35946 #include <$ac_header>
35948 rm -f conftest.
$ac_objext
35949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35950 (eval $ac_compile) 2>conftest.er1
35952 grep -v '^ *+' conftest.er1
>conftest.err
35954 cat conftest.err
>&5
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); } &&
35957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35959 (eval $ac_try) 2>&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); }; } &&
35963 { ac_try
='test -s conftest.$ac_objext'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; }; then
35969 ac_header_compiler
=yes
35971 echo "$as_me: failed program was:" >&5
35972 sed 's/^/| /' conftest.
$ac_ext >&5
35974 ac_header_compiler
=no
35976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35978 echo "${ECHO_T}$ac_header_compiler" >&6
35980 # Is the header present?
35981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35983 cat >conftest.
$ac_ext <<_ACEOF
35986 cat confdefs.h
>>conftest.
$ac_ext
35987 cat >>conftest.
$ac_ext <<_ACEOF
35988 /* end confdefs.h. */
35989 #include <$ac_header>
35991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35992 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35994 grep -v '^ *+' conftest.er1
>conftest.err
35996 cat conftest.err
>&5
35997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35998 (exit $ac_status); } >/dev
/null
; then
35999 if test -s conftest.err
; then
36000 ac_cpp_err
=$ac_c_preproc_warn_flag
36001 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36008 if test -z "$ac_cpp_err"; then
36009 ac_header_preproc
=yes
36011 echo "$as_me: failed program was:" >&5
36012 sed 's/^/| /' conftest.
$ac_ext >&5
36014 ac_header_preproc
=no
36016 rm -f conftest.err conftest.
$ac_ext
36017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36018 echo "${ECHO_T}$ac_header_preproc" >&6
36020 # So? What about this header?
36021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36027 ac_header_preproc
=yes
36030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36044 ## ----------------------------------------- ##
36045 ## Report this to wx-dev@lists.wxwidgets.org ##
36046 ## ----------------------------------------- ##
36049 sed "s/^/$as_me: WARNING: /" >&2
36052 echo "$as_me:$LINENO: checking for $ac_header" >&5
36053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36055 echo $ECHO_N "(cached) $ECHO_C" >&6
36057 eval "$as_ac_Header=\$ac_header_preproc"
36059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36064 cat >>confdefs.h
<<_ACEOF
36065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36073 if test "$ac_cv_header_ole2_h" = "yes" ; then
36074 if test "$GCC" = yes ; then
36078 ac_cpp
='$CXXCPP $CPPFLAGS'
36079 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36084 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36085 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36086 cat >conftest.
$ac_ext <<_ACEOF
36089 cat confdefs.h
>>conftest.
$ac_ext
36090 cat >>conftest.
$ac_ext <<_ACEOF
36091 /* end confdefs.h. */
36092 #include <windows.h>
36102 rm -f conftest.
$ac_objext
36103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36104 (eval $ac_compile) 2>conftest.er1
36106 grep -v '^ *+' conftest.er1
>conftest.err
36108 cat conftest.err
>&5
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); } &&
36111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36113 (eval $ac_try) 2>&5
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); }; } &&
36117 { ac_try
='test -s conftest.$ac_objext'
36118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36119 (eval $ac_try) 2>&5
36121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36122 (exit $ac_status); }; }; then
36123 echo "$as_me:$LINENO: result: no" >&5
36124 echo "${ECHO_T}no" >&6
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.
$ac_ext >&5
36129 echo "$as_me:$LINENO: result: yes" >&5
36130 echo "${ECHO_T}yes" >&6
36131 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36135 ac_cpp
='$CPP $CPPFLAGS'
36136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36140 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36141 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36142 if test "$wxUSE_OLE" = "yes" ; then
36143 cat >>confdefs.h
<<\_ACEOF
36144 #define wxUSE_OLE 1
36150 if test "$wxUSE_DATAOBJ" = "yes" ; then
36151 cat >>confdefs.h
<<\_ACEOF
36152 #define wxUSE_DATAOBJ 1
36157 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36158 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36161 wxUSE_DRAG_AND_DROP
=no
36166 if test "$wxUSE_METAFILE" = "yes"; then
36167 cat >>confdefs.h
<<\_ACEOF
36168 #define wxUSE_METAFILE 1
36172 cat >>confdefs.h
<<\_ACEOF
36173 #define wxUSE_ENH_METAFILE 1
36179 if test "$wxUSE_IPC" = "yes"; then
36180 if test "$wxUSE_SOCKETS" != "yes"; then
36181 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36182 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36185 cat >>confdefs.h
<<\_ACEOF
36186 #define wxUSE_IPC 1
36191 if test "$wxUSE_CLIPBOARD" = "yes"; then
36192 if test "$wxUSE_MGL" = 1; then
36193 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36194 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36198 if test "$wxUSE_CLIPBOARD" = "yes"; then
36199 cat >>confdefs.h
<<\_ACEOF
36200 #define wxUSE_CLIPBOARD 1
36204 cat >>confdefs.h
<<\_ACEOF
36205 #define wxUSE_DATAOBJ 1
36211 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36212 if test "$wxUSE_GTK" = 1; then
36213 if test "$WXGTK12" != 1; then
36214 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36215 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36216 wxUSE_DRAG_AND_DROP
=no
36220 if test "$wxUSE_MOTIF" = 1; then
36221 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36222 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36223 wxUSE_DRAG_AND_DROP
=no
36226 if test "$wxUSE_X11" = 1; then
36227 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36228 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36229 wxUSE_DRAG_AND_DROP
=no
36232 if test "$wxUSE_MGL" = 1; then
36233 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36234 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36235 wxUSE_DRAG_AND_DROP
=no
36238 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36239 cat >>confdefs.h
<<\_ACEOF
36240 #define wxUSE_DRAG_AND_DROP 1
36247 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36251 if test "$wxUSE_SPLINES" = "yes" ; then
36252 cat >>confdefs.h
<<\_ACEOF
36253 #define wxUSE_SPLINES 1
36260 if test "$wxUSE_CONTROLS" = "yes"; then
36264 if test "$wxUSE_ACCEL" = "yes"; then
36265 cat >>confdefs.h
<<\_ACEOF
36266 #define wxUSE_ACCEL 1
36272 if test "$wxUSE_BUTTON" = "yes"; then
36273 cat >>confdefs.h
<<\_ACEOF
36274 #define wxUSE_BUTTON 1
36280 if test "$wxUSE_BMPBUTTON" = "yes"; then
36281 cat >>confdefs.h
<<\_ACEOF
36282 #define wxUSE_BMPBUTTON 1
36288 if test "$wxUSE_CALCTRL" = "yes"; then
36289 cat >>confdefs.h
<<\_ACEOF
36290 #define wxUSE_CALENDARCTRL 1
36294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36297 if test "$wxUSE_CARET" = "yes"; then
36298 cat >>confdefs.h
<<\_ACEOF
36299 #define wxUSE_CARET 1
36303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36306 if test "$wxUSE_COMBOBOX" = "yes"; then
36307 cat >>confdefs.h
<<\_ACEOF
36308 #define wxUSE_COMBOBOX 1
36314 if test "$wxUSE_CHOICE" = "yes"; then
36315 cat >>confdefs.h
<<\_ACEOF
36316 #define wxUSE_CHOICE 1
36322 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36323 cat >>confdefs.h
<<\_ACEOF
36324 #define wxUSE_CHOICEBOOK 1
36330 if test "$wxUSE_CHECKBOX" = "yes"; then
36331 cat >>confdefs.h
<<\_ACEOF
36332 #define wxUSE_CHECKBOX 1
36338 if test "$wxUSE_CHECKLST" = "yes"; then
36339 cat >>confdefs.h
<<\_ACEOF
36340 #define wxUSE_CHECKLISTBOX 1
36344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36347 if test "$wxUSE_DISPLAY" = "yes"; then
36348 cat >>confdefs.h
<<\_ACEOF
36349 #define wxUSE_DISPLAY 1
36352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36355 if test "$wxUSE_GAUGE" = "yes"; then
36356 cat >>confdefs.h
<<\_ACEOF
36357 #define wxUSE_GAUGE 1
36363 if test "$wxUSE_GRID" = "yes"; then
36364 cat >>confdefs.h
<<\_ACEOF
36365 #define wxUSE_GRID 1
36369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36372 if test "$wxUSE_IMAGLIST" = "yes"; then
36373 cat >>confdefs.h
<<\_ACEOF
36374 #define wxUSE_IMAGLIST 1
36379 if test "$wxUSE_LISTBOOK" = "yes"; then
36380 cat >>confdefs.h
<<\_ACEOF
36381 #define wxUSE_LISTBOOK 1
36387 if test "$wxUSE_LISTBOX" = "yes"; then
36388 cat >>confdefs.h
<<\_ACEOF
36389 #define wxUSE_LISTBOX 1
36395 if test "$wxUSE_LISTCTRL" = "yes"; then
36396 if test "$wxUSE_IMAGLIST" = "yes"; then
36397 cat >>confdefs.h
<<\_ACEOF
36398 #define wxUSE_LISTCTRL 1
36402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36404 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36405 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36409 if test "$wxUSE_NOTEBOOK" = "yes"; then
36410 cat >>confdefs.h
<<\_ACEOF
36411 #define wxUSE_NOTEBOOK 1
36415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36419 if test "$wxUSE_RADIOBOX" = "yes"; then
36420 cat >>confdefs.h
<<\_ACEOF
36421 #define wxUSE_RADIOBOX 1
36427 if test "$wxUSE_RADIOBTN" = "yes"; then
36428 cat >>confdefs.h
<<\_ACEOF
36429 #define wxUSE_RADIOBTN 1
36435 if test "$wxUSE_SASH" = "yes"; then
36436 cat >>confdefs.h
<<\_ACEOF
36437 #define wxUSE_SASH 1
36440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36443 if test "$wxUSE_SCROLLBAR" = "yes"; then
36444 cat >>confdefs.h
<<\_ACEOF
36445 #define wxUSE_SCROLLBAR 1
36449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36452 if test "$wxUSE_SLIDER" = "yes"; then
36453 cat >>confdefs.h
<<\_ACEOF
36454 #define wxUSE_SLIDER 1
36460 if test "$wxUSE_SPINBTN" = "yes"; then
36461 cat >>confdefs.h
<<\_ACEOF
36462 #define wxUSE_SPINBTN 1
36468 if test "$wxUSE_SPINCTRL" = "yes"; then
36469 cat >>confdefs.h
<<\_ACEOF
36470 #define wxUSE_SPINCTRL 1
36476 if test "$wxUSE_SPLITTER" = "yes"; then
36477 cat >>confdefs.h
<<\_ACEOF
36478 #define wxUSE_SPLITTER 1
36481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36484 if test "$wxUSE_STATBMP" = "yes"; then
36485 cat >>confdefs.h
<<\_ACEOF
36486 #define wxUSE_STATBMP 1
36492 if test "$wxUSE_STATBOX" = "yes"; then
36493 cat >>confdefs.h
<<\_ACEOF
36494 #define wxUSE_STATBOX 1
36500 if test "$wxUSE_STATTEXT" = "yes"; then
36501 cat >>confdefs.h
<<\_ACEOF
36502 #define wxUSE_STATTEXT 1
36508 if test "$wxUSE_STATLINE" = "yes"; then
36509 cat >>confdefs.h
<<\_ACEOF
36510 #define wxUSE_STATLINE 1
36516 if test "$wxUSE_STATUSBAR" = "yes"; then
36517 cat >>confdefs.h
<<\_ACEOF
36518 #define wxUSE_STATUSBAR 1
36523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36526 if test "$wxUSE_TABDIALOG" = "yes"; then
36527 cat >>confdefs.h
<<\_ACEOF
36528 #define wxUSE_TAB_DIALOG 1
36531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36534 if test "$wxUSE_TEXTCTRL" = "yes"; then
36535 cat >>confdefs.h
<<\_ACEOF
36536 #define wxUSE_TEXTCTRL 1
36540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36543 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36544 if test "$wxUSE_COCOA" = 1 ; then
36545 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36546 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36549 if test "$wxUSE_PM" = 1; then
36550 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36551 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36555 if test "$wxUSE_UNIVERSAL" = "yes"; then
36556 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36557 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36561 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36562 cat >>confdefs.h
<<\_ACEOF
36563 #define wxUSE_TOGGLEBTN 1
36570 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36571 cat >>confdefs.h
<<\_ACEOF
36572 #define wxUSE_TOOLBAR_SIMPLE 1
36575 wxUSE_TOOLBAR
="yes"
36579 if test "$wxUSE_TOOLBAR" = "yes"; then
36580 cat >>confdefs.h
<<\_ACEOF
36581 #define wxUSE_TOOLBAR 1
36586 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36587 wxUSE_TOOLBAR_NATIVE
="yes"
36590 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36591 cat >>confdefs.h
<<\_ACEOF
36592 #define wxUSE_TOOLBAR_NATIVE 1
36598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36601 if test "$wxUSE_TOOLTIPS" = "yes"; then
36602 if test "$wxUSE_MOTIF" = 1; then
36603 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36604 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36606 if test "$wxUSE_UNIVERSAL" = "yes"; then
36607 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36608 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36610 cat >>confdefs.h
<<\_ACEOF
36611 #define wxUSE_TOOLTIPS 1
36618 if test "$wxUSE_TREECTRL" = "yes"; then
36619 if test "$wxUSE_IMAGLIST" = "yes"; then
36620 cat >>confdefs.h
<<\_ACEOF
36621 #define wxUSE_TREECTRL 1
36625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36627 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36628 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36632 if test "$wxUSE_POPUPWIN" = "yes"; then
36633 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36634 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36635 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36637 if test "$wxUSE_PM" = 1; then
36638 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36639 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36641 cat >>confdefs.h
<<\_ACEOF
36642 #define wxUSE_POPUPWIN 1
36651 if test "$wxUSE_TIPWINDOW" = "yes"; then
36652 if test "$wxUSE_PM" = 1; then
36653 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36654 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36656 cat >>confdefs.h
<<\_ACEOF
36657 #define wxUSE_TIPWINDOW 1
36663 if test "$USES_CONTROLS" = 1; then
36664 cat >>confdefs.h
<<\_ACEOF
36665 #define wxUSE_CONTROLS 1
36671 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36672 cat >>confdefs.h
<<\_ACEOF
36673 #define wxUSE_ACCESSIBILITY 1
36676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36679 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36680 cat >>confdefs.h
<<\_ACEOF
36681 #define wxUSE_DRAGIMAGE 1
36684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36687 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36688 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36689 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36690 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36692 cat >>confdefs.h
<<\_ACEOF
36693 #define wxUSE_EXCEPTIONS 1
36696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36701 if test "$wxUSE_HTML" = "yes"; then
36702 cat >>confdefs.h
<<\_ACEOF
36703 #define wxUSE_HTML 1
36707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36708 if test "$wxUSE_MAC" = 1; then
36709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36712 if test "$wxUSE_WEBKIT" = "yes"; then
36713 if test "$wxUSE_MAC" = 1; then
36714 old_CPPFLAGS
="$CPPFLAGS"
36715 CPPFLAGS
="$CPPFLAGS -x objective-c++"
36716 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36717 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36718 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36719 echo $ECHO_N "(cached) $ECHO_C" >&6
36721 cat >conftest.
$ac_ext <<_ACEOF
36724 cat confdefs.h
>>conftest.
$ac_ext
36725 cat >>conftest.
$ac_ext <<_ACEOF
36726 /* end confdefs.h. */
36727 #include <Carbon/Carbon.h>
36729 #include <WebKit/HIWebView.h>
36731 rm -f conftest.
$ac_objext
36732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36733 (eval $ac_compile) 2>conftest.er1
36735 grep -v '^ *+' conftest.er1
>conftest.err
36737 cat conftest.err
>&5
36738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36739 (exit $ac_status); } &&
36740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36742 (eval $ac_try) 2>&5
36744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36745 (exit $ac_status); }; } &&
36746 { ac_try
='test -s conftest.$ac_objext'
36747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36748 (eval $ac_try) 2>&5
36750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36751 (exit $ac_status); }; }; then
36752 ac_cv_header_WebKit_HIWebView_h
=yes
36754 echo "$as_me: failed program was:" >&5
36755 sed 's/^/| /' conftest.
$ac_ext >&5
36757 ac_cv_header_WebKit_HIWebView_h
=no
36759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36761 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36762 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36763 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36765 cat >>confdefs.h
<<\_ACEOF
36766 #define wxUSE_WEBKIT 1
36769 WEBKIT_LINK
="-framework WebKit"
36773 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36774 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36780 CPPFLAGS
="$old_CPPFLAGS"
36781 elif test "$wxUSE_COCOA" = 1; then
36782 cat >>confdefs.h
<<\_ACEOF
36783 #define wxUSE_WEBKIT 1
36792 if test "$wxUSE_MENUS" = "yes"; then
36793 cat >>confdefs.h
<<\_ACEOF
36794 #define wxUSE_MENUS 1
36797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36800 if test "$wxUSE_METAFILE" = "yes"; then
36801 cat >>confdefs.h
<<\_ACEOF
36802 #define wxUSE_METAFILE 1
36807 if test "$wxUSE_MIMETYPE" = "yes"; then
36808 cat >>confdefs.h
<<\_ACEOF
36809 #define wxUSE_MIMETYPE 1
36814 if test "$wxUSE_MINIFRAME" = "yes"; then
36815 cat >>confdefs.h
<<\_ACEOF
36816 #define wxUSE_MINIFRAME 1
36819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36822 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36823 cat >>confdefs.h
<<\_ACEOF
36824 #define wxUSE_SYSTEM_OPTIONS 1
36827 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36828 "$TOOLKIT" = "MOTIF"; then
36829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36834 if test "$wxUSE_VALIDATORS" = "yes"; then
36835 cat >>confdefs.h
<<\_ACEOF
36836 #define wxUSE_VALIDATORS 1
36839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36842 if test "$wxUSE_PALETTE" = "yes" ; then
36843 cat >>confdefs.h
<<\_ACEOF
36844 #define wxUSE_PALETTE 1
36849 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36850 LIBS
=" -lunicows $LIBS"
36854 if test "$wxUSE_IMAGE" = "yes" ; then
36855 cat >>confdefs.h
<<\_ACEOF
36856 #define wxUSE_IMAGE 1
36860 if test "$wxUSE_GIF" = "yes" ; then
36861 cat >>confdefs.h
<<\_ACEOF
36862 #define wxUSE_GIF 1
36867 if test "$wxUSE_PCX" = "yes" ; then
36868 cat >>confdefs.h
<<\_ACEOF
36869 #define wxUSE_PCX 1
36874 if test "$wxUSE_IFF" = "yes" ; then
36875 cat >>confdefs.h
<<\_ACEOF
36876 #define wxUSE_IFF 1
36881 if test "$wxUSE_PNM" = "yes" ; then
36882 cat >>confdefs.h
<<\_ACEOF
36883 #define wxUSE_PNM 1
36888 if test "$wxUSE_XPM" = "yes" ; then
36889 cat >>confdefs.h
<<\_ACEOF
36890 #define wxUSE_XPM 1
36895 if test "$wxUSE_ICO_CUR" = "yes" ; then
36896 cat >>confdefs.h
<<\_ACEOF
36897 #define wxUSE_ICO_CUR 1
36904 if test "$wxUSE_CHOICEDLG" = "yes"; then
36905 cat >>confdefs.h
<<\_ACEOF
36906 #define wxUSE_CHOICEDLG 1
36911 if test "$wxUSE_COLOURDLG" = "yes"; then
36912 cat >>confdefs.h
<<\_ACEOF
36913 #define wxUSE_COLOURDLG 1
36918 if test "$wxUSE_FILEDLG" = "yes"; then
36919 cat >>confdefs.h
<<\_ACEOF
36920 #define wxUSE_FILEDLG 1
36925 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36926 cat >>confdefs.h
<<\_ACEOF
36927 #define wxUSE_FINDREPLDLG 1
36932 if test "$wxUSE_FONTDLG" = "yes"; then
36933 cat >>confdefs.h
<<\_ACEOF
36934 #define wxUSE_FONTDLG 1
36939 if test "$wxUSE_DIRDLG" = "yes"; then
36940 if test "$wxUSE_TREECTRL" != "yes"; then
36941 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36942 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36944 cat >>confdefs.h
<<\_ACEOF
36945 #define wxUSE_DIRDLG 1
36951 if test "$wxUSE_MSGDLG" = "yes"; then
36952 cat >>confdefs.h
<<\_ACEOF
36953 #define wxUSE_MSGDLG 1
36958 if test "$wxUSE_NUMBERDLG" = "yes"; then
36959 cat >>confdefs.h
<<\_ACEOF
36960 #define wxUSE_NUMBERDLG 1
36965 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36966 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36967 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
36968 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
36970 cat >>confdefs.h
<<\_ACEOF
36971 #define wxUSE_PROGRESSDLG 1
36977 if test "$wxUSE_SPLASH" = "yes"; then
36978 cat >>confdefs.h
<<\_ACEOF
36979 #define wxUSE_SPLASH 1
36982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36985 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36986 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36987 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
36988 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
36990 cat >>confdefs.h
<<\_ACEOF
36991 #define wxUSE_STARTUP_TIPS 1
36997 if test "$wxUSE_TEXTDLG" = "yes"; then
36998 cat >>confdefs.h
<<\_ACEOF
36999 #define wxUSE_TEXTDLG 1
37004 if test "$wxUSE_WIZARDDLG" = "yes"; then
37005 cat >>confdefs.h
<<\_ACEOF
37006 #define wxUSE_WIZARDDLG 1
37009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37013 if test "$cross_compiling" = "yes"; then
37016 OSINFO
=`uname -s -r -m`
37017 OSINFO
="\"$OSINFO\""
37020 cat >>confdefs.h
<<_ACEOF
37021 #define WXWIN_OS_DESCRIPTION $OSINFO
37026 if test "x$prefix" != "xNONE"; then
37029 wxPREFIX
=$ac_default_prefix
37032 cat >>confdefs.h
<<_ACEOF
37033 #define wxINSTALL_PREFIX "$wxPREFIX"
37037 top_builddir_wxconfig
=`pwd`
37041 CORE_BASE_LIBS
="net base"
37042 CORE_GUI_LIBS
="adv core"
37044 if test "$wxUSE_XML" = "yes" ; then
37045 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37047 if test "$wxUSE_ODBC" != "no" ; then
37048 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37049 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37051 if test "$wxUSE_HTML" = "yes" ; then
37052 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37055 if test "$wxUSE_GUI" != "yes"; then
37066 if test "$wxUSE_MAC" = 1 ; then
37067 if test "$wxUSE_SOUND" = "yes"; then
37068 LDFLAGS
="$LDFLAGS -framework QuickTime"
37070 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37072 if test "$wxUSE_COCOA" = 1 ; then
37073 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37077 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37084 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37085 echo "$as_me:$LINENO: checking for $ac_func" >&5
37086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37087 if eval "test \"\${$as_ac_var+set}\" = set"; then
37088 echo $ECHO_N "(cached) $ECHO_C" >&6
37090 cat >conftest.
$ac_ext <<_ACEOF
37093 cat confdefs.h
>>conftest.
$ac_ext
37094 cat >>conftest.
$ac_ext <<_ACEOF
37095 /* end confdefs.h. */
37096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37098 #define $ac_func innocuous_$ac_func
37100 /* System header to define __stub macros and hopefully few prototypes,
37101 which can conflict with char $ac_func (); below.
37102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37103 <limits.h> exists even on freestanding compilers. */
37106 # include <limits.h>
37108 # include <assert.h>
37113 /* Override any gcc2 internal prototype to avoid an error. */
37118 /* We use char because int might match the return type of a gcc2
37119 builtin and then its argument prototype would still apply. */
37121 /* The GNU C library defines this for functions which it implements
37122 to always fail with ENOSYS. Some functions are actually named
37123 something starting with __ and the normal name is an alias. */
37124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37127 char (*f) () = $ac_func;
37136 return f != $ac_func;
37141 rm -f conftest.
$ac_objext conftest
$ac_exeext
37142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37143 (eval $ac_link) 2>conftest.er1
37145 grep -v '^ *+' conftest.er1
>conftest.err
37147 cat conftest.err
>&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } &&
37150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37152 (eval $ac_try) 2>&5
37154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37155 (exit $ac_status); }; } &&
37156 { ac_try
='test -s conftest$ac_exeext'
37157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37158 (eval $ac_try) 2>&5
37160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161 (exit $ac_status); }; }; then
37162 eval "$as_ac_var=yes"
37164 echo "$as_me: failed program was:" >&5
37165 sed 's/^/| /' conftest.
$ac_ext >&5
37167 eval "$as_ac_var=no"
37169 rm -f conftest.err conftest.
$ac_objext \
37170 conftest
$ac_exeext conftest.
$ac_ext
37172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37174 if test `eval echo '${'$as_ac_var'}'` = yes; then
37175 cat >>confdefs.h
<<_ACEOF
37176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37183 for ac_func
in floor
37185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37186 echo "$as_me:$LINENO: checking for $ac_func" >&5
37187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37188 if eval "test \"\${$as_ac_var+set}\" = set"; then
37189 echo $ECHO_N "(cached) $ECHO_C" >&6
37191 cat >conftest.
$ac_ext <<_ACEOF
37194 cat confdefs.h
>>conftest.
$ac_ext
37195 cat >>conftest.
$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37199 #define $ac_func innocuous_$ac_func
37201 /* System header to define __stub macros and hopefully few prototypes,
37202 which can conflict with char $ac_func (); below.
37203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37204 <limits.h> exists even on freestanding compilers. */
37207 # include <limits.h>
37209 # include <assert.h>
37214 /* Override any gcc2 internal prototype to avoid an error. */
37219 /* We use char because int might match the return type of a gcc2
37220 builtin and then its argument prototype would still apply. */
37222 /* The GNU C library defines this for functions which it implements
37223 to always fail with ENOSYS. Some functions are actually named
37224 something starting with __ and the normal name is an alias. */
37225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37228 char (*f) () = $ac_func;
37237 return f != $ac_func;
37242 rm -f conftest.
$ac_objext conftest
$ac_exeext
37243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37244 (eval $ac_link) 2>conftest.er1
37246 grep -v '^ *+' conftest.er1
>conftest.err
37248 cat conftest.err
>&5
37249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250 (exit $ac_status); } &&
37251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37253 (eval $ac_try) 2>&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); }; } &&
37257 { ac_try
='test -s conftest$ac_exeext'
37258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37259 (eval $ac_try) 2>&5
37261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37262 (exit $ac_status); }; }; then
37263 eval "$as_ac_var=yes"
37265 echo "$as_me: failed program was:" >&5
37266 sed 's/^/| /' conftest.
$ac_ext >&5
37268 eval "$as_ac_var=no"
37270 rm -f conftest.err conftest.
$ac_objext \
37271 conftest
$ac_exeext conftest.
$ac_ext
37273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37275 if test `eval echo '${'$as_ac_var'}'` = yes; then
37276 cat >>confdefs.h
<<_ACEOF
37277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37283 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37284 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37285 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37286 echo "$as_me:$LINENO: result: yes" >&5
37287 echo "${ECHO_T}yes" >&6
37289 echo "$as_me:$LINENO: result: no" >&5
37290 echo "${ECHO_T}no" >&6
37292 # use different functions to avoid configure caching
37298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37299 echo "$as_me:$LINENO: checking for $ac_func" >&5
37300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37301 if eval "test \"\${$as_ac_var+set}\" = set"; then
37302 echo $ECHO_N "(cached) $ECHO_C" >&6
37304 cat >conftest.
$ac_ext <<_ACEOF
37307 cat confdefs.h
>>conftest.
$ac_ext
37308 cat >>conftest.
$ac_ext <<_ACEOF
37309 /* end confdefs.h. */
37310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37312 #define $ac_func innocuous_$ac_func
37314 /* System header to define __stub macros and hopefully few prototypes,
37315 which can conflict with char $ac_func (); below.
37316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37317 <limits.h> exists even on freestanding compilers. */
37320 # include <limits.h>
37322 # include <assert.h>
37327 /* Override any gcc2 internal prototype to avoid an error. */
37332 /* We use char because int might match the return type of a gcc2
37333 builtin and then its argument prototype would still apply. */
37335 /* The GNU C library defines this for functions which it implements
37336 to always fail with ENOSYS. Some functions are actually named
37337 something starting with __ and the normal name is an alias. */
37338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37341 char (*f) () = $ac_func;
37350 return f != $ac_func;
37355 rm -f conftest.
$ac_objext conftest
$ac_exeext
37356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37357 (eval $ac_link) 2>conftest.er1
37359 grep -v '^ *+' conftest.er1
>conftest.err
37361 cat conftest.err
>&5
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); } &&
37364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; } &&
37370 { ac_try
='test -s conftest$ac_exeext'
37371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37372 (eval $ac_try) 2>&5
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); }; }; then
37376 eval "$as_ac_var=yes"
37378 echo "$as_me: failed program was:" >&5
37379 sed 's/^/| /' conftest.
$ac_ext >&5
37381 eval "$as_ac_var=no"
37383 rm -f conftest.err conftest.
$ac_objext \
37384 conftest
$ac_exeext conftest.
$ac_ext
37386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37388 if test `eval echo '${'$as_ac_var'}'` = yes; then
37389 cat >>confdefs.h
<<_ACEOF
37390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37397 for ac_func
in ceil
37399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37400 echo "$as_me:$LINENO: checking for $ac_func" >&5
37401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37402 if eval "test \"\${$as_ac_var+set}\" = set"; then
37403 echo $ECHO_N "(cached) $ECHO_C" >&6
37405 cat >conftest.
$ac_ext <<_ACEOF
37408 cat confdefs.h
>>conftest.
$ac_ext
37409 cat >>conftest.
$ac_ext <<_ACEOF
37410 /* end confdefs.h. */
37411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37413 #define $ac_func innocuous_$ac_func
37415 /* System header to define __stub macros and hopefully few prototypes,
37416 which can conflict with char $ac_func (); below.
37417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37418 <limits.h> exists even on freestanding compilers. */
37421 # include <limits.h>
37423 # include <assert.h>
37428 /* Override any gcc2 internal prototype to avoid an error. */
37433 /* We use char because int might match the return type of a gcc2
37434 builtin and then its argument prototype would still apply. */
37436 /* The GNU C library defines this for functions which it implements
37437 to always fail with ENOSYS. Some functions are actually named
37438 something starting with __ and the normal name is an alias. */
37439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37442 char (*f) () = $ac_func;
37451 return f != $ac_func;
37456 rm -f conftest.
$ac_objext conftest
$ac_exeext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37458 (eval $ac_link) 2>conftest.er1
37460 grep -v '^ *+' conftest.er1
>conftest.err
37462 cat conftest.err
>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; } &&
37471 { ac_try
='test -s conftest$ac_exeext'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; }; then
37477 eval "$as_ac_var=yes"
37479 echo "$as_me: failed program was:" >&5
37480 sed 's/^/| /' conftest.
$ac_ext >&5
37482 eval "$as_ac_var=no"
37484 rm -f conftest.err conftest.
$ac_objext \
37485 conftest
$ac_exeext conftest.
$ac_ext
37487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37489 if test `eval echo '${'$as_ac_var'}'` = yes; then
37490 cat >>confdefs.h
<<_ACEOF
37491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37497 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37498 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37499 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37500 echo "$as_me:$LINENO: result: yes" >&5
37501 echo "${ECHO_T}yes" >&6
37503 echo "$as_me:$LINENO: result: no" >&5
37504 echo "${ECHO_T}no" >&6
37505 # not sure we should warn the user, crash, etc.
37509 if test "$wxUSE_GUI" = "yes"; then
37512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37513 drawing dynamic erase event exec font image \
37514 minimal propsize rotate shaped widgets render"
37516 if test "$wxUSE_MONOLITHIC" != "yes"; then
37517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37520 SAMPLES_SUBDIRS
="console"
37524 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37525 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37527 if test "$GXX" = yes ; then
37528 CXXWARNINGS
="-Wall"
37531 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37533 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37534 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37535 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37539 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37540 EXTRALIBS_XML
="$EXPAT_LINK"
37541 EXTRALIBS_HTML
="$MSPACK_LINK"
37542 EXTRALIBS_ODBC
="$ODBC_LINK"
37543 if test "$wxUSE_GUI" = "yes"; then
37544 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37546 if test "$wxUSE_OPENGL" = "yes"; then
37547 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37550 LDFLAGS
="$LDFLAGS $PROFILE"
37552 if test "$wxUSE_GTK" = 1; then
37555 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37558 WXCONFIG_EXTRALIBS
="$LIBS"
37560 if test "$wxUSE_REGEX" = "builtin" ; then
37561 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37563 if test "$wxUSE_EXPAT" = "builtin" ; then
37564 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37566 if test "$wxUSE_ODBC" = "builtin" ; then
37567 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37569 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37570 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37572 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37573 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37575 if test "$wxUSE_LIBPNG" = "builtin" ; then
37576 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37578 if test "$wxUSE_ZLIB" = "builtin" ; then
37579 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37581 if test "$wxUSE_ODBC" = "builtin" ; then
37582 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37585 for i
in $wxconfig_3rdparty ; do
37586 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37590 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37604 if test $wxUSE_MONOLITHIC = "yes" ; then
37610 if test $wxUSE_PLUGINS = "yes" ; then
37616 if test $wxUSE_ODBC != "no" ; then
37622 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37648 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37659 TOOLKIT_USER
="GTK+"
37660 if test "$WXGTK20" = 1; then
37661 TOOLKIT_USER
="$TOOLKIT_USER 2"
37666 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
37670 if test "x$BAKEFILE_HOST" = "x"; then
37671 BAKEFILE_HOST
="${host}"
37674 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37676 if test -n "$ac_tool_prefix"; then
37677 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37678 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37679 echo "$as_me:$LINENO: checking for $ac_word" >&5
37680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37681 if test "${ac_cv_prog_RANLIB+set}" = set; then
37682 echo $ECHO_N "(cached) $ECHO_C" >&6
37684 if test -n "$RANLIB"; then
37685 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37688 for as_dir
in $PATH
37691 test -z "$as_dir" && as_dir
=.
37692 for ac_exec_ext
in '' $ac_executable_extensions; do
37693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37694 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37703 RANLIB
=$ac_cv_prog_RANLIB
37704 if test -n "$RANLIB"; then
37705 echo "$as_me:$LINENO: result: $RANLIB" >&5
37706 echo "${ECHO_T}$RANLIB" >&6
37708 echo "$as_me:$LINENO: result: no" >&5
37709 echo "${ECHO_T}no" >&6
37713 if test -z "$ac_cv_prog_RANLIB"; then
37714 ac_ct_RANLIB
=$RANLIB
37715 # Extract the first word of "ranlib", so it can be a program name with args.
37716 set dummy ranlib
; ac_word
=$2
37717 echo "$as_me:$LINENO: checking for $ac_word" >&5
37718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37719 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 if test -n "$ac_ct_RANLIB"; then
37723 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37726 for as_dir
in $PATH
37729 test -z "$as_dir" && as_dir
=.
37730 for ac_exec_ext
in '' $ac_executable_extensions; do
37731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37732 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37739 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37742 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37743 if test -n "$ac_ct_RANLIB"; then
37744 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37745 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37747 echo "$as_me:$LINENO: result: no" >&5
37748 echo "${ECHO_T}no" >&6
37751 RANLIB
=$ac_ct_RANLIB
37753 RANLIB
="$ac_cv_prog_RANLIB"
37756 # Find a good install program. We prefer a C program (faster),
37757 # so one script is as good as another. But avoid the broken or
37758 # incompatible versions:
37759 # SysV /etc/install, /usr/sbin/install
37760 # SunOS /usr/etc/install
37761 # IRIX /sbin/install
37763 # AmigaOS /C/install, which installs bootblocks on floppy discs
37764 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37765 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37766 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37767 # OS/2's system install, which has a completely different semantic
37768 # ./install, which can be erroneously created by make from ./install.sh.
37769 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37770 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37771 if test -z "$INSTALL"; then
37772 if test "${ac_cv_path_install+set}" = set; then
37773 echo $ECHO_N "(cached) $ECHO_C" >&6
37775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37776 for as_dir
in $PATH
37779 test -z "$as_dir" && as_dir
=.
37780 # Account for people who put trailing slashes in PATH elements.
37782 .
/ | .
// | /cC
/* | \
37783 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37784 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37787 # OSF1 and SCO ODT 3.0 have their own names for install.
37788 # Don't use installbsd from OSF since it installs stuff as root
37790 for ac_prog
in ginstall scoinst
install; do
37791 for ac_exec_ext
in '' $ac_executable_extensions; do
37792 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37793 if test $ac_prog = install &&
37794 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37795 # AIX install. It has an incompatible calling convention.
37797 elif test $ac_prog = install &&
37798 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37799 # program-specific install script used by HP pwplus--don't use.
37802 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37814 if test "${ac_cv_path_install+set}" = set; then
37815 INSTALL
=$ac_cv_path_install
37817 # As a last resort, use the slow shell script. We don't cache a
37818 # path for INSTALL within a source directory, because that will
37819 # break other packages using the cache if that directory is
37820 # removed, or if the path is relative.
37821 INSTALL
=$ac_install_sh
37824 echo "$as_me:$LINENO: result: $INSTALL" >&5
37825 echo "${ECHO_T}$INSTALL" >&6
37827 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37828 # It thinks the first close brace ends the variable substitution.
37829 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37831 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37833 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37835 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37836 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37838 if test "$LN_S" = "ln -s"; then
37839 echo "$as_me:$LINENO: result: yes" >&5
37840 echo "${ECHO_T}yes" >&6
37842 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37843 echo "${ECHO_T}no, using $LN_S" >&6
37847 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37848 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37849 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
37850 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37851 echo $ECHO_N "(cached) $ECHO_C" >&6
37853 cat >conftest.
make <<\_ACEOF
37855 @
echo 'ac_maketemp="$(MAKE)"'
37857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37858 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37859 if test -n "$ac_maketemp"; then
37860 eval ac_cv_prog_make_
${ac_make}_set
=yes
37862 eval ac_cv_prog_make_
${ac_make}_set
=no
37864 rm -f conftest.
make
37866 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37867 echo "$as_me:$LINENO: result: yes" >&5
37868 echo "${ECHO_T}yes" >&6
37871 echo "$as_me:$LINENO: result: no" >&5
37872 echo "${ECHO_T}no" >&6
37873 SET_MAKE
="MAKE=${MAKE-make}"
37878 if test -n "$ac_tool_prefix"; then
37879 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37880 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37881 echo "$as_me:$LINENO: checking for $ac_word" >&5
37882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37883 if test "${ac_cv_prog_AR+set}" = set; then
37884 echo $ECHO_N "(cached) $ECHO_C" >&6
37886 if test -n "$AR"; then
37887 ac_cv_prog_AR
="$AR" # Let the user override the test.
37889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37890 for as_dir
in $PATH
37893 test -z "$as_dir" && as_dir
=.
37894 for ac_exec_ext
in '' $ac_executable_extensions; do
37895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37896 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37906 if test -n "$AR"; then
37907 echo "$as_me:$LINENO: result: $AR" >&5
37908 echo "${ECHO_T}$AR" >&6
37910 echo "$as_me:$LINENO: result: no" >&5
37911 echo "${ECHO_T}no" >&6
37915 if test -z "$ac_cv_prog_AR"; then
37917 # Extract the first word of "ar", so it can be a program name with args.
37918 set dummy
ar; ac_word
=$2
37919 echo "$as_me:$LINENO: checking for $ac_word" >&5
37920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37921 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37922 echo $ECHO_N "(cached) $ECHO_C" >&6
37924 if test -n "$ac_ct_AR"; then
37925 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37928 for as_dir
in $PATH
37931 test -z "$as_dir" && as_dir
=.
37932 for ac_exec_ext
in '' $ac_executable_extensions; do
37933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37934 ac_cv_prog_ac_ct_AR
="ar"
37935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37941 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
37944 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37945 if test -n "$ac_ct_AR"; then
37946 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37947 echo "${ECHO_T}$ac_ct_AR" >&6
37949 echo "$as_me:$LINENO: result: no" >&5
37950 echo "${ECHO_T}no" >&6
37955 AR
="$ac_cv_prog_AR"
37958 if test -n "$ac_tool_prefix"; then
37959 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37960 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
37961 echo "$as_me:$LINENO: checking for $ac_word" >&5
37962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37963 if test "${ac_cv_prog_STRIP+set}" = set; then
37964 echo $ECHO_N "(cached) $ECHO_C" >&6
37966 if test -n "$STRIP"; then
37967 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
37969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37970 for as_dir
in $PATH
37973 test -z "$as_dir" && as_dir
=.
37974 for ac_exec_ext
in '' $ac_executable_extensions; do
37975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37976 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
37977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37985 STRIP
=$ac_cv_prog_STRIP
37986 if test -n "$STRIP"; then
37987 echo "$as_me:$LINENO: result: $STRIP" >&5
37988 echo "${ECHO_T}$STRIP" >&6
37990 echo "$as_me:$LINENO: result: no" >&5
37991 echo "${ECHO_T}no" >&6
37995 if test -z "$ac_cv_prog_STRIP"; then
37997 # Extract the first word of "strip", so it can be a program name with args.
37998 set dummy strip
; ac_word
=$2
37999 echo "$as_me:$LINENO: checking for $ac_word" >&5
38000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38001 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38002 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 if test -n "$ac_ct_STRIP"; then
38005 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38008 for as_dir
in $PATH
38011 test -z "$as_dir" && as_dir
=.
38012 for ac_exec_ext
in '' $ac_executable_extensions; do
38013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38014 ac_cv_prog_ac_ct_STRIP
="strip"
38015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38021 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38024 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38025 if test -n "$ac_ct_STRIP"; then
38026 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38027 echo "${ECHO_T}$ac_ct_STRIP" >&6
38029 echo "$as_me:$LINENO: result: no" >&5
38030 echo "${ECHO_T}no" >&6
38035 STRIP
="$ac_cv_prog_STRIP"
38038 if test -n "$ac_tool_prefix"; then
38039 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38040 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38041 echo "$as_me:$LINENO: checking for $ac_word" >&5
38042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38043 if test "${ac_cv_prog_NM+set}" = set; then
38044 echo $ECHO_N "(cached) $ECHO_C" >&6
38046 if test -n "$NM"; then
38047 ac_cv_prog_NM
="$NM" # Let the user override the test.
38049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38050 for as_dir
in $PATH
38053 test -z "$as_dir" && as_dir
=.
38054 for ac_exec_ext
in '' $ac_executable_extensions; do
38055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38056 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38066 if test -n "$NM"; then
38067 echo "$as_me:$LINENO: result: $NM" >&5
38068 echo "${ECHO_T}$NM" >&6
38070 echo "$as_me:$LINENO: result: no" >&5
38071 echo "${ECHO_T}no" >&6
38075 if test -z "$ac_cv_prog_NM"; then
38077 # Extract the first word of "nm", so it can be a program name with args.
38078 set dummy nm
; ac_word
=$2
38079 echo "$as_me:$LINENO: checking for $ac_word" >&5
38080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38081 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38082 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 if test -n "$ac_ct_NM"; then
38085 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38088 for as_dir
in $PATH
38091 test -z "$as_dir" && as_dir
=.
38092 for ac_exec_ext
in '' $ac_executable_extensions; do
38093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38094 ac_cv_prog_ac_ct_NM
="nm"
38095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38101 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38104 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38105 if test -n "$ac_ct_NM"; then
38106 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38107 echo "${ECHO_T}$ac_ct_NM" >&6
38109 echo "$as_me:$LINENO: result: no" >&5
38110 echo "${ECHO_T}no" >&6
38115 NM
="$ac_cv_prog_NM"
38119 case ${BAKEFILE_HOST} in
38121 INSTALL_DIR
="mkdir -p"
38123 *) INSTALL_DIR
="$INSTALL -d"
38129 case ${BAKEFILE_HOST} in
38130 *-*-cygwin* | *-*-mingw32* )
38131 LDFLAGS_GUI
="-mwindows"
38137 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38138 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38139 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38140 echo $ECHO_N "(cached) $ECHO_C" >&6
38143 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38144 egrep -s GNU
> /dev
/null
); then
38145 bakefile_cv_prog_makeisgnu
="yes"
38147 bakefile_cv_prog_makeisgnu
="no"
38151 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38152 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38154 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38169 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38170 case "${BAKEFILE_HOST}" in
38171 *-*-cygwin* | *-*-mingw32* )
38177 *-pc-os2_emx | *-pc-os2-emx )
38180 powerpc
-*-darwin* )
38189 case "$BAKEFILE_FORCE_PLATFORM" in
38207 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38208 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38209 { (exit 1); exit 1; }; }
38222 # Check whether --enable-omf or --disable-omf was given.
38223 if test "${enable_omf+set}" = set; then
38224 enableval
="$enable_omf"
38225 bk_os2_use_omf
="$enableval"
38228 case "${BAKEFILE_HOST}" in
38230 CFLAGS
="$CFLAGS -fno-common"
38231 CXXFLAGS
="$CXXFLAGS -fno-common"
38234 *-pc-os2_emx | *-pc-os2-emx )
38235 if test "x$bk_os2_use_omf" = "xyes" ; then
38238 LDFLAGS
="-Zomf $LDFLAGS"
38239 CFLAGS
="-Zomf $CFLAGS"
38240 CXXFLAGS
="-Zomf $CXXFLAGS"
38250 SO_SUFFIX_MODULE
="so"
38255 DLLPREFIX_MODULE
=""
38258 case "${BAKEFILE_HOST}" in
38261 SO_SUFFIX_MODULE
="sl"
38265 SO_SUFFIX_MODULE
="a"
38267 *-*-cygwin* | *-*-mingw32* )
38269 SO_SUFFIX_MODULE
="dll"
38270 DLLIMP_SUFFIX
="dll.a"
38278 *-pc-os2_emx | *-pc-os2-emx )
38280 SO_SUFFIX_MODULE
="dll"
38281 DLLIMP_SUFFIX
=$OS2_LIBEXT
38285 LIBEXT
=".$OS2_LIBEXT"
38287 powerpc
-*-darwin* )
38289 SO_SUFFIX_MODULE
="bundle"
38293 if test "x$DLLIMP_SUFFIX" = "x" ; then
38294 DLLIMP_SUFFIX
="$SO_SUFFIX"
38307 SHARED_LD_CC
="\$(CC) -shared -o"
38308 SHARED_LD_CXX
="\$(CXX) -shared -o"
38310 if test "x$GCC" = "xyes"; then
38314 case "${BAKEFILE_HOST}" in
38316 if test "x$GCC" = "xyes"; then
38317 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38318 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38320 LDFLAGS
="$LDFLAGS -L/usr/lib"
38322 SHARED_LD_CC
="${CC} -b -o"
38323 SHARED_LD_CXX
="${CXX} -b -o"
38329 if test "x$GCC" != "xyes"; then
38330 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38331 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38332 if test "${bakefile_cv_prog_icc+set}" = set; then
38333 echo $ECHO_N "(cached) $ECHO_C" >&6
38336 cat >conftest.
$ac_ext <<_ACEOF
38339 cat confdefs.h
>>conftest.
$ac_ext
38340 cat >>conftest.
$ac_ext <<_ACEOF
38341 /* end confdefs.h. */
38347 #ifndef __INTEL_COMPILER
38355 rm -f conftest.
$ac_objext
38356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38357 (eval $ac_compile) 2>conftest.er1
38359 grep -v '^ *+' conftest.er1
>conftest.err
38361 cat conftest.err
>&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } &&
38364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38366 (eval $ac_try) 2>&5
38368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369 (exit $ac_status); }; } &&
38370 { ac_try
='test -s conftest.$ac_objext'
38371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38372 (eval $ac_try) 2>&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); }; }; then
38376 bakefile_cv_prog_icc
=yes
38378 echo "$as_me: failed program was:" >&5
38379 sed 's/^/| /' conftest.
$ac_ext >&5
38381 bakefile_cv_prog_icc
=no
38384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38387 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38388 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38389 if test "$bakefile_cv_prog_icc" = "yes"; then
38396 if test "x$GCC" != xyes
; then
38397 SHARED_LD_CC
="${CC} -G -o"
38398 SHARED_LD_CXX
="${CXX} -G -o"
38405 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38406 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38407 if test "${wx_cv_gcc31+set}" = set; then
38408 echo $ECHO_N "(cached) $ECHO_C" >&6
38411 cat >conftest.
$ac_ext <<_ACEOF
38414 cat confdefs.h
>>conftest.
$ac_ext
38415 cat >>conftest.
$ac_ext <<_ACEOF
38416 /* end confdefs.h. */
38422 #if (__GNUC__ < 3) || \
38423 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38431 rm -f conftest.
$ac_objext
38432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38433 (eval $ac_compile) 2>conftest.er1
38435 grep -v '^ *+' conftest.er1
>conftest.err
38437 cat conftest.err
>&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); } &&
38440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38442 (eval $ac_try) 2>&5
38444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38445 (exit $ac_status); }; } &&
38446 { ac_try
='test -s conftest.$ac_objext'
38447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38448 (eval $ac_try) 2>&5
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); }; }; then
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.
$ac_ext >&5
38464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38467 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38468 echo "${ECHO_T}$wx_cv_gcc31" >&6
38469 if test "$wx_cv_gcc31" = "no"; then
38472 cat <<EOF >shared-ld-sh
38474 #-----------------------------------------------------------------------------
38475 #-- Name: distrib/mac/shared-ld-sh
38476 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38477 #-- Author: Gilles Depeyrot
38478 #-- Copyright: (c) 2002 Gilles Depeyrot
38479 #-- Licence: any use permitted
38480 #-----------------------------------------------------------------------------
38485 linking_flag="-dynamiclib"
38487 while test ${D}# -gt 0; do
38494 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38495 # collect these options and values
38496 args="${D}{args} ${D}1 ${D}2"
38500 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38501 # collect these options
38502 args="${D}{args} ${D}1"
38505 -dynamiclib|-bundle)
38506 linking_flag="${D}1"
38510 echo "shared-ld: unhandled option '${D}1'"
38514 *.o | *.a | *.dylib)
38515 # collect object files
38516 objects="${D}{objects} ${D}1"
38520 echo "shared-ld: unhandled argument '${D}1'"
38529 # Link one module containing all the others
38531 if test ${D}{verbose} = 1; then
38532 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38534 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38536 if test ${D}{status} != 0; then
38541 # Link the shared library from the single module created
38543 if test ${D}{verbose} = 1; then
38544 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38546 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38548 if test ${D}{status} != 0; then
38553 # Remove intermediate module
38555 rm -f master.${D}${D}.o
38560 chmod +x shared
-ld-sh
38562 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38563 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38564 SHARED_LD_CXX
="$SHARED_LD_CC"
38565 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38567 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38568 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38569 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38570 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38573 PIC_FLAG
="-dynamic -fPIC"
38577 if test "x$GCC" != "xyes"; then
38578 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38579 set dummy makeC
++SharedLib
; ac_word
=$2
38580 echo "$as_me:$LINENO: checking for $ac_word" >&5
38581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38582 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38583 echo $ECHO_N "(cached) $ECHO_C" >&6
38585 if test -n "$AIX_CXX_LD"; then
38586 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38589 for as_dir
in $PATH
38592 test -z "$as_dir" && as_dir
=.
38593 for ac_exec_ext
in '' $ac_executable_extensions; do
38594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38595 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38602 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38605 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38606 if test -n "$AIX_CXX_LD"; then
38607 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38608 echo "${ECHO_T}$AIX_CXX_LD" >&6
38610 echo "$as_me:$LINENO: result: no" >&5
38611 echo "${ECHO_T}no" >&6
38614 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38615 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38620 SHARED_LD_CC
="${LD} -shared -o"
38621 SHARED_LD_CXX
="${LD} -shared -o"
38625 if test "x$GCC" != "xyes"; then
38630 *-*-cygwin* | *-*-mingw32* )
38634 *-pc-os2_emx | *-pc-os2-emx )
38635 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38636 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38640 cat <<EOF >dllar.sh
38643 # dllar - a tool to build both a .dll and an .a file
38644 # from a set of object (.o) files for EMX/OS2.
38646 # Written by Andrew Zabolotny, bit@freya.etu.ru
38647 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38649 # This script will accept a set of files on the command line.
38650 # All the public symbols from the .o files will be exported into
38651 # a .DEF file, then linker will be run (through gcc) against them to
38652 # build a shared library consisting of all given .o files. All libraries
38653 # (.a) will be first decompressed into component .o files then act as
38654 # described above. You can optionally give a description (-d "description")
38655 # which will be put into .DLL. To see the list of accepted options (as well
38656 # as command-line format) simply run this program without options. The .DLL
38657 # is built to be imported by name (there is no guarantee that new versions
38658 # of the library you build will have same ordinals for same symbols).
38660 # dllar is free software; you can redistribute it and/or modify
38661 # it under the terms of the GNU General Public License as published by
38662 # the Free Software Foundation; either version 2, or (at your option)
38663 # any later version.
38665 # dllar is distributed in the hope that it will be useful,
38666 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38667 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38668 # GNU General Public License for more details.
38670 # You should have received a copy of the GNU General Public License
38671 # along with dllar; see the file COPYING. If not, write to the Free
38672 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38675 # To successfuly run this program you will need:
38676 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38677 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38679 # (used to build the .dll)
38681 # (used to create .def file from .o files)
38683 # (used to create .a file from .def file)
38684 # - GNU text utilites (cat, sort, uniq)
38685 # used to process emxexp output
38686 # - GNU file utilities (mv, rm)
38688 # - lxlite (optional, see flag below)
38689 # (used for general .dll cleanup)
38696 # basnam, variant of basename, which does _not_ remove the path, _iff_
38697 # second argument (suffix to remove) is given
38701 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38704 echo ${D}1 | sed 's/'${D}2'${D}//'
38707 echo "error in basnam ${D}*"
38713 # Cleanup temporary files and output
38716 for i in ${D}inputFiles ; do
38719 rm -rf \`basnam ${D}i !\`
38726 # Kill result in case of failure as there is just to many stupid make/nmake
38727 # things out there which doesn't do this.
38728 if [] ${D}# -eq 0 []; then
38729 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38733 # Print usage and exit script with rc=1.
38735 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38736 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38737 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38738 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38739 echo ' []*.o[] []*.a[]'
38740 echo '*> "output_file" should have no extension.'
38741 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38742 echo ' The import library name is derived from this and is set to "name".a,'
38743 echo ' unless overridden by -import'
38744 echo '*> "importlib_name" should have no extension.'
38745 echo ' If it has the .o, or .a extension, it is automatically removed.'
38746 echo ' This name is used as the import library name and may be longer and'
38747 echo ' more descriptive than the DLL name which has to follow the old '
38748 echo ' 8.3 convention of FAT.'
38749 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38750 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38751 echo ' These flags will be put at the start of GCC command line.'
38752 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38753 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38754 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38755 echo ' If the last character of a symbol is "*", all symbols beginning'
38756 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38757 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38758 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38759 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38760 echo ' C runtime DLLs.'
38761 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38762 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38763 echo ' unchanged to GCC at the end of command line.'
38764 echo '*> If you create a DLL from a library and you do not specify -o,'
38765 echo ' the basename for DLL and import library will be set to library name,'
38766 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38767 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38768 echo ' library will be renamed into gcc_s.a.'
38771 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38772 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38777 # Execute a command.
38778 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38779 # @Uses Whatever CleanUp() uses.
38785 if [] ${D}rcCmd -ne 0 []; then
38786 echo "command failed, exit code="${D}rcCmd
38800 CFLAGS="-s -Zcrtdll"
38802 EXPORT_BY_ORDINALS=0
38807 case ${D}curDirS in
38811 curDirS=${D}{curDirS}"/"
38814 # Parse commandline
38816 while [] ${D}1 []; do
38819 EXPORT_BY_ORDINALS=1;
38846 exclude_symbols=${D}{exclude_symbols}${D}1" "
38850 library_flags=${D}{library_flags}${D}1" "
38866 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38870 if [] ${D}libsToLink -ne 0 []; then
38871 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38873 for file in ${D}1 ; do
38874 if [] -f ${D}file []; then
38875 inputFiles="${D}{inputFiles} ${D}file"
38879 if [] ${D}found -eq 0 []; then
38880 echo "ERROR: No file(s) found: "${D}1
38887 done # iterate cmdline words
38890 if [] -z "${D}inputFiles" []; then
38891 echo "dllar: no input files"
38895 # Now extract all .o files from .a files
38897 for file in ${D}inputFiles ; do
38908 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38913 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38915 if [] ${D}? -ne 0 []; then
38916 echo "Failed to create subdirectory ./${D}dirname"
38920 # Append '!' to indicate archive
38921 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38922 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38925 for subfile in ${D}dirname/*.o* ; do
38926 if [] -f ${D}subfile []; then
38928 if [] -s ${D}subfile []; then
38929 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38930 newInputFiles="${D}newInputFiles ${D}subfile"
38934 if [] ${D}found -eq 0 []; then
38935 echo "WARNING: there are no files in archive \'${D}file\'"
38939 newInputFiles="${D}{newInputFiles} ${D}file"
38943 inputFiles="${D}newInputFiles"
38945 # Output filename(s).
38947 if [] -z ${D}outFile []; then
38949 set outFile ${D}inputFiles; outFile=${D}2
38952 # If it is an archive, remove the '!' and the '_%' suffixes
38953 case ${D}outFile in
38955 outFile=\`basnam ${D}outFile _%!\`
38960 case ${D}outFile in
38962 outFile=\`basnam ${D}outFile .dll\`
38965 outFile=\`basnam ${D}outFile .DLL\`
38968 outFile=\`basnam ${D}outFile .o\`
38971 outFile=\`basnam ${D}outFile .obj\`
38974 outFile=\`basnam ${D}outFile .a\`
38977 outFile=\`basnam ${D}outFile .lib\`
38982 case ${D}outimpFile in
38984 outimpFile=\`basnam ${D}outimpFile .a\`
38987 outimpFile=\`basnam ${D}outimpFile .lib\`
38992 if [] -z ${D}outimpFile []; then
38993 outimpFile=${D}outFile
38995 defFile="${D}{outFile}.def"
38996 arcFile="${D}{outimpFile}.a"
38997 arcFile2="${D}{outimpFile}.lib"
38998 dllFile="${D}outFile"
38999 # Add suffix to dllFile later, first we need a version to use as
39000 # name in .def file.
39002 if [] ${D}do_backup -ne 0 [] ; then
39003 if [] -f ${D}arcFile [] ; then
39004 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39006 if [] -f ${D}arcFile2 [] ; then
39007 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39011 # Extract public symbols from all the object files.
39012 tmpdefFile=${D}{defFile}_%
39013 rm -f ${D}tmpdefFile
39014 for file in ${D}inputFiles ; do
39019 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39024 # Create the def file.
39026 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39027 dllFile="${D}dllFile.dll"
39028 if [] -n ${D}description []; then
39029 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39031 echo "EXPORTS" >> ${D}defFile
39033 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39034 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39036 # Checks if the export is ok or not.
39037 for word in ${D}exclude_symbols; do
39038 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39039 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39043 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39044 sed "=" < ${D}tmpdefFile | \
39048 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39050 ' > ${D}{tmpdefFile}%
39051 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39053 rm -f ${D}{tmpdefFile}%
39055 cat ${D}tmpdefFile >> ${D}defFile
39056 rm -f ${D}tmpdefFile
39058 # Do linking, create implib, and apply lxlite.
39060 for file in ${D}inputFiles ; do
39065 gccCmdl="${D}gccCmdl ${D}file"
39069 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39070 touch "${D}{outFile}.dll"
39072 doCommand "emximp -o ${D}arcFile ${D}defFile"
39073 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39075 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39078 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39080 doCommand "emxomf -s -l ${D}arcFile"
39090 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39098 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39099 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39100 { (exit 1); exit 1; }; }
39103 if test "x$PIC_FLAG" != "x" ; then
39104 PIC_FLAG
="$PIC_FLAG -DPIC"
39107 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39108 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39110 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39111 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39128 case "${BAKEFILE_HOST}" in
39130 SONAME_FLAG
="-Wl,-soname,"
39158 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39159 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39162 if test "x$GCC" = "xyes"; then
39165 case "${BAKEFILE_HOST}" in
39166 powerpc
-*-darwin* )
39167 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39170 DEPSFLAG_GCC
="-MMD"
39173 echo "$as_me:$LINENO: result: gcc" >&5
39174 echo "${ECHO_T}gcc" >&6
39176 echo "$as_me:$LINENO: result: none" >&5
39177 echo "${ECHO_T}none" >&6
39180 if test $DEPS_TRACKING = 1 ; then
39186 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39187 # script. It is used to track C/C++ files dependencies in portable way.
39189 # Permission is given to use this file in any way.
39191 DEPSMODE=${DEPSMODE}
39193 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39195 mkdir -p ${D}DEPSDIR
39197 if test ${D}DEPSMODE = gcc ; then
39198 ${D}* ${D}{DEPSFLAG_GCC}
39200 if test ${D}{status} != 0 ; then
39203 # move created file to the location we want it in:
39204 while test ${D}# -gt 0; do
39218 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39219 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39220 if test -f ${D}depfile ; then
39221 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39224 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39225 if test -f ${D}depfile ; then
39226 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39246 case ${BAKEFILE_HOST} in
39247 *-*-cygwin* | *-*-mingw32* )
39248 if test "$build" != "$host" ; then
39249 RESCOMP
=$host_alias-windres
39251 # Extract the first word of "windres", so it can be a program name with args.
39252 set dummy windres
; ac_word
=$2
39253 echo "$as_me:$LINENO: checking for $ac_word" >&5
39254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39255 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39258 if test -n "$RESCOMP"; then
39259 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39262 for as_dir
in $PATH
39265 test -z "$as_dir" && as_dir
=.
39266 for ac_exec_ext
in '' $ac_executable_extensions; do
39267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39268 ac_cv_prog_RESCOMP
="windres"
39269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39275 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39278 RESCOMP
=$ac_cv_prog_RESCOMP
39279 if test -n "$RESCOMP"; then
39280 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39281 echo "${ECHO_T}$RESCOMP" >&6
39283 echo "$as_me:$LINENO: result: no" >&5
39284 echo "${ECHO_T}no" >&6
39291 # Extract the first word of "Rez", so it can be a program name with args.
39292 set dummy Rez
; ac_word
=$2
39293 echo "$as_me:$LINENO: checking for $ac_word" >&5
39294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39295 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39296 echo $ECHO_N "(cached) $ECHO_C" >&6
39298 if test -n "$RESCOMP"; then
39299 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39302 for as_dir
in $PATH
39305 test -z "$as_dir" && as_dir
=.
39306 for ac_exec_ext
in '' $ac_executable_extensions; do
39307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39308 ac_cv_prog_RESCOMP
="Rez"
39309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39315 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39318 RESCOMP
=$ac_cv_prog_RESCOMP
39319 if test -n "$RESCOMP"; then
39320 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39321 echo "${ECHO_T}$RESCOMP" >&6
39323 echo "$as_me:$LINENO: result: no" >&5
39324 echo "${ECHO_T}no" >&6
39327 # Extract the first word of "SetFile", so it can be a program name with args.
39328 set dummy SetFile
; ac_word
=$2
39329 echo "$as_me:$LINENO: checking for $ac_word" >&5
39330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39331 if test "${ac_cv_prog_SETFILE+set}" = set; then
39332 echo $ECHO_N "(cached) $ECHO_C" >&6
39334 if test -n "$SETFILE"; then
39335 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39338 for as_dir
in $PATH
39341 test -z "$as_dir" && as_dir
=.
39342 for ac_exec_ext
in '' $ac_executable_extensions; do
39343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39344 ac_cv_prog_SETFILE
="SetFile"
39345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39351 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39354 SETFILE
=$ac_cv_prog_SETFILE
39355 if test -n "$SETFILE"; then
39356 echo "$as_me:$LINENO: result: $SETFILE" >&5
39357 echo "${ECHO_T}$SETFILE" >&6
39359 echo "$as_me:$LINENO: result: no" >&5
39360 echo "${ECHO_T}no" >&6
39370 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39376 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39380 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39381 if test "${enable_precomp_headers+set}" = set; then
39382 enableval
="$enable_precomp_headers"
39383 bk_use_pch
="$enableval"
39388 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39389 if test "x$GCC" = "xyes"; then
39390 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39391 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39392 cat >conftest.
$ac_ext <<_ACEOF
39395 cat confdefs.h
>>conftest.
$ac_ext
39396 cat >>conftest.
$ac_ext <<_ACEOF
39397 /* end confdefs.h. */
39403 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39404 #error "no pch support"
39407 #error "no pch support"
39409 #if (__GNUC__ == 3) && \
39410 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39411 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39412 #error "no pch support"
39419 rm -f conftest.
$ac_objext
39420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39421 (eval $ac_compile) 2>conftest.er1
39423 grep -v '^ *+' conftest.er1
>conftest.err
39425 cat conftest.err
>&5
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); } &&
39428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39430 (eval $ac_try) 2>&5
39432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39433 (exit $ac_status); }; } &&
39434 { ac_try
='test -s conftest.$ac_objext'
39435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39436 (eval $ac_try) 2>&5
39438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39439 (exit $ac_status); }; }; then
39441 echo "$as_me:$LINENO: result: yes" >&5
39442 echo "${ECHO_T}yes" >&6
39446 echo "$as_me: failed program was:" >&5
39447 sed 's/^/| /' conftest.
$ac_ext >&5
39450 echo "$as_me:$LINENO: result: no" >&5
39451 echo "${ECHO_T}no" >&6
39454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39455 if test $GCC_PCH = 1 ; then
39456 cat <<EOF >bk-make-pch
39459 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39460 # script. It is used to generated precompiled headers.
39462 # Permission is given to use this file in any way.
39471 while test \${#} -gt 0; do
39474 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39475 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39476 headerfile="\${incdir}/\${header}"
39480 compiler="\${compiler} \${1}"
39484 if test "x\${headerfile}" = "x" ; then
39485 echo "error: can't find header \${header} in include paths" >2
39487 if test -f \${outfile} ; then
39490 mkdir -p \`dirname \${outfile}\`
39492 depsfile=".deps/\`basename \${outfile}\`.d"
39494 # can do this because gcc is >= 3.4:
39495 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39499 chmod +x bk
-make-pch
39510 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39511 if test "${enable_precomp_headers+set}" = set; then
39512 enableval
="$enable_precomp_headers"
39513 bk_use_pch
="$enableval"
39518 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39519 if test "x$GCC" = "xyes"; then
39520 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39521 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39522 cat >conftest.
$ac_ext <<_ACEOF
39525 cat confdefs.h
>>conftest.
$ac_ext
39526 cat >>conftest.
$ac_ext <<_ACEOF
39527 /* end confdefs.h. */
39533 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39534 #error "no pch support"
39537 #error "no pch support"
39539 #if (__GNUC__ == 3) && \
39540 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39541 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39542 #error "no pch support"
39549 rm -f conftest.
$ac_objext
39550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39551 (eval $ac_compile) 2>conftest.er1
39553 grep -v '^ *+' conftest.er1
>conftest.err
39555 cat conftest.err
>&5
39556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39557 (exit $ac_status); } &&
39558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39560 (eval $ac_try) 2>&5
39562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563 (exit $ac_status); }; } &&
39564 { ac_try
='test -s conftest.$ac_objext'
39565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39566 (eval $ac_try) 2>&5
39568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569 (exit $ac_status); }; }; then
39571 echo "$as_me:$LINENO: result: yes" >&5
39572 echo "${ECHO_T}yes" >&6
39576 echo "$as_me: failed program was:" >&5
39577 sed 's/^/| /' conftest.
$ac_ext >&5
39580 echo "$as_me:$LINENO: result: no" >&5
39581 echo "${ECHO_T}no" >&6
39584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39585 if test $GCC_PCH = 1 ; then
39586 cat <<EOF >bk-make-pch
39589 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39590 # script. It is used to generated precompiled headers.
39592 # Permission is given to use this file in any way.
39601 while test \${#} -gt 0; do
39604 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39605 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39606 headerfile="\${incdir}/\${header}"
39610 compiler="\${compiler} \${1}"
39614 if test "x\${headerfile}" = "x" ; then
39615 echo "error: can't find header \${header} in include paths" >2
39617 if test -f \${outfile} ; then
39620 mkdir -p \`dirname \${outfile}\`
39622 depsfile=".deps/\`basename \${outfile}\`.d"
39624 # can do this because gcc is >= 3.4:
39625 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39629 chmod +x bk
-make-pch
39637 COND_BUILD_DEBUG
="#"
39638 if test "x$BUILD" = "xdebug" ; then
39639 COND_BUILD_DEBUG
=""
39642 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39643 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39644 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39647 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39648 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39649 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39652 COND_BUILD_DEBUG_UNICODE_0
="#"
39653 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39654 COND_BUILD_DEBUG_UNICODE_0
=""
39657 COND_BUILD_DEBUG_UNICODE_1
="#"
39658 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39659 COND_BUILD_DEBUG_UNICODE_1
=""
39662 COND_BUILD_RELEASE
="#"
39663 if test "x$BUILD" = "xrelease" ; then
39664 COND_BUILD_RELEASE
=""
39667 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39668 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39669 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39672 COND_BUILD_RELEASE_UNICODE_0
="#"
39673 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39674 COND_BUILD_RELEASE_UNICODE_0
=""
39677 COND_BUILD_RELEASE_UNICODE_1
="#"
39678 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39679 COND_BUILD_RELEASE_UNICODE_1
=""
39682 COND_DEBUG_FLAG_1
="#"
39683 if test "x$DEBUG_FLAG" = "x1" ; then
39684 COND_DEBUG_FLAG_1
=""
39687 COND_DEBUG_INFO_0
="#"
39688 if test "x$DEBUG_INFO" = "x0" ; then
39689 COND_DEBUG_INFO_0
=""
39692 COND_DEBUG_INFO_1
="#"
39693 if test "x$DEBUG_INFO" = "x1" ; then
39694 COND_DEBUG_INFO_1
=""
39697 COND_DEPS_TRACKING_0
="#"
39698 if test "x$DEPS_TRACKING" = "x0" ; then
39699 COND_DEPS_TRACKING_0
=""
39702 COND_DEPS_TRACKING_1
="#"
39703 if test "x$DEPS_TRACKING" = "x1" ; then
39704 COND_DEPS_TRACKING_1
=""
39708 if test "x$GCC_PCH" = "x1" ; then
39712 COND_MONOLITHIC_0
="#"
39713 if test "x$MONOLITHIC" = "x0" ; then
39714 COND_MONOLITHIC_0
=""
39717 COND_MONOLITHIC_0_SHARED_0
="#"
39718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39719 COND_MONOLITHIC_0_SHARED_0
=""
39722 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39724 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39727 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39732 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39734 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39737 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39739 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39742 COND_MONOLITHIC_0_SHARED_1
="#"
39743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39744 COND_MONOLITHIC_0_SHARED_1
=""
39747 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39749 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39752 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39754 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39757 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39759 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39762 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39764 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39767 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39768 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39769 COND_MONOLITHIC_0_USE_ODBC_1
=""
39772 COND_MONOLITHIC_1
="#"
39773 if test "x$MONOLITHIC" = "x1" ; then
39774 COND_MONOLITHIC_1
=""
39777 COND_MONOLITHIC_1_SHARED_0
="#"
39778 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39779 COND_MONOLITHIC_1_SHARED_0
=""
39782 COND_MONOLITHIC_1_SHARED_1
="#"
39783 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39784 COND_MONOLITHIC_1_SHARED_1
=""
39787 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39788 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39789 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39792 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39793 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39794 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39797 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39798 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39799 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39802 COND_PLATFORM_MACOSX_1
="#"
39803 if test "x$PLATFORM_MACOSX" = "x1" ; then
39804 COND_PLATFORM_MACOSX_1
=""
39807 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39808 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39809 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39812 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39813 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39814 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39817 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39818 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39819 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39822 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
39823 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
39824 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
39827 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
39828 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
39829 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
39832 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39833 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39834 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39837 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39838 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39839 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39842 COND_PLATFORM_MAC_1
="#"
39843 if test "x$PLATFORM_MAC" = "x1" ; then
39844 COND_PLATFORM_MAC_1
=""
39847 COND_PLATFORM_OS2_1
="#"
39848 if test "x$PLATFORM_OS2" = "x1" ; then
39849 COND_PLATFORM_OS2_1
=""
39852 COND_PLATFORM_UNIX_0
="#"
39853 if test "x$PLATFORM_UNIX" = "x0" ; then
39854 COND_PLATFORM_UNIX_0
=""
39857 COND_PLATFORM_UNIX_1
="#"
39858 if test "x$PLATFORM_UNIX" = "x1" ; then
39859 COND_PLATFORM_UNIX_1
=""
39862 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39863 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39864 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39867 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39868 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39869 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39872 COND_PLATFORM_WIN32_0
="#"
39873 if test "x$PLATFORM_WIN32" = "x0" ; then
39874 COND_PLATFORM_WIN32_0
=""
39877 COND_PLATFORM_WIN32_1
="#"
39878 if test "x$PLATFORM_WIN32" = "x1" ; then
39879 COND_PLATFORM_WIN32_1
=""
39883 if test "x$SHARED" = "x0" ; then
39887 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39888 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39889 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39893 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39898 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39902 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39903 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39904 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39907 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
39908 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39909 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
39912 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
39913 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39914 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
39917 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
39918 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39919 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
39922 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
39923 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39924 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
39928 if test "x$SHARED" = "x1" ; then
39932 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39933 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39934 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39937 COND_TOOLKIT_COCOA
="#"
39938 if test "x$TOOLKIT" = "xCOCOA" ; then
39939 COND_TOOLKIT_COCOA
=""
39942 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39943 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39944 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39947 COND_TOOLKIT_GTK
="#"
39948 if test "x$TOOLKIT" = "xGTK" ; then
39949 COND_TOOLKIT_GTK
=""
39952 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39953 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39954 COND_TOOLKIT_GTK_USE_GUI_1
=""
39957 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
39958 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39959 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
39962 COND_TOOLKIT_MAC
="#"
39963 if test "x$TOOLKIT" = "xMAC" ; then
39964 COND_TOOLKIT_MAC
=""
39967 COND_TOOLKIT_MAC_USE_GUI_1
="#"
39968 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39969 COND_TOOLKIT_MAC_USE_GUI_1
=""
39972 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
39973 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39974 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
39977 COND_TOOLKIT_MAC_WXUNIV_0
="#"
39978 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
39979 COND_TOOLKIT_MAC_WXUNIV_0
=""
39982 COND_TOOLKIT_MGL
="#"
39983 if test "x$TOOLKIT" = "xMGL" ; then
39984 COND_TOOLKIT_MGL
=""
39987 COND_TOOLKIT_MGL_USE_GUI_1
="#"
39988 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39989 COND_TOOLKIT_MGL_USE_GUI_1
=""
39992 COND_TOOLKIT_MOTIF
="#"
39993 if test "x$TOOLKIT" = "xMOTIF" ; then
39994 COND_TOOLKIT_MOTIF
=""
39997 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39998 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39999 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40002 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40003 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40004 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40007 COND_TOOLKIT_MSW
="#"
40008 if test "x$TOOLKIT" = "xMSW" ; then
40009 COND_TOOLKIT_MSW
=""
40012 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40013 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40014 COND_TOOLKIT_MSW_USE_GUI_1
=""
40017 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40018 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40019 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40022 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40023 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40024 COND_TOOLKIT_MSW_WXUNIV_0
=""
40027 COND_TOOLKIT_PM
="#"
40028 if test "x$TOOLKIT" = "xPM" ; then
40032 COND_TOOLKIT_PM_USE_GUI_1
="#"
40033 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40034 COND_TOOLKIT_PM_USE_GUI_1
=""
40037 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40038 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40039 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40042 COND_TOOLKIT_PM_WXUNIV_0
="#"
40043 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40044 COND_TOOLKIT_PM_WXUNIV_0
=""
40047 COND_TOOLKIT_WINCE
="#"
40048 if test "x$TOOLKIT" = "xWINCE" ; then
40049 COND_TOOLKIT_WINCE
=""
40052 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40053 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40054 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40057 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40058 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40059 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40062 COND_TOOLKIT_X11
="#"
40063 if test "x$TOOLKIT" = "xX11" ; then
40064 COND_TOOLKIT_X11
=""
40067 COND_TOOLKIT_X11_USE_GUI_1
="#"
40068 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40069 COND_TOOLKIT_X11_USE_GUI_1
=""
40073 if test "x$UNICODE" = "x1" ; then
40077 COND_USE_EXCEPTIONS_0
="#"
40078 if test "x$USE_EXCEPTIONS" = "x0" ; then
40079 COND_USE_EXCEPTIONS_0
=""
40082 COND_USE_EXCEPTIONS_1
="#"
40083 if test "x$USE_EXCEPTIONS" = "x1" ; then
40084 COND_USE_EXCEPTIONS_1
=""
40088 if test "x$USE_GUI" = "x0" ; then
40093 if test "x$USE_GUI" = "x1" ; then
40097 COND_USE_GUI_1_WXUNIV_0
="#"
40098 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40099 COND_USE_GUI_1_WXUNIV_0
=""
40102 COND_USE_GUI_1_WXUNIV_1
="#"
40103 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40104 COND_USE_GUI_1_WXUNIV_1
=""
40107 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40108 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40109 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40112 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40113 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40114 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40117 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40118 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40119 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40122 COND_USE_ODBC_1
="#"
40123 if test "x$USE_ODBC" = "x1" ; then
40127 COND_USE_PLUGINS_0
="#"
40128 if test "x$USE_PLUGINS" = "x0" ; then
40129 COND_USE_PLUGINS_0
=""
40132 COND_USE_SOSYMLINKS_1
="#"
40133 if test "x$USE_SOSYMLINKS" = "x1" ; then
40134 COND_USE_SOSYMLINKS_1
=""
40137 COND_USE_SOVERLINUX_1
="#"
40138 if test "x$USE_SOVERLINUX" = "x1" ; then
40139 COND_USE_SOVERLINUX_1
=""
40142 COND_USE_SOVERSION_0
="#"
40143 if test "x$USE_SOVERSION" = "x0" ; then
40144 COND_USE_SOVERSION_0
=""
40147 COND_USE_SOVERSOLARIS_1
="#"
40148 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40149 COND_USE_SOVERSOLARIS_1
=""
40152 COND_WITH_PLUGIN_SDL_1
="#"
40153 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40154 COND_WITH_PLUGIN_SDL_1
=""
40157 COND_WITH_SDL_1
="#"
40158 if test "x$WITH_SDL" = "x1" ; then
40163 if test "x$WXUNIV" = "x1" ; then
40167 COND_WXUSE_EXPAT_BUILTIN
="#"
40168 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40169 COND_WXUSE_EXPAT_BUILTIN
=""
40172 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40173 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40174 COND_WXUSE_LIBJPEG_BUILTIN
=""
40177 COND_WXUSE_LIBPNG_BUILTIN
="#"
40178 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40179 COND_WXUSE_LIBPNG_BUILTIN
=""
40182 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40183 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40184 COND_WXUSE_LIBTIFF_BUILTIN
=""
40187 COND_WXUSE_ODBC_BUILTIN
="#"
40188 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40189 COND_WXUSE_ODBC_BUILTIN
=""
40192 COND_WXUSE_REGEX_BUILTIN
="#"
40193 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40194 COND_WXUSE_REGEX_BUILTIN
=""
40197 COND_WXUSE_ZLIB_BUILTIN
="#"
40198 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40199 COND_WXUSE_ZLIB_BUILTIN
=""
40202 COND_BUILD_DEBUG
="#"
40203 if test "x$BUILD" = "xdebug" ; then
40204 COND_BUILD_DEBUG
=""
40207 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40208 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40209 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40212 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40213 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40214 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40217 COND_BUILD_DEBUG_UNICODE_0
="#"
40218 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40219 COND_BUILD_DEBUG_UNICODE_0
=""
40222 COND_BUILD_DEBUG_UNICODE_1
="#"
40223 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40224 COND_BUILD_DEBUG_UNICODE_1
=""
40227 COND_BUILD_RELEASE
="#"
40228 if test "x$BUILD" = "xrelease" ; then
40229 COND_BUILD_RELEASE
=""
40232 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40233 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40234 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40237 COND_BUILD_RELEASE_UNICODE_0
="#"
40238 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40239 COND_BUILD_RELEASE_UNICODE_0
=""
40242 COND_BUILD_RELEASE_UNICODE_1
="#"
40243 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40244 COND_BUILD_RELEASE_UNICODE_1
=""
40247 COND_DEBUG_FLAG_1
="#"
40248 if test "x$DEBUG_FLAG" = "x1" ; then
40249 COND_DEBUG_FLAG_1
=""
40252 COND_DEBUG_INFO_0
="#"
40253 if test "x$DEBUG_INFO" = "x0" ; then
40254 COND_DEBUG_INFO_0
=""
40257 COND_DEBUG_INFO_1
="#"
40258 if test "x$DEBUG_INFO" = "x1" ; then
40259 COND_DEBUG_INFO_1
=""
40262 COND_DEPS_TRACKING_0
="#"
40263 if test "x$DEPS_TRACKING" = "x0" ; then
40264 COND_DEPS_TRACKING_0
=""
40267 COND_DEPS_TRACKING_1
="#"
40268 if test "x$DEPS_TRACKING" = "x1" ; then
40269 COND_DEPS_TRACKING_1
=""
40273 if test "x$GCC_PCH" = "x1" ; then
40277 COND_MONOLITHIC_0
="#"
40278 if test "x$MONOLITHIC" = "x0" ; then
40279 COND_MONOLITHIC_0
=""
40282 COND_MONOLITHIC_0_SHARED_0
="#"
40283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40284 COND_MONOLITHIC_0_SHARED_0
=""
40287 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40289 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40292 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40294 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40297 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40299 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40302 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40304 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40307 COND_MONOLITHIC_0_SHARED_1
="#"
40308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40309 COND_MONOLITHIC_0_SHARED_1
=""
40312 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40313 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40314 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40317 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40318 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40319 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40322 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40324 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40327 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40329 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40332 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40333 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40334 COND_MONOLITHIC_0_USE_ODBC_1
=""
40337 COND_MONOLITHIC_1
="#"
40338 if test "x$MONOLITHIC" = "x1" ; then
40339 COND_MONOLITHIC_1
=""
40342 COND_MONOLITHIC_1_SHARED_0
="#"
40343 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40344 COND_MONOLITHIC_1_SHARED_0
=""
40347 COND_MONOLITHIC_1_SHARED_1
="#"
40348 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40349 COND_MONOLITHIC_1_SHARED_1
=""
40352 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40353 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40354 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40357 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40358 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40359 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40362 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40363 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40364 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40367 COND_PLATFORM_MACOSX_1
="#"
40368 if test "x$PLATFORM_MACOSX" = "x1" ; then
40369 COND_PLATFORM_MACOSX_1
=""
40372 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40373 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40374 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40377 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40378 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40379 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40382 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40383 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40384 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40387 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40388 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40389 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40392 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40393 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40394 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40397 COND_PLATFORM_MAC_1
="#"
40398 if test "x$PLATFORM_MAC" = "x1" ; then
40399 COND_PLATFORM_MAC_1
=""
40402 COND_PLATFORM_OS2_1
="#"
40403 if test "x$PLATFORM_OS2" = "x1" ; then
40404 COND_PLATFORM_OS2_1
=""
40407 COND_PLATFORM_UNIX_0
="#"
40408 if test "x$PLATFORM_UNIX" = "x0" ; then
40409 COND_PLATFORM_UNIX_0
=""
40412 COND_PLATFORM_UNIX_1
="#"
40413 if test "x$PLATFORM_UNIX" = "x1" ; then
40414 COND_PLATFORM_UNIX_1
=""
40417 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40418 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40419 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40422 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40423 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40424 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40427 COND_PLATFORM_WIN32_0
="#"
40428 if test "x$PLATFORM_WIN32" = "x0" ; then
40429 COND_PLATFORM_WIN32_0
=""
40432 COND_PLATFORM_WIN32_1
="#"
40433 if test "x$PLATFORM_WIN32" = "x1" ; then
40434 COND_PLATFORM_WIN32_1
=""
40438 if test "x$SHARED" = "x0" ; then
40442 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40443 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40444 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40447 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40448 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40449 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40452 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40453 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40454 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40457 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40458 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40459 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40462 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40463 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40464 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40467 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40468 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40469 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40472 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40473 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40474 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40477 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40478 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40479 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40483 if test "x$SHARED" = "x1" ; then
40487 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40488 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40489 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40492 COND_TOOLKIT_COCOA
="#"
40493 if test "x$TOOLKIT" = "xCOCOA" ; then
40494 COND_TOOLKIT_COCOA
=""
40497 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40498 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40499 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40502 COND_TOOLKIT_GTK
="#"
40503 if test "x$TOOLKIT" = "xGTK" ; then
40504 COND_TOOLKIT_GTK
=""
40507 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40508 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40509 COND_TOOLKIT_GTK_USE_GUI_1
=""
40512 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40513 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40514 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40517 COND_TOOLKIT_MAC
="#"
40518 if test "x$TOOLKIT" = "xMAC" ; then
40519 COND_TOOLKIT_MAC
=""
40522 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40523 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40524 COND_TOOLKIT_MAC_USE_GUI_1
=""
40527 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40528 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40529 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40532 COND_TOOLKIT_MGL
="#"
40533 if test "x$TOOLKIT" = "xMGL" ; then
40534 COND_TOOLKIT_MGL
=""
40537 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40538 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40539 COND_TOOLKIT_MGL_USE_GUI_1
=""
40542 COND_TOOLKIT_MOTIF
="#"
40543 if test "x$TOOLKIT" = "xMOTIF" ; then
40544 COND_TOOLKIT_MOTIF
=""
40547 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40548 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40549 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40552 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40553 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40554 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40557 COND_TOOLKIT_MSW
="#"
40558 if test "x$TOOLKIT" = "xMSW" ; then
40559 COND_TOOLKIT_MSW
=""
40562 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40563 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40564 COND_TOOLKIT_MSW_USE_GUI_1
=""
40567 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40568 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40569 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40572 COND_TOOLKIT_PM
="#"
40573 if test "x$TOOLKIT" = "xPM" ; then
40577 COND_TOOLKIT_PM_USE_GUI_1
="#"
40578 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40579 COND_TOOLKIT_PM_USE_GUI_1
=""
40582 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40583 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40584 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40587 COND_TOOLKIT_WINCE
="#"
40588 if test "x$TOOLKIT" = "xWINCE" ; then
40589 COND_TOOLKIT_WINCE
=""
40592 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40593 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40594 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40597 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40598 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40599 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40602 COND_TOOLKIT_X11
="#"
40603 if test "x$TOOLKIT" = "xX11" ; then
40604 COND_TOOLKIT_X11
=""
40607 COND_TOOLKIT_X11_USE_GUI_1
="#"
40608 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40609 COND_TOOLKIT_X11_USE_GUI_1
=""
40613 if test "x$UNICODE" = "x1" ; then
40617 COND_USE_EXCEPTIONS_0
="#"
40618 if test "x$USE_EXCEPTIONS" = "x0" ; then
40619 COND_USE_EXCEPTIONS_0
=""
40622 COND_USE_EXCEPTIONS_1
="#"
40623 if test "x$USE_EXCEPTIONS" = "x1" ; then
40624 COND_USE_EXCEPTIONS_1
=""
40628 if test "x$USE_GUI" = "x0" ; then
40633 if test "x$USE_GUI" = "x1" ; then
40637 COND_USE_GUI_1_WXUNIV_0
="#"
40638 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40639 COND_USE_GUI_1_WXUNIV_0
=""
40642 COND_USE_GUI_1_WXUNIV_1
="#"
40643 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40644 COND_USE_GUI_1_WXUNIV_1
=""
40647 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40648 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40649 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40652 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40653 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40654 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40657 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40658 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40659 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40662 COND_USE_ODBC_1
="#"
40663 if test "x$USE_ODBC" = "x1" ; then
40667 COND_USE_PLUGINS_0
="#"
40668 if test "x$USE_PLUGINS" = "x0" ; then
40669 COND_USE_PLUGINS_0
=""
40672 COND_USE_SOSYMLINKS_1
="#"
40673 if test "x$USE_SOSYMLINKS" = "x1" ; then
40674 COND_USE_SOSYMLINKS_1
=""
40677 COND_USE_SOVERLINUX_1
="#"
40678 if test "x$USE_SOVERLINUX" = "x1" ; then
40679 COND_USE_SOVERLINUX_1
=""
40682 COND_USE_SOVERSION_0
="#"
40683 if test "x$USE_SOVERSION" = "x0" ; then
40684 COND_USE_SOVERSION_0
=""
40687 COND_USE_SOVERSOLARIS_1
="#"
40688 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40689 COND_USE_SOVERSOLARIS_1
=""
40692 COND_WITH_PLUGIN_SDL_1
="#"
40693 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40694 COND_WITH_PLUGIN_SDL_1
=""
40698 if test "x$WXUNIV" = "x1" ; then
40702 COND_WXUSE_EXPAT_BUILTIN
="#"
40703 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40704 COND_WXUSE_EXPAT_BUILTIN
=""
40707 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40708 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40709 COND_WXUSE_LIBJPEG_BUILTIN
=""
40712 COND_WXUSE_LIBPNG_BUILTIN
="#"
40713 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40714 COND_WXUSE_LIBPNG_BUILTIN
=""
40717 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40718 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40719 COND_WXUSE_LIBTIFF_BUILTIN
=""
40722 COND_WXUSE_ODBC_BUILTIN
="#"
40723 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40724 COND_WXUSE_ODBC_BUILTIN
=""
40727 COND_WXUSE_REGEX_BUILTIN
="#"
40728 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40729 COND_WXUSE_REGEX_BUILTIN
=""
40732 COND_WXUSE_ZLIB_BUILTIN
="#"
40733 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40734 COND_WXUSE_ZLIB_BUILTIN
=""
40739 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40740 { { 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
40741 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;}
40742 { (exit 1); exit 1; }; }
40747 GCC_PRAGMA_FLAGS
=""
40748 if test $GCC_PCH = 1 ; then
40749 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40752 powerpc
-*-darwin* )
40753 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40756 if test "$wxUSE_STL" = "yes" -o \
40757 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40758 "$wxUSE_NO_RTTI" != "yes"; then
40759 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40760 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40761 cat >conftest.
$ac_ext <<_ACEOF
40764 cat confdefs.h
>>conftest.
$ac_ext
40765 cat >>conftest.
$ac_ext <<_ACEOF
40766 /* end confdefs.h. */
40771 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40772 #error "Not GCC 3.2 or greater"
40779 rm -f conftest.
$ac_objext
40780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40781 (eval $ac_compile) 2>conftest.er1
40783 grep -v '^ *+' conftest.er1
>conftest.err
40785 cat conftest.err
>&5
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); } &&
40788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40790 (eval $ac_try) 2>&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); }; } &&
40794 { ac_try
='test -s conftest.$ac_objext'
40795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40796 (eval $ac_try) 2>&5
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); }; }; then
40800 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40801 echo "$as_me:$LINENO: result: yes" >&5
40802 echo "${ECHO_T}yes" >&6
40804 echo "$as_me: failed program was:" >&5
40805 sed 's/^/| /' conftest.
$ac_ext >&5
40807 echo "$as_me:$LINENO: result: no" >&5
40808 echo "${ECHO_T}no" >&6
40810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40815 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
40818 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40920 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40921 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40922 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40923 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40924 echo $ECHO_N "(cached) $ECHO_C" >&6
40926 cat >conftest.
make <<\_ACEOF
40928 @
echo 'ac_maketemp="$(MAKE)"'
40930 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40931 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40932 if test -n "$ac_maketemp"; then
40933 eval ac_cv_prog_make_
${ac_make}_set
=yes
40935 eval ac_cv_prog_make_
${ac_make}_set
=no
40937 rm -f conftest.
make
40939 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40940 echo "$as_me:$LINENO: result: yes" >&5
40941 echo "${ECHO_T}yes" >&6
40944 echo "$as_me:$LINENO: result: no" >&5
40945 echo "${ECHO_T}no" >&6
40946 SET_MAKE
="MAKE=${MAKE-make}"
40950 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
40951 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
40954 ac_config_headers
="$ac_config_headers setup.h"
40957 ac_config_files
="$ac_config_files wx-config wx-config-wrapper version-script Makefile"
40960 ac_config_commands
="$ac_config_commands default"
40964 if test "$wxUSE_GUI" = "yes"; then
40965 SUBDIRS
="samples demos utils contrib"
40966 else SUBDIRS
="samples utils"
40971 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
40972 if test "${with_cppunit_prefix+set}" = set; then
40973 withval
="$with_cppunit_prefix"
40974 cppunit_config_prefix
="$withval"
40976 cppunit_config_prefix
=""
40979 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
40980 if test "${with_cppunit_exec_prefix+set}" = set; then
40981 withval
="$with_cppunit_exec_prefix"
40982 cppunit_config_exec_prefix
="$withval"
40984 cppunit_config_exec_prefix
=""
40987 if test x
$cppunit_config_exec_prefix != x
; then
40988 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40989 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40990 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40993 if test x
$cppunit_config_prefix != x
; then
40994 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40995 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40996 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41000 # Extract the first word of "cppunit-config", so it can be a program name with args.
41001 set dummy cppunit
-config; ac_word
=$2
41002 echo "$as_me:$LINENO: checking for $ac_word" >&5
41003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41004 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41005 echo $ECHO_N "(cached) $ECHO_C" >&6
41007 case $CPPUNIT_CONFIG in
41009 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41013 for as_dir
in $PATH
41016 test -z "$as_dir" && as_dir
=.
41017 for ac_exec_ext
in '' $ac_executable_extensions; do
41018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41019 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41026 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41030 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41032 if test -n "$CPPUNIT_CONFIG"; then
41033 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41034 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41036 echo "$as_me:$LINENO: result: no" >&5
41037 echo "${ECHO_T}no" >&6
41040 cppunit_version_min
=1.8.0
41042 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41043 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41045 if test "$CPPUNIT_CONFIG" = "no" ; then
41048 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41049 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41050 cppunit_version
=`$CPPUNIT_CONFIG --version`
41052 cppunit_major_version
=`echo $cppunit_version | \
41053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41054 cppunit_minor_version
=`echo $cppunit_version | \
41055 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41056 cppunit_micro_version
=`echo $cppunit_version | \
41057 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41059 cppunit_major_min
=`echo $cppunit_version_min | \
41060 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41061 cppunit_minor_min
=`echo $cppunit_version_min | \
41062 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41063 cppunit_micro_min
=`echo $cppunit_version_min | \
41064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41066 cppunit_version_proper
=`expr \
41067 $cppunit_major_version \> $cppunit_major_min \| \
41068 $cppunit_major_version \= $cppunit_major_min \& \
41069 $cppunit_minor_version \> $cppunit_minor_min \| \
41070 $cppunit_major_version \= $cppunit_major_min \& \
41071 $cppunit_minor_version \= $cppunit_minor_min \& \
41072 $cppunit_micro_version \>= $cppunit_micro_min `
41074 if test "$cppunit_version_proper" = "1" ; then
41075 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41076 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41078 echo "$as_me:$LINENO: result: no" >&5
41079 echo "${ECHO_T}no" >&6
41084 if test "x$no_cppunit" = x
; then
41085 SUBDIRS
="$SUBDIRS tests"
41096 for subdir
in `echo $SUBDIRS`; do
41097 if test -d ${srcdir}/${subdir} ; then
41098 if test "$wxUSE_GUI" = "yes"; then
41099 if test ${subdir} = "samples"; then
41100 makefiles
="samples/Makefile.in $makefiles"
41101 for sample
in `echo $SAMPLES_SUBDIRS`; do
41102 if test -d $srcdir/samples
/$sample; then
41103 makefiles
="samples/$sample/Makefile.in $makefiles"
41106 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41108 else if test ${subdir} = "samples"; then
41109 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41110 elif test ${subdir} = "utils"; then
41111 makefiles
="utils/HelpGen/Makefile.in \
41112 utils/HelpGen/src/Makefile.in \
41113 utils/tex2rtf/Makefile.in \
41114 utils/tex2rtf/src/Makefile.in"
41115 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41119 for mkin
in $makefiles ; do
41120 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41121 ac_config_files
="$ac_config_files $mk"
41128 cat >confcache
<<\_ACEOF
41129 # This file is a shell script that caches the results of configure
41130 # tests run on this system so they can be shared between configure
41131 # scripts and configure runs, see configure's option --config-cache.
41132 # It is not useful on other systems. If it contains results you don't
41133 # want to keep, you may remove or edit it.
41135 # config.status only pays attention to the cache file if you give it
41136 # the --recheck option to rerun configure.
41138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41140 # following values.
41144 # The following way of writing the cache mishandles newlines in values,
41145 # but we know of no workaround that is simple, portable, and efficient.
41146 # So, don't put newlines in cache variables' values.
41147 # Ultrix sh set writes to stderr and can't be redirected directly,
41148 # and sets the high bit in the cache file unless we assign to the vars.
41151 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41153 # `set' does not quote correctly, so add quotes (double-quote
41154 # substitution turns \\\\ into \\, and sed turns \\ into \).
41157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41160 # `set' quotes correctly as required by POSIX, so do not add quotes.
41162 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41169 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41171 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41173 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41174 if test -w $cache_file; then
41175 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41176 cat confcache
>$cache_file
41178 echo "not updating unwritable cache $cache_file"
41183 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41184 # Let make expand exec_prefix.
41185 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41187 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41188 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41189 # trailing colons and then remove the whole line if VPATH becomes empty
41190 # (actually we leave an empty line to preserve line numbers).
41191 if test "x$srcdir" = x.
; then
41192 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41193 s/:*\$(srcdir):*/:/;
41194 s/:*\${srcdir}:*/:/;
41196 s/^\([^=]*=[ ]*\):*/\1/;
41202 DEFS
=-DHAVE_CONFIG_H
41206 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41207 # 1. Remove the extension, and $U if already installed.
41208 ac_i
=`echo "$ac_i" |
41209 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41211 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41212 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41214 LIBOBJS
=$ac_libobjs
41216 LTLIBOBJS
=$ac_ltlibobjs
41220 : ${CONFIG_STATUS=./config.status}
41221 ac_clean_files_save
=$ac_clean_files
41222 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41223 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41224 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41225 cat >$CONFIG_STATUS <<_ACEOF
41227 # Generated by $as_me.
41228 # Run this file to recreate the current configuration.
41229 # Compiler output produced by configure, useful for debugging
41230 # configure, is in config.log if it exists.
41233 ac_cs_recheck=false
41235 SHELL=\${CONFIG_SHELL-$SHELL}
41238 cat >>$CONFIG_STATUS <<\_ACEOF
41239 ## --------------------- ##
41240 ## M4sh Initialization. ##
41241 ## --------------------- ##
41243 # Be Bourne compatible
41244 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41247 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41248 # is contrary to our usage. Disable this feature.
41249 alias -g '${1+"$@"}'='"$@"'
41250 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41253 DUALCASE
=1; export DUALCASE
# for MKS sh
41255 # Support unset when possible.
41256 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41263 # Work around bugs in pre-3.0 UWIN ksh.
41264 $as_unset ENV MAIL MAILPATH
41271 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41272 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41273 LC_TELEPHONE LC_TIME
41275 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41276 eval $as_var=C
; export $as_var
41282 # Required to use basename.
41283 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41289 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41290 as_basename
=basename
41296 # Name of the executable.
41297 as_me
=`$as_basename "$0" ||
41298 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41299 X"$0" : 'X\(//\)$' \| \
41300 X"$0" : 'X\(/\)$' \| \
41301 . : '\(.\)' 2>/dev/null ||
41303 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41304 /^X\/\(\/\/\)$/{ s//\1/; q; }
41305 /^X\/\(\/\).*/{ s//\1/; q; }
41309 # PATH needs CR, and LINENO needs CR and PATH.
41310 # Avoid depending upon Character Ranges.
41311 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41312 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41313 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41314 as_cr_digits
='0123456789'
41315 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41317 # The user is always right.
41318 if test "${PATH_SEPARATOR+set}" != set; then
41319 echo "#! /bin/sh" >conf$$.sh
41320 echo "exit 0" >>conf$$.sh
41322 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41331 as_lineno_1
=$LINENO
41332 as_lineno_2
=$LINENO
41333 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41334 test "x$as_lineno_1" != "x$as_lineno_2" &&
41335 test "x$as_lineno_3" = "x$as_lineno_2" || {
41336 # Find who we are. Look in the path if we contain no path at all
41339 *[\\/]* ) as_myself
=$0 ;;
41340 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41341 for as_dir
in $PATH
41344 test -z "$as_dir" && as_dir
=.
41345 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41350 # We did not find ourselves, most probably we were run as `sh COMMAND'
41351 # in which case we are not to be found in the path.
41352 if test "x$as_myself" = x
; then
41355 if test ! -f "$as_myself"; then
41356 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41357 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41358 { (exit 1); exit 1; }; }
41360 case $CONFIG_SHELL in
41362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41363 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41366 test -z "$as_dir" && as_dir
=.
41367 for as_base
in sh bash ksh sh5
; do
41370 if ("$as_dir/$as_base" -c '
41371 as_lineno_1=$LINENO
41372 as_lineno_2=$LINENO
41373 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41374 test "x$as_lineno_1" != "x$as_lineno_2" &&
41375 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41376 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41377 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41378 CONFIG_SHELL
=$as_dir/$as_base
41379 export CONFIG_SHELL
41380 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41388 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41389 # uniformly replaced by the line number. The first 'sed' inserts a
41390 # line-number line before each line; the second 'sed' does the real
41391 # work. The second script uses 'N' to pair each line-number line
41392 # with the numbered line, and appends trailing '-' during
41393 # substitution so that $LINENO is not a special case at line end.
41394 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41395 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41396 sed '=' <$as_myself |
41401 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41404 s,^['$as_cr_digits']*\n,,
41405 ' >$as_me.lineno
&&
41406 chmod +x
$as_me.lineno
||
41407 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41408 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41409 { (exit 1); exit 1; }; }
41411 # Don't try to exec as it changes $[0], causing all sort of problems
41412 # (the dirname of $[0] is not the place where we might find the
41413 # original and so on. Autoconf is especially sensible to this).
41415 # Exit status is that of the last command.
41420 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41421 *c
*,-n*) ECHO_N
= ECHO_C
='
41423 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41424 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41427 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41433 rm -f conf$$ conf$$.exe conf$$.
file
41435 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41436 # We could just check for DJGPP; but this test a) works b) is more generic
41437 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41438 if test -f conf$$.exe
; then
41439 # Don't use ln at all; we don't have any links
41444 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41449 rm -f conf$$ conf$$.exe conf$$.
file
41451 if mkdir -p .
2>/dev
/null
; then
41454 test -d .
/-p && rmdir .
/-p
41458 as_executable_p
="test -f"
41460 # Sed expression to map a string onto a valid CPP name.
41461 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41463 # Sed expression to map a string onto a valid variable name.
41464 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41468 # We need space, tab and new line, in precisely that order.
41478 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41479 # report actual input values of CONFIG_FILES etc. instead of their
41480 # values after options handling. Logging --version etc. is OK.
41484 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41485 ## Running $as_me. ##
41490 This file was extended by wxWidgets $as_me 2.5.2, which was
41491 generated by GNU Autoconf 2.59. Invocation command line was
41493 CONFIG_FILES = $CONFIG_FILES
41494 CONFIG_HEADERS = $CONFIG_HEADERS
41495 CONFIG_LINKS = $CONFIG_LINKS
41496 CONFIG_COMMANDS = $CONFIG_COMMANDS
41500 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41504 # Files that config.status was made for.
41505 if test -n "$ac_config_files"; then
41506 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41509 if test -n "$ac_config_headers"; then
41510 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41513 if test -n "$ac_config_links"; then
41514 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41517 if test -n "$ac_config_commands"; then
41518 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41521 cat >>$CONFIG_STATUS <<\_ACEOF
41524 \`$as_me' instantiates files from templates according to the
41525 current configuration.
41527 Usage: $0 [OPTIONS] [FILE]...
41529 -h, --help print this help, then exit
41530 -V, --version print version number, then exit
41531 -q, --quiet do not print progress messages
41532 -d, --debug don't remove temporary files
41533 --recheck update $as_me by reconfiguring in the same conditions
41534 --file=FILE[:TEMPLATE]
41535 instantiate the configuration file FILE
41536 --header=FILE[:TEMPLATE]
41537 instantiate the configuration header FILE
41539 Configuration files:
41542 Configuration headers:
41545 Configuration commands:
41548 Report bugs to <bug-autoconf@gnu.org>."
41551 cat >>$CONFIG_STATUS <<_ACEOF
41553 wxWidgets config.status 2.5.2
41554 configured by $0, generated by GNU Autoconf 2.59,
41555 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41557 Copyright (C) 2003 Free Software Foundation, Inc.
41558 This config.status script is free software; the Free Software Foundation
41559 gives unlimited permission to copy, distribute and modify it."
41564 cat >>$CONFIG_STATUS <<\_ACEOF
41565 # If no file are specified by the user, then we need to provide default
41566 # value. By we need to know if files were specified by the user.
41572 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41573 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41581 *) # This is not an option, so the user has probably given explicit
41584 ac_need_defaults
=false
;;
41588 # Handling of the options.
41590 cat >>$CONFIG_STATUS <<\_ACEOF
41591 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41593 --version | --vers* | -V )
41594 echo "$ac_cs_version"; exit 0 ;;
41596 # Conflict between --help and --header
41597 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41598 Try \`$0 --help' for more information." >&5
41599 echo "$as_me: error: ambiguous option: $1
41600 Try \`$0 --help' for more information." >&2;}
41601 { (exit 1); exit 1; }; };;
41602 --help | --hel | -h )
41603 echo "$ac_cs_usage"; exit 0 ;;
41604 --debug | --d* | -d )
41606 --file | --fil | --fi | --f )
41608 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41609 ac_need_defaults
=false
;;
41610 --header | --heade | --head | --hea )
41612 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41613 ac_need_defaults
=false
;;
41614 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41615 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41618 # This is an error.
41619 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41620 Try \`$0 --help' for more information." >&5
41621 echo "$as_me: error: unrecognized option: $1
41622 Try \`$0 --help' for more information." >&2;}
41623 { (exit 1); exit 1; }; } ;;
41625 *) ac_config_targets
="$ac_config_targets $1" ;;
41631 ac_configure_extra_args
=
41633 if $ac_cs_silent; then
41635 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41639 cat >>$CONFIG_STATUS <<_ACEOF
41640 if \$ac_cs_recheck; then
41641 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41642 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41647 cat >>$CONFIG_STATUS <<_ACEOF
41649 # INIT-COMMANDS section.
41653 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41654 WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}"
41655 WX_RELEASE="${WX_RELEASE}"
41664 cat >>$CONFIG_STATUS <<\_ACEOF
41665 for ac_config_target
in $ac_config_targets
41667 case "$ac_config_target" in
41668 # Handling of arguments.
41669 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
41670 "wx-config-wrapper" ) CONFIG_FILES
="$CONFIG_FILES wx-config-wrapper" ;;
41671 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41672 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41673 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41674 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
41675 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
41676 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41677 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41678 { (exit 1); exit 1; }; };;
41682 # If the user did not use the arguments to specify the items to instantiate,
41683 # then the envvar interface is used. Set only those that are not.
41684 # We use the long form for the default assignment because of an extremely
41685 # bizarre bug on SunOS 4.1.3.
41686 if $ac_need_defaults; then
41687 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41688 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41689 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41692 # Have a temporary directory for convenience. Make it in the build tree
41693 # simply because there is no reason to put it here, and in addition,
41694 # creating and moving files from /tmp can sometimes cause problems.
41695 # Create a temporary directory, and hook for its removal unless debugging.
41698 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41699 trap '{ (exit 1); exit 1; }' 1 2 13 15
41702 # Create a (secure) tmp directory for tmp files.
41705 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41706 test -n "$tmp" && test -d "$tmp"
41709 tmp
=.
/confstat$$
-$RANDOM
41710 (umask 077 && mkdir $tmp)
41713 echo "$me: cannot create a temporary directory in ." >&2
41714 { (exit 1); exit 1; }
41719 cat >>$CONFIG_STATUS <<_ACEOF
41722 # CONFIG_FILES section.
41725 # No need to generate the scripts if there are no CONFIG_FILES.
41726 # This happens for instance when ./config.status config.h
41727 if test -n "\$CONFIG_FILES"; then
41728 # Protect against being on the right side of a sed subst in config.status.
41729 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41730 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41731 s,@SHELL@,$SHELL,;t t
41732 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41733 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41734 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41735 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41736 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41737 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41738 s,@exec_prefix@,$exec_prefix,;t t
41739 s,@prefix@,$prefix,;t t
41740 s,@program_transform_name@,$program_transform_name,;t t
41741 s,@bindir@,$bindir,;t t
41742 s,@sbindir@,$sbindir,;t t
41743 s,@libexecdir@,$libexecdir,;t t
41744 s,@datadir@,$datadir,;t t
41745 s,@sysconfdir@,$sysconfdir,;t t
41746 s,@sharedstatedir@,$sharedstatedir,;t t
41747 s,@localstatedir@,$localstatedir,;t t
41748 s,@libdir@,$libdir,;t t
41749 s,@includedir@,$includedir,;t t
41750 s,@oldincludedir@,$oldincludedir,;t t
41751 s,@infodir@,$infodir,;t t
41752 s,@mandir@,$mandir,;t t
41753 s,@build_alias@,$build_alias,;t t
41754 s,@host_alias@,$host_alias,;t t
41755 s,@target_alias@,$target_alias,;t t
41756 s,@DEFS@,$DEFS,;t t
41757 s,@ECHO_C@,$ECHO_C,;t t
41758 s,@ECHO_N@,$ECHO_N,;t t
41759 s,@ECHO_T@,$ECHO_T,;t t
41760 s,@LIBS@,$LIBS,;t t
41761 s,@build@,$build,;t t
41762 s,@build_cpu@,$build_cpu,;t t
41763 s,@build_vendor@,$build_vendor,;t t
41764 s,@build_os@,$build_os,;t t
41765 s,@host@,$host,;t t
41766 s,@host_cpu@,$host_cpu,;t t
41767 s,@host_vendor@,$host_vendor,;t t
41768 s,@host_os@,$host_os,;t t
41769 s,@target@,$target,;t t
41770 s,@target_cpu@,$target_cpu,;t t
41771 s,@target_vendor@,$target_vendor,;t t
41772 s,@target_os@,$target_os,;t t
41774 s,@CFLAGS@,$CFLAGS,;t t
41775 s,@LDFLAGS@,$LDFLAGS,;t t
41776 s,@CPPFLAGS@,$CPPFLAGS,;t t
41777 s,@ac_ct_CC@,$ac_ct_CC,;t t
41778 s,@EXEEXT@,$EXEEXT,;t t
41779 s,@OBJEXT@,$OBJEXT,;t t
41781 s,@EGREP@,$EGREP,;t t
41783 s,@CXXFLAGS@,$CXXFLAGS,;t t
41784 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41785 s,@RANLIB@,$RANLIB,;t t
41786 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41788 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41789 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41790 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41791 s,@STRIP@,$STRIP,;t t
41792 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41793 s,@LN_S@,$LN_S,;t t
41794 s,@CXXCPP@,$CXXCPP,;t t
41795 s,@subdirs@,$subdirs,;t t
41796 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41797 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41798 s,@GTK_LIBS@,$GTK_LIBS,;t t
41799 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41800 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41801 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41802 s,@X_CFLAGS@,$X_CFLAGS,;t t
41803 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41804 s,@X_LIBS@,$X_LIBS,;t t
41805 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41806 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41807 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41808 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41809 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41810 s,@RESCOMP@,$RESCOMP,;t t
41811 s,@DEREZ@,$DEREZ,;t t
41812 s,@SETFILE@,$SETFILE,;t t
41813 s,@LIBICONV@,$LIBICONV,;t t
41814 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41815 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41816 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41817 s,@SDL_LIBS@,$SDL_LIBS,;t t
41818 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41819 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41820 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41821 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41822 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41823 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41824 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41825 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41826 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41827 s,@VENDOR@,$VENDOR,;t t
41828 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41829 s,@WXUNIV@,$WXUNIV,;t t
41830 s,@MONOLITHIC@,$MONOLITHIC,;t t
41831 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41832 s,@EXTRALIBS@,$EXTRALIBS,;t t
41833 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41834 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41835 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41836 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41837 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41838 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
41839 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
41840 s,@UNICODE@,$UNICODE,;t t
41841 s,@BUILD@,$BUILD,;t t
41842 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
41843 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
41844 s,@SHARED@,$SHARED,;t t
41845 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
41846 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
41847 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
41848 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
41849 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
41850 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
41851 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
41852 s,@SET_MAKE@,$SET_MAKE,;t t
41853 s,@MAKE_SET@,$MAKE_SET,;t t
41854 s,@ac_ct_AR@,$ac_ct_AR,;t t
41855 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
41857 s,@ac_ct_NM@,$ac_ct_NM,;t t
41858 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
41859 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
41860 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
41861 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
41862 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
41863 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
41864 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
41865 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
41866 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
41867 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
41868 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
41869 s,@LIBPREFIX@,$LIBPREFIX,;t t
41870 s,@LIBEXT@,$LIBEXT,;t t
41871 s,@DLLPREFIX@,$DLLPREFIX,;t t
41872 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
41873 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
41874 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41875 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41876 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41877 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41878 s,@PIC_FLAG@,$PIC_FLAG,;t t
41879 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41880 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41881 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41882 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41883 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41884 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41885 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41886 s,@GCC_PCH@,$GCC_PCH,;t t
41887 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
41888 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
41889 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
41890 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
41891 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
41892 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
41893 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
41894 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
41895 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
41896 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
41897 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
41898 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
41899 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
41900 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
41901 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
41902 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
41903 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
41904 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
41905 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
41906 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
41907 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
41908 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
41909 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
41910 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
41911 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
41912 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
41913 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
41914 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
41915 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
41916 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
41917 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
41918 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
41919 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
41920 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
41921 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41922 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41923 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41924 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
41925 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
41926 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41927 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41928 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41929 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41930 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41931 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41932 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41933 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41934 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41935 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41936 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41937 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41938 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41939 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41940 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41941 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41942 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41943 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41944 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41945 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41946 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41947 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41948 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41949 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41950 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41951 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41952 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41953 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41954 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41955 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
41956 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41957 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41958 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41959 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41960 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41961 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41962 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41963 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41964 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
41965 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
41966 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
41967 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
41968 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
41969 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
41970 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
41971 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
41972 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
41973 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
41974 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
41975 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
41976 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
41977 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
41978 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
41979 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
41980 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
41981 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41982 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41983 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41984 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
41985 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
41986 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
41987 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
41988 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
41989 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
41990 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
41991 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
41992 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
41993 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
41994 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
41995 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
41996 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
41997 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
41998 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
41999 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42000 s,@PATH_IFS@,$PATH_IFS,;t t
42001 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
42002 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
42003 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
42004 s,@WX_SUBRELEASE_NUMBER@,$WX_SUBRELEASE_NUMBER,;t t
42005 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
42006 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
42007 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42008 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42009 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
42010 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
42011 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
42012 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
42013 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
42014 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
42015 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
42016 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
42017 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
42018 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
42019 s,@WX_ALL@,$WX_ALL,;t t
42020 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
42021 s,@SHARED_LD@,$SHARED_LD,;t t
42022 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
42023 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
42024 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42025 s,@USE_GUI@,$USE_GUI,;t t
42026 s,@AFMINSTALL@,$AFMINSTALL,;t t
42027 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42028 s,@TOOLKIT@,$TOOLKIT,;t t
42029 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42030 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
42031 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42032 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42033 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42034 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
42035 s,@cross_compiling@,$cross_compiling,;t t
42036 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42037 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
42038 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
42039 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
42040 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
42041 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42042 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42043 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42044 s,@WXCONFIG_DATA_FILE@,$WXCONFIG_DATA_FILE,;t t
42045 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42046 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42047 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42048 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42049 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
42050 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
42051 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
42052 s,@GUIDIST@,$GUIDIST,;t t
42053 s,@PORT_FILES@,$PORT_FILES,;t t
42054 s,@DISTDIR@,$DISTDIR,;t t
42055 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42056 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42057 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
42058 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
42059 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42060 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42061 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42062 s,@RESFLAGS@,$RESFLAGS,;t t
42063 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42064 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42065 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42066 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42067 s,@MACRESCOMP@,$MACRESCOMP,;t t
42068 s,@MACSETFILE@,$MACSETFILE,;t t
42069 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42071 s,@DLLTOOL@,$DLLTOOL,;t t
42074 s,@MAKEINFO@,$MAKEINFO,;t t
42075 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
42076 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42077 s,@LIBOBJS@,$LIBOBJS,;t t
42078 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42083 cat >>$CONFIG_STATUS <<\_ACEOF
42084 # Split the substitutions into bite-sized pieces for seds with
42085 # small command number limits, like on Digital OSF/1 and HP-UX.
42086 ac_max_sed_lines
=48
42087 ac_sed_frag
=1 # Number of current file.
42088 ac_beg
=1 # First line for current file.
42089 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42092 while $ac_more_lines; do
42093 if test $ac_beg -gt 1; then
42094 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42096 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42098 if test ! -s $tmp/subs.frag
; then
42099 ac_more_lines
=false
42101 # The purpose of the label and of the branching condition is to
42102 # speed up the sed processing (if there are no `@' at all, there
42103 # is no need to browse any of the substitutions).
42104 # These are the two extra sed commands mentioned above.
42106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42107 if test -z "$ac_sed_cmds"; then
42108 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42110 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42112 ac_sed_frag
=`expr $ac_sed_frag + 1`
42114 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42117 if test -z "$ac_sed_cmds"; then
42120 fi # test -n "$CONFIG_FILES"
42123 cat >>$CONFIG_STATUS <<\_ACEOF
42124 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42125 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42127 - | *:- | *:-:* ) # input from stdin
42129 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42130 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42131 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42132 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42133 * ) ac_file_in
=$ac_file.
in ;;
42136 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42137 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42139 X"$ac_file" : 'X\(//\)[^/]' \| \
42140 X"$ac_file" : 'X\(//\)$' \| \
42141 X"$ac_file" : 'X\(/\)' \| \
42142 . : '\(.\)' 2>/dev/null ||
42144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42145 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42146 /^X\(\/\/\)$/{ s//\1/; q; }
42147 /^X\(\/\).*/{ s//\1/; q; }
42149 { if $as_mkdir_p; then
42154 while test ! -d "$as_dir"; do
42155 as_dirs
="$as_dir $as_dirs"
42156 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42158 X"$as_dir" : 'X\(//\)[^/]' \| \
42159 X"$as_dir" : 'X\(//\)$' \| \
42160 X"$as_dir" : 'X\(/\)' \| \
42161 . : '\(.\)' 2>/dev/null ||
42163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42164 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42165 /^X\(\/\/\)$/{ s//\1/; q; }
42166 /^X\(\/\).*/{ s//\1/; q; }
42169 test ! -n "$as_dirs" || mkdir $as_dirs
42170 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42171 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42172 { (exit 1); exit 1; }; }; }
42176 if test "$ac_dir" != .
; then
42177 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42178 # A "../" for each directory in $ac_dir_suffix.
42179 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42181 ac_dir_suffix
= ac_top_builddir
=
42185 .
) # No --srcdir option. We are building in place.
42187 if test -z "$ac_top_builddir"; then
42190 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42192 [\\/]* | ?
:[\\/]* ) # Absolute path.
42193 ac_srcdir
=$srcdir$ac_dir_suffix;
42194 ac_top_srcdir
=$srcdir ;;
42195 *) # Relative path.
42196 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42197 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42200 # Do not use `cd foo && pwd` to compute absolute paths, because
42201 # the directories may not exist.
42203 .
) ac_abs_builddir
="$ac_dir";;
42206 .
) ac_abs_builddir
=`pwd`;;
42207 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42208 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42211 case $ac_abs_builddir in
42212 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42214 case ${ac_top_builddir}.
in
42215 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42216 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42217 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42220 case $ac_abs_builddir in
42221 .
) ac_abs_srcdir
=$ac_srcdir;;
42224 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42225 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42226 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42229 case $ac_abs_builddir in
42230 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42232 case $ac_top_srcdir in
42233 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42234 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42235 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42241 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42242 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42245 # Let's still pretend it is `configure' which instantiates (i.e., don't
42246 # use $as_me), people would be surprised to read:
42247 # /* config.h. Generated by config.status. */
42248 if test x
"$ac_file" = x
-; then
42251 configure_input
="$ac_file. "
42253 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42254 sed 's,.*/,,'` by configure."
42256 # First look for the input files in the build tree, otherwise in the
42258 ac_file_inputs
=`IFS=:
42259 for f in $ac_file_in; do
42261 -) echo $tmp/stdin ;;
42263 # Absolute (can't be DOS-style, as IFS=:)
42264 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42265 echo "$as_me: error: cannot find input file: $f" >&2;}
42266 { (exit 1); exit 1; }; }
42269 if test -f "$f"; then
42272 elif test -f "$srcdir/$f"; then
42277 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42278 echo "$as_me: error: cannot find input file: $f" >&2;}
42279 { (exit 1); exit 1; }; }
42282 done` || { (exit 1); exit 1; }
42284 if test x
"$ac_file" != x
-; then
42285 { echo "$as_me:$LINENO: creating $ac_file" >&5
42286 echo "$as_me: creating $ac_file" >&6;}
42290 cat >>$CONFIG_STATUS <<_ACEOF
42294 cat >>$CONFIG_STATUS <<\_ACEOF
42296 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42297 s
,@configure_input@
,$configure_input,;t t
42298 s
,@srcdir@
,$ac_srcdir,;t t
42299 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42300 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42301 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42302 s
,@builddir@
,$ac_builddir,;t t
42303 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42304 s
,@top_builddir@
,$ac_top_builddir,;t t
42305 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42306 s
,@INSTALL@
,$ac_INSTALL,;t t
42307 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42309 if test x"$ac_file" != x-; then
42310 mv $tmp/out $ac_file
42318 cat >>$CONFIG_STATUS <<\_ACEOF
42321 # CONFIG_HEADER section.
42324 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42325 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42327 # ac_d sets the value in "#define NAME VALUE" lines.
42328 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42329 ac_dB
='[ ].*$,\1#\2'
42332 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42333 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42334 ac_uB
='$,\1#\2define\3'
42338 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42339 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42341 - | *:- | *:-:* ) # input from stdin
42343 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42344 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42345 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42346 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42347 * ) ac_file_in
=$ac_file.
in ;;
42350 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42351 echo "$as_me: creating $ac_file" >&6;}
42353 # First look for the input files in the build tree, otherwise in the
42355 ac_file_inputs
=`IFS=:
42356 for f in $ac_file_in; do
42358 -) echo $tmp/stdin ;;
42360 # Absolute (can't be DOS-style, as IFS=:)
42361 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42362 echo "$as_me: error: cannot find input file: $f" >&2;}
42363 { (exit 1); exit 1; }; }
42364 # Do quote $f, to prevent DOS paths from being IFS'd.
42367 if test -f "$f"; then
42370 elif test -f "$srcdir/$f"; then
42375 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42376 echo "$as_me: error: cannot find input file: $f" >&2;}
42377 { (exit 1); exit 1; }; }
42380 done` || { (exit 1); exit 1; }
42381 # Remove the trailing spaces.
42382 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42386 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42387 # `conftest.undefs', that substitutes the proper values into
42388 # config.h.in to produce config.h. The first handles `#define'
42389 # templates, and the second `#undef' templates.
42390 # And first: Protect against being on the right side of a sed subst in
42391 # config.status. Protect against being in an unquoted here document
42392 # in config.status.
42393 rm -f conftest.defines conftest.undefs
42394 # Using a here document instead of a string reduces the quoting nightmare.
42395 # Putting comments in sed scripts is not portable.
42397 # `end' is used to avoid that the second main sed command (meant for
42398 # 0-ary CPP macros) applies to n-ary macro definitions.
42399 # See the Autoconf documentation for `clear'.
42400 cat >confdef2sed.
sed <<\_ACEOF
42405 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42407 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42410 # If some macros were called several times there might be several times
42411 # the same #defines, which is useless. Nevertheless, we may not want to
42412 # sort them, since we want the *last* AC-DEFINE to be honored.
42413 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42414 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42415 rm -f confdef2sed.sed
42417 # This sed command replaces #undef with comments. This is necessary, for
42418 # example, in the case of _POSIX_SOURCE, which is predefined and required
42419 # on some systems where configure will not decide to define it.
42420 cat >>conftest.undefs <<\_ACEOF
42421 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42424 # Break up conftest.defines because some shells have a limit on the size
42425 # of here documents, and old seds have small limits too (100 cmds).
42426 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42427 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42428 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42429 echo ' :' >>$CONFIG_STATUS
42430 rm -f conftest.tail
42431 while grep . conftest.defines >/dev/null
42433 # Write a limited-size here document to $tmp/defines.sed.
42434 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42435 # Speed up: don't consider the non `#define' lines.
42436 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42437 # Work around the forget-to-reset-the-flag bug.
42438 echo 't clr' >>$CONFIG_STATUS
42439 echo ': clr' >>$CONFIG_STATUS
42440 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42442 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42444 mv $tmp/out $tmp/in
42446 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42447 rm -f conftest.defines
42448 mv conftest.
tail conftest.defines
42450 rm -f conftest.defines
42451 echo ' fi # grep' >>$CONFIG_STATUS
42452 echo >>$CONFIG_STATUS
42454 # Break up conftest.undefs because some shells have a limit on the size
42455 # of here documents, and old seds have small limits too (100 cmds).
42456 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42457 rm -f conftest.
tail
42458 while grep . conftest.undefs
>/dev
/null
42460 # Write a limited-size here document to $tmp/undefs.sed.
42461 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42462 # Speed up: don't consider the non
`#undef'
42463 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42464 # Work around the forget-to-reset-the-flag bug.
42465 echo 't clr' >>$CONFIG_STATUS
42466 echo ': clr' >>$CONFIG_STATUS
42467 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42469 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42471 mv $tmp/out $tmp/in
42473 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42474 rm -f conftest.undefs
42475 mv conftest.tail conftest.undefs
42477 rm -f conftest.undefs
42479 cat >>$CONFIG_STATUS <<\_ACEOF
42480 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42481 # use $as_me), people would be surprised to read:
42482 # /* config.h. Generated by config.status. */
42483 if test x
"$ac_file" = x
-; then
42484 echo "/* Generated by configure. */" >$tmp/config.h
42486 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42488 cat $tmp/in >>$tmp/config.h
42490 if test x
"$ac_file" != x
-; then
42491 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42492 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42493 echo "$as_me: $ac_file is unchanged" >&6;}
42495 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42497 X"$ac_file" : 'X\(//\)[^/]' \| \
42498 X"$ac_file" : 'X\(//\)$' \| \
42499 X"$ac_file" : 'X\(/\)' \| \
42500 . : '\(.\)' 2>/dev/null ||
42502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42503 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42504 /^X\(\/\/\)$/{ s//\1/; q; }
42505 /^X\(\/\).*/{ s//\1/; q; }
42507 { if $as_mkdir_p; then
42512 while test ! -d "$as_dir"; do
42513 as_dirs
="$as_dir $as_dirs"
42514 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42515 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42516 X"$as_dir" : 'X\(//\)[^/]' \| \
42517 X"$as_dir" : 'X\(//\)$' \| \
42518 X"$as_dir" : 'X\(/\)' \| \
42519 . : '\(.\)' 2>/dev/null ||
42521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42523 /^X\(\/\/\)$/{ s//\1/; q; }
42524 /^X\(\/\).*/{ s//\1/; q; }
42527 test ! -n "$as_dirs" || mkdir $as_dirs
42528 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42529 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42530 { (exit 1); exit 1; }; }; }
42533 mv $tmp/config.h
$ac_file
42537 rm -f $tmp/config.h
42541 cat >>$CONFIG_STATUS <<\_ACEOF
42544 # CONFIG_COMMANDS section.
42546 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42547 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42548 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42549 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42550 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42551 X"$ac_dest" : 'X\(//\)[^/]' \| \
42552 X"$ac_dest" : 'X\(//\)$' \| \
42553 X"$ac_dest" : 'X\(/\)' \| \
42554 . : '\(.\)' 2>/dev/null ||
42556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42557 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42558 /^X\(\/\/\)$/{ s//\1/; q; }
42559 /^X\(\/\).*/{ s//\1/; q; }
42561 { if $as_mkdir_p; then
42566 while test ! -d "$as_dir"; do
42567 as_dirs
="$as_dir $as_dirs"
42568 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42569 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42570 X"$as_dir" : 'X\(//\)[^/]' \| \
42571 X"$as_dir" : 'X\(//\)$' \| \
42572 X"$as_dir" : 'X\(/\)' \| \
42573 . : '\(.\)' 2>/dev/null ||
42575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42576 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42577 /^X\(\/\/\)$/{ s//\1/; q; }
42578 /^X\(\/\).*/{ s//\1/; q; }
42581 test ! -n "$as_dirs" || mkdir $as_dirs
42582 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42583 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42584 { (exit 1); exit 1; }; }; }
42588 if test "$ac_dir" != .
; then
42589 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42590 # A "../" for each directory in $ac_dir_suffix.
42591 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42593 ac_dir_suffix
= ac_top_builddir
=
42597 .
) # No --srcdir option. We are building in place.
42599 if test -z "$ac_top_builddir"; then
42602 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42604 [\\/]* | ?
:[\\/]* ) # Absolute path.
42605 ac_srcdir
=$srcdir$ac_dir_suffix;
42606 ac_top_srcdir
=$srcdir ;;
42607 *) # Relative path.
42608 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42609 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42612 # Do not use `cd foo && pwd` to compute absolute paths, because
42613 # the directories may not exist.
42615 .
) ac_abs_builddir
="$ac_dir";;
42618 .
) ac_abs_builddir
=`pwd`;;
42619 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42620 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42623 case $ac_abs_builddir in
42624 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42626 case ${ac_top_builddir}.
in
42627 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42628 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42629 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42632 case $ac_abs_builddir in
42633 .
) ac_abs_srcdir
=$ac_srcdir;;
42636 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42637 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42638 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42641 case $ac_abs_builddir in
42642 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42644 case $ac_top_srcdir in
42645 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42646 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42647 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42652 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42653 echo "$as_me: executing $ac_dest commands" >&6;}
42656 if test ! -d lib
; then
42659 if test ! -d lib
/wx
; then
42662 if test ! -d lib
/wx
/config
; then
42663 mkdir lib
/wx
/config
42665 if test ! -d lib
/wx
/include
; then
42666 mkdir lib
/wx
/include
42668 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
42669 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
42671 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
42672 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
42674 if test -f setup.h
; then
42675 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
42678 if test ! -h wx
-config; then
42680 mv -f wx
-config lib
/wx
/config
/${WXCONFIG_DATA_FILE}
42681 ${LN_S} wx
-config-${WX_RELEASE} wx
-config
42683 ( cd lib
/wx
/config
;
42684 rm -f ${TOOLCHAIN_NAME}
42685 ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
42687 if test -f wx
-config-wrapper; then
42688 chmod +x wx
-config-wrapper
42689 mv -f wx
-config-wrapper wx
-config-${WX_RELEASE}
42690 rm -f wx
${TOOLCHAIN_NAME}-config
42691 ${LN_S} wx
-config-${WX_RELEASE} wx
${TOOLCHAIN_NAME}-config
42698 cat >>$CONFIG_STATUS <<\_ACEOF
42700 { (exit 0); exit 0; }
42702 chmod +x
$CONFIG_STATUS
42703 ac_clean_files
=$ac_clean_files_save
42706 # configure is writing to config.log, and then calls config.status.
42707 # config.status does its own redirection, appending to config.log.
42708 # Unfortunately, on DOS this fails, as config.log is still kept open
42709 # by configure, so config.status won't be able to write to it; its
42710 # output is simply discarded. So we exec the FD to /dev/null,
42711 # effectively closing config.log, so it can be properly (re)opened and
42712 # appended to by config.status. When coming back to configure, we
42713 # need to make the FD available again.
42714 if test "$no_create" != yes; then
42716 ac_config_status_args
=
42717 test "$silent" = yes &&
42718 ac_config_status_args
="$ac_config_status_args --quiet"
42720 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42722 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42723 # would make configure fail if this is the last instruction.
42724 $ac_cs_success || { (exit 1); exit 1; }
42728 # CONFIG_SUBDIRS section.
42730 if test "$no_recursion" != yes; then
42732 # Remove --cache-file and --srcdir arguments so they do not pile up.
42733 ac_sub_configure_args
=
42735 for ac_arg
in $ac_configure_args; do
42736 if test -n "$ac_prev"; then
42741 -cache-file | --cache-file | --cache-fil | --cache-fi \
42742 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42743 ac_prev
=cache_file
;;
42744 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42745 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42748 --config-cache | -C)
42750 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42752 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42754 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42756 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42758 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
42762 # Always prepend --prefix to ensure using the same prefix
42763 # in subdir configurations.
42764 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
42767 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42769 # Do not complain, so a configure script can configure whichever
42770 # parts of a large source tree are present.
42771 test -d $srcdir/$ac_dir || continue
42773 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42774 echo "$as_me: configuring in $ac_dir" >&6;}
42775 { if $as_mkdir_p; then
42780 while test ! -d "$as_dir"; do
42781 as_dirs
="$as_dir $as_dirs"
42782 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42783 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42784 X"$as_dir" : 'X\(//\)[^/]' \| \
42785 X"$as_dir" : 'X\(//\)$' \| \
42786 X"$as_dir" : 'X\(/\)' \| \
42787 . : '\(.\)' 2>/dev/null ||
42789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42790 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42791 /^X\(\/\/\)$/{ s//\1/; q; }
42792 /^X\(\/\).*/{ s//\1/; q; }
42795 test ! -n "$as_dirs" || mkdir $as_dirs
42796 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42797 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42798 { (exit 1); exit 1; }; }; }
42802 if test "$ac_dir" != .
; then
42803 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42804 # A "../" for each directory in $ac_dir_suffix.
42805 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42807 ac_dir_suffix
= ac_top_builddir
=
42811 .
) # No --srcdir option. We are building in place.
42813 if test -z "$ac_top_builddir"; then
42816 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42818 [\\/]* | ?
:[\\/]* ) # Absolute path.
42819 ac_srcdir
=$srcdir$ac_dir_suffix;
42820 ac_top_srcdir
=$srcdir ;;
42821 *) # Relative path.
42822 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42823 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42826 # Do not use `cd foo && pwd` to compute absolute paths, because
42827 # the directories may not exist.
42829 .
) ac_abs_builddir
="$ac_dir";;
42832 .
) ac_abs_builddir
=`pwd`;;
42833 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42834 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42837 case $ac_abs_builddir in
42838 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42840 case ${ac_top_builddir}.
in
42841 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42842 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42843 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42846 case $ac_abs_builddir in
42847 .
) ac_abs_srcdir
=$ac_srcdir;;
42850 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42851 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42852 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42855 case $ac_abs_builddir in
42856 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42858 case $ac_top_srcdir in
42859 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42860 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42861 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42868 # Check for guested configure; otherwise get Cygnus style configure.
42869 if test -f $ac_srcdir/configure.gnu
; then
42870 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
42871 elif test -f $ac_srcdir/configure
; then
42872 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
42873 elif test -f $ac_srcdir/configure.
in; then
42874 ac_sub_configure
=$ac_configure
42876 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42877 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42881 # The recursion is here.
42882 if test -n "$ac_sub_configure"; then
42883 # Make the cache file name correct relative to the subdirectory.
42884 case $cache_file in
42885 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42886 *) # Relative path.
42887 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
42890 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42891 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42892 # The eval makes quoting arguments work.
42893 eval $ac_sub_configure $ac_sub_configure_args \
42894 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
42895 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
42896 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
42897 { (exit 1); exit 1; }; }
42906 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42908 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
42909 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42911 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
42912 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42913 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
42915 echo " What level of wxWidgets compatibility should be enabled?"
42916 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
42917 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
42919 echo " Which libraries should wxWidgets use?"
42920 echo " jpeg ${wxUSE_LIBJPEG-none}"
42921 echo " png ${wxUSE_LIBPNG-none}"
42922 echo " regex ${wxUSE_REGEX}"
42923 echo " tiff ${wxUSE_LIBTIFF-none}"
42924 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42925 echo " xpm ${wxUSE_LIBXPM-none}"
42927 echo " zlib ${wxUSE_ZLIB}"
42928 echo " odbc ${wxUSE_ODBC}"
42929 echo " expat ${wxUSE_EXPAT}"
42930 echo " libmspack ${wxUSE_LIBMSPACK}"
42931 echo " sdl ${wxUSE_LIBSDL}"